function popup(url, w, h)
{
	ustawienia=
   "width=" + w + ","
    +"height=" + h + ","
	newwindow=window.open(url,'name',ustawienia);
	if (window.focus) {newwindow.focus()}
	return false;
}


noweOkienko = null;

function show(src, w, h){
if(window.screen){
 aw=screen.availWidth;
 ah=screen.availHeight;
}else{
 aw=640;
 ah=450;
}
 ustawienia=
 "left=" + (aw-w)/2 + ","
 +"top=" + (ah-h)/2 + ","
 +"screenX=" + (aw-w)/2 + ","
 +"screenY=" + (ah-h)/2 + ","
 +"width=" + w + ","
 +"height=" + h + ","
 +"innerWidth=" + w + ","
 +"innerHeight=" + h + ","
 +"toolbar=no,"
 +"location=no,"
 +"directories=no,"
 +"status=no,"
 +"menubar=no,"
 +"scrollbars=no,"
 +"resizable=no"
if(noweOkienko==null || noweOkienko.closed){
 noweOkienko = window.open("",'obrazek',ustawienia);
}else{
noweOkienko.close();
noweOkienko = window.open("",'obrazek',ustawienia);
}
noweOkienko.document.open();
noweOkienko.document.clear();
noweOkienko.document.write(
"<html><head><title>.:: Mondokai ::.</title>\n"
+"<style><!--\n"
+"body{background-repeat:no-repeat}\n"
+"--></style>\n"
+"</head>\n"
+"<body background=" + src + "></body>\n"
+"</html>"
);
noweOkienko.document.close();
noweOkienko.focus();
}


function SendEmail(user,domain) {
locationstring = "mailto:" + user + "@" + domain;
window.location = locationstring; }
