function imageOpen(width,height,filename){
dyn_okno = window.open("","dyn_okno","height="+height+"px, width="+width+"px, top=0, left=100px, resizable=no, status=no, toolbar=no,location=no, scrollbars=no, resizable=no");
text="<img src='showimage.php?filename="+filename+"&width="+width+"&height="+height+"' alt='image'>";
dyn_okno.document.write("<body style='margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;'>");
dyn_okno.document.write(text);
dyn_okno.document.write("</body>");
}
function formSubmit(action,value){
text='<input type="hidden" name="action2" value="'+action+'">';
text=text+'<input type="hidden" name="action2value" value="'+value+'">'
actionOperationSpan.innerHTML=text;
}

function onClickError(){
text='';
errorSpan.innerHTML=text;
}

function onClickMenu(yes){    
  if(yes==1){
    text='<img src="images/menuOpen.gif" onClick="onClickMenu(2)">';
    tableMenuContent.style.display='none';
  }else {
    text='<img src="images/menuClose.gif" onClick="onClickMenu(1)">';
    tableMenuContent.style.display='';
  }    
  tdMenuHeaderImage.innerHTML=text;      
}

function onClickCis(yes){    
  if(yes==1){
  text='<img src="images/menuOpen.gif" onClick="onClickCis(2)">';
  tableMenuContent1.style.display='none';
  }else {
  text='<img src="images/menuClose.gif" onClick="onClickCis(1)">';
  tableMenuContent1.style.display='';
  }  
  tdMenuHeaderImage1.innerHTML=text;
      
}
function onClickLogin(yes){    
  if(yes==1){
  text='<img src="images/menuOpen.gif" onClick="onClickLogin(2)">';
  tableMenuContent2.style.display='none';
  }else {
  text='<img src="images/menuClose.gif" onClick="onClickLogin(1)">';
  tableMenuContent2.style.display='';
  }  
  tdMenuHeaderImage2.innerHTML=text;
      
}



function setPointer(theRow, thePointerColor)
{        
    theRow.style.backgroundColor = thePointerColor;
    return true;
}  


