function click(idName, str){
   var objId = document.getElementById(idName);
   var statusDisplay = objId.style.display;

   if (statusDisplay == ''){
      objId.style.display = 'none';
      var objId  = document.getElementById('img_'+idName);
      var strongObj = document.getElementById('str_'+idName);
      objId.src = '/img/expand_hover.gif';
      if (strongObj != undefined)
         strongObj.innerHTML = str + '&nbsp;';
   }else{
      objId.style.display = '';
      var objId = document.getElementById('img_'+idName);
      objId.src = '/img/collapse_hover.gif';
      var strongObj = document.getElementById('str_'+idName);
      if (strongObj != undefined)
         strongObj.innerHTML = '&nbsp;';
   }
}

var atom = '';

function callbackKitchen() {
   // alert( "loaded info" );
   eval( this.req.responseText );
   atom = kitchenAtom;
   this.loadInProgress += -1;
   var objKitchen = document.getElementById("kitchenCore");
   objKitchen.innerHTML = atom.html;
   //show();
}

function ajax(){
this.loadInProgress = 0;
   
// load properties wo avail 
var url = "kitchen.php?mode=js"
var loaderKitchen = new net.ContentLoader( url, callbackKitchen );
this.loadInProgress += 1;
}

function kit(id){
this.loadInProgress = 0;
   
// load properties wo avail 
var url = "kitchen.php?mode=js&id="+id;
var loaderKitchen = new net.ContentLoader( url, callbackKitchen );
this.loadInProgress += 1;
}
