﻿function oncl(){
	var obj=document.getElementById("inp");
	obj.click();
}
function DoOver(e){
	ev=e || window.event;
	evt=ev.srcElement || ev.target;
	evt.style.backgroundColor="red";
	el=document.getElementById("gpod");
	x=evt.offsetLeft-45;
	xstr=x+"px";
	el.style.left=xstr;
	el.innerHTML=evt.name;
	el.style.display="";
}
function DoOut(){
	el=document.getElementById("gpod");
	el.style.display="none";
}
function Cl(ev,ky){
	var r,re;
	var s=window.location.href;
	var str=s.lastIndexOf("_");
	re=/_.{2}/i;
	if(!ky)
	{
		r=s.replace(re,"_"+ev);
	}else if(ky==1)
	{
		var sb=s.substr(str,3);
		r=ev.replace(re,sb);
	}
	window.location.href=r;
}

function flsh(){if(!document.getElementById('d9'))return null;
var d=document.getElementById('d9');
if(d.style.color=='blue')
{d.style.color='red';
}else{d.style.color='blue';}
}
window.setInterval("flsh()",700);
function ow( url ){
var width=screen.width * 0.7;
var height=screen.height * 0.5;
var l=(screen.width - width )/2;
var t=(screen.height - height )/2-50;
window.open( url,"_blank","toolbar=0,menubar=1,scrollbars=yes,resizable=1,left="+l+",top="+t+",width="+width+",height="+height );
}

