var monthly_prices = [350, 450, 500, 550, 600, 650, 700, 800, 1000, 1500, 2000];
var weekly_prices = [ 200, 250, 300, 350, 400, 450, 500, 600, 700, 800, 900, 1000, 1500, 2000, 2500, 3000];

var mySelectInstructionType = function() {
	var bid = $F("bid");
	if (bid == 895) {
		letPrices = weekly_prices;
		selectInstructionType.format.let = "&pound;{!$price} P.W.";
		$("price_period").value = "weekly";
	} else {
		letPrices = monthly_prices;
		selectInstructionType.format.let = "&pound;{!$price} P.C.M.";
		$("price_period").value = "monthly";
	}
	selectInstructionType('instruction_type', 'minprice', 'maxprice');
};


(function() {
	mySelectInstructionType();
 	if (typeof ShowMap == "function") ShowMap({zoom:15});
 	if (typeof restore_search == "function") restore_search();
}).onLoad();

