var ZOOM_SiteRoot="/Data/ZoomSci/html/";
var ZOOM_SiteRoot="";

// in case this is called by a script (like search)...

if (ZOOM_SiteRoot.search('cgi-registry') > -1)
{
neavar=ZOOM_SiteRoot.replace(/^(\S+)cgi-registry\/2wgbh/,"$1wgbh");
ZOOM_SiteRoot=neavar;
}

// in addition to window targets listed here, there are also:
// "main": the main browser window, name set by nav.js
// "external": full-sized second window, the target of all outbound links


function vidPop(str) {
	var vidWin = window.open(ZOOM_SiteRoot + "video/" + str + ".html", "video", "scrollbars=yes,status=yes,resizable=yes,width=620,height=390");
	vidWin.focus();
	return false;
}

function surveyPop(str) {
	var surWin = window.open(ZOOM_SiteRoot + str, "popup", "scrollbars=yes,status=yes,width=462,height=450");
	surWin.focus();
	return false;
}

