
function protect()
{
alert("This image is copyrighted!");
return false;
}

$(document).ready(function(){

var img1 = new Image(234, 252)
img1.src = "monarch_part1_alt.jpg";
var img2 = new Image(166, 252)
img2.src = "monarch_part2_alt.jpg";
var img3 = new Image(400, 48)
img3.src = "monarch_part3_alt.jpg";

var d = new Date()
var n = d.getFullYear()
$("#year").html(n);

$("p#bookmark").html("<a href='javascript:void' title='Add this page to your favorites'>Bookmark this page<img src='plus.gif' alt='Gif'></a>");

$("p#bookmark a").click(function(){

var bookmark_url="http://theorniphile.info/image_protection_guide/index.html";
var text_description="How to Protect Your Web page Images";
if (navigator.appName=="Microsoft Internet Explorer" && parseInt(navigator.appVersion) >=4 && navigator.platform.indexOf("Win") > -1 && navigator.appVersion.indexOf("SlimBrowser") < 0)
{
window.external.AddFavorite(bookmark_url,text_description);
}

else
{
alert("For PC users, press the Control (Ctrl) and \"D\" keys on your keyboard to bookmark this site. For Mac users, press the Command (Apple) and \"D\" keys on your keyboard.");
return false;
}
});

$("span#copyright").hover(function(e){
$("span#blurb").css({"display":"block", "top":"125px", "left":e.pageX - 200});
}, function(){
$("span#blurb").css("display", "none");
});


$("div.about_me").css("borderRadius", "3px");

$("img#part1").hover(function(){
$(this).attr("src", img1.src);
}, function(){
$(this).attr("src", "monarch_part1.jpg");
});


$("img#part2").hover(function(){
$(this).attr("src", img2.src);
}, function(){
$(this).attr("src", "monarch_part2.jpg");
});


$("img#part3").hover(function(){
$(this).attr("src", img3.src);
}, function(){
$(this).attr("src", "monarch_part3.jpg");
});


$(".image2_alt img").bind("contextmenu", function(e){
return false;
});

$(".image2_alt img").mousedown(function(e){
return false;
});

});

