// For Additional Product Images Scroll Bar 
var speed = 5;
var grap  = 175;

$(function() {

$("#topPic").cycle({
fx: "fade",
timeout: 6000

});

	// sitewiz - do not replicate

	$(".product-tabs li").click(function() {

		var className = $(this).attr("class");
		$(".product-tabs li").removeClass("tab-active");

		if(className=="productDescription") {
			$("#reviewsDefault").fadeOut(250,function() {
				$("#productDescription").fadeIn(300);
			});
		} else {
			$("#productDescription").fadeOut(250,function() {
				$("#reviewsDefault").fadeIn(300);
			});			
		}
		$(this).addClass("tab-active");
	});

	$(".whats_newd,.featured_side").after("<div class='clear'></div>");

	$("#cmsNav li>span>a").hover(function() {
		$(this).parent().parent().prev().find("span>a").css("background","none");
	},function() {
		$(this).parent().parent().prev().find("span>a").removeAttr("style");
	});

	$(".cmslevel2").hover(function() {
		$(this).parent().find("span>a").addClass("menu-active");
		$(this).parent().prev().find("span>a").css("background","none");
	},function() {
		$(this).parent().find("span>a").removeClass("menu-active");
		$(this).parent().prev().find("span>a").removeAttr("style");
	});

	$("#productDescription font[face=Verdana]").removeAttr("face");
	$("#productDescription span[style='font-family: Verdana;']").removeAttr("style");

	$(".affiliatesBoxSide_bottom").append($("#affiliatesBoxSideContent").html());
	$(".affiliatesBoxSide_bottom ul").removeAttr("style");

$("#recentBlogPostsContent").prepend("<p><strong>Latest posts from our blog</strong></p>");
});
