var mypop = new Array();
function PopNew(theURL,name,width,height,scroll) {
    if(mypop.lenght && mypop[name] != 'undefined') mypop[name].focus();
    if(!scroll) scroll = 'yes';
    mypop[name] = window.open(theURL,name,'width='+width+', height='+height+', location=no, menubar=no, status=yes, toolbar=no, scrollbars='+scroll+', resizable=yes');
    mypop[name].focus();
    return false;
}

function SizeNew(width,height) {
	//alert(parseInt(navigator.appVersion));
	//alert(navigator.appName);
/*
	 if (parseInt(navigator.appVersion) > 3) {
	   if (navigator.appName == "Netscape") {
		top.outerWidth = width;
		top.outerHeight = height;
	   } else top.resizeTo(width,height);
	 } else window.resizeTo(width,height);
*/
	window.resizeTo(width,height);
}

function fill() {
	if (screen.width) {
		SizeNew(parseInt(screen.width),parseInt(screen.height));
	}
}