<!--
  var strcss = " border-style:groove;background-color:#FFFFFF;font-size:12px;display:none;position:absolute; ";
  var pos = null;
  var chidwin = null;
   
function key13(e){
  if (e) {   var keycode = e.keyCode; }
  else {  var keycode = e.which; }
  
  if (keycode ==13) {return true;}
  else { return false ;}
}

function newopen(url,title,width,height){
   var w = width+width*0.05;
   var h = height+height*0.05;	
   var x =parseInt((screen.width-w) / 2);	
   var y = parseInt((screen.height-h)/ 2);	
   var cond = "top="+y+",left="+x+",width="+w+",height="+h;
   cond = cond+",scrollbars=no,toolbar=no,status=no,menubar=no,directories=no";  
   cond = cond+",location=no,resizable=no,titlebar=no";  
   chidwin=window.open(url,title,cond);
   chidwin.focus();
 }

 function overcolor(obj){ 
   bgcolor = obj.style.backgroundColor;
   obj.style.backgroundColor ="#FFFF77";
   return;
  }

 function outcolor(obj) { 
  obj.style.backgroundColor = bgcolor; 
  return; 
 }
 
 
  function getMousePos(e){
   pos = new Array();
   if (e) {  // IE
      pos[0]= e.clientX+document.documentElement.scrollLeft; 
      pos[1]= e.clientY+document.documentElement.scrollTop+20; 
   } else {  // FF
      pos[0] = e.layerX+window.pageXOffset+10; 
      pos[1]= e.layerY+window.pageYOffset+10; 
   }
//   if (document.getElementsByName("popwin")[0]) {
//    document.getElementsByName("popwin")[0].style.left = pos[0] ;
//    document.getElementsByName("popwin")[0].style.top =  pos[1] ;
//   } 
   return pos;
 }
 
  function openCalendar(id){
    var app = navigator.appName;
    if (app.match("Internet Explorer")) { // IE
      x = event.screenX;
      y = event.screenY+20;
    } else { //FF
      x = pos[0];
      y = pos[1];
    }  

   var cond = "top="+y+",left="+x+",width=200,height=180";
   cond = cond+",scrollbars=no,toolbar=no,status=no,menubar=no,directories=no";  
   cond = cond+",location=no,resizeable=no,titlebar=no";  

    calwin=window.open("/calendar.aspx?adate="+id,"calendar",cond);
    calwin.moveTo(x,y);
    calwin.focus();
}

//-->
