var over=false;
if(-1 != navigator.userAgent.indexOf("MSIE")){
document.write("<style type='text/css'>#subm a{width:100%;}#subm a:hover{width:100%;}</style>");
}
function findHeight(obj){
return obj.offsetHeight
}
function findWidth(obj){
return obj.offsetWidth
}
function findPosX(obj)
{
	var curleft = 0;
	if (obj.offsetParent)
	{
		while (obj.offsetParent)
		{
			curleft += obj.offsetLeft
			obj = obj.offsetParent;
		}
	}
	else if (obj.x)
		curleft += obj.x;
	return curleft;
}
function findPosY(obj)
{
	var curtop = 0;
	if (obj.offsetParent)
	{
		while (obj.offsetParent)
		{
			curtop += obj.offsetTop
			obj = obj.offsetParent;
		}
	}
	else if (obj.y)
		curtop += obj.y;
	return curtop;
}

function setTrue(){
over=true;
}
function setFalse(){
over=false;
}
function sterge(){
if(over==false){
document.getElementById("subm").style.visibility="hidden";}
}
function num(ob){
poslink=document.getElementById(ob);
document.myform.texta.href=ob.href;
}
function showm(posx,posy,h,w){
over=true;
ws=document.getElementById("subm").offsetWidth;
document.getElementById("subm").style.visibility="visible";
document.getElementById("subm").style.top=posy+h;
document.getElementById("subm").style.left=posx;
}
function subm_out(){
if(over==false){
document.getElementById("subm").style.visibility="hidden";}
}