 function convertMonth(monthValue)
    {
      var strMonth = new Array(12);
      
      strMonth[0] = "January";  
      strMonth[1] = "February"; 
      strMonth[2] = "March"; 
      strMonth[3] = "April"; 
      strMonth[4] = "May"; 
      strMonth[5] = "June"; 
      strMonth[6] = "July"; 
      strMonth[7] = "August";
      strMonth[8] = "September"; 
      strMonth[9] = "October";
      strMonth[10] = "November"; 
      strMonth[11] = "December"; 
            
    return strMonth[monthValue];        

   }

     
  function convertDay(dayValue)
    {
      var strDay = new Array(12);
      
      strDay[0] = "Sunday";
      strDay[1] = "Monday";
      strDay[2] = "Tuesday";
      strDay[3] = "Wednesday";
      strDay[4] = "Thursday";
      strDay[5] = "Friday";
      strDay[6] = "Saturday"; 
  
     return strDay[dayValue];
   
   }

  function checkBrowserVersion(navVer, ieVer) {
    appName= navigator.appName;  // Get Broswer Name
    appLongVer = navigator.appVersion; // Get Broswer version number
   appVer = appLongVer.substring(0, 1);
  if (((appName == "Netscape") && (appVer >= navVer)) ||
     ((appName == "Microsoft Internet Explorer") && (appVer >= ieVer))) {
         return 1;
   }

   function SetCookie(name, value, days) {
    var expire = new Date ();
    expire.setTime (expire.getTime() + (24 * 60 * 60 * 1000) * days);
    document.cookie = name + "=" + escape(value) + "; expires="
                      + expire.toGMTString();
}

function DeleteCookie(name) {
    var expire = new Date ();
    expire.setTime (expire.getTime() - (24 * 60 * 60 * 1000));
    document.cookie = name + "=; expires=" + expire.toGMTString();
}

function GetCookie(name) {
    var startIndex = document.cookie.indexOf(name);
    if (startIndex != -1) {
        var endIndex = document.cookie.indexOf(";", startIndex);
        if (endIndex == -1) endIndex = document.cookie.length;
        return unescape(document.cookie.substring(startIndex+name.length+1,
                                                  endIndex));
    } else {
        return null;
    }
}

function showCookieDetails(name) {
    // get the cookie
    var value = GetCookie(name);
    // check for null
    if (value == null) value = 0;
    // increment the counter
    value++;
    // store the info on cookie (will expire in 730 days)
    SetCookie(name, value, 730);
    // print out the result
    document.writeln("You visited this page <b>"
                      + value
                      + " times</b> using "
                      +navigator.appName);
}


//
// New Window
//
function NewWin(URLis) {
    window.open(URLis, "NewWin");
}

function NewWindow(url) {
    var hWnd = window.open(url,"HelpWindow","width=610,height=400,resizable=yes,scrollbars=yes,left=80,top=20");
    if (hWnd.focus != null) hWnd.focus();
}

function NewWindow1(url) {
    var hWnd = window.open(url,"Help","width=400,height=450,resizable=yes,scrollbars=yes,left=80,top=20");
    if (hWnd.focus != null) hWnd.focus();
}




  
   window.alert("Sorry, your browser cannot display the content of this page "+
               "correctly, as you are using very old version of browser.");
  
   return 0;
 }







