in js/script.js [4:50]
$(document).ready(function(e) {
$(".aLeft").click(function() {
moveReel("prev");
});
$(".aRight").click(function() {
moveReel("next");
});
if ($("#header .scroller .item").length == 1) {
} else {
$("#header .dots, .aLeft, .aRight").css({ display: 'block' });
$("#header .scroller .item").each(function(i) {
$("#header .dots").append("<div class='dot'></div>");
$("#header .dots .dot").eq(i).click(function() {
var index = $(this).prevAll(".dot").length;
moveReel(index);
});
});
reelPointer = setTimeout(function() { moveReel(1); },5000);
}
$("#menu ul li").each(function(index, element) {
if ($(this).find("ul").length) {
$(this).addClass("parent");
}
});
$("#header .dots .dot:eq(0)").addClass("sel");
resized();
$(window).scroll(onScroll);
var pathname = window.location.pathname;
var pathSlashesReplaced = pathname.replace(/\//g, " ");
var pathSlashesReplacedNoFirstDash = pathSlashesReplaced.replace(" ","");
var newClass = pathSlashesReplacedNoFirstDash.replace(/(\.[\s\S]+)/ig, "");
$("body").addClass(newClass);
if ( $("body").attr("class") == "")
{
$("body").addClass("class");
}
});