function changeSite(sitenr)
{
 if (sitenr != 0)
 {
   switch(sitenr)
   {
    case 'main':
	 window.location.href="../../objekte.htm";
	break;
    case 'main1':
	 window.location.href="../../top-objekt/index.htm";
	break;
	case 'main2':
	 window.location.href="../../einfamilien/index.htm";
	break;
	case 'main3':
	 window.location.href="../../mehrfamilien/index.htm";
	break;
	case 'main4':
	 window.location.href="../../eigentum/index.htm";
	break;
	case 'main5':
	 window.location.href="../../grundstueck/index.htm";
	break;
	case 'main6':
	 window.location.href="../../gewerbe/index.htm";
	break;
	case 'main7':
	 window.location.href="../../vermietung/index.htm";
	break;
	default:
	 alert('Skriptfehler: Ungueltige Auswahl. Bitte kontaktieren Sie den Webmaster');
	break;
   }
 }
}

function changeObject(obnr)
{
 if (obnr != 0)
 {
  switch(obnr)
  {
   case 'ob01':
    window.location.href="../01/index.htm";
   break;
   case 'ob02':
    window.location.href="../02/index.htm";
   break;
   case 'ob03':
    window.location.href="../03/index.htm";
   break;
   case 'ob04':
    window.location.href="../04/index.htm";
   break;
   case 'ob05':
    window.location.href="../05/index.htm";
   break;
   case 'ob06':
    window.location.href="../06/index.htm";
   break;
   case 'ob07':
    window.location.href="../07/index.htm";
   break;
   case 'ob08':
    window.location.href="../08/index.htm";
   break;
   case 'ob09':
    window.location.href="../109/index.htm";
   break;
   case 'ob10':
    window.location.href="../10/index.htm";
   break;
   case 'ob11':
    window.location.href="../11/index.htm";
   break;
   case 'ob12':
    window.location.href="../12/index.htm";
   break;
   case 'ob13':
    window.location.href="../113/index.htm";
   break;
   case 'ob14':
    window.location.href="../14/index.htm";
   break;
   case 'ob15':
    window.location.href="../15/index.htm";
   break;
   case 'ob16':
    window.location.href="../16/index.htm";
   break;
   case 'ob17':
    window.location.href="../17/index.htm";
   break;
   case 'ob18':
    window.location.href="../18/index.htm";
   break;
   case 'ob19':
    window.location.href="../119/index.htm";
   break;
   case 'ob20':
    window.location.href="../120/index.htm";
   break;
   case 'ob21':
    window.location.href="../121/index.htm";
   break;
   case 'ob22':
    window.location.href="../22/index.htm";
   break;
   case 'ob23':
    window.location.href="../23/index.htm";
   break;
   case 'ob24':
    window.location.href="../24/index.htm";
   break;
   case 'ob25':
    window.location.href="../25/index.htm";
   break;
   case 'ob26':
    window.location.href="../26/index.htm";
   break;
   case 'ob27':
    window.location.href="../27/index.htm";
   break;
   case 'ob28':
    window.location.href="../28/index.htm";
   break;
   case 'ob29':
    window.location.href="../29/index.htm";
   break;
   case 'ob30':
    window.location.href="../30/index.htm";
   break;
   case 'ob31':
    window.location.href="../31/index.htm";
   break;
   case 'ob32':
    window.location.href="../32/index.htm";
   break;
   case 'ob33':
    window.location.href="../33/index.htm";
   break;
   case 'ob34':
    window.location.href="../34/index.htm";
   break;
   case 'ob35':
    window.location.href="../35/index.htm";
   break;
   case 'ob36':
    window.location.href="../36/index.htm";
   break;
   case 'ob37':
    window.location.href="../37/index.htm";
   break;
   case 'ob38':
    window.location.href="../38/index.htm";
   break;
   case 'ob39':
    window.location.href="../39/index.htm";
   break;
   case 'ob40':
    window.location.href="../40/index.htm";
   break;
   case 'ob41':
    window.location.href="../41/index.htm";
   break;
   case 'ob42':
    window.location.href="../42/index.htm";
   break;
   case 'ob43':
    window.location.href="../43/index.htm";
   break;
   case 'ob44':
    window.location.href="../44/index.htm";
   break;
   case 'ob45':
    window.location.href="../45/index.htm";
   break;
   case 'ob46':
    window.location.href="../46/index.htm";
   break;
   case 'ob47':
    window.location.href="../47/index.htm";
   break;
   case 'ob48':
    window.location.href="../48/index.htm";
   break;
   case 'ob49':
    window.location.href="../49/index.htm";
   break;
   case 'ob50':
    window.location.href="../50/index.htm";
   break;
   case 'ob51':
    window.location.href="../51/index.htm";
   break;
   case 'ob52':
    window.location.href="../52/index.htm";
   break;
   case 'ob53':
    window.location.href="../53/index.htm";
   break;
   case 'ob53':
    window.location.href="../53/index.htm";
   break;
   case 'ob54':
    window.location.href="../54/index.htm";
   break;
   case 'ob55':
    window.location.href="../55/index.htm";
   break;
   case 'ob56':
    window.location.href="../56/index.htm";
   break;
   case 'ob57':
    window.location.href="../57/index.htm";
   break;
   case 'ob58':
    window.location.href="../58/index.htm";
   break;
   case 'ob59':
    window.location.href="../59/index.htm";
   break;
   case 'ob60':
    window.location.href="../60/index.htm";
   break;
   case 'ob61':
    window.location.href="../61/index.htm";
   break;
   case 'ob62':
    window.location.href="../62/index.htm";
   break;
   case 'ob63':
    window.location.href="../62/index.htm";
   break;
   case 'ob64':
    window.location.href="../62/index.htm";
   break;
   case 'ob65':
    window.location.href="../62/index.htm";
   break;
    default:
    alert('Skriptfehler: Ungueltige Auswahl. Bitte kontaktieren Sie den Webmaster');
   break;
  }
 } 
}

