function nav(xRowId){
/*	
	var e = window.event;
	alert ( e.type ); 

	if (e.target) targ = e.target;
	else if (e.srcElement) targ = e.srcElement;


	if (targ.type=='checkbox') return; 
	alert ( targ.type ); 
*/	
	
	var row = document.getElementById(xRowId);

	
	row.onmouseout = new Function("this.className='" + row.className + "'");
	
	row.className='highlight';

	var link = row.getElementsByTagName("a");
	if(link[0].onclick){
		row.onclick = eval(link[0].onclick);
	}
	else{
		row.onclick = new Function("var e = window.event; if (e.target) targ = e.target; else if (e.srcElement) targ = e.srcElement; if (targ.type=='checkbox') return; document.location.href='" + link[0].href + "'");
	}
}


function MM_reloadPage(init) 
{

  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {

    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}

  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();

}

function openBrWindow(theURL,winName,features) {
	if(typeof(win)!='undefined' && !win.closed) 
	{
		win.blur();
	}
	else 
	{
		win=window.open(theURL,winName,features);
	}
	win.focus();
}

function MM_openBrWindow(theURL,winName,features) {
	if(typeof(win)!='undefined' && !win.closed) 
	{
		win.blur();
	}
	else 
	{
		win=window.open(theURL,winName,features);
	}
	win.focus();
}

function MM_goToURL() 
{ //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function MM_jumpMenu(targ,selObj,restore,variable)
{ //v3.0
  eval(targ+".location='index.php?"+variable+"="+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


function getgq()
{
//  q = escape(top.document.referrer);
//  document.write( "<img src=\"http://www.immowiesel.at/rpic.php?s="+q+"&\" border=0 height=1 width=1>" );
}