function mon(obj)
{
  obj.src = obj.src.replace(/_off/,'_on');
  return;
}

function moff (obj)
{
  obj.src = obj.src.replace(/_on/,'_off');
  return;
}


/* popup functions for projects, shows detailed informations in popup */
    var attribWithoutAll="location=no,menubar=no,toolbar=no,status=no";
    attribWithoutAll+=",resizable=no,scrollbars=no,width=600,height=400";
    var subwindow=0;
    function ClosePopUp(){
      if (!subwindow) { return; }  
      if (subwindow.closed) { return; }  
      subwindow.close();
    }
    
    function detailShow(target){
      subwindow=window.open(target,"Detail",attribWithoutAll);
      subwindow.moveTo(10,50); 
    }
  
 function alternate(id){
 /*  function colors rows */
 if(document.getElementsByTagName){  
   var table = document.getElementById(id);  
   var rows = table.getElementsByTagName("tr");  
   var a = 0;
   for(i = 0; i < rows.length-3; i++){          
 //manipulate rows
     if(i % 4 == 0){
       a = i+3;
       rows[a].className = "color-row";
     }      
   }
 }
}
