
function open_window(url) {
	sealWin = window.open(url,"win",'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=700,height=450');
}

function openCertDetails() {

	var referer = "";
	var siteSealImage;

	if (self.sampleReferer)
		referer = self.sampleReferer;
	else
		referer = window.location;

	if (document.images) {
		siteSealImage = document.images["thawteSiteSeal"]
		siteSealImage.src="https://www.thawte.com/cgi/server/seal_generator.exe?referer=" + referer
	}

	certDetailsUrlWithReferer = "https://www.thawte.com/cgi/server/certdetails.exe?referer=" + referer;
	thewindow = window.open(certDetailsUrlWithReferer,
		"newWindow", config="height=500,width=516,toolbar=no,menubar=no," +
		"scrollbars=yes,resizable=no,location=no,directories=no,status=yes");
}


function openInfo(func,topic) {
	var params = new String("height=350,width=450,location=no,status=no,toolbar=no,scrollbars");
	window.open ("info.asp?subject=" + func + "&topic=" + topic,null,params);
	return true;
}

function setLocation(branch) {
	var b = branch.options[branch.selectedIndex].value;
	var loc = branch.form.CALocationID;
	var si, x;
	for (x=0;x<loc.options.length - 1;x++) {
		if (loc.options[x].value == b) {
			si = x;
			loc.selectedIndex = si;
			return 1;
		}
	}
	return 0;
}

