<!-- start

// BROWSER CHECK
function browcheck() { 
this.version = navigator.appVersion;
this.agent = navigator.userAgent;
this.dom = (document.getElementById) ? 1 : 0;
this.opera5 = ((navigator.userAgent.indexOf("Opera") > -1) && (document.getElementById)) ? 1 : 0;
this.ie5 = (this.version.indexOf("MSIE 5") > -1 && this.dom && !this.opera5) ? 1 : 0;
this.ie6 = (this.version.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.ns7 = (this.dom && parseInt(this.version) >= 5) ? 1 : 0; 
this.ns4 = ((document.layers) && (!this.dom)) ? 1 : 0;
this.brow = (this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5);
return this;
}
var brwsr = browcheck();
		
// ROLLOVER
function imageRoll(theImage, theSrc){
		var objStr,obj;
			// see that images are supported
			if(document.images){
  		// Check to see whether you are using a name, number, or object
  		if ((typeof(theImage) == 'object') && theImage && theImage.src)
    		theImage.src = theSrc;
			}
}

// SETS VARIABLES FOR THE MENU SELECTED AND THE MENU STATE COLOURS
var selectedCol= '#B72A77';
var selectedUtilCol= '#BF98AD';
var rolloverCol= '#D3C1CB';
var normCol= '#ffffff';

// MENU ROLLOVER SHOW COLOUR
function doRoll(theMenu, theColour){
	vm = String(theMenu);
	vc = String(theColour);
	if(brwsr.ie) 
		document.all[vm].style.background=[vc];
	if(brwsr.ns7) 
		document.getElementById(vm).style.background = [vc];
}

// MENU ROLLOVER SHOW COLOUR
function lineRoll(theMenu){
	vs = String(theMenu);
	doRoll(vs, rolloverCol);
}

// MENU ROLLOUT HIDE COLOUR
function lineNorm(theMenu){
			vs = String(theMenu);
	if (vs == selectedMenu) 
		doRoll(vs, selectedCol);
	else if (vs == selectedUtil)
		doRoll(vs, selectedUtilCol);
	else 
		doRoll(vs, normCol);
}

// SHOW/HIDE CODE
var vs;
function show(theNumber) {
vs = String(theNumber);
	if(brwsr.ie) 
		document.all[vs].style.visibility='visible';
	if(brwsr.ns7) 
		document.getElementById(vs).style.visibility = "visible";
}	

function hide(theNumber) {
vs = String(theNumber);
	if(brwsr.ie) 
		document.all[vs].style.visibility='hidden';
	if(brwsr.ns7) 
		document.getElementById(vs).style.visibility = "hidden";
}

// SETS THE MENU SELECTED AS THE PAGE LOADS
function setMenu(){
	doRoll(selectedMenu, selectedCol);
	doRoll(selectedUtil, selectedUtilCol);
}

// SWITCH UTIL SELECTED
function switchit(theMenu){
	selectedUtil = String(theMenu);
	lineNorm('s01a');
	lineNorm('s02a');
}

// MOVES THE PICTURE SELECTOR TO THE RIGHT POSITION FOR EACH PICTURE

	var vs;
	function showp(theNumber) {
	vs = String(theNumber);
		if (brwsr.mac) {
		}
		else if (brwsr.ie) {
			document.all[vs].style.visibility='visible';
		}
	}	
	
	function hidep(theNumber) {
	vs = String(theNumber);
		if (brwsr.mac) {
		}
		else if (brwsr.ie) {
			document.all[vs].style.visibility='hidden';
		}
	}
	
	var ps;
	function shiftHor(theNumber) {
		ps = (theNumber);
		document.all.pframe.style.posLeft = ps;	
	}	
	function shiftVert(theNumber) {
		ps = (theNumber);
		document.all.pframe.style.posTop = ps;	
	}
	
	var rs;
	function shiftHorR(theNumber) {
		rs = (theNumber);
		document.all.pframer.style.posLeft = rs;	
	}	
	function shiftVertR(theNumber) {
		rs = (theNumber);
		document.all.pframer.style.posTop = rs;	
	}
	
	var mv;
	function moveto(theNumber) {
	mv = (theNumber);
		if (brwsr.mac) {
		}
		else if (brwsr.ie) {
			if (mv == 'one') {
			shiftHor(0);
			shiftVert(-232);
			}
			else if (mv == 'two') {
			shiftHor(77);
			shiftVert(-232);
			}
			else if (mv == 'three') {
			shiftHor(154);
			shiftVert(-232);
			}
			else if (mv == 'four') {
			shiftHor(0);
			shiftVert(-155);
			}
			else if (mv == 'five') {
			shiftHor(77);
			shiftVert(-155);
			}
			else if (mv == 'six') {
			shiftHor(154);
			shiftVert(-155);
			}
			else if (mv == 'seven') {
			shiftHor(0);
			shiftVert(-78);
			}
			else if (mv == 'eight') {
			shiftHor(77);
			shiftVert(-78);
			}
			else if (mv == 'nine') {
			shiftHor(154);
			shiftVert(-78);
			}
			else if (mv == 'oneR') {
			shiftHorR(-153);
			shiftVertR(-232);
			}
			else if (mv == 'twoR') {
			shiftHorR(-76);
			shiftVertR(-232);
			}
			else if (mv == 'threeR') {
			shiftHorR(1);
			shiftVertR(-232);
			}
			else if (mv == 'fourR') {
			shiftHorR(-153);
			shiftVertR(-155);
			}
			else if (mv == 'fiveR') {
			shiftHorR(-76);
			shiftVertR(-155);
			}
			else if (mv == 'sixR') {
			shiftHorR(1);
			shiftVertR(-155);
			}
			else if (mv == 'sevenR') {
			shiftHorR(-153);
			shiftVertR(-78);
			}
			else if (mv == 'eightR') {
			shiftHorR(-76);
			shiftVertR(-78);
			}
			else if (mv == 'nineR') {
			shiftHorR(1);
			shiftVertR(-78);
			}
		}
	}	
	
	// PLAIN POP-UP
	function popup(theURL){
	u = (theURL);
	largepic_window = window.open(u,'largepic','width=440,height=430,scrollbars=no,resizable=no,directories=no,location=no,menubar=no,toolbar=no');
	largepic_window.focus();
	}
	// WIDE POP-UP
	function popupwide(theURL){
	u = (theURL);
	largepic_window = window.open(u,'largepic','width=1000,height=430,scrollbars=no,resizable=no,directories=no,location=no,menubar=no,toolbar=no');
	largepic_window.focus();
	}

	// end -->