
var newwin;
var theImage;
var imgUrl;
var NN4=(document.layers);
function launchwin(winurl,winname)
{
		//This launches a new window and then
		//focuses it if window.focus() is supported.
	imgUrl = winurl;
		if(NN4)
		{
			newwin = window.open("picTemplate.html",winname,"innerWidth=640, innerHeight=480,resizable=yes");
			newwin.resizeTo(640,500);
		}
		else newwin = window.open("picTemplate.html",winname,"width=640, height=480,resizable=yes");
}

function launchwinflash(winurl,winname)
{
		if(NN4)
		{
			newwin = window.open(winurl,winname,"innerWidth=375, innerHeight=350,resizable=yes");
			newwin.resizeTo(375,350);
		}
		else newwin = window.open(winurl,winname,"width=375, height=350,resizable=yes");

}	
