function reloadData(stid) {

	stid = (stid) ? stid : document.station_form.stid.value;
	
	new Ajax("includes/current_wx.php", {	method: 'post', 
											data: 'stid=' + stid,
											update: $('current_data')
	}).request();

}

window.addEvent('domready', function(){

	var accordion = new Accordion('a.atStart', 'ul.atStart', {
		opacity: false,
		alwaysHide: true,
		display: 100,
		onActive: function(toggler, element){
			toggler.setStyle('color', '#675229');
			toggler.setStyle('background-image', 'url(/images/side_menu_minus.gif)');
			element.setStyle('display','block');
		},
		onBackground: function(toggler, element){
			toggler.setStyle('color', '#675229');
			toggler.setStyle('background-image', 'url(/images/side_menu_plus.gif)');
		}
	}, $('product_menu'));
	
	var accordion = new Accordion('a.atStartSubscribe', 'ul.atStartSubscribe', {
		opacity: false,
		alwaysHide: true,
		display: 100,
		onActive: function(toggler, element){
			element.setStyle('display','block');
		},
		onBackground: function(toggler, element){
			toggler.setStyle('color', '#71b256');
		}
	}, $('subscribe'));
	
	//Show Function
	/*
	var map_tips = new Tips($$('.map_tips'), {
	
		offsets: {'x': 5, 'y': 5},
	
	});
	*/
	
	var map_tips = new Tips($$('.map_tips'), {
	
		offsets: {'x': 5, 'y': 5},
	
		initialize:function(){
			this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 0, wait: false}).set(0);
		},
		onShow: function(toolTip) {
			this.fx.start(1);
		},
		onHide: function(toolTip) {
			this.fx.start(0);
		}
	});	
	
});