//===============/////Новости/////===============//
var mx=0;
var my=0;
document.onmousemove=function(e)
	{
	if(document.all){
		mx=event.clientX+document.body.scrollLeft;
		my=event.clientY+document.body.scrollTop;
		}else
			{
			mx=e.pageX;
			my=e.pageY;
			}
	};
function _newsShower()
	{
	this.showBoolean=true;
	this.o=function(){if(document.getElementById("showNews")!=null){return document.getElementById("showNews");}else{return false;}};
	this.show=function(num)
		{
		if(!this.showBoolean || !this.o()){return;};
		setTimeMenu=setTimeout('document.getElementById("showNews").style.display=""',1000);
		with(this.o())
			{
			with(style)
				{
				left=mx+20;
				top=my+10;
				};
			data=document.getElementById(num+"_p").innerHTML;
			data+='<br><p align="right"><small>'+document.getElementById(num+"_span").innerHTML+'</small></p>';
			innerHTML=data;
			}
		};
	this.hide=function()
		{
		if(!this.showBoolean || !this.o()){return;};
		clearTimeout(setTimeMenu);
		this.o().style.display="none";
		}
	};
var newsShower=new _newsShower();
function sh(num)
	{
	if(num=="hide"){
		newsShower.hide();
		}else{
		newsShower.show(num);
		}
	}
//===============/////Конец. Новости/////===============//