function Weather() {
	this.load_content = function(obj, objWPC) {
		if(obj.value != "") {
			objWPC.load("index.php?name=Weather&locationID=" + obj.value + "&blocks=ah");
		} else {
			objWPC.html("");
		}
	}
	
	this.save = function() {
		$j("#weatherForm").submit();
	}
	
	this.remove = function(weatherIDX) {
		if(confirm(Common.getLocale(objLC.js_confirm_weather_delete,'js_confirm_weather_delete'))){
			window.location.href = "index.php?name=Weather&method=delete&weatherIDX="+weatherIDX;
		}
	}
}

var Weather = new Weather();
