// JavaScript Document
jQuery(document).ready(function(){
	jQuery('#logo').delegate('img', 'mouseover, hover', function(){
		jQuery(this).attr('src','http://www.bthomasstudio.com/wp-content/themes/bthomas/img/logo_over.png');
	}).delegate('img', 'mouseout', function(){
		jQuery(this).attr('src','http://www.bthomasstudio.com/wp-content/themes/bthomas/img/logo.png');
	});
});
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
	var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
	if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

var message="©2011 Beth Thomas Studios.";

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")
