<!--
function rollOver(imgname,imgstat){
	str = 'imgObj = document.getElementById("'+imgname+'img");';
	eval(str);
	if (imgstat == 0) {
		imgObj.src="images/"+imgname+".gif";
	} else {
		imgObj.src="images/"+imgname+"over.gif";
	}
}
function getAppVer(){
	verstr = navigator.appVersion;
	zz=verstr.split("MSIE");
	zzz=zz[1].split(";");
	return parseFloat(zzz[0]);
}
function chgPics(){
	obj = document.frames["scrollframe"];
	if (picno<14){
		picno++;
	} else {
		picno=1;
	}
	pic = "photos/pic"+picno+".jpg";
	obj.document.images["slide1"].src=pic;
	picText = slideTextArray[picno-1];
	spanObj = obj.document.getElementById('picText1');
	spanObj.innerText = picText;
	window.setTimeout('chgPics();',scrollfreq);
}
// Strips spaces within string
function noSpaces(inStr){
	myRepl = / /g;
	inStr = inStr.replace(myRepl,'');
	return inStr;
}
// Strips spaces within string
function trimIt(inStr){
	myRepl = /^ *| *$/g;
	inStr = inStr.replace(myRepl,'');
	return inStr;
}
// in a multiword string capitalises first char in each word
function UCaseFirstChars(inStr){
	myRepl = /^\s+|\s+$/g;
	inStr = inStr.replace(myRepl,"");
	myMatch = /  /g;str = "";
	while (inStr.match(myMatch)){
		inStr.replace(myMatch," ");
	}
	myMatch = /-/g;
	inStr = inStr.replace(myMatch," - ");
	tmp = inStr.split(" ");
	for (i=0; i<tmp.length;i++){
		tmp[i] = tmp[i].substr(0,1).toUpperCase() + tmp[i].substr(1);
		str = str + tmp[i] + " ";
	}
	myMatch = / - /g;
	str = str.replace(myMatch,"-");
	return trimIt(str)
}
//-->