// JavaScript Document
//	Only attaches in IE event model
window.attachEvent("onload", updateObjects);

mime_types = new Array();
mime_types[0] = 'audio/x-ms-wma';
mime_types[3] = 'audio/x-ms-wax';
mime_types[1] = 'video/x-ms-wmv';
mime_types[2] = 'video/x-ms-asf';
mime_types[4] = 'video/x-ms-wvx';
	

//	Apply CLASSID to WMP object in IE, deflect Eolas bug
function updateObjects() {
	objects = document.getElementsByTagName("object");
	for (i = 0; i < objects.length; i++) {
		objects[i].outerHTML = objects[i].outerHTML;
		mime = objects[i].type;
		for (j = 0; j < mime_types.length; j++) {
			if (mime == mime_types[j]) {
				if (objects[i].getAttribute("data") !=
null) {
 objects[i].removeAttribute("data");
				}
				objects[i].setAttribute("classid",
"CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6");
			}
		}
	}
}	//	End function updateObjects
