<!--
// PopUp Functions
/*
function showPop(popname) {
    document.getElementById(popname).style.display = 'block';
}
function hidePop(popname) {
    document.getElementById('details'+popname).style.display = 'none';
}
*/

// Function which swaps tabs
function changePopTab(tabname) {
    var num = tabname.match(/\d{2}[a-z]?$/);
    if (/one/.test(tabname)) {
        //  tabname == tab_oneXX
        document.getElementById('tab_'+tabname).style.display = 'block';
        document.getElementById('tab_two'+num).style.display = 'none';
        document.getElementById('tab_three'+num).style.display = 'none';
    } else if (/two/.test(tabname)) {
        //  tabname == tab_twoXX
        document.getElementById('tab_'+tabname).style.display = 'block';
        document.getElementById('tab_one'+num).style.display = 'none';
        document.getElementById('tab_three'+num).style.display = 'none';
    } else {
        //  tabname == tab_threeXX
        document.getElementById('tab_'+tabname).style.display = 'block';
        document.getElementById('tab_one'+num).style.display = 'none';
        document.getElementById('tab_two'+num).style.display = 'none';
    }
}

// Drop Menu Functions
function dropMenu(menuname) {
    document.getElementById('drop_'+menuname).style.display = 'block';
}
function hideMenu(menuname) {
    document.getElementById('drop_'+menuname).style.display = 'none';
}

// Functions for element rollover effects (I.E. table cells)
function OverHiLite(o,color) {
	o.style.backgroundColor = color;
	o.style.cursor = 'hand';
}
function OutHiLite(o,color) {
	o.style.backgroundColor = color;
}

// The following functions are courtesy of:
/****************************************************************************   
DHTML library from DHTMLCentral.com
*   Copyright (C) 2001 Thomas Brattli 2001
*   This script was released at DHTMLCentral.com
*   Visit for more great scripts!
*   This may be used and changed freely as long as this msg is intact!
*   We will also appreciate any links you could give us.
*
*   Made by Thomas Brattli 2001
****************************************************************************/
//Browsercheck (needed) ***************
  function lib_bwcheck(){ 
  this.ver=navigator.appVersion
  this.agent=navigator.userAgent
  this.dom=document.getElementById?1:0
  this.opera5=this.agent.indexOf("Opera 5")>-1
  this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0; 
  this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
  this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
  this.ie=this.ie4||this.ie5||this.ie6
  this.mac=this.agent.indexOf("Mac")>-1
  this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
  this.ns4=(document.layers && !this.dom)?1:0;
  this.bw=(this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera5)
  return this
}
bw=new lib_bwcheck() //Browsercheck object

//Lib objects  ********************
function lib_obj(obj,nest){ 
  if(!bw.bw) return lib_message('Old browser')
  nest=(!nest) ? "":'document.'+nest+'.'
  this.evnt=bw.dom? document.getElementById(obj):
    bw.ie4?document.all[obj]:bw.ns4?eval(nest+"document.layers." +obj):0;	
  if(!this.evnt) return lib_message('The layer does not exist ('+obj+')' 
    +'- \nIf your using Netscape please check the nesting of your tags!')
  this.css=bw.dom||bw.ie4?this.evnt.style:this.evnt; 
  this.ref=bw.dom||bw.ie4?document:this.css.document;
  this.obj = obj + "Object"; eval(this.obj + "=this")
  return this
}

//Showing object ************
lib_obj.prototype.showIt = function(){this.css.visibility="visible"}

//Hiding object **********
lib_obj.prototype.hideIt = function(){this.css.visibility="hidden"}
-->