<!-- Hide script from clueless browsers
//var sortwin = null;
var browser = navigator.appName;
var bVer = parseInt(navigator.appVersion);
var IE = (browser == "Microsoft Internet Explorer");
function newWindow(url,nameW) {
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
	//Non-IE
	myWidth = window.innerWidth;
	myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
	//IE 6+ in 'standards compliant mode'
	myWidth = document.documentElement.clientWidth;
	myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
	//IE 4 compatible
	myWidth = document.body.clientWidth;
	myHeight = document.body.clientHeight;
  }
   //alert(myWidth+" "+myHeight);
   if ( myWidth > 950 ) {
	  myWidth = 950;
   }
   if ( myHeight > 650 ) {
	  myHeight = 650;
   }
   width = myWidth - 50;
   height = myHeight - 50;
   sortwin = window.open(url, nameW, 'height='+height+',width='+width+',left=0,top=0,scrollbars=1,resizable=1,menubar=0,toolbar=0,status=0,location=0,directories=0');
   //if (!sortwin.opener) {
	  //sortwin.opener = self;
   //}
   sortwin.opener.blur();
   sortwin.opener = self;
   sortwin.focus();
}
function newWindow2(url,nameW) { //, width, height) {
//var undef = ""+sortwin;
//if ( undef == "" ) sortwin = null;
 //if ( true) {
 if ( (typeof sortwin == "undefined") ) { //|| (sortwin.closed) ) {
	newOpen(url,nameW); //this was the name for newWindow above; but just skipping this routine
 } else  {
	  if ( browser == "Netscape") {
		 newOpen(url,nameW);
	  }
	  sortwin.location = url;
	  if ( !IE ) {
		if (top.location != self.location){
	  top.location = self.location
		}
	  }
	  sortwin.focus();
/*
	if (IE ) {
	  sortwin.location = url;
	  sortwin.focus();
	} else if ( !IE && (sortwin.closed == false) ) {
	  sortwin.location = url;
	  sortwin.focus();
	} else {
	   newOpen(url,nameW);
	}
*/
 }
}
function CloseWin()
{
		sortwin.close();
}
// End of script hiding -->

