
// hide script from old browsers

var newwin;
			
var w = 480, h = 340;

if (document.all || document.layers) {
   w = screen.availWidth;
   h = screen.availHeight;
}

var popW = 800, popH = 520;

var leftPos = (w-popW)/2, topPos = (h-popH)/2;

function launchwin(winurl,winname,winfeatures)
{
newwin = window.open(winurl,winname,'toolbar=yes' + ',resizable=yes' + ',scrollbars=yes' + ',width=' + popW + ',height=' + popH + ',top=' + topPos + ',left=' + leftPos);

}



function launchwin2(winurl,winname,winfeatures)
{
var popW2 = 550, popH2 = 300;

var leftPos2 = (w-popW2)/2, topPos2 = (h-popH2)/2;

newwin = window.open(winurl,winname,'toolbar=no' + ',resizable=no' + ',scrollbars=no' + ',width=' + popW2 + ',height=' + popH2 + ',top=' + topPos2 + ',left=' + leftPos2);

}



function launchXSmall(winurl,winname,winfeatures)
{
var popW3 = 500, popH3 = 300;

var leftPos3 = (w-popW3)/2, topPos3 = (h-popH3)/2;
	
newwin = window.open(winurl,winname,'width=' + popW3 + ',height=' + popH3 + ',top=' + topPos3 + ',left=' + leftPos3);

}

function launchLarge(winurl,winname,winfeatures)
{
var popW4 = 660, popH4 = 370;

var leftPos4 = (w-popW4)/2, topPos4 = (h-popH4)/2;
	
newwin = window.open(winurl,winname,'toolbar=yes' + ',scrollbars=yes' + ',resizable=yes' + ',width=' + popW4 + ',height=' + popH4 + ',top=' + topPos4 + ',left=' + leftPos4);

}

function launchHelp(winurl,winname,winfeatures)
{
var popW4 = 500, popH4 = 300;

var leftPos4 = (w-popW4)/2, topPos4 = (h-popH4)/2;
	
newwin = window.open(winurl,winname,'scrollbars=yes' + ',resizable=yes' + ',width=' + popW4 + ',height=' + popH4 + ',top=' + topPos4 + ',left=' + leftPos4);

}
// end hiding script from old browsers


