 	
function soon () {
alert ('This Feature Is Coming Soon!');
}
var nWindow = 0
function pwin(d,w,h,s,p) {
// p position, s = scrollbars
// 1 = top left, 2 = top right, 3 = bottom left, 4 = bottom right, 5 = top middle 0 = center
if (nWindow) {
if(!nWindow.closed) nWindow.close();
  }
if (s == 1) { s = "yes"; }
else { s = "no"; }
if (p == 1) {
tx = 10; 
ty = 10;
}
else
if (p == 2) {
tx = (screen.width - (w+10));
ty = 0;
}
else
if (p == 3) {
tx = 10;
ty = (screen.height - (h+65));
}
else
if (p == 4) {
tx = (screen.width - (w+10));
ty = (screen.height - (h+65));
}
else
if (p == 5) {
tx = (screen.width - w) / 2;
ty = 100; //(screen.height - (h+65));
}
else {
tx = (screen.width - w) / 2;
ty = (screen.height - h) / 2;
}
	 nWindow = window.open(d,"popup","width="+w+",height="+h+",top="+ty+",left="+tx+",menubar=no,toolbar=no,location=no,status=no, resizable=yes,scrollbars="+s+"");

	 nWindow.focus() 
}

function infowin(d,w,h) {
tx = (screen.width - w) / 2;
ty = (screen.height - h) / 2;

d = "http://" + d;

inWindow =
 window.open(d,"info","width="+w+",height="+h+",top="+ty+",left="+tx+",menubar=no,toolbar=no,location=no,status=no, resizable=yes,scrollbars=no");
	 inWindow.focus()
}
var isNS = (navigator.appName == "Netscape") ? 1 : 0;
var EnableRightClick = 0;
if(isNS) 
document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler(){
  if(EnableRightClick==1){ return true; }
  else {return false; }
}
function mousehandler(e){
  if(EnableRightClick==1){ return true; }
  var myevent = (isNS) ? e : event;
  var eventbutton = (isNS) ? myevent.which : myevent.button;
  if((eventbutton==2)||(eventbutton==3)) return false;
}
function keyhandler(e) {
  var myevent = (isNS) ? e : window.event;
  if (myevent.keyCode==96)
    EnableRightClick = 1;
  return;
}
document.oncontextmenu = mischandler;
document.onkeypress = keyhandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;
