sr_ie=navigator.userAgent.toLowerCase().indexOf('msie')+1;
function sr_init(){
	if(sr_ie){
		var fv=0,x,s="";		try{			x=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");			fv=6;
		}		catch(e){}
		if(!fv){
			try{				x=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");				fv=7;
			}			catch(e){}
		}
		fv>=6?sr_play():sr_result(1);
	}
}
function sr_play(){
	if(window.document.srdetect.PercentLoaded()<100){
		setTimeout("sr_play()",100);
	}else{
		window.document.srdetect.play();
	}
}
function sr_detect_end(){
	if(sr_ie){
		document.write('<script language=VBScript\>Sub srdetect_FSCommand(ByVal c,ByVal a)call sr_result(a)end sub</script\>');
		document.write('<div id="sr_detect"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="1" height="1" id="srdetect"><param name="allowScriptAccess" value="sameDomain"/><param name="movie" value="srdetect.swf"/></object></div>');
	}
}
function sr_ae(o,et,fn){
	if(o.addEventListener)o.addEventListener(et,fn,true);
	else if(o.attachEvent)o.attachEvent("on"+et,fn);
}sr_ae(window,'load',sr_init);
