//<!--
var v_target = "";
function omm(status)
{ 
if(document.all)  
	{
	document.all.MSLK.innerHTML = status;
	window.status = status;	
	}
 else { window.defaultStatus = status;

  }
  return true;
}


function sel(http,art)
{
  var LGID = http+"?art="+art+"&SelGID=" +document.forms[0].gebiet.options[document.forms.gebiet.selectedIndex].value + v_target;
  document.location.href=LGID;
  return;
}


function sellk(http,art)
{
  var LGID = http+"?art="+art+"&SelGID=" +document.forms.LKGID.options[document.forms.LKGID.selectedIndex].value;
  document.location.href=LGID;
  return;
}

function selart(http,gid,from)
{ var test = document.referrer;	
  var LGID = http +"?Art=" + document.forms.obj.Art.options[document.forms.obj.Art.selectedIndex].value +"&Selgid=" + gid+"&ort=" + document.forms.obj.ort.value +"&plz=" + document.forms.obj.plz.value + "&from=" + from;
  document.location.href=LGID;  
  return;
}


function selRegBez(gebiet,art)
{
	var LGID = "suche.asp?SelGID="+document.forms.obj.bundesland.options[document.forms.obj.bundesland.selectedIndex].value + "&art=" + art + "&from=bundesland";
	document.location.href=LGID;
}


function selLandKreis(gebiet,art)
{
	var LGID = "suche.asp?SelGID="+document.forms.obj.regBez.options[document.forms.obj.regBez.selectedIndex].value + "&art=" + art + "&from=regBez";
	document.location.href=LGID;
}

function selLandKr(gebiet,art)
{
	var LGID = "suche.asp?SelGID="+document.forms.obj.landKreis.options[document.forms.obj.landKreis.selectedIndex].value + "&art=" + art + "&from=landkreis";
	document.location.href=LGID;
}

function selOrt(gebiet,art)
{
	var LGID = "suche.asp?SelGID="+document.forms.obj.landKreis.options[document.forms.obj.landKreis.selectedIndex].value + "&art=" + art + "&from=ort_kunde";
	document.location.href=LGID;
}

function selOrt_kunde(gebiet,art)
{
	var LGID = "suche.asp?SelGID="+document.forms.obj.ort_kunde.options[document.forms.obj.ort_kunde.selectedIndex].value + "&art=" + art + "&from=Ort_by_Ort";
	document.location.href=LGID;
}


function selArtbyOrt(gebiet,art){
	var LGID = "suche.asp?SelGID="+document.forms.obj.orte.options[document.forms.obj.orte.selectedIndex].value + "&art=" + art + "&from=ort";
	document.location.href=LGID;
}

function selOrt_by_Ort(gebiet,art)
{
	var LGID = "suche.asp?SelGID="+document.forms.obj.Ort_by_Ort.options[document.forms.obj.Ort_by_Ort.selectedIndex].value + "&art=" + art + "&from=Ort_by_Ort";
	document.location.href=LGID;
}

function selRegion(http,gebiet,art,formName)
{
	var tempReg = http + "?SelGID=" + eval("document.forms.obj." + formName + ".options[document.forms.obj." + formName + ".selectedIndex].value") + "&art=" + art + "&from="+formName;
	document.location.href = tempReg;
}

function selartLaender(http,gid)
{ var test = document.referrer;	
  var LGID = "international.asp?Art=" + document.forms.obj.Art.options[document.forms.obj.Art.selectedIndex].value +"&Selgid=" + gid;
  document.location.href=LGID;  
  return;
}

function selLaender(http,gebiet,art)
{
	var LGID = http+"?selgid="+document.forms.obj.laender.options[document.forms.obj.laender.selectedIndex].value + "&immoArt=" + art;
	document.location.href=LGID;
}

function selStandort(http,gebiet,standort)
{
    var tmpStandort = standort;
    var tmpGeoID    = gebiet;
    
    if(document.forms.obj.Standort != null && document.forms.obj.Standort.options[document.forms.obj.Standort.selectedIndex] != null)
    {
        if(document.forms.obj.Standort.options[document.forms.obj.Standort.selectedIndex].value.length > 5)
        {
            tmpGeoID = document.forms.obj.Standort.options[document.forms.obj.Standort.selectedIndex].value;
        } 
        else
        {
            tmpStandort = document.forms.obj.Standort.options[document.forms.obj.Standort.selectedIndex].value;
            tmpGeoID = '';
        }  
    }
    var page_load = http + "?selgid=" + tmpGeoID + '&standort=' + tmpStandort;
    document.location.href = page_load;




//    if(document.forms.obj.Standort != null && document.forms.obj.Standort.options[document.forms.obj.Standort.selectedIndex] != null && document.forms.obj.Standort.options[document.forms.obj.Standort.selectedIndex].value != '')
//    {
//        var tmpStandort : tmpStandort   = 0;
//        var tmpGeoID    : tmpGeoID      = gebiet;
//        
//        //alert(document.forms.obj.Standort.options[document.forms.obj.Standort.selectedIndex].value.length);
//        //if(document.forms.obj.Standort.options[document.forms.obj.Standort.selectedIndex].value.length > 5)
//          //  tmpGeoID = document.forms.obj.Standort.options[document.forms.obj.Standort.selectedIndex].value;
//                
//        var page_load = http + "?selgid=" + tmpGeoID + '&standort=' + tmpStandort;
//        document.location.href = page_load;
//    }
return 0;
}
//-->

