/*--------------------------------------------------|| custom js for hamtramckstar - steven b. cherry    ||---------------------------------------------------|*/function init(){	//Element.hide($('blogrollmore'));	//getComments();	//getEvents();	//getWeather();	//getScanner();	//getRandom();	// Use this example, or...	// alert('w00t');}function init_1610(){	$("#now").load('http://station.hamtramckstar.com/cgi-bin/mpd.pl', function(){	     	$('#now').fadeIn('slow', function() {		        // Animation complete	      	});	});}function getScanner(){ $("#scanner").load('http://hamtramckstar.com/scanner/list_hs_blue.php');}function getWeather(){var url = 'http://hamtramckstar.com/cgi-bin/weather.pl';var pars = '';var myAjax = new Ajax.Updater( 'weather', url, {method: 'get', parameters: pars });}function getEvents(){var url =   'http://hamtramckstar.com/skins/hs_blue/_calendar.php';var pars = '';var myAjax = new Ajax.Updater( 'events', url, {method: 'get', parameters: pars });}function getRandom(){var url = 'http://hamtramckstar.com/images/random_image.html';var pars = '';var myAjax = new Ajax.Updater( 'random', url, {method: 'get', parameters: pars });}function showMoreWeather(){	Element.toggle($('m_weather'));}function showMoreBlogroll(){	// Element.show($('blogrollmore'));		new Effect.BlindDown($('blogrollmore'), {duration: .5})}function showLessBlogroll(){// 		Element.toggle($('blogrollmore'));	// Element.show($('blogrollmore'));	//$('blogrollmore').show();	new Effect.BlindUp($('blogrollmore'), {duration: .5})}///////////////////////function popitup(url,n) {        newwindow=window.open(url,n,'menubar=0,height=300,width=400');        if (window.focus) {newwindow.focus()}        return false;}function openStation(){ popitup('http://station.hamtramckstar.com/AM1610/index.php','AM1610_The_Station');}function openWorkStation(){ popitup('http://station.hamtramckstar.com/AM1610/index_fw.php','AM1610_The_Station');}
