<!--
/*
function ShowFlash(filename,dtype,user,divid){	
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="stat" width="580" height="100%" align="middle" >');	
	document.write('<param name="allowScriptAccess" value="always" />');
	document.write('<param name="scale" value="showall" /><param name="salign" value="lt" /><param name="wmode" value="transparent" />');	
	document.write('<param name="movie" value="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><embed src="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" quality="high" bgcolor="#FFFFFF" width="580" height="100%" swLiveConnect=true id="stat" name="stat" wmode="transparent" align="left"scale="showall" salign="lt" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');	
}
*/
function ShowFlash(filename,dtype,user,divid){	
	document.write('<object type="application/x-shockwave-flash" name="stat" id="stat"  data="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" width="560" height="300" align="middle"  quality="high"  wmode="transparent" align="left"scale="showall" salign="lt" allowScriptAccess="always" >');	
	document.write('<param name="movie" value="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" />');
/*
	document.write('<embed src="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" quality="high" bgcolor="#FFFFFF" width="580" height="100%" swLiveConnect=true id="stat" name="stat" wmode="transparent" align="left"scale="showall" salign="lt" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
*/
document.write('</object>');	
}
function ShowFlash_cricle(filename,dtype,user,divid){	
	document.write('<object type="application/x-shockwave-flash" name="stat" id="stat"  data="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" width="560" height="100%" align="top"  quality="high"  wmode="transparent" align="left"scale="showall" salign="lt"  >');	
	document.write('<param name="movie" value="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" />');
document.write('</object>');	
}
function ShowFlash_cricle2(filename,dtype,user,divid,fid){	
	document.write('<object type="application/x-shockwave-flash" name="'+fid+'"  id="'+fid+'"   data="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" width="560" height="100%" align="top"  quality="high"  wmode="transparent" align="left"scale="showall" salign="lt" allowScriptAccess="always" >');	
	document.write('<param name="movie" value="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" />');
document.write('</object>');	
}

function ShowFlash_province(filename,dtype,user,divid){	
	document.write('<object type="application/x-shockwave-flash" data="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" width="560" height="500">');	
	document.write('<param name="movie" value="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" />');
	document.write('</object>');	
}
function ShowFlash_world(filename,dtype,user,divid){	
	document.write('<object type="application/x-shockwave-flash" data="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" width="560" height="350" name="stat" id="stat">   ');	
	document.write('<param name="movie" value="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" />');
	document.write('</object>');	
}

function ShowFlash_noscale(filename,dtype,user,divid){	
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="stat" width="580" height="100%" align="middle" >');	
	document.write('<param name="allowScriptAccess" value="always" />');
	document.write('<param name="scale" value="showall" /><param name="salign" value="lt" /><param name="wmode" value="transparent" />');	
	document.write('<param name="movie" value="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><embed src="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" quality="high" bgcolor="#FFFFFF" width="580" height="100%" swLiveConnect=true id="stat" name="stat" wmode="transparent" align="left"scale="showall" salign="lt" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');	
}

function ShowFlash_noscale1(filename,dtype,user,divid,fid){	
	document.write('<object type="application/x-shockwave-flash" name="'+fid+'"  id="'+fid+'" data="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" width="560" height="400" align="middle"  quality="high"  wmode="transparent" align="left"scale="showall" salign="lt" allowScriptAccess="always" >');	
	document.write('<param name="movie" value="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" />');
document.write('</object>');	
	
}
function ShowFlash_noscale2(filename,dtype,user,divid,fid){	
	document.write('<object type="application/x-shockwave-flash" name="'+fid+'"  id="'+fid+'" data="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" width="560" height="100%" align="middle"  quality="high"  wmode="transparent" align="left"scale="showall" salign="lt" allowScriptAccess="always" >');	
	document.write('<param name="movie" value="'+filename+'?dtype='+dtype+'&user='+user+'&nfile='+filename+'&divid='+divid+'&ran=1" />');
document.write('</object>');	
	
}


function stat1_DoFSCommand(command, args) {
	var stat_horizonObj = isInternetExplorer ? document.all.stat : document.stat;
	if(command != "showmenu"){
		document.getElementById(args).style.height=(command);

	}
	//alert(command);
}

function stat2_DoFSCommand(command, args) {
	var stat_horizonObj = isInternetExplorer ? document.all.stat2 : document.stat2;
	if(command != "showmenu"){
		document.getElementById(args).style.height=(command);

	}
	//alert(command);
}
function UpdateFlash_non(dtype,num,num2,user){

	var val = dtype.toString()+'||'+num.toString()+'||'+num2.toString()+'||'+user.toString();
	window.document.stat1.SetVariable("changedata",val);
	window.document.stat2.SetVariable("changedata",val);	
}


function UpdateFlash(dtype,num,num2,user){

	!isInternetExplorer ? stat=document.getElementById("stat"): null;
	var statObj = isInternetExplorer ? document.all.stat : document.stat;
	var val = dtype.toString()+'||'+num.toString()+'||'+num2.toString()+'||'+user.toString();
	//alert(val);
	statObj.SetVariable("changedata",val);	
}


function updateHtml(durl,hh){
	//alert(durl);
	document.getElementById('fram').src=durl;
	document.getElementById('fram').height=hh;
	//document.getElementById('fram').focus();	
}

function UpdateDiv(fheight,divid){
	//alert("test");
	//var stats_file = window.document.stat.GetVariable("nfile");
	//alert(fheight);
	 
	if(fheight<300) 
	{
		
		fheight=300;	
    }
	/*
	if(stats_file="stat2_vertical.swf")
	{
	
		fheight=250;		
		
	}
	
	if(stats_file="stat_tom.swf")
	{
	
		fheight=400;		
		
	}
	*/
	
	//fheight=fheight+20;
	
		// alert("ffhg="+divid);
		 
		 divid.style.height=(fheight);
		// alert(fheight);

/*	 if(document.getElementById("'"+divid+"'")){
	 alert(divid);
		var fl_height = document.getElementById(divid);
		   fl_height.style.height=(fheight);
	 }
	 */
/*
	
	if(document.getElementById("fl_height2")){
	 
		var fl_height2 = document.getElementById("fl_height2");
		   fl_height2.style.height=(fheight);
	 }
	 if(document.getElementById("fl_height3")){
	 
		var fl_height3 = document.getElementById("fl_height3");
		   fl_height3.style.height=(fheight);
	 }
	 	 
     if(document.getElementById("fl_height4")){
	 
		var fl_height4 = document.getElementById("fl_height4");
		   fl_height4.style.height=(fheight);
	 }
	 if(document.getElementById("fl_height5")){
	 
		var fl_height5 = document.getElementById("fl_height5");
		   fl_height5.style.height=(fheight);
	 }
	 if(document.getElementById("fl_height6")){
	 
		var fl_height6 = document.getElementById("fl_height6");
		   fl_height6.style.height=(fheight);
	 }
	 if(document.getElementById("fl_height7")){
	 
		var fl_height7 = document.getElementById("fl_height7");
		   fl_height7.style.height=(fheight);
	 }
*/
	 
}     


function UpdateDiv2(fheight){

	 
	if(fheight<350) 
	{
		
		fheight=350;	
    }
	if(document.getElementById("fl_height")){
	 
		var fl_height = document.getElementById("fl_height");
		   fl_height.style.height=(fheight);
	 }
	
	if(document.getElementById("fl_height2")){
	 
		var fl_height2 = document.getElementById("fl_height2");
		   fl_height2.style.height=(fheight);
	 }
	 if(document.getElementById("fl_height3")){
	 
		var fl_height3 = document.getElementById("fl_height3");
		   fl_height3.style.height=(fheight);
	 }
	 	 
     if(document.getElementById("fl_height4")){
	 
		var fl_height4 = document.getElementById("fl_height4");
		   fl_height4.style.height=(fheight);
	 }
	 if(document.getElementById("fl_height5")){
	 
		var fl_height5 = document.getElementById("fl_height5");
		   fl_height5.style.height=(fheight);
	 }
	 if(document.getElementById("fl_height6")){
	 
		var fl_height6 = document.getElementById("fl_height6");
		   fl_height6.style.height=(fheight);
	 }
	 if(document.getElementById("fl_height7")){
	 
		var fl_height7 = document.getElementById("fl_height7");
		   fl_height7.style.height=(fheight);
	 }

	 
}    

//!isInternetExplorer ? window.document.stat.addEventListener('DOMMouseScroll',HideTip,false) : window.document.stat.onmousewheel = HideTip ;

function HideTip(){
	if(!document.all){
		window.scroll(0,0);
	}
	
}
//-->

var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;

// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub stat1_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call stat1_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub stat2_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call stat2_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}
//-->


