if (navigator.appName == "Microsoft Internet Explorer") {

	var replaceObj = document.getElementsByTagName("object");

	for (i = 0; i < replaceObj.length; i++ )
	{

		var flashObject = replaceObj[i];
		var theFlashVars;

		parentObj = replaceObj[i].parentNode;
		
		
		var theParams = replaceObj[i].getElementsByTagName("PARAM");
		
		var theParamsLength = theParams.length;
		
		
		for (var j = 0; j < theParamsLength; j++) 
		{      
			if(theParams[j].name.toLowerCase() == 'flashvars')
			{        
				theFlashVars = theParams[j].value; 	
			}   
		}
		
		var theInnnerHTML = flashObject.outerHTML;    
		var re = /<PARAM NAME="FlashVars" VALUE="">/ig;    
		theInnnerHTML = theInnnerHTML.replace(re, "<PARAM NAME='FlashVars' VALUE='" + theFlashVars + "'>");
		
		parentObj.removeChild(replaceObj[i]);
		parentObj.innerHTML = theInnnerHTML;

	}

}

