// JavaScript Document// no download functionvar message="Thanks for your interest in my work. These images are Copyrighted. If you would like to use them, please contact me through my contact page. I am happy to provide images for non-profits in support of education, advocacy and conservation.";function clickIE4(){if (event.button==2){alert(message);return false;}}function clickNS4(e){if (document.layers||document.getElementById&&!document.all){if (e.which==2||e.which==3){alert(message);return false;}}}if (document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS4;}else if (document.all&&!document.getElementById){document.onmousedown=clickIE4;}document.oncontextmenu=new Function("alert(message);return false")// menu function$(document).ready(function(){	imagePreview();/*$(".hidestuff").hide(1500);   $(".hoverhide").hover(function(){     $(".hidestuff").show('slow');   },function(){     $(".hidestuff").hide(1500);   });   */   });   // image preview function this.imagePreview = function(){		/* CONFIG */				xOffset = 110;		yOffset = 30;				// these 2 variable determine popup's distance from the cursor		// you might want to adjust to get the right result			/* END CONFIG */	$("img.preview").hover(function(e){		this.t = this.title;		this.title = "";			var c = (this.t != "") ? "<br/>" + this.t : "";		$("body").append("<p id='preview'><img src='../js/"+ this.src +"' alt='Image preview' />"+ c +"</p>");								 		$("#preview")			.css("top",(e.pageY - xOffset) + "px")			.css("left",(e.pageX + yOffset) + "px")			.fadeIn("fast");						    },	function(){		this.title = this.t;			$("#preview").remove();    });		$("img.preview").mousemove(function(e){		$("#preview")			.css("top",(e.pageY - xOffset) + "px")			.css("left",(e.pageX + yOffset) + "px");	});			};// starting the script on page load/*$(document).ready(function(){	imagePreview();});*/
