function loadWidget(xmlURL) {
	$.getScript(xmlURL, function() {
		try { // Internet Explorer
			var featuredHomes = new ActiveXObject("Microsoft.XMLDOM");
			featuredHomes.async="false";
			featuredHomes.loadXML(XMLstring);
		} catch(e) {
			try { //Firefox, Mozilla, Opera, etc.
				var featuredHomes = (new DOMParser()).parseFromString(XMLstring, "text/xml");
			}
			catch(e) {
				//alert(e.message);
				return;
			}
		}
		
		
		houses = $($(featuredHomes).find("Property"));
		
		if (houses.length > 0) {
			featuredHomesUL = $("ul.items");
			
			houses.each(function(index) {
				var house = $(this);
				var URL = house.find("Url").text();
				var imgURL = house.find("Image1").text();
				imgURL = (imgURL === "") ? "/nwc/realestate/art/no_photo_avail.gif" : imgURL;
				var price = house.find("Price").text();
				var city = house.find("City").text();
				var state = house.find("State").text();
				
				featuredHomesUL.append("<li><a class='img_link' href='"+URL+"'><img src='"+imgURL+"' alt='Featured Home Photo' width='108' /></a><a href='"+URL+"'>From "+price+"</a><span>"+city+", "+state+"</span></li>");
			});
			
		} else {
			// XML didn't load properly
			if (console) {
				console.log("featured homes xml failed to load")
			} else {
				//alert("featured homes xml failed to load");
				return;
			}
		}
		
		
		$("div.scrollable").scrollable({size:4});
		
		var api = $("div.scrollable").scrollable();
		
		var numPages = api.getPageAmount();
		
		$("div.navi").css({
			width: numPages*14,
			margin: "-15px auto 0"
		});
	});
}