<!--
function toggleDetails(id,id2){

  var x = getElement(id);
  var i = getElement(id2);
  
  if (x && x.css){

    if ((!('block' == x.css.display) && !('none' == x.css.display)) || ('none' == x.css.display)) {

      //x.css.visibility = 'visible'; 

      x.css.display = 'block'; 
      i.innerText = 'Collapse box';
    }

    else {

      //x.css.visibility = 'hidden'; 

      x.css.display = 'none'; 
    i.innerText = 'Expand box';
    }

    return false; 

  }

  else return true;

}

function getElement(id) {

	var el = (document.getElementById)? document.getElementById(id): (document.all)? document.all[id]: (document.layers)? document.layers[id]: null;

	if (el) el.css = (el.style)? el.style: el;

	return el;

}


   var http_request = false; 

   function makeRequest(url) { 

       if (window.XMLHttpRequest) { // Mozilla, Safari,... 
           http_request = new XMLHttpRequest(); 
       } else if (window.ActiveXObject) { // IE 
           http_request = new ActiveXObject("Microsoft.XMLHTTP"); 
       } 
       http_request.onreadystatechange = alertContents; 
       http_request.open('GET', url, true); 
       http_request.send(null); 

   } 

   function alertContents() { 

      /* if (http_request.readyState == 4) { 
           if (http_request.status == 200) { 
               alert(http_request.responseText); 
           } else { 
               alert('There was a problem with the request.'); 
           } 
       } */

   } 
   

function newwindow(sURI,nWidth,nHeight) {
  var winl = 0;
  var wint = 0;
  var newWin = window.open(sURI, "enhanced", "width=" + nWidth + " ,height=" + nHeight + ",toolbar,menubar,status,top=" + wint + ",left=" + winl + ",resizable,scrollbars");
  return false;
}
function newwindow2(sURI,nWidth,nHeight,winl,wint) {
  var newWin = window.open(sURI, "enhanced", "width=" + nWidth + " ,height=" + nHeight + ",false,false,status,top=" + wint + ",left=" + winl + ",resizable,scrollbars");
  return false;
}
function newwindow2NoSize(sURI,nWidth,nHeight,winl,wint) {
  var newWin = window.open(sURI, "enhanced", "width=" + nWidth + " ,height=" + nHeight + ",false,false,status,top=" + wint + ",left=" + winl + ",resizable=false,scrollbars=false");
  return false;
}
function unloadEvent()
{
 if(window.screenLeft < 10004)
 {
  //this is refresh
 }
 else
 {
  //this is close
  newwindow('/abandonsession.asp',10,10);
 }
}

-->