function prepForm(frm) {
	var a = frm.getElementsByTagName('input'), l = a.length, c, out = '', out2 = '';
	for(c = 0; c < l; c++) {
		if(a[c].checked) {
			out += unescape(a[c].value).replace(/\+/g, ' ') + '; ';
			out2 += '<li>' +  unescape(a[c].value).replace(/\+/g, ' ') + '</li>';
		}
	}
	if(out2 != '') {
		out2 = '<b>You are inquiring about:</b><ul>' + out2 + '</ul>';	
		document.getElementById('more-info').innerHTML = out2 + document.getElementById('more-info').innerHTML;
	} else {
		document.getElementById('more-info').innerHTML = '';
	}
	document.getElementById('voicetalent').value = out;
	location.href="#contact";
}

function thisMovie(movieName){
	var isIE = navigator.appName.indexOf("Microsoft") != -1;
	return (isIE) ? window[movieName] : document[movieName];
}
function callSound(s){
	thisMovie("soundPlayer").startSound(s);
}
function stpSound(){
	thisMovie("soundPlayer").stopSound();
}

function doPlay(el) {
	var st_class = el.className,
		a = document.getElementsByTagName('a'),
		l = a.length, c;
	if(el.nodeName.toLowerCase() !== 'a') {
		el = el.parentNode;
		st_class = el.className;
		if(el.nodeName.toLowerCase() !== 'a') {
			alert(el.nodeName);
			return;
		}
	}
	stpSound()
	for(c = 0; c < l; c++) {
		if(a[c].rel == 'audio') {
			a[c].className = 'stopped';
			a[c].innerHTML = a[c].innerHTML.replace('voice-stop.png', 'voice-play.png');
		}
	}
	if(st_class == 'stopped') {
		el.className = 'playing';
		el.innerHTML = el.innerHTML.replace('voice-play.png', 'voice-stop.png');
		callSound(el.href);
	}
}
