var altobj = null;
function chgCol(obj, state)
{
 bgcol = "";
 col = "";
 cor = "";

  if(altobj != null)
  { altobj.style.backgroundColor = "";
   altobj.style.color = "";
   altobj.style.cursor = "";
   altobj = null;
  }
		
  if(state)
  { bgcol = "#000000";
   col = "#ffffff";
   cor = "hand";
   altobj = obj;
  }
		
 obj.style.backgroundColor = bgcol;
 obj.style.color = col;
 obj.style.cursor = cor;
}

var msg = null;	  
function chgstatusmsg(txt){
	
   if(msg != null)
   { window.status = "";
    msg = "";
   }
		
   if(txt)
   { msg = txt;
   }
		
 window.status = msg;
}

// Open Windows	  
	  
function go2page(req){
 var url = "http://www.ac-reutlingen.de/index.php";
 window.location.href = url + req;
}
	  
function openPicWin(url){
 window.open(url, "_blank", "toolbar=yes, resizeable=yes, menubar=yes");
}

function openWin(url){
 window.open(url, "_blank", "dependent=yes,hotkeys=yes,location=yes,menubar=yes,resizable=yes,scrollbars=yes,status=yes,toolbar=yes");
}
