// General SpeedingRhino functions
function popup(filename, title, width, height, x, y, scrollbars, statusbar, resizable){
	if(x=='c') x = (screen.width - width) / 2;
	if(y=='c') y = (screen.height - height) / 2;
	
	NewWindow = window.open( filename, title, "status=" + statusbar + ",scrollbars=" + scrollbars + 
		",width=" + width + ",height=" + height + ",left=" + x + ",top=" + y + ",resizable=" + resizable );
		   
	if( !NewWindow.opener ) NewWindow.opener = self;
	//NewWindow.focus();
}
// end