﻿x = 270;
y = 265;
function setVisibleRR(obj)
{
	
	obj = document.getElementById(obj);
	obj.style.visibility = 'visible';
	//obj.style.visibility = (obj.style.visibility == 'visible') ? 'hidden' : 'visible';
}
function setVisibleCloseRR(obj)
{
	
	obj = document.getElementById(obj);
	//document.getElementById("layer1").innerHTML="";
	obj.style.visibility = 'hidden'
	
}

/*function placeIt(obj)
{
	obj = document.getElementById(obj);
	if (document.documentElement)
	{
		theLeft = document.documentElement.scrollLeft;
		theTop = document.documentElement.scrollTop;
	}
	else if (document.body)
	{
		theLeft = document.body.scrollLeft;
		theTop = document.body.scrollTop;
	}
	theLeft += x;
	theTop += y;
	obj.style.left = theLeft + 'px' ;
	obj.style.top = theTop + 'px' ;
	setTimeout("placeIt('layer1')",500);
}*/
//window.onscroll = setTimeout("placeIt('layerTV')",500);

function checkemail(str){
 var filter=/^.+@.+\..{2,3}$/

 if (filter.test(str))
 {
    return true;
 
 }else {
    return false;
  }
 //return checkemail;
}

