function ieupdate(){
	var strBrowser = navigator.userAgent.toLowerCase();
	if(strBrowser.indexOf("msie") > -1 && strBrowser.indexOf("mac") < 0){
		var theObjects = document.getElementsByTagName('object');
		var theObjectsLen = theObjects.length;
		var child = null;
		for (var i = 0; i < theObjectsLen; i++) {
			if (theObjects[i].id!="ply") {
				if(theObjects[i].outerHTML){
					if(theObjects[i].data){
						theObjects[i].removeAttribute('data');
					}
					var theOuterHTML = theObjects[i].outerHTML;
					if (theObjects[i].hasChildNodes()) {
						child = theObjects[i].firstChild;
						while (child) {
							if (child.nodeName.toUpperCase() == "PARAM" && child.name.toUpperCase() == "FLASHVARS") {
								theFlashVars = child.value;
								break;
							}
							child = child.nextSibling;
						}
						var re = /<param name="FlashVars" value="">/ig;
						theOuterHTML = theOuterHTML.replace(re,"<param name='FlashVars' value='" + theFlashVars + "'>");
					}
					theObjects[i].outerHTML = theOuterHTML;
				}
			}
		}
	}
}

window.onunload = function() {
	if (document.getElementsByTagName) {
		var objs = document.getElementsByTagName("object");
		for (i=0; i<objs.length; i++) {
			objs[i].outerHTML = "";
		}
	}
}
