jQuery.noConflict();
jQuery(document).ready(function($){

var i=0; while (i<=10) { $('#myExtraContent'+i+' script').remove(); 
$('#myExtraContent'+i).appendTo('#extraContainer'+i); i++; }
$("#nav ul li").prepend("<span></span>");
$("#subNav ul li a").wrap("<span></span>");
$("#subNav ul ul:first").wrap("<div></div>");
$("#nav ul li span:first").addClass("noLine");
$("#nav ul li a").css({color: "#000000"});
$("#nav ul li a").mouseenter(function() {
$(this).stop("clearQueue").animate({"top":"10px", opacity:0}, 100)
.animate({"top":"-20px", color: "#FFFFFF"}, 10).animate({"top":"0px", opacity:1}, 150);
});
$("#nav ul li a").mouseleave(function() {
$(this).stop("clearQueue").animate({"top":"0px", opacity:1, color: "#000000"}, 400);
});
$("#subNav ul ul li a").mouseenter(function() {
$(this).stop("clearQueue").animate({"backgroundColor":"#FFFFFF", paddingLeft: "13px"}, 150);
});
$("#subNav ul ul li a").mouseleave(function() {
$(this).stop("clearQueue").animate({"backgroundColor": "#F0F0F0", paddingLeft: "8px"}, 150);
});
$(".thumbnail-wrap").mouseenter(function() {
$(".thumbnail-caption", this).stop("clearQueue").animate({bottom:"-10px", opacity:.85}, 300);
});
$(".thumbnail-wrap").mouseleave(function() {
$(".thumbnail-caption", this).stop("clearQueue").animate({bottom:"-35px", opacity:0}, 300);
});
});
