//<![CDATA[
<!--
	$(document).ready(function(){
		generateSprites(".topnav", "current-", true, 300, "fade");
		generateSprites(".sidenav", "current-", true, 300, "fade");

$.get("/CommonAssets/WebRequests.aspx?u=http%3a%2f%2fapi.wunderground.com%2fauto%2fwui%2fgeo%2fWXCurrentObXML%2findex.xml&p=query%3d28451", {}, 
function(xml) {
      	
		myHTMLOutput = '';
		// Run the function for each student tag in the XML file
		$('current_observation',xml).each(function(i) {			
			weather = $(this).find("weather").text();
			temp = $(this).find("temperature_string").text();			
			// Build row HTML data and store in string
			mydata = weather + ' ' + temp; //BuildStudentHTML(studentName);
			myHTMLOutput = myHTMLOutput + mydata;			
		});		
		// Update the DIV called Content Area with the HTML string
		$("#Temp").append(myHTMLOutput);
	});


$('#articleslideshow').cycle({ 
    fx:     'fade', 
    speed:   600, 
    timeout: 4500, 
    next:   '#articleslideshow', 
    pause:   1 
});



var currentTime = new Date()
var thismonth = currentTime.getMonth() + 1
var day = currentTime.getDate()
var year = currentTime.getFullYear()
var hours = currentTime.getHours()
var minutes = currentTime.getMinutes()
var month=new Array(12);
month[0]="January";
month[1]="February";
month[2]="March";
month[3]="April";
month[4]="May";
month[5]="June";
month[6]="July";
month[7]="August";
month[8]="September";


month[9]="October";
month[10]="November";
month[11]="December";

var fixedtime;

fixedtime = (month[currentTime.getMonth()]);



fixedtime = fixedtime + (" " + day + ", " + year + " ")
if (minutes < 10){
minutes = "0" + minutes
}
if(hours > 12){
fixedtime = fixedtime + ((hours - 12) + ":" + minutes + " ")
} else {
fixedtime = fixedtime + (hours + ":" + minutes + " ")
}
if(hours > 11){
fixedtime = fixedtime + ("pm")
} else {
fixedtime = fixedtime + ("am")
}

		$("#fixedTime").append(fixedtime);
	});


//-->
//]]> 