/* 
    Javascript Browser check
    */
    var isIE = false;
    var isOther = false;
    var isNS4 = false;
    var isNS6 = false;
    if(document.getElementById) {
    	if(!document.all) {
    		isNS6=true;
    	}
    	if(document.all){
    		isIE=true;
    	}
    }
    else {
    	if(document.layers) {
	    	isNS4=true;
    	}
    	else {
     		isOther=true;
    	}
    }
    
    /*
    Access to Layer Style Properties
    Required components:  Javascript Browser check
    */
    function aLs(layerID) {
      var returnLayer;
    	if(isIE) {
    		returnLayer = eval("document.all." + layerID + ".style");
    	}
    	if(isNS6) {
    		returnLayer = eval("document.getElementById('" + layerID + "').style");
    	}
    	if(isNS4) {
    		returnLayer = eval("document." + layerID);
    	}
    	if(isOther) {
		    returnLayer = "null";
		    alert("-[Error]-\nDue to your browser you will probably not\nbe able to view all of the following page\nas it was designed to be viewed. We regret\nthis error sincerely.");
	    }
    return returnLayer;
    }

    /*
    HideShow 
    Required components:  Accessing Layer Style Properties (and Req. Comp.)
    */
    function HideShow(ID) {
    	if((aLs(ID).visibility == "hidden") || (aLs(ID).visibility == "")) {
    		aLs(ID).visibility = "visible";
    	}
    	else if(aLs(ID).visibility == "visible") {
    		aLs(ID).visibility = "hidden";
    	}
    }

