// script to create popup windows




<!--
var newwin;

//function below opens a new content window
function openWindow(winurl, winname, winfeatures, width, height)
{
	//This launches a new window and then
	//focuses it if window.focus() is supported.
	newwin = window.open(winurl, winname, winfeatures);

	//delay a bit here because IE4 encounters errors
	//when trying to focus a recently opened window
	setTimeout('newwin.focus();',250);
}


// function below opens an image popup window
function launchwin(image, winname, winfeatures, width, height)
{
	winurl = '/javascripts/popup_image_display.php?image='+image+'&width='+width+'&height='+height;

	//This launches a new window and then
	//focuses it if window.focus() is supported.
	newwin = window.open(winurl, winname, winfeatures);

	//delay a bit here because IE4 encounters errors
	//when trying to focus a recently opened window
	setTimeout('newwin.focus();',250);
}

function launchwin2(image, winname, winfeatures, width, height)
{
	
	winurl = '/javascripts/popup_image_display.php?image='+image+'&width='+width+'&height='+height;

	//This launches a new window and then
	//focuses it if window.focus() is supported.
	newwin = window.open(winurl, winname, winfeatures);

	//delay a bit here because IE4 encounters errors
	//when trying to focus a recently opened window
	setTimeout('newwin.focus();',250);


}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->

  
  
// end script

