	function resetForms(){
	     //script here ; must be done in js if clear button is an image
    }
	 
	function spawn_window(content, spawn, sizing){
	     window.open(content, spawn, sizing);
    }

	function quickGo(list) {
     	var item=list.options[list.selectedIndex].value;
	     if (item!="#") {
     	     window.location.href=item;
	     }
     } 
	 // allows use of go button from multiple scripts
	 function quickGo2(mainForm,selectForm) {
	 	var notSelected=false;
		var quickRef='document.forms';
		var ref='document.forms.'+mainForm+'.'+selectForm;
		if (eval(quickRef+'.'+mainForm+'.'+selectForm+'.options['+quickRef+'.'+mainForm+'.'+selectForm+'.selectedIndex].value')=="#") {
			notSelected=true;
			alert('You need to select something from the menu');}
		else {notSelected=true;}
				
		if (notSelected) {
			window.location.href=eval(quickRef+'.'+mainForm+'.'+selectForm+'.options['+quickRef+'.'+mainForm+'.'+selectForm+'.selectedIndex].value');
		}}

	function ContactUsAdvert(URL)
	{
		window.open(URL,"contactus","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=540,height=460,resizable=no");
	}
	
	function ContactUs() // contact us pop-up
	{
		window.open("/shared/contactus/contact_us.jsp?site=cars","CONTACTUS","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=540,height=460,resizable=no");
	}
		
	function About() // about fish4 pop-up
	{
		window.open("/shared/static_popups/about_fish4.jsp?site=cars","about","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=540,height=460,resizable=no");
	}
		
	function Terms() //fish4 terms pop-up
	{
 		window.open("http://www.fish4cars.co.uk/terms/terms.html","terms","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=540,height=460,resizable=no");
	}
	
	function Legal() //fish4 legal pop-up
	{
		window.open("/shared/static_popups/legal.jsp?site=cars", "disclaimer", "toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=540,height=460,resizable=no");
	}
	
	function NeedHelp() //fish4 need help pop-up
	{
		window.open("/shared/static_popups/needhelp.html", "NeedHelp", "toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=540,height=460,resizable=no");
	}
	
	function ContribPress() //fish4 need help pop-up
	{
		window.open("/shared/static_popups/contrib.jsp?site=cars", "ContributingPress", "toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=540,height=460,resizable=no");
	}

	function uploadImage() //fish4 need help pop-up
	{
		window.open("upload.jsp", "Upload Image", "toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=540,height=460,resizable=no");
	}	
	
	function advertTerms()
	{
		window.open("/shared/static_popups/advertising_terms.jsp?site=cars", "advertterms", "toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=540,height=460,resizable=no");
	}
	
	function userTerms()
	{
		window.open("/shared/static_popups/user_terms.jsp?site=cars", "userterms", "toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=540,height=460,resizable=no");
	}
	
	function fish4private()
	{
		//window.open("/shared/static_popups/fish4private.jsp?site=cars", "privacy", "toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=540,height=460,resizable=no");
		window.open("/shared/static_popups/privacy_policy.jsp?site=cars","PrivacyPolicy1","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=540,height=460,resizable=no");
	}
	
	function privPol()
	{
		window.open("/shared/static_popups/privacy_policy.jsp?site=cars","PrivacyPolicy1","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=540,height=460,resizable=no");
	}

	function popUpWindow(URI,Dim,X) {
 	window.open(URI,"",Dim);
	}

	function popUpWindowAlter(URI,Dim) {
  	window.open(URI,"",Dim);
	}

	function popUp_displayWindow(url, title, options) {
 	window.open(url, title, options);
	}