// duplicate homepage galleries on dedicated galleries page
if (hasPath("Galleries")) {
	YD.addClass(document.body, "galleries");
}

// reassign var for custom right click warning
rightClickWarning = "All photos are property of Ron Kolias Photography. All rights reserved. Please contact for usage.";

// yah
var p0 = ["Em", "ai", "l:"];
var p1 = ["ma", "ilt", "o:"];
var p2 = ["con", "tact", "@ro", "nk", "oli", "aspho", "to.c", "om"];
var fin0 = p0.join("");
var fin1 = p1.join("");
var fin2 = p2.join("");
var gat = fin0 + " <" + "a hr" + "ef=\"" + fin1 + fin2 + "\">" + fin2 + "<" + "/" + "a>";
var mlBuck = document.getElementById("mlBuck");
if (mlBuck != null) {
	mlBuck.innerHTML = gat;
}


// build contact page
var msgBucket = document.getElementById("contactMessageBucket");
if (msgBucket != null) {
	var textArea = document.createElement("textarea");
	textArea.setAttribute("id", "message");
	textArea.setAttribute("name", "message");
	textArea.setAttribute("cols", "40");
	textArea.setAttribute("rows", "7");
	
	msgBucket.appendChild(textArea);
}
