//window.onload=showhide;

var pageLoaded = 0;
window.onload = function(){	
	pageLoaded = 1;
	externalLinks();
	};
function loaded(i,f) {
if (document.getElementById(i) != null) f(i);
else if (!pageLoaded) setTimeout('loaded(\''+i+'\','+f+')',100);
}

loaded('contact',showhide);
var inistate = 'block';

function showhide(layer_ref, state) {
   if ( state === undefined ) {
	   	state = inistate;
   }
	if (state == 'block') {
		state = 'none';
	}
	else {
		state = 'block';
	}
	if (document.all) { //IS IE 4 or 5 (or 6 beta)
		eval( "document.all." + layer_ref + ".style.display = state");
	}
	if (document.layers) { //IS NETSCAPE 4 or below
		document.layers[layer_ref].display = state;
	}
	if (document.getElementById &&!document.all) {
		hza = document.getElementById(layer_ref);
		hza.style.display = state;
	}
	inistate = state;
} 
function externalLinks() {   
	 if (!document.getElementsByTagName) return;   
	 var anchors = document.getElementsByTagName("a");   
	 for (var i=0; i<anchors.length; i++) {   
	   var anchor = anchors[i];   
	   if (anchor.getAttribute("href") &&   
	       anchor.getAttribute("rel") == "external")   
	     anchor.target = "_new";   
	 }   
	}   