// change right-click warning text
rightClickWarning = "All Images Copyright 2010 Christopher Muller (SteamPhotos.com). Unauthorized use prohibited.";

// remove photo mouseover text
function delHover() {
    oLst = YD.getElementsBy(function(el) {return (YD.hasClass(el,'imgBorder') || YD.hasClass(el,'imgBorderOn'))},'img');
    for (i=0; i < oLst.length ; i++) {
        if (oLst[i].title && oLst[i].title != '') oLst[i].title = '';
        if (oLst[i].alt && oLst[i].alt != '') oLst[i].alt = '';
    }
}

YE.onContentReady('bodyWrapper', function() {if (!YD.hasClass(document.body, 'smugmug_ajax')) delHover()});
onPhotoShow.subscribe(function(){YE.onAvailable('mainImage', delHover)});

function contactus(aUser, aDomain) { 
document.location = "mailto:" + aUser + "@" + aDomain;
}

function validateForm() {
	if ((document.MailingList.Subscription.value == "") || (document.MailingList.Subscription.value == "type e-mail here")) {
		alert("Please enter your e-mail address to receive notification of SteamPhotos.com updates.");
		return false;
	}
	else {
		alert("Thank you for subscribing! You will now be returned to the SteamPhotos.com homepage.");
		return true;
	}

}

function ClearSearchBox(){
if (document.MailingList.Subscription.value == "type e-mail here"){document.MailingList.Subscription.value = "";}
}

showPhotoBar=false; //disable rollover size selector

//useLightbox = false;
