<!-- Beginning of code --




function poster_window(the_url) {

/*
 * New version implemented by Mike Strick 05/04/2002	
 * Opens a Poster window to largest possible size (up to 700x760) for the screen and adds
 * scrollbars if needed 
*/

	var addScrollBars = ( ( screen.width < 700 ) || ( screen.height < 760 ) )?'yes':'no';
	var width = ( screen.width < 700 )?screen.width - 20:575;
	var height = ( screen.height < 760 )?screen.height - 20:600;

	var winOptions = "width=" + width + ",height=" + height + ",left=10,top=10,toolbar=no,directories=0,menubar=no,status=no,resizable=0,location=0,scrollbars=" + addScrollBars + ",copyhistory=0";
        
	posterWind = window.open(the_url,"VWPics",winOptions);

	if (posterWind.opener == null) {

		posterWind.opener = window;

	}

}

function poster_window_large(the_url) {

/*
 * New version implemented by Mike Strick 05/04/2002	
 * Opens a Poster window to largest possible size (up to 700x760) for the screen and adds
 * scrollbars if needed 
*/

	var addScrollBars = ( ( screen.width < 700 ) || ( screen.height < 760 ) )?'yes':'no';
	var width = ( screen.width < 700 )?screen.width - 20:650;
	var height = ( screen.height < 760 )?screen.height - 20:600;

	var winOptions = "width=" + width + ",height=" + height + ",left=10,top=10,toolbar=no,directories=0,menubar=no,status=no,resizable=0,location=0,scrollbars=1" + addScrollBars + ",copyhistory=0";
        
	posterWind = window.open(the_url,"VWPics",winOptions);

	if (posterWind.opener == null) {

		posterWind.opener = window;

	}

}
function poster_window_larger(the_url) {

/*
 * New version implemented by Mike Strick 05/04/2002	
 * Opens a Poster window to largest possible size (up to 700x760) for the screen and adds
 * scrollbars if needed 
*/

	var addScrollBars = ( ( screen.width < 700 ) || ( screen.height < 760 ) )?'yes':'no';
	var width = ( screen.width < 700 )?screen.width - 20:650;
	var height = ( screen.height < 760 )?screen.height - 20:650;

	var winOptions = "width=" + width + ",height=" + height + ",left=10,top=10,toolbar=no,directories=0,menubar=no,status=no,resizable=0,location=0,scrollbars=1" + addScrollBars + ",copyhistory=0";
        
	posterWind = window.open(the_url,"VWPics",winOptions);

	if (posterWind.opener == null) {

		posterWind.opener = window;

	}

}
