if (top.location != location) {
	top.location.href = document.location.href;
}

function mails(titlee,zodis,vardas,domain2level,domain1level){
	var full=vardas + "@" + domain2level + "." + domain1level;
	document.writeln('<a title="' + titlee + '" href="mailto:' + full + '">' + zodis + '</a>');
}

function mails2(vardas,domain2level,domain1level){
	var full=vardas + "@" + domain2level + "." + domain1level;
	var naujas=window.open('','karviodvaras','width=200,height=100,scrollbars=no,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no,left=50,top=50');
	naujas.document.writeln('<HTML><HEAD><TITLE>karviodvaras.lt</TITLE><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"></HEAD>');
	naujas.document.writeln('<BODY style="background : white; font: 14px Arial, \'sans-serif\'; text-align : center; margin-top: 40px;"><a href="mailto:' + full + '">' + full + '</a></BODY></HTML>');
	naujas.document.writeln('<script type="text/javascript">window.setTimeout("window.close()", 10000);</script>');
	naujas.document.close();
	naujas.focus();
}


