function pop(url)
{var hlpWindow = window.open(url,"","top=15,left=15,width=510,height=480,toolbar=no,location=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no");}

function pop2(url)
{var hlpWindow = window.open(url,"","top=15,left=15,width=510,height=400,toolbar=no,location=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no");}


<!--
var platform;
var browser;
var version;
var adjWidth;
var adjHeight;
var winSize,winOptions;
var isie=0;
var isnc=0;
var ismac=0;
var ispc=0;

version = parseInt(navigator.appVersion);

if(navigator.userAgent.indexOf('Win') == -1) {
       platform = 'Macintosh';
	ismac=1;
} else {
        platform = 'Windows';
	ispc=1;
}

if(navigator.appName.indexOf('Netscape') == -1) {
       browser = 'IE';isie=1;
} else {
       browser = 'Netscape';
	isnc=1;
}

function maxopen_upsilog(theUrl,winName){
if (ismac){
	openmac(theUrl,winName);
	}
	else 
	if(ispc){
	openwin2(theUrl,winName);
	}
	else {}
}

function openwin2(winUrl,winName) {
	var winAttr = 'directories=0,location=0,menubar=0,resizable=1,scrollbars=1,status=1,toolbar=0,top=0,left=0,' ;
	if ((document.all)||(document.layers)) {
	if (document.all) winAttr += 'width=' + (screen.availWidth-12) + ',height=' + (screen.availHeight-50) ;
	else
	if (document.layers) winAttr += 'OuterWidth=' + screen.availWidth + ',OuterHeight=' + screen.availHeight ;
	TheSite = window.open(winUrl,winName,winAttr) ;
	}
	else 
	{
	winAttr+=",width=800,height=600";
	window.open(winUrl,winName,winAttr);
	}
}


function openmac(theUrl,winName) {
	var W=screen.availWidth;
	var H=screen.availHeight;

	

	if (isie) { H+=10; W+=2;}
	else if (isnc) {H-=30;W-=10}
	s = ",width="+W+",height="+H;

	
	if (isie) {
		helen = window.open( theUrl , winName, "fullscreen=0,toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1"+s)
		helen.resizeTo( Math.ceil( W ), Math.ceil( H ) );
		helen.moveTo  ( 0, 0 );
	}
	else    
		{
		var helen = window.open(theUrl, winName, "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,left=0,top=0,screenX=0,screenY=0"+s, true)
}
	helen.focus();
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function FullScreen(URL)
	{
	ns4 = (navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=4)
	if (ns4) 
		{
		mainWindow= open(URL, 'mainWindow', 'width='+(screen.width-12)+',height='+(screen.height-32)+',menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no,screenX=0,screenY=0');
		}
	else
		{
		mainWindow= open(URL, 'mainWindow', 'menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no,fullscreen=yes');
		}
//	mainWindow.moveTo((screen.width-800)/2,(screen.height-600)/2-18);
	mainWindow.focus()
	}
	
