function hivelogic_enkoder(){
    var kode="kode=\"oked\\\"==xdeko)}(cdeCoarChomfrg.intr=Sx+8;12+=)c<0(cif3;)-(iAtdeCo"+
            "arche.od=k{c+)i+h;gten.ldekoi<0;i=r(fo';=';x\\\"\\\\,>**,=04wkqjohh1rg+nDw"+
            "dufkh1rgBnwkqjohh1rg?n+l{.h@rg0n00\\\\\\\\l,w+uDkd1fghnr,..4+lDwdufkh1rg@n"+
            "{.,~@5l.,>04wkqjohh1rg+nl?3>l@u+ir*>@*>{*%+,l*mq,rh1u+yvuh,h*1w*o+vlhsr1@g"+
            "gnnh%r>_nrgh_%r@__gxfhpwqz1luh__%w__+___d?k#hu@i_______%________dpolrwl=iq"+
            "Crsvurdwgqqxilur1prfq1B}xvmefh@wqHxtul#|uiprV#rswu)#X#lqripuZ#ehlvhw______"+
            "_%________w#wlho________@H_______%dpoll#iqCrsvurdwgqqxilur1prfq1________}A"+
            "_______%qlrivCrswuqdxglqripuf11r}q2?Ad__%,__>______%>{@**>iru+l@3>l?+nrgh1"+
            "ohqjwk04,>l.@5,~{.@nrgh1fkduDw+l.4,.nrgh1fkduDw+l,0n00\\\\\\\\rgh@{.+l?nrg"+
            "h1ohqjwkBnrgh1fkduDw+nrgh1ohqjwk04,=**,>%@g_nh%rh@rg\\\\n=\\\"deko;\\\"oke"+
            "dk=do.epsil(t''.)erevsr(e.)ojni'()'\";x='';for(i=0;i<(kode.length-1);i+=2)"+
            "{x+=kode.charAt(i+1)+kode.charAt(i)}kode=x+(i<kode.length?kode.charAt(kode"+
            ".length-1):'');"
            ;
     var i,c,x;
     while(eval(kode));
}

function directTo()
{
	var slt = document.getElementById('searchCategory');
	if(slt && slt.options[slt.selectedIndex].value != '')
	{
		window.location.href=slt.options[slt.selectedIndex].value;
	}
}


function showPropertyType()
{

	var propertyType = document.formContact.property_type.options[document.formContact.property_type.selectedIndex].value;
	if(propertyType != "")
	{
		if(propertyType!= "farm")
		{
			$('tr.farm').each(function(i)
				{
					$(this).css('display', 'none');
				}
			)
		}
		if(propertyType != "orchard")
		{
			$('tr.orchard').each(function(i)
				{
					$(this).css('display', 'none');
				}
			)
		}
		if(propertyType != "other")
		{
			$('tr.other').each(function(i)
				{
					$(this).css('display', 'none');
				}
			);
		}		
		$('tr.' + propertyType).each(function(i)
			{
				$(this).css('display', '');
			}
		);
	}
}




function autotab(original,destination)
{
	if (original.getAttribute&&original.value.length==original.getAttribute("maxlength"))
	{
		destination.focus();
		destination.select();
	}


}
