/**********************************************************************************/
/***  Datei:     displayhidelayer.js                                            ***/
/***  Author:    Thomas J. Sebestyen,                                           ***/
/***  Copyright: kreative|zone°                                                 ***/
/***  Created:   2004/10/06  New                                                ***/
/***  Change:                                                                   ***/
/***                                                                            ***/
/***  Advice:                                                                   ***/
/**********************************************************************************/

//--- display layer  ---
function displaylayer(strName)
	{
	//--- DOM---
	if(document.getElementById)
		document.getElementById(strName).style.display = "block";

	//--- Explorer ---
	else if(document.all) 
		document.all[strName].style.display = "block";
	}

//--- undisplay layer ---
function undisplaylayer(strName)
	{
	//--- DOM ---
	if(document.getElementById)
		document.getElementById(strName).style.display = "none";

	//--- Explorer ---
	else if(document.all) 
		document.all[strName].style.display = "none";
	}
	
//--- display and undisplay the layer for the search or for the login form ---
/*function searchlogin()
	{
	if(bShowSearch == true)
		{
		undisplaylayer("search");
		displaylayer("login");
		bShowSearch = false;
		}
	else
		{
		undisplaylayer("login");
		displaylayer("search");
		bShowSearch = true;
		}
	}*/