<!--
isIE=document.all;
isNN=!document.all&&document.getElementById;
isN4=document.layers;
isHot=false;

function ddInit(e){
  topDog=isIE ? "BODY" : "HTML";
  whichDog=isIE ? document.all.theLayer : document.getElementById("theLayer");  
  hotDog=isIE ? event.srcElement : e.target;  
  while (hotDog.id!="titleBar"&&hotDog.tagName!=topDog){
    hotDog=isIE ? hotDog.parentElement : hotDog.parentNode;
  }  
  if (hotDog.id=="titleBar"){
    offsetx=isIE ? event.clientX : e.clientX;
    offsety=isIE ? event.clientY : e.clientY;
    nowX=parseInt(whichDog.style.left);
    nowY=parseInt(whichDog.style.top);
    ddEnabled=true;
    document.onmousemove=dd;
  }
}

function dd(e){
  if (!ddEnabled) return;
  whichDog.style.left=isIE ? nowX+event.clientX-offsetx : nowX+e.clientX-offsetx; 
  whichDog.style.top=isIE ? nowY+event.clientY-offsety : nowY+e.clientY-offsety;
  return false;  
}

function ddN4(whatDog){
  if (!isN4) return;
  N4=eval(whatDog);
  N4.captureEvents(Event.MOUSEDOWN|Event.MOUSEUP);
  N4.onmousedown=function(e){
    N4.captureEvents(Event.MOUSEMOVE);
    N4x=e.x;
    N4y=e.y;
  }
  N4.onmousemove=function(e){
    if (isHot){
      N4.moveBy(e.x-N4x,e.y-N4y);
      return false;
    }
  }
  N4.onmouseup=function(){
    N4.releaseEvents(Event.MOUSEMOVE);
  }
}

function hideMe(){
  if (isIE||isNN) whichDog.style.visibility="hidden";
  else if (isN4) document.theLayer.visibility="hide";
}

function showMe(){
  if (isIE||isNN) whichDog.style.visibility="visible";
  else if (isN4) document.theLayer.visibility="show";
}

document.onmousedown=ddInit;
document.onmouseup=Function("ddEnabled=false");

function jump_to_inbox()
{
	opener.document.location.href = "privmsgf793.html?folder=inbox";
	window.close();
}

function pmPop(){
   document.write('<div id="theLayer" style="position:absolute;width:400;height:225;left:100;top:65;visibility:visible;z-index:5;">\n<table border="0" width="320" bgcolor="#424242" cellspacing="0" cellpadding="5">\n<tr>\n<td>\n  <table border="0" width="320" cellspacing="0" cellpadding="0" height="46">\n  <tr>\n  <td id="titleBar" style="cursor:move" class="gen">\n  <ilayer width="100%" onSelectStart="return false">\n  <layer width="100%" onMouseover="isHot=true;if (isN4) ddN4(theLayer)" onMouseout="isHot=false">\n  <font face="Arial" color="#FFFFFF">You have a Private Message!</font>\n  </layer>\n  </ilayer>\n  </td>\n  <td style="cursor:hand" valign="top">\n  <a href="#" onClick="hideMe();return false"><font color=#ffffff size=2 face=arial  style="text-decoration:none">X</font></a>\n  </td>\n  </tr>\n  <tr>\n  <td width="100%" height="100%" bgcolor="#3EB6F2" style="padding:4px" colspan="2" valign="top">\n<!-- PLACE YOUR CONTENT HERE //-->  \n\n\n\n  <table width="100%" border="0" cellspacing="0" cellpadding="6">\n	<tr>\n	  <td>\n		<table width="100%" border="0" cellspacing="1" cellpadding="4" class="forumline">\n		  <tr>\n			<td valign="top" class="row1" align="center"><br /><span class="gen">A new private message is waiting for you in your Inbox<br /><br />Click <a href="privmsg.php?folder=inbox" onclick="jump_to_inbox();return false;">Here</a> to visit your Inbox</span><br /><br /><span class="genmed"><a href="#" onClick="hideMe();return false" class="genmed">Close Window</a></span><br /><br /></td>\n		  </tr>\n		</table>\n	  </td>\n	</tr>\n  </table>\n\n\n\n\n<!-- END OF CONTENT AREA //-->\n  </td>\n  </tr>\n  </table> \n</td>\n</tr>\n</table>\n</div>\n');
}

function LockButtons (whichform) {
   ua = new String(navigator.userAgent);
   if (ua.match(/IE/g)) {
      for (i=1; i<whichform.elements.length; i++) {


         if (whichform.elements[i].type == 'submit') {
            whichform.elements[i].disabled = true;
            whichform.elements[i].style.backgroundColor = '#444444';
	 }
      }
   }

   whichform.submit();

}

// -->