jQuery(document).ready(function(){
	getTodaysWeather();
});

function getTodaysWeather() {
	var cityValue=jQuery('#weatherCityValue').val();
	jQueryPost("/gettodaysweather.action?cityValue="+cityValue, "weathercontent", "weathercontent", null, false, null);
}

function showContent(searchContentId,searchTabId) {
	jQuery('div[id^="search-"]').each(function() {
		if(searchContentId==this.id) {
			jQuery("#"+this.id).show();	
		} else {
			jQuery("#"+this.id).hide();			
		}		
	});
	jQuery('li a[id^="searchTab-"]').each(function() {
		if(searchTabId==this.id){
			jQuery("#"+this.id).attr("class","active");
		} else {
			jQuery("#"+this.id).attr("class","");
		}		
	});		
}
