//var baseurl = 'http://danielerrante.local/~danielerrante/c3/';
var baseurl = 'http://www.easylakeliving.com/';
var sPath = window.location.pathname;
var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);
var current_URL = String(window.location);
var URI_array = current_URL.substr(baseurl.length).split('/');


function add_roll_over() {
	
	// new Ajax(baseurl + 'get_weather_view.php', {
	// 		method: 'get',
	// 		update: $('current_weather')
	// 	}).request();
		
	$("#current_weather").load(baseurl + "get_weather_view.php");
		
	// new Ajax(baseurl + 'water_temp_view.php', {
	// 	method: 'get',
	// 	update: $('current_water_temp')
	// }).request();
	
	$("#current_water_temp").load(baseurl + "water_temp_view.php");
	
	function MM_preloadImages() { //v3.0
	  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
	    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
	    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
	}
	
	
}