<!-- // Form validation.  Scient (UK) Ltd.

//Browsercheck

function checkBrowser(){

	this.ver=navigator.appVersion
	this.name=navigator.appName
	
	this.ns = (this.name == "Netscape")?1:0;
	this.ie = (this.name == "Microsoft Internet Explorer")?1:0;
	
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-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.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns5)
	return this
}
var bw=new checkBrowser();


//Function to write different styles for each browser and also for Macs. Note - Netscape 6 uses the IE stylesheet
//Browser Check
av = navigator.appVersion;
//Write relevant style sheet link into each page
	if (bw.ver.indexOf("Win")  !=  -1)	{
		if(bw.name == "Netscape" && !bw.ns5){
			document.writeln('<link rel="stylesheet" type="text/css" href="/cui/styles/nn.css">');
		}else{
			document.writeln('<link rel="stylesheet" type="text/css" href="/cui/styles/ie.css">');
		}
/*	} else if (bw.ver.indexOf("Mac") != -1)  {
		document.writeln('<link rel="stylesheet" type="text/css" href="/cui/styles/mac.css">'); */
	} else {
		document.writeln('<link rel="stylesheet" type="text/css" href="/cui/styles/ie.css">');
	}

	
function changeRoll(imgName, imgUrl){
        if (document.images){
                document.images[imgName].src = imgUrl
                window.status='';
        }
        return(true);
}


	
function changeOn(name, imgName){
        if (document.images){
                document.images[imgName].src = eval(name+".src")
                window.status='';
        }
        return(true);
}

 function msieRoll(what,color) {
     if (document.all)
		 // don't do rollover on highlighted right-hand nav links
		if (what.className != "CSactiveInt")
		{
			 what.style.color=color;
			 //what.style.fontweight='bold';
		}
 }

function preload(imgName,imgSrc) {
	if (document.images) {
		eval(imgName+' = new Image()')
		eval(imgName+'.src = "'+imgSrc+'"')
		}	}

 // -->	