//function to help the flash scrolling
function scrollwindow(val)
{
	if (document.all)
		currentpos=document.documentElement.scrollTop-val*10;
	else
		currentpos=window.pageYOffset-val*5;
	window.scroll(0,currentpos)
}
	
function fixcontact(wid,hig,src,bgcolor,url)
{
       document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="' + wid + '" height="' + hig + '" VIEWASTEXT>\n');
       document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
       document.write('<param name="movie" value="' + src + '" />\n');
       document.write('<param name="quality" value="high" />\n');
       document.write('<param name="FlashVars" value="absURL=' + url + '" />\n');
       document.write('<param name="bgcolor" value="' + bgcolor + '" />\n');
       document.write('<embed FlashVars="absURL=' + url + '" src="' + src + '" quality="high" bgcolor="' + bgcolor + '" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + wid + '" height="' + hig + '"></embed />\n');
       document.write('</object>\n');
}

