/* Global JS Functions */

// bust outta frames
if (parent.frames.length > 0) {
parent.location.href = location.href;
}

//  Popup Window
function PopWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}

// Expand/Collapse Layers
function expandFirst() {
			document.getElementById(expandFirst.arguments[0]).style.display = "block";
			for (var i=1; i<expandFirst.arguments.length; i++) {
				document.getElementById(expandFirst.arguments[i]).style.display = "none";
			}
		}
function expandCollapse() {
	for (var i=0; i<expandCollapse.arguments.length; i++) {
		var element = document.getElementById(expandCollapse.arguments[i]);
		element.style.display = (element.style.display == "none") ? "block" : "none";
	}
}

// stop errors
function stopError() {
	return true;
}

// forms
function gothere(where){
location.href = where.options[where.selectedIndex].value;
}
