		function Send_Email(baseURL, iduser) {
			window.open(baseURL+'usermail.php?iduser='+iduser,'','toolbars=no,menubar=no,scrollbars=no,width=400,height=450');
		}
		function Send_Bug() {
			window.open('http://blogy.atlas.sk/userbug.php','','toolbars=no,menubar=no,scrollbars=no,width=400,height=450');
		}
		function Add_Friend(baseURL, iduser) {
			window.open(baseURL+'friendspop.php?iduser='+iduser,'','toolbars=no,menubar=no,scrollbars=no,width=400,height=200');
		}
		function Profile_Pop(baseURL, iduser) {
			window.open(baseURL+'profilpop.php?iduser='+iduser,'','toolbars=no,menubar=no,scrollbars=no,width=500,height=570');
		}
		function Send_Email_Text(baseURL, idtext) {
			window.open(baseURL+'textmail.php?idtext='+idtext,'','toolbars=no,menubar=no,scrollbars=no,width=400,height=350');
		}
		function ShowL(id) {
			//alert(id);
			document.getElementById(id).style.display='block';
			document.getElementById(id).style.top = tempY+'px';
			document.getElementById(id).style.left = tempX+'px';
		}
		
		function HideL(id) {
			document.getElementById(id).style.display='none';
		}

		function addLogin()
		{
			user = document.getElementById('usertype');
			if (user.value=='@atlas.sk') {
				document.Login.action = 'http://registracia.atlas.sk/verify.aspx';
			}
			else {
				document.Login.action = 'http://registracia.pobox.sk/verify.aspx';
			} 
				document.Login.login.value = document.Login.t1.value+document.Login.t2.value;
				document.Login.name.value=document.Login.login.value;
		}		
		
function getMouseXY(e) {
  if (IE) { // grab the x-y pos.s if browser is IE
    tempX = event.clientX + document.body.scrollLeft;
    tempY = event.clientY + document.body.scrollTop;
  } else {  // grab the x-y pos.s if browser is NS
    tempX = e.pageX;
    tempY = e.pageY;
  }  
  if (tempX < 0){tempX = 0}
  if (tempY < 0){tempY = 0}  
  return true;
}