<!-- 
//Browser Support Code
function ajaxFunction(photo_id,photo_path,action){

	var ajaxRequest; // The variable that makes Ajax possible!
	
	try{
		// Opera 8.0+, Firefox, Safari
		ajaxRequest = new XMLHttpRequest();
	} catch (e){
		// Internet Explorer Browsers
		try{
			ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try{
				ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e){
				// Something went wrong
				alert("Your browser broke!");
				return false;
			}
		}
	}
	var currentTime = new Date();
	currentTime = currentTime.getTime();
	var queryString = "?photo_id=" + photo_id + "&photo_path=" + escape(photo_path) + "&referrer=" + escape(document.referrer) + "&action=" + action + "&dummyTime=" + currentTime;
	//alert('sending '+currentTime);
	ajaxRequest.open("GET", "/logstats.php" + queryString, true);
	ajaxRequest.send(null); 
}

//-->
