function createplayer(theFile, go) {
var s = new SWFObject("http://www.keatingdentalarts.com/video/mediaplayer.swf","playerID","360","280","7");
s.addParam("allowfullscreen","true");
s.addVariable("file",theFile);
s.addVariable("width","360");
s.addVariable("height","280");
s.addVariable("displayheight","260");
s.addVariable("showicons","true");
s.addVariable("overstretch","fit");
s.addVariable("flashvars","&amp;image=http://www.keatingdentalarts.com/video/videolab.jpg");
s.addVariable("backcolor","0x072B52");
s.addVariable("frontcolor","0xFFFFFF");
s.addVariable("lightcolor","0x000000");
if (go) { s.addVariable("autostart","true"); }
s.write("player");
}

function validate2() {
var theMessage = "Before sending this request: \n--------------------------------------";
var noErrors = theMessage
if (document.form2.name.value=="") {theMessage = theMessage + "\n > Please enter your name";}
if (document.form2.phone.value=="") {theMessage = theMessage + "\n > Provide your phone number";}
if (!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(document.form2.email.value)){theMessage = theMessage + "\n > Enter a valid email address";}
if (theMessage == noErrors) {return true;
} else {
alert(theMessage);
return false;
}
}