/*=============================
display and hide objects
<a class="linkFaq" href="javascript:openCloseFaq('howItWorks');">
<b>How does it work?</b>
</a>
<br>
<DIV id="howItWorks" style="display:none">
1. Pick out your domain in our domain leasing (rent) list.<br>
</DIV>
===============================*/
function openCloseFaq(faqItem){
	if(eval( "document.getElementById('" + faqItem + "').style.display == 'none'")){
		eval( "document.getElementById('" + faqItem + "').style.display = ''");
	}else{
		eval( "document.getElementById('" + faqItem + "').style.display = 'none'");
	}
}

function showItem(item){
	eval( "document.getElementById('" + item + "').style.display = ''");
}

function hideItem(item){
	eval( "document.getElementById('" + item + "').style.display = 'none'");
}

function alertBetaVersion(){
    alert('Our site is in the process of being upgraded, but it is already running. \nWe would be happy to be informed about any errors you find. ');
}

function clearSearchText() {
d=document;
d.searchform.domainName.value='';
}

var selected_item=0;

function select_subcategory(ObjFormSelect,SelInd)
{
var SelectedIndexValue = ObjFormSelect.options[SelInd].value;
var strLocHref;
var strWeiter = false;
if (SelectedIndexValue == "Select")	{
	return;
	}else if(SelectedIndexValue == ""){
	ObjFormSelect.selectedIndex = 0;
	return;
	}else
{
            // select changed. change url
            if(SelectedIndexValue=="c1-1-rent-travel-tourismus-domainnames") strLocHref = "default.html";
            else strLocHref = SelectedIndexValue+".html"; 
	
	strWeiter = true;
	}

if (strWeiter){
	window.location.href = strLocHref;
	}
ObjFormSelect.selectedIndex = 0;
return;
}
