
// **************************************************
// Generic Site Functions, v. 2.1
// Created by: Eric Engelmann, 12/10/00
// Modified by: Eric Engelmann, 4/30/02
// Copyright (c)2000-2002 Geonetric Technologies
// http://www.geonetric.com/
// **************************************************

// ***********************
// ErrorHandler
// ***********************
function errorhandler(){ return true; }
	window.onerror=errorhandler;

// ***********************
// FrameChecker -- Remove if frames site.
// ***********************
if (window!=top) top.location.replace(document.location.href);

// ***********************
// Mouseover Functions 
// ***********************
if (document.images)	{ 
	// sample_on = new Image(); sample_on.src="/_imgs/sample_on.gif";
	// sample = new Image(); sample.src="/_imgs/sample.gif";
}
function imgAct(imgName)	{
	if (document.images) {
	 	document.images[imgName].src = eval(imgName + "_on.src"); 
	} 
}
function imgInact(imgName)	{ 
	if (document.images) { 
		document.images[imgName].src = eval(imgName + ".src");
	} 
}

// ***********************
// Show/Hide element
// ***********************
function toggleVisibility(el, src) {
	var v = el.style.display == "block";
	var str = src.innerHTML;
	el.style.display = v ? "none" : "block";
	src.innerHTML = v ? str.replace(/Hide/, "Show") : str.replace(/Show/, "Hide");
}


	  function remsub()
	  {
	 	//alert("submit");
		//alert("remform: ".remform);
	  	document.forms.submit();
	  
	  }

