// easySlider1.7
$(document).ready(function(){
	$("#homeSlide").easySlider({
		auto: true,
		pause: 6000,
		continuous: true
	});
});
// Identify first and last list items
$(document).ready(function() {
	$("ul:first-child").addClass("first-child");
	$("ul:last-child").addClass("last-child");
});
// Opens links with rel="external" in another window
function externalLinks() {
	if (!document.getElementsByTagName) return;
	var anchors = document.getElementsByTagName("a");
	for (var i=0; i<anchors.length; i++) {
		var anchor = anchors[i];
		if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") {
			anchor.target = "_blank";
		}
	}
}
window.onload = externalLinks;