var newwindow = ''

function popitup(url) {
	if (newwindow.location && !newwindow.closed) 
	{ newwindow.location.href = url; newwindow.focus(); } 
	else 
	{ newwindow=window.open(url,'htmlname','width=340,height=390,resizable=1') ; }
}

// open popup window without scrollbar
function openIT(susWin,susWinW,susWinH) {
	theURL=susWin
	wname ="PopupWindow"
	W=susWinW + 30;
	H=susWinH + 50;
	L=screen.width-W;
	T=0;
	PopupWindow = 
window.open(theURL, wname,"width=" + W + ",height=" + H + ",menubar=no,location=no,status=no,directories=no,resizable=no,scrollbars=no,toolbar=no,dependent=yes");
   PopupWindow.moveTo(0,0);
//   PopupWindow.moveTo(L,T);
   PopupWindow.resizeTo(W,H);
   PopupWindow.focus();
}

// open popup window with scrollbar
function openITs(susWin,susWinW,susWinH) {
	theURL=susWin
	wname ="PopupWindow"
	W=susWinW + 30;
	H=susWinH + 50;
	L=screen.width-W;
	T=0;
	PopupWindow = 
window.open(theURL, wname,"width=" + W + ",height=" + H + ",menubar=no,location=no,status=no,directories=no,resizable=no,scrollbars=yes,toolbar=no,dependent=yes");
   PopupWindow.moveTo(0,0);
//   PopupWindow.moveTo(L,T);
   PopupWindow.resizeTo(W,H);
   PopupWindow.focus();
}


function Go(x)
{
 if(x == "nothing")
 {
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
   return;
 }
// else if(x == "intro.htm")
// {
//   window.location.href = x;
//   document.forms[0].reset();
//   document.forms[0].elements[0].blur();
// }
// else if(x == "end") top.location.href = parent.frames[2].location;
 else
  {
   window.location.href = x;
//   document.forms[0].reset();
//   document.forms[0].elements[0].blur();
  }
}
