    /* 
    Javascript Browser Sniff 1.0
    Jim Cummins - http://www.conxiondesigns.com
    */
    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;
    	}
    }

    /*
    End of Browser Sniff 1.0
    */
    
    /*
    Access Layer Style Properties
    Jim Cummins - http://www.conxiondesigns.com
    Required components:  Javascript Browser Sniff 1.0
    */
    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;
    }
    /*
    End of Accessing Layer Style Properties
    */


    /*
    HideShow 1.0
    Jim Cummins - http://www.conxiondesigns.com
    Required components:  Accessing Layer Style Properties (and Req. Comp.)
    */
    function HS(ID)
    {
    	if(aLs(ID).display == "block")
    	{
    		aLs(ID).display = "none";
    	}
    	else
    	{
    		aLs(ID).display = "block";
    	}
    }
    /*
    ukrycie otwartych elementow
    */
    function H_S(ID)
    {
    		aLs(ID).display = "none";
    }
    /*
    End of HideShow 1.0
    */
