function writeHomeFlash(clink) { 
	//replace &'s in the url so it does break up into seperate variables w/in flash.
	clink = clink.replace(/&/g,"%26");
	if(hasRightVersion)
		{
		document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="467" HEIGHT="410" id="homepage" ALIGN="left">');
 		document.write('<PARAM NAME=movie VALUE="/images/flash/homepage_v3.swf?clink='+clink+'"><param name=AllowScriptAccess value=sameDomain><PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=noborder> <PARAM NAME=wmode VALUE=transparent> <PARAM NAME=bgcolor VALUE=#FFFFFF>');
		document.write('<EMBED src="/images/flash/homepage_v3.swf?clink='+clink+'" quality=high scale=noborder  allowScriptAccess="sameDomain" wmode=transparent bgcolor=#FFFFFF  WIDTH="467" HEIGHT="410" NAME="homepage" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
		document.write('</OBJECT>');
	}
	else{
			document.write('<img src="/images/flash/homepage_backup.gif" border="0" usemap="#homepage">');
	}
}
	
