// Javascript for images on main search list page to click through and return all properties
// This script is for all Resale Properties
function func_submit_get_all_px_properties() {
		 document.getElementById("store_tratyp_image").value = "1";
		 document.frmSearchImage.action = "ipm/properties/search_list.php";
		 document.frmSearchImage.submit();
}

function func_submit_get_all_land_image() {
         document.getElementById("store_tratyp_image_land").value = "1";
		 document.frmSearchImageLand.action = "/ipm/properties/search_list.php";
		 document.frmSearchImageLand.submit();
}

function func_submit_get_all_resale_properties_image() {
         document.getElementById("store_tratyp_image_resale").value = "1";
		 document.frmSearchImageResale.action = "/ipm/properties/search_list.php";
		 document.frmSearchImageResale.submit();
}

function func_submit_get_all_firsttime_properties_image() {
         document.getElementById("store_tratyp_image_firsttime").value = "1";
		 document.frmSearchFirstTimeHomes.action = "/ipm/properties/search_list.php";
		 document.frmSearchFirstTimeHomes.submit();
}

function func_submit_get_all_rental_properties_image() {
         document.getElementById("store_tratyp_image_rental").value = "2";
		 document.frmSearchImageRental.action = "/ipm/properties/search_list.php";
		 document.frmSearchImageRental.submit();
}

function func_submit_get_all_px_properties_image() {
         document.getElementById("store_tratyp_image_px").value = "1";
		 document.frmSearchImagePX.action = "/ipm/properties/search_list.php";
		 document.frmSearchImagePX.submit();
}

function func_submit_get_all_properties_postit() {
		 document.getElementById("store_tratyp_image_postit").value = "1";
		 document.frmSearchImagePostIt.action = "ipm/properties/search_list.php";
		 document.frmSearchImagePostIt.submit();
}

function func_submit_get_all_special_properties_image() {
		 document.getElementById("store_tratyp_image_special").value = "1";
		 document.frmSearchImageSpecial.action = "ipm/properties/search_list.php";
		 document.frmSearchImageSpecial.submit();
}

function func_submit_get_all_development_plots() {
		 document.getElementById("store_dev_plots").value = "1";	 
		 document.frmGetAllDevelopmentPlots.action = "/ipm/properties/search_list.php";
		 document.frmGetAllDevelopmentPlots.submit();
}

function func_submit_get_all_newhomes_sale() {
		 document.getElementById("store_newhomes_sale").value = "1";	 
		 document.frmGetAllNewHomesSale.action = "/ipm/properties/search_list.php";
		 document.frmGetAllNewHomesSale.submit();
}

function func_submit_get_all_bridgend_properties_sale() {
		 document.getElementById("store_bridgend_sale").value = "1";	 
		 document.frmGetAllBridgendSale.action = "/ipm/properties/search_list.php";
		 document.frmGetAllBridgendSale.submit();
}

function func_submit_get_all_bridgend_properties_rent() {
		 document.getElementById("store_bridgend_rent").value = "1";	 
		 document.frmGetAllBridgendRent.action = "/ipm/properties/search_list.php";
		 document.frmGetAllBridgendRent.submit();
}

function func_submit_get_all_pencoed_properties_sale() {
		 document.getElementById("store_pencoed_sale").value = "1";	 
		 document.frmGetAllPencoedSale.action = "/ipm/properties/search_list.php";
		 document.frmGetAllPencoedSale.submit();
}

function func_submit_get_all_pencoed_properties_rent() {
		 document.getElementById("store_pencoed_rent").value = "1";	 
		 document.frmGetAllPencoedRent.action = "/ipm/properties/search_list.php";
		 document.frmGetAllPencoedRent.submit();
}

function func_submit_get_all_broadlands_properties_sale() {
		 document.getElementById("store_broadlands_sale").value = "1";	 
		 document.frmGetAllBroadlandsSale.action = "/ipm/properties/search_list.php";
		 document.frmGetAllBroadlandsSale.submit();
}

function func_submit_get_all_broadlands_properties_rent() {
		 document.getElementById("store_broadlands_rent").value = "1";	 
		 document.frmGetAllBroadlandsRent.action = "/ipm/properties/search_list.php";
		 document.frmGetAllBroadlandsRent.submit();
}

function func_submit_get_all_porttalbot_properties_sale() {
		 document.getElementById("store_porttalbot_sale").value = "1";	 
		 document.frmGetAllPortTalbotSale.action = "/ipm/properties/search_list.php";
		 document.frmGetAllPortTalbotSale.submit();
}

function func_submit_get_all_porttalbot_properties_rent() {
		 document.getElementById("store_porttalbot_rent").value = "1";	 
		 document.frmGetAllPortTalbotRent.action = "/ipm/properties/search_list.php";
		 document.frmGetAllPortTalbotRent.submit();
}
