<!--
			
// empty default value 
	function emptyField(the_field){
		var the_value = the_field.value;
		
		if(the_value == "Search..."){
			the_field.value = "";
		}
		if(the_value == "dd-mm-yyyy"){
			the_field.value = "";
		}
	} 	
	
	// show large images
	function showImage(location, product){
		var popUrl="./shop/img_popup.php?p="+product+"&img_url="+location+"";
		winpops = window.open(popUrl,"","width=100,height=10,");
	}
	
	function showWindow(page){
		var the_page = page;
		
		if(the_page == 'tac'){
			var popUrl="./pages/terms_and_conditions.php";
		}
		if(the_page == 'privacy'){
			var popUrl="./pages/privacy.php";
		}
		winpops = window.open(popUrl,"","width=600,height=400,scrollbars,resizeable,");
	}
	
	// clear cart
	function clearCart(){
		window.open('index.php?page_id=11','_self');
	}

	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 popTerms(){
		var popUrl="terms.php";
		winpops = window.open(popUrl,"","width=700,height=500,");
	}
	
	function MM_findObj(n, d) {
	  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
		d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	  if(!x && d.getElementById) x=d.getElementById(n); return x;
	}
	
	function MM_swapImage() { 
	  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
	   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
	}

-->