<!--
Xoffset=-60; 
Yoffset= 20;   

var nav,old,iex=(document.all),yyy=-1000;
if(navigator.appName=="Netscape"){(document.layers)?nav=true:old=true;}

if(!old){
var skn=(nav)?document.dek:dek.style;

if(nav)document.captureEvents(Event.MOUSEMOVE);
document.onmousemove=get_mouse;
}

function popup(msg){
var content="<div> "+msg+" </div>";
if(old){alert(msg);return;} 
else{yyy=Yoffset;
 if(nav){skn.document.write(content);skn.document.close();skn.visibility="visible"}
 if(iex){document.all("dek").innerHTML=content;skn.visibility="visible"}
 }
}

function getvars(form) {

  if (form.msg.value == ""  || form.nick.value == "" || form.msg.value == "message"  || form.nick.value == "nick")

    alert("Ник и (или) сообщение не должно быть пустым!")

  else {
window.location="?n="+form.nick.value+"&m="+form.msg.value+"";
  }
}

function popform(msg){
var content="<TABLE BORDER=1 BORDERCOLOR=black CELLPADDING=3 CELLSPACING=0 "+
"BGCOLOR=DCE1E7><TD ALIGN=left><font size='1' face='Verdana, Arial, Helvetica, Sans-Serif'><form>Reply:&nbsp;&nbsp;&nbsp;<sup><a href=javascript:close()> x</a><br><br><input style='BACKGROUND-COLOR: #E9EBEF; BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid;  FONT-FAMILY: verdana; FONT-SIZE: 10px' type=text name=nick value=Nick size=16><br><textarea style='BACKGROUND-COLOR: #E9EBEF; BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid;  FONT-FAMILY: verdana; FONT-SIZE: 10px' name=msg cols=15>message</textarea><br> <input style='BACKGROUND-COLOR: #E9EBEF; BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; COLOR: #000000; FONT-FAMILY: verdana; FONT-SIZE: 10px' type=button  style='font-family:Verdana;font-size:10px;' value='go' onClick=getvars(this.form)></form></FONT></TD></TABLE>";
if(old){alert(msg);return;} 
else{yyy=Yoffset;
if(nav){skn.document.write(content);skn.document.close();skn.visibility="visible"}
if(iex){document.all("dek").innerHTML=content;skn.visibility="visible"}
 }
}

function get_mouse(e){
//var x=(nav)?e.pageX:event.x+document.body.scrollLeft;skn.left=x+Xoffset;
//var y=(nav)?e.pageY:event.y+document.body.scrollTop;skn.top=y+yyy;
}

function close(){
if(!old){yyy=-1000;skn.visibility="hidden";}
}

