function Start(page) {
	OpenWin = this.open(page, "CtrlWindow", "toolbar=yes,menubar=yes,location=no,scrollbars=yes,resizable=yes,width=700,height=550");
}
//onclick="popUp(this.href,'fixed',700,400,'yes');return false;" target="newWin"

// from /jscripts/ca_jscripts.js 07162010
extArray = new Array(".gif", ".jpg", ".png");
function LimitAttach(form, file ) {
	allowSubmit = false;
	if (!file) return;
	while (file.indexOf("\\") != -1)
	file = file.slice(file.indexOf("\\") + 1);
	ext = file.slice(file.indexOf(".")).toLowerCase();
	for (var i = 0; i < extArray.length; i++) {
		if (extArray[i] == ext) { allowSubmit = true; break; }
	}
	if (allowSubmit) {
		return true;
	}
	else {
		alert("Please only upload files that end in types:  "
			   + (extArray.join("  ")) + "\nPlease select a new "
			   + "file to upload and submit again.");
		return false
	}
}
