

    // convert all characters to lowercase to simplify testing
    var agt=navigator.userAgent.toLowerCase();

    // *** BROWSER VERSION ***
    // Note: On IE5, these return 4, so use is_ie5up to detect IE5.
    var is_major = parseInt(navigator.appVersion);
    var is_minor = parseFloat(navigator.appVersion);

    // Note: Opera and WebTV spoof Navigator.  We do strict client detection.
    // If you want to allow spoofing, take out the tests for opera and webtv.
    var is_nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
                && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
                && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1));
    var is_nav2 = (is_nav && (is_major == 2));
    var is_nav3 = (is_nav && (is_major == 3));
    var is_nav4 = (is_nav && (is_major == 4));
    var is_nav4up = (is_nav && (is_major >= 4));
    var is_navonly      = (is_nav && ((agt.indexOf(";nav") != -1) ||
                          (agt.indexOf("; nav") != -1)) );
    var is_nav6 = (is_nav && (is_major == 5));
    var is_nav6up = (is_nav && (is_major >= 5));
    var is_gecko = (agt.indexOf('gecko') != -1);


    var is_ie     = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
    var is_ie3    = (is_ie && (is_major < 4));
    var is_ie4    = (is_ie && (is_major == 4) && (agt.indexOf("msie 5")==-1) );
    var is_ie4up  = (is_ie && (is_major >= 4));
    var is_ie5    = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")!=-1) );
    var is_ie5_5  = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.5") !=-1));
    var is_ie5up  = (is_ie && !is_ie3 && !is_ie4);
    var is_ie5_5up =(is_ie && !is_ie3 && !is_ie4 && !is_ie5);

    // KNOWN BUG: On AOL4, returns false if IE3 is embedded browser
    // or if this is the first browser window opened.  Thus the
    // variables is_aol, is_aol3, and is_aol4 aren't 100% reliable.
    var is_aol   = (agt.indexOf("aol") != -1);
    var is_aol3  = (is_aol && is_ie3);
    var is_aol4  = (is_aol && is_ie4);
    var is_aol5  = (agt.indexOf("aol 5") != -1);
    var is_aol6  = (agt.indexOf("aol 6") != -1);

    var is_opera = (agt.indexOf("opera") != -1);
    var is_opera4 = (agt.indexOf("opera 4") != -1);
    var is_opera5 = (is_opera5 && (is_major == 5));
    var is_opera5up = (is_opera5 && (is_major >=5));

    var is_webtv = (agt.indexOf("webtv") != -1); 

    var is_TVNavigator = ((agt.indexOf("navio") != -1) || (agt.indexOf("navio_aoltv") != -1)); 
    var is_AOLTV = is_TVNavigator;

    var is_hotjava = (agt.indexOf("hotjava") != -1);
    var is_hotjava3 = (is_hotjava && (is_major == 3));
    var is_hotjava3up = (is_hotjava && (is_major >= 3));

     // *** PLATFORM ***
    var is_win   = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1) );
    // NOTE: On Opera 3.0, the userAgent string includes "Windows 95/NT4" on all
    //        Win32, so you can't distinguish between Win95 and WinNT.
    var is_win95 = ((agt.indexOf("win95")!=-1) || (agt.indexOf("windows 95")!=-1));

    // is this a 16 bit compiled version?
    var is_win16 = ((agt.indexOf("win16")!=-1) || 
               (agt.indexOf("16bit")!=-1) || (agt.indexOf("windows 3.1")!=-1) || 
               (agt.indexOf("windows 16-bit")!=-1) );  

    var is_win31 = ((agt.indexOf("windows 3.1")!=-1) || (agt.indexOf("win16")!=-1) ||
                    (agt.indexOf("windows 16-bit")!=-1));

    var is_winme = ((agt.indexOf("win 9x 4.90")!=-1));
    var is_win2k = ((agt.indexOf("windows nt 5.0")!=-1));

    // NOTE: Reliable detection of Win98 may not be possible. It appears that:
    //       - On Nav 4.x and before you'll get plain "Windows" in userAgent.
    //       - On Mercury client, the 32-bit version will return "Win98", but
    //         the 16-bit version running on Win98 will still return "Win95".
    var is_win98 = ((agt.indexOf("win98")!=-1) || (agt.indexOf("windows 98")!=-1));
    var is_winnt = ((agt.indexOf("winnt")!=-1) || (agt.indexOf("windows nt")!=-1));
    var is_win32 = (is_win95 || is_winnt || is_win98 || 
                    ((is_major >= 4) && (navigator.platform == "Win32")) ||
                    (agt.indexOf("win32")!=-1) || (agt.indexOf("32bit")!=-1));

    var is_os2   = ((agt.indexOf("os/2")!=-1) || 
                    (navigator.appVersion.indexOf("OS/2")!=-1) ||   
                    (agt.indexOf("ibm-webexplorer")!=-1));

    var is_mac    = (agt.indexOf("mac")!=-1);
    // hack ie5 js version for mac
    if (is_mac && is_ie5up) is_js = 1.4;
    var is_mac68k = (is_mac && ((agt.indexOf("68k")!=-1) || 
                               (agt.indexOf("68000")!=-1)));
    var is_macppc = (is_mac && ((agt.indexOf("ppc")!=-1) || 
                                (agt.indexOf("powerpc")!=-1)));

    var is_sun   = (agt.indexOf("sunos")!=-1);
    var is_sun4  = (agt.indexOf("sunos 4")!=-1);
    var is_sun5  = (agt.indexOf("sunos 5")!=-1);
    var is_suni86= (is_sun && (agt.indexOf("i86")!=-1));
    var is_irix  = (agt.indexOf("irix") !=-1);    // SGI
    var is_irix5 = (agt.indexOf("irix 5") !=-1);
    var is_irix6 = ((agt.indexOf("irix 6") !=-1) || (agt.indexOf("irix6") !=-1));
    var is_hpux  = (agt.indexOf("hp-ux")!=-1);
    var is_hpux9 = (is_hpux && (agt.indexOf("09.")!=-1));
    var is_hpux10= (is_hpux && (agt.indexOf("10.")!=-1));
    var is_aix   = (agt.indexOf("aix") !=-1);      // IBM
    var is_aix1  = (agt.indexOf("aix 1") !=-1);    
    var is_aix2  = (agt.indexOf("aix 2") !=-1);    
    var is_aix3  = (agt.indexOf("aix 3") !=-1);    
    var is_aix4  = (agt.indexOf("aix 4") !=-1);    
    var is_linux = (agt.indexOf("inux")!=-1);
    var is_sco   = (agt.indexOf("sco")!=-1) || (agt.indexOf("unix_sv")!=-1);
    var is_unixware = (agt.indexOf("unix_system_v")!=-1); 
    var is_mpras    = (agt.indexOf("ncr")!=-1); 
    var is_reliant  = (agt.indexOf("reliantunix")!=-1);
    var is_dec   = ((agt.indexOf("dec")!=-1) || (agt.indexOf("osf1")!=-1) || 
           (agt.indexOf("dec_alpha")!=-1) || (agt.indexOf("alphaserver")!=-1) || 
           (agt.indexOf("ultrix")!=-1) || (agt.indexOf("alphastation")!=-1)); 
    var is_sinix = (agt.indexOf("sinix")!=-1);
    var is_freebsd = (agt.indexOf("freebsd")!=-1);
    var is_bsd = (agt.indexOf("bsd")!=-1);
    var is_unix  = ((agt.indexOf("x11")!=-1) || is_sun || is_irix || is_hpux || 
                 is_sco ||is_unixware || is_mpras || is_reliant || 
                 is_dec || is_sinix || is_aix || is_linux || is_bsd || is_freebsd);

    var is_vms   = ((agt.indexOf("vax")!=-1) || (agt.indexOf("openvms")!=-1));



function MM_swapImgRestore() { //v3.0



  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;



}



function popUpWin(strURL){


    var xMax = screen.width;
    var yMax = screen.height;
	var xScreen = (450);
	var yScreen = (340);
    var xOffset = (xMax / 2) - (xScreen / 2);
	var yOffset = (yMax / 2) - (yScreen / 2);

	msg = window.open(strURL,'_blank', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width='+xScreen+',height='+yScreen+'');
	
}        



	
	
	
	
	
	
	
	
	
	
	
	
	
	
function checkBrowser(){

	this.ver=navigator.appVersion

	this.dom=document.getElementById?1:0

	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;

	this.ie4=(document.all && !this.dom)?1:0;

	this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;

	this.ns4=(document.layers && !this.dom)?1:0;

	this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)

	return this

}

var bw = new checkBrowser()


//If you want it to move faster you can set this lower:

var speed=15
var loop, timer


function makeObj(obj,nest){

    nest=(!nest) ? '':'document.'+nest+'.'

	this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0;

  	this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0;

	this.scrollHeight=bw.ns4?this.css.document.height:this.el.offsetHeight

	this.clipHeight=bw.ns4?this.css.clip.height:this.el.offsetHeight

	this.up=goUp;this.down=goDown;

	this.moveIt=moveIt; this.x; this.y;

    this.obj = obj + "Object"

    eval(this.obj + "=this")

    return this

}

function moveIt(x,y){

	this.x=x;this.y=y

	this.css.left=this.x

	this.css.top=this.y

}



function goDown(move){

	if(this.y>-this.scrollHeight+oCont.clipHeight){

		this.moveIt(0,this.y-move)

			if(loop) setTimeout(this.obj+".down("+move+")",speed)

	}

}


function goUp(move){

	if(this.y<0){

		this.moveIt(0,this.y-move)

		if(loop) setTimeout(this.obj+".up("+move+")",speed)

	}

}

function scroll(speed){

	if(loaded){

		loop=true;

		if(speed>0) oScroll.down(speed)

		else oScroll.up(speed)

	}

}


function noScroll(){

	loop=false

	if(timer) clearTimeout(timer)

}


var loaded;

function scrollInit(){

	oCont=new makeObj('divCont')

	oScroll=new makeObj('divText','divCont')

	oScroll.moveIt(0,0)

	oCont.css.visibility='visible'

	loaded=true;

}

var loaded;

function scrollInita(){

	oCont=new makeObj('divContph')

	oScroll=new makeObj('divText','divContph')

	oScroll.moveIt(0,0)

	oCont.css.visibility='visible'

	loaded=true;

}

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		what_over = newImage("images/what-over.jpg");
		who_over = newImage("images/who-over.jpg");
		gallery_over = newImage("images/gallery-over.jpg");
		terms_over = newImage("images/terms-over.jpg");
		preloadFlag = true;
	}
}

<!--
var pic = null
var popImg = null  // use this when referring to pop-up image
var picTitle = null
var imgCount = 0
var imgWinName = "popImg"

function openPopImg(picName, windowTitle, windowWidth, windowHeight){
  closePopImg()
  picTitle = windowTitle
  imgWinName = "popImg" + imgCount++ //unique name for each pop-up window
  popImg = window.open(picName, imgWinName,
           "toolbar=no,scrollbars=no,resizable=no,width=" 
           + (parseInt(windowWidth)+20)  + ",height=" 
           + (parseInt(windowHeight)+15)) 
  }

function closePopImg(){    // close pop-up window if it is open 
  if (navigator.appName != "Microsoft Internet Explorer" 
      || parseInt(navigator.appVersion) >=4) //do not close if early IE
    if(popImg != null) if(!popImg.closed) popImg.close() 
  }

function setStatus(msg){
  status = msg
  return true
  }
// -->
		<!--
// for Netscape 3+ and IE 4+
<!--
var priorPic = new Array()
var noPic = 0

function openPopImg(picName, windowTitle, windowWidth, windowHeight){
  var i = 0
  var foundit = false
  if(pic == picName && winOpen()){
    popImg.focus()
    }
  else{
    foundit = false
    for(i=0; i<=noPic; i++){
      if (priorPic[i] == picName)
        foundit = true 
      }
    pic = picName
    closePopImg()
    picTitle = windowTitle
    imgWinName = "popImg" + imgCount++ //unique name for each pop-up window
    popImg = openPopImgWin(imgWinName, windowWidth, windowHeight)
    if(foundit){
      fabricatePage()
      }
    else{
      priorPic[noPic++] = pic
      fabricateNewImagePage()
      }
    }
  }

function openPopImgWin(imgWinName, windowWidth, windowHeight){
  var winFeatures = "toolbar=no,scrollbars=no,resizable=no,width=" 
    + windowWidth + ",height=" + windowHeight
  return window.open("", imgWinName, winFeatures)
  }

function fabricatePage(){
  var htmlStr = 
    '<HTML><HEAD><TITLE>' + picTitle + '</TITLE></HEAD>'
  + '<BODY background="' + pic + '"></BODY></HTML>'
  popImg.document.open()
  popImg.document.write(htmlStr)
  popImg.document.close()
  }

function fabricateNewImagePage(){
  var htmlStr = 
    '<HTML><HEAD><TITLE>' + picTitle + '</TITLE></HEAD>'
  + '<BODY bgcolor="White" onLoad="opener.fabricatePage()">'
  + 'Loading picture....<BR>'  
  + '<IMG SRC="' + pic + '" WIDTH=100% HEIGHT=80%>' 
  + '</BODY></HTML>'
  popImg.document.write(htmlStr)
  popImg.document.close()
  }

function winOpen(){
  if(popImg != null){ 
    if(popImg.closed != true) return true; else return false
    }  
  else
    return false
  }
// -->
		<!--
// for Netscape 4+ and IE 4+
<!--


function openPopImgWin(imgWinName, windowWidth, windowHeight){
  var leftX = 0  // distance of window's left side from left of screen
  var topY = 0   // distance of window's top side from top of screen
  var winFeatures = "toolbar=no,scrollbars=no,resizable=no,width=" 
    + windowWidth + ",height=" + windowHeight
  if (leftX>0){
    winFeatures += ",screenX=" + leftX + ",left=" + leftX       
                + ",screenY=" + topY + ",top=" + topY
    }
  return window.open("", imgWinName, winFeatures)
  }
// -->
		<!--
var pic = null
var popImg = null  // use this when referring to pop-up image
var picTitle = null
var imgCount = 0
var imgWinName = "popImg"

function openPopImg(picName, windowTitle, windowWidth, windowHeight){
  closePopImg()
  picTitle = windowTitle
  imgWinName = "popImg" + imgCount++ //unique name for each pop-up window
  popImg = window.open(picName, imgWinName,
           "toolbar=no,scrollbars=no,resizable=no,width=" 
           + (parseInt(windowWidth)+20)  + ",height=" 
           + (parseInt(windowHeight)+15)) 
  }

function closePopImg(){    // close pop-up window if it is open 
  if (navigator.appName != "Microsoft Internet Explorer" 
      || parseInt(navigator.appVersion) >=4) //do not close if early IE
    if(popImg != null) if(!popImg.closed) popImg.close() 
  }

function setStatus(msg){
  status = msg
  return true
  }
// -->
		<!--
// for Netscape 3+ and IE 4+
<!--
var priorPic = new Array()
var noPic = 0

function openPopImg(picName, windowTitle, windowWidth, windowHeight){
  var i = 0
  var foundit = false
  if(pic == picName && winOpen()){
    popImg.focus()
    }
  else{
    foundit = false
    for(i=0; i<=noPic; i++){
      if (priorPic[i] == picName)
        foundit = true 
      }
    pic = picName
    closePopImg()
    picTitle = windowTitle
    imgWinName = "popImg" + imgCount++ //unique name for each pop-up window
    popImg = openPopImgWin(imgWinName, windowWidth, windowHeight)
    if(foundit){
      fabricatePage()
      }
    else{
      priorPic[noPic++] = pic
      fabricateNewImagePage()
      }
    }
  }

function openPopImgWin(imgWinName, windowWidth, windowHeight){
  var winFeatures = "toolbar=no,scrollbars=no,resizable=no,width=" 
    + windowWidth + ",height=" + windowHeight
  return window.open("", imgWinName, winFeatures)
  }

function fabricatePage(){
  var htmlStr = 
    '<HTML><HEAD><TITLE>' + picTitle + '</TITLE></HEAD>'
  + '<BODY background="' + pic + '"></BODY></HTML>'
  popImg.document.open()
  popImg.document.write(htmlStr)
  popImg.document.close()
  }

function fabricateNewImagePage(){
  var htmlStr = 
    '<HTML><HEAD><TITLE>' + picTitle + '</TITLE></HEAD>'
  + '<BODY bgcolor="White" onLoad="opener.fabricatePage()">'
  + 'Loading picture....<BR>'  
  + '<IMG SRC="' + pic + '" WIDTH=100% HEIGHT=80%>' 
  + '</BODY></HTML>'
  popImg.document.write(htmlStr)
  popImg.document.close()
  }

function winOpen(){
  if(popImg != null){ 
    if(popImg.closed != true) return true; else return false
    }  
  else
    return false
  }
// -->
		<!--
// for Netscape 4+ and IE 4+
<!--


function openPopImgWin(imgWinName, windowWidth, windowHeight){
  var leftX = 0  // distance of window's left side from left of screen
  var topY = 0   // distance of window's top side from top of screen
  var winFeatures = "toolbar=no,scrollbars=no,resizable=no,width=" 
    + windowWidth + ",height=" + windowHeight
  if (leftX>0){
    winFeatures += ",screenX=" + leftX + ",left=" + leftX       
                + ",screenY=" + topY + ",top=" + topY
    }
  return window.open("", imgWinName, winFeatures)
  }
// -->


//this is the mandatory browser sniffer script
isMac = (navigator.appVersion.indexOf("Mac")!=-1) ? 1 : 0;
//////isMac issues now handled via include MacScript.js//////
NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
ver4 = (NS4 || IE4) ? 1 : 0;

if (NS4)
{
 
 document.write("<LINK REL=stylesheet TYPE='text/css' HREF='nsstyles.css'>");

 

} 

if (IE4)
{
  
  document.write("<LINK REL=stylesheet TYPE='text/css' HREF='iestyles.css'>");
                                                     
}




        