function searchSwitch(field)
	{
	if (field=='one')
		{
		// Anzeige �ndern
		document.getElementById('one').className = '';
		document.getElementById('two').className = 'inactive';
		document.getElementById('one').blur();
		
		// Formular �ndern
		document.forms[0].anzeige.value = 'produkt';
		}
	else if (field=='two')
		{
		// Anzeige �ndern
		document.getElementById('one').className = 'inactive';
		document.getElementById('two').className = '';
		document.getElementById('two').blur();

		// Formular �ndern
		document.forms[0].anzeige.value = 'firma';
		}
	return false;
	}

function toggleLayerStandard(state, posTop) {
	var obj = document.getElementById("infolayer_standard");
	
	var xOff = 0;
	var yOff = 0;
	
	if(!isNaN(document.documentElement.scrollTop) && !isNaN(document.body.clientHeight)) {
		yOff = document.documentElement.scrollTop + ((document.documentElement.clientHeight - 350) / 2);
		xOff = document.documentElement.scrollLeft + ((document.documentElement.clientWidth - 500) / 2);
	} else {
		xOff = 250;
		yOff = 1000;
	}
	
	obj.style.top = yOff + 'px';
	obj.style.left = xOff + 'px';
	/*
	if (posTop != null && !isNaN(posTop)) {
		obj.style.top = posTop + 'px';
	}
	*/
	obj.style.display = (state == 1) ? "block" : "none";
}
