function openImage(object){	source = object.src;	source = source.replace("thumbs","data");	popup = document.getElementById("PhotoExpand");	popup.style.top = "200px";	popup.style.left = (((window.screen.width)/2)/2)+"px";	popup.style.visibility="visible";	popup.innerHTML = "<img id='PhotoThumb' src='"+source+"' onclick='closeImage()'>";}function closeImage(){	popup = document.getElementById("PhotoExpand");	if(popup.style.visibility == "visible"){		popup.style.visibility = "hidden";		popup.innerHTML = "<img src='../images/busy.gif' width='16 height='16' alt='loading' longdesc='../images/busy.gif' />";	}}/*var map = null;var geocoder = null;function initialize() {  if (GBrowserIsCompatible()) {	map = new GMap2(document.getElementById("GoogleMapCanvas"));	map.setCenter(new GLatLng(37.4419, -122.1419), 13);	map.addControl(new GSmallMapControl());    map.addControl(new GMapTypeControl());	geocoder = new GClientGeocoder();  }}function showAddress(address) {	popup = document.getElementById("GoogleMapContainer");	popup.style.visibility="visible";	document.getElementById("address").value = address;	if (geocoder) {		geocoder.getLatLng(		  address,		  function(point) {			if (!point) {			  alert(address + " not found");			} else {			  map.setCenter(point, 13);			  var marker = new GMarker(point);			  map.addOverlay(marker);			  marker.openInfoWindowHtml(address);			}		  }		);	}}function closeGoogleMap(){	popup = document.getElementById("GoogleMapContainer");	if(popup.style.visibility == "visible"){		popup.style.visibility = "hidden";	}}*/function slideSwitch() {	var $active = $('#slideshow IMG.active');	if ( $active.length == 0 ) $active = $('#slideshow IMG:last');	// use this to pull the images in the order they appear in the markup	var $next =  $active.next().length ? $active.next() : $('#slideshow IMG:first');	$active.addClass('last-active');	$next.css({opacity: 0.0})		.addClass('active')		.animate({opacity: 1.0}, 1000, function() {			$active.removeClass('active last-active');		});}$(function() {	setInterval( "slideSwitch()", 5000 );});
