protectionIsGreat = "pcatanzariti";
protectionIsGreat = (protectionIsGreat + "@" + "gmail.com");


function runHeader(dir) {
	if (/MSIE 6/i.test(navigator.userAgent)) {
		document.write ('<img src="' + dir +'/header.png" alt="PatrickCatanzariti.com" />\n');
	}
	else {
		document.write ('<div id="fader">\n');
		document.write ('\n');
		document.write ('<object type="application/x-shockwave-flash" data="' + dir +'/header.swf" width="855" height="150">\n');
		document.write ('<param name="movie" value="' + dir +'/header.swf">\n');
		document.write ('<param name="menu" value="false">\n');
		document.write ('<param name="loop" value="false">\n');
		document.write ('<param name="wmode" value="transparent" />\n');
		document.write ('<img src="' + dir +'/header.png" alt="PatrickCatanzariti.com" />\n');
		document.write ('</object><br />\n');
		document.write ('</div>\n');
	}
}

function runContact() {
	document.write("<a href=\"mailto:" + protectionIsGreat + "?subject=Message from patrickcatanzariti.com\" id=\"email-addy\">");
	document.write(protectionIsGreat);
	document.write("</a>");
}

// $(document).ready(
// function() {
	// $(".latest-blog-posts li").hover(
		// function () {
			// //$(this).fadeTo("fast", 0.50);
			// $(this).animate({
				// backgroundColor: "#ffdaa4"
			// }, "fast");
		// },
		// function() {
			// //$(this).fadeTo("fast", 1);
			// $(this).animate({
				// backgroundColor: "#ff9900"
			// }, "fast");
		// }
	// );
	// }
// );