function loadFrames() {
       args = loadFrames.arguments;
       for (i=0;i<args.length;i++) {
              f = args[i].split(':');
              parent.frames[f[0]].location = f[1];
       }
}


function popup(url,width,height) {
	if( popup.arguments[3] ) {
		scrollbars = "yes";
	} else {
		scrollbars = "no";
	}

	screenx = screen.availWidth;
	screeny = screen.availHeight;

	toppos = (screenx - width) / 2;
	leftpos = (screeny - height) / 2;


	newWin = window.open( url,'','toolbars=no,status=no,location=no,statusbar=no,menubar=no,scrollbars='+ scrollbars +',height='+ height +',width='+ width +',left='+ leftpos +',top='+ toppos );
	newWin.focus();
}

 function CloseWindow() {
 if (new_window) {
 	new_window.close();
	 }
 }

