function popWin( url, name, width, height, scroller ) {
	var outStr = 'height=' + height + ',width=' + width;
	if (scroller != 'true') {
		outStr = outStr + ',menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no';
	} else {
		outStr = outStr + ',menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no';
	}
	var microsite = window.open(url, name, outStr);
	var sX = (screen.width - width) / 2;
	var sY = (screen.height - height) / 2;
	microsite.moveTo(sX,sY);
}

function popFlash(url, name, width, height, scroller) {
	if(!hasRightVersion) {
		document.write('<p>This site makes use of Flash; to get the most out of it, you\'ll '
		+ 'need to download the <a href = "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"'
		+ 'target = "_blank">Flash</a> plug-in.</p>');
	} else {
		popWin( url, name, width, height, scroller );
	}
}