function popupwindow(url,name,w,h) {

LeftPosition = (screen.width) ? (screen.width- w)/2 : 0;
TopPosition = (screen.height) ? (screen.height- h)/2 : 0;

   var popup = window.open(url,name,"scrollbars=no,width="+w+",height="+h+",menubar=no,toolbar=no,top="+TopPosition+",left="+LeftPosition+",location=no,directories=no,resizable=no");

if (popup.focus) { popup.focus(); }
}


function makevisible(cur,which){
strength=(which==0)? 1 : 0.2

if (cur.style.MozOpacity)
cur.style.MozOpacity=strength
else if (cur.filters)
cur.filters.alpha.opacity=strength*100
}



function mOvr(src,clrOver){
    if (!src.contains(event.fromElement)){
      src.style.cursor = 'hand';
      src.bgColor = clrOver;
    }
  }
  function mOut(src,clrIn){
    if (!src.contains(event.toElement)){
      src.style.cursor = 'default';
      src.bgColor = clrIn;
    }
  }
  function mClk(src){
    if(event.srcElement.tagName=='TD')
      src.children.tags('A')[0].click();
}



