var NS = IE = Mac = false;
var navVer = navigator.appVersion;

if(navVer.substr(0,3) >= 4) 
{
 if(navigator.appName == 'Netscape')
 {
    	NS = true;
 } else
 {
	IE = true;
 }
}

if (navigator.platform.indexOf("Mac") >= 0)
 Mac=true;



 function right(e) {
             if (navigator.appName == 'Netscape' &&
             (e.which == 3 || e.which == 2))
             return false;
             else if (navigator.appName == 'Microsoft Internet Explorer' &&
             (event.button == 2 || event.button == 3)) {
             alert("EXPERIENCED EYES ONLY");
             return false;
             }
             return true;
             }
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;

function key(e) {
	if ((String.fromCharCode(event.keyCode)) == "n" ||
	(String.fromCharCode(event.keyCode)) == "N")
	location.href="private/danumbers.php";
      return true;
             }

function onover(imgName,name) {
        document[imgName].src = eval("'" + name + "'");
}

function showpic(imageName) {
	if( (NS==true) && (NS6==false))
	 location.href="../pics/"+imageName;
	else
	{
	pic=window.open('','pic','width=500,height=300,toolbar=no,status=no,title=no,left=0,top=0');
	if (pic.document['picture']){ 
	 pic.document['picture'].src="../pics/"+imageName;
	 pic.resizeTo(pic.document['picture'].width+10, pic.document['picture'].height+30);
	 pic.focus();
	}
	else{
      pic.document.write("<html> <head> <title> Picture Window </title><script src='../click.js'></script></head>");
	pic.document.write("<body style='margin:0px' bgcolor='#000000'>");
	pic.document.write("<img src='../pics/" + imageName + "' border=0 name='picture' onload='window.resizeTo(this.width+10,this.height+30);'>");
	pic.document.write(imageName+"</body></html>");
       }
	}
 }
document.write('<LINK REL="SHORTCUT ICON" HREF="http://www.tamut.com/favicon.ico">');

function Delete_Confirm()
{
  var answer= window.confirm("Are you sure you want to delete this post?");
  if (answer)
   return (true);
  else
   return (false);
}

