<!--
//browser detection

  function browserInfo (debug) {
	  
    bInfo = new Object()
    
    //browser name
  	var userAgent = navigator.userAgent.toLowerCase()			
    var opera = (userAgent.indexOf("opera") != -1) ? true : false
    var webtv =  (userAgent.indexOf("webtv") != -1) ? true : false
    var ie  = (userAgent.indexOf("msie") != -1) ? true : false
    var ns = (userAgent.indexOf("mozilla") != -1  &&  (userAgent.indexOf("compatible") == -1  && 	userAgent.indexOf("spoofer") == -1  && userAgent.indexOf("hotjava") == -1)) ? true : false
    var compatible  = (!opera && !webtv && !ie && !ns) ? true:false
		
    bInfo.name = (opera ? "Opera" : ie ? "Internet Explorer" : webtv ? "Web TV" : ns ? "Netscape" : compatible ? "Compatible" : "null")

    //browser version
		var majorVersion = parseInt(navigator.appVersion)
    var fullVersion = parseFloat(navigator.appVersion)
    var ieString = userAgent.indexOf("msie")
    
    if (ieString != -1) {
      var versionString = userAgent.substring(ieString + 5)
      majorVersion = parseInt(versionString)
      fullVersion = parseFloat(versionString)
    }
    
    //IE
    if (ie || webtv) {
      var ie4 = (majorVersion == 4) ? true:false
      var ie5 = (majorVersion == 5) ? true:false
      var ie55 = (fullVersion == 5.5) ? true:false
      var ie6 = (majorVersion == 6) ? true:false
    }
    
    //NN
    if (ns) {
      var ns2 = (majorVersion < 3) ? true:false
      var ns3 = (majorVersion < 4) ? true:false
      var ns4 = (majorVersion == 4) ? true:false
      var ns6 = (majorVersion == 5) ? true:false
    }
    
    bInfo.majorVersion = (ie4 ? "4" : ie5 ? "5" : ie55 ? "5.5" : ie6 ? "6" : ns2 ? "2" : ns3 ? "3" : ns4 ? "4" : ns6 ? "6" : "null")
    
    //operating system
    //win3.1
    var win31 = ((userAgent.indexOf("windows 3.1") != -1) || (userAgent.indexOf("win16") != -1) ||	(userAgent.indexOf("16bit") != -1) ||	(userAgent.indexOf("16-bit") != -1)) ? true:false
    
    // win95
    var win95 = ((userAgent.indexOf("windows 95") != -1) ||  (userAgent.indexOf("win95") != -1)) ? true:false
    
    //winME
    var winME = (userAgent.indexOf("win 9x 4.90") != -1) ? true:false
    
    //win98
    var win98 = ((userAgent.indexOf("windows 98") != -1) || (userAgent.indexOf("win98") != -1)) ? true:false
    
    //winXP
    var winXP = ((userAgent.indexOf("windows nt 5.1") != -1) || (userAgent.indexOf("winnt 5.1") != -1)) ? true:false
    
    //win2K
    var win2K = ((userAgent.indexOf("windows nt 5.0") != -1) || (userAgent.indexOf("winnt 5.0") != -1)) ? true:false
    
    //winNT
    var winNT = ((userAgent.indexOf("windows nt") != -1) || (userAgent.indexOf("winnt") != -1)) ? true:false
    
    //mac68
    var mac68 = ((userAgent.indexOf("mac") != -1) && ((userAgent.indexOf("68K") != -1) || (userAgent.indexOf("68000") != -1))) ? true:false
    
    //macPPC
    var macPPC = ((userAgent.indexOf("mac") != -1) && ((userAgent.indexOf("ppc") != -1) || (userAgent.indexOf("powerpc") != -1))) ? true:false
    
    //linux
    var linux = (userAgent.indexOf("linux") != -1) ? true:false
    
    //other
    if (!win31 && !win95 && !winME && !win98 && !winXP && !win2K && !winNT && !mac68 && !macPPC && !linux)
      otherOS = true
    
    bInfo.os = (win31 ? "Windows 3.1" : win95 ? "Windows 95" : win98 ? "Windows 98" : winME ? "Windows ME" : win2K ? "Windows 2000" : winNT ? "Windows NT" : winXP ? "Windows XP"  : mac68 ? "Macintosh 68K" : macPPC ? "Macintosh Power PC" : linux ? "Linux" : other ? "Other Operating System" : "Undetectable")

    //platform
    //mac
    var mac = (mac68 || macPPC) ? true:false
    
    //windows 32 bit
    var win32 = (win95 || win98 || winME || winNT || win2K || winXP) ? true:false
    
    //windows
    var win =  (win31) ? true:false
    
    bInfo.platform = (mac ? "Macintosh" : win32 ? "Windows 32 Bit" : win ? "Windows" : "Undetectable Platform")
    
    //dhtmlOk
    bInfo.dhtmlOk = (d.getElementById || d.all || d.layers) ? true : false 
		
    
    //which DOM?
    //advanced w3c dom
    bInfo.W3CA = d.createElement ? true : false
    bInfo.W3CB = d.getElementById ? true : false
    bInfo.DOM = d.all ? true : false
    bInfo.LDOM = d.layers ? true : false
    
    bInfo.DOM = (bInfo.W3CA ? "W3C Advanced DOM" : bInfo.W3CB ? "W3C Basic DOM" : bInfo.DOM ? "DHTML Compliant DOM" : bInfo.LDOM ? "LDOM" : null)
    
    
  //===========================
  
    if (debug && bInfo.DOM == "W3C Advanced DOM")
    {
			
      //create the div
      var bWin = d.createElement('div')
      bWin.style.position = "absolute";
			bWin.style.right = 10
			bWin.style.top = 10
      bWin.style.borderLeft = "2px solid"
      bWin.style.borderBottom = "2px solid"
      bWin.style.borderColor = "#000000"
            
      //create the table element
      var tbl = d.createElement('table')
      tbl.cellPadding = 4
      tbl.style.border = "1px solid"
      tbl.style.borderColor = "#000000"
      tbl.style.backgroundColor = "#aeaeae"
      tbl.style.color="#ffffff"
      tbl.style.fontFamily = "Arial, sans-serif"
      tbl.style.fontSize = "10"
      
      //add the table to the div
      bWin.appendChild(tbl)
      
      //create and add the table body to the table
      var tblBody = d.createElement('tbody')
      tbl.appendChild(tblBody)
      
      //set up a reference to the bInfo object
      var obj = eval(bInfo)
      
      //loop to create as many rows as the object has data
      for (var i in obj) {
        //create a row and two cells
        var tblRow = d.createElement ('tr')
        var tblCell01 = d.createElement ('td')
        tblCell01.align = "right"
        var tblCell02 = d.createElement ('td')
        
        //set the innerHTML to the objects property name and value, respectively
        tblCell01.innerHTML = i
        tblCell02.innerHTML = obj[i] + "<br>"
        
        //append the two cells to the row
        tblRow.appendChild(tblCell01)
        tblRow.appendChild(tblCell02)
        
        //append the row to the table
        tblBody.appendChild(tblRow)
      }   
      
      //append the div to the body
      d.body.appendChild(bWin)
    }
    else { return bInfo }
    
  }
