//P.S. - Shroot js
//Nov/07


//showFlashObject() begins - added bgcolor and menu params
//To counteract IE7 activex flash, derived from popupViewlet that does not click when possible...
function showFlashObject(pathfile,name,width,height,bkgcolor){
   var b = ''
	+ '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+width+'" height="'+height+'"><param name="src" value="'+pathfile+'">'
	+ '<param name="quality" value="high">'
	+ '<param name="bgcolor" value="bkgcolor">'
	+ '<param name="menu" value="false">'
	+ '<embed src="'+pathfile+'" height="'+height+'" width="'+width+'" quality="high" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>'
	+ '</object>'
	+ '';
	
   document.write(b);
	
 }
	


//poping up window scripts
function popupCustom(pathfile,name,properties){
	var newWin = window.open(pathfile,name,properties);

	newWin.focus();
	//return false;
}

//-->
