function getWidth() 
{
thebrowser = navigator.appName;
theversion = navigator.userAgent;

if (thebrowser == "Netscape" && (theversion.lastIndexOf("4.") >= -1 || theversion.lastIndexOf("5.") >= -1 )){
return window.innerWidth;
} else if(thebrowser == "Microsoft Internet Explorer" && (theversion.lastIndexOf("4.") >= -1 || theversion.lastIndexOf("5.") >= -1)){ return screen.width; } else{ return screen.width; }
}

function getMyObject2(objectId)
{	if(document.getElementById && document.getElementById(objectId)) {	return document.getElementById(objectId);	}
	else if (document.all && document.all(objectId)) {	return document.all(objectId);	}
	else if (document.layers && document.layers[objectId]) {	return document.layers[objectId];	}
	else { return false; }
};

function iaz()
{
	zu = izabel.style.top.split('px');
	tp = zu[0]-2;
	dc = document.body.scrollTop;
	speed=0;
	if (tp<dc-5) speed=0.5+(dc-tp)/5;
	if (tp>dc+5) speed=-0.5-(tp-dc)/5;
	maxis = tp+speed;
	if (maxis<maxfi) izabel.style.top = 5+maxis; 
	setTimeout("iaz()",30);
};

function ias()
{
izabel.style.visibility='hidden';
izabel.innerHTML='';
};

function AddGo()
{
var rightBord = bodyObj.style.left.split('px')[0]/1+722;

if (srch>1040)
{
	bodyObj.style.left = srch/2-360+"px";
	izabel.style.left = srch-160+"px";
}else{	
	if (srch>720)
	{
		bodyObj.style.left = srch/2-360+"px";
		izabel.style.left = srch/2-360+722+"px";
	}else{
		bodyObj.style.left = "0px";
		izabel.style.left = "722px";
	}	
}

setTimeout("izabel.style.visibility = 'visible';",100);
iaz();

};