/*  suzerain.com window opener, thank Marc when you can! */
/*  universal window opening function...the first two variables are required  */

function NewWindow(url,name,w,h){

	// check for width; default 640
	if( !w ){
		w = 640;
	}
	
	// check for height; default 480
	if( !h ){
		h = 480;
	}		
	
	
	// set up options	
	var options = 'width=' + w + ',height='+h+',toolbar=0,menubar=0,location=0,scrollbars=1,directories=0,status=1,resizable=1';     
	
	// open the window
	blarg = window.open( url,name,options );
	
	// focus it if you can
	if( window.focus ) {
		blarg.focus();
	}
        
}

