//patriam_functions.js 

/**
 * Copyright (c) 2008 Patriam Enterprises, Inc.
 *
 *
 * Patriam Enterprises grants you a royalty free license to use or modify this
 * software provided that this copyright notice appears on all copies.
 * This software is provided "AS IS," without a warranty of any kind.
 */

function showlayer(id) {
	document.getElementById(id).style.visibility = "visible";
} 


function hidelayer(id) {
	document.getElementById(id).style.visibility = "hidden";
} 

function showleft(id,z) {
	 for(x=0; x<7; x++) {	
		document.getElementsByTagName("div").item(x).style.zIndex = x;
	 }
		document.getElementById(id).style.zIndex=7;
		document.getElementById(id).style.visibility = "visible";
} 

function hideleft(){
	 for(x=0; x<7; x++) {	
		document.getElementsByTagName("div").item(x).style.visibility = "hidden";
	 }

} 

