                    $(document).ready(function() {
						$('#topButton').click(function(){$('html, body').animate({scrollTop:0}, 'slow');});
						if ($('.password_test').length > 0) {$('head').append("<script type='text/javascript' src='/scripts/password-strength-plugin.js'></script>");$(".password_test").passStrength({userid:	"#Validate3"});};
//						if ($('.tabs').length > 0) {$('.tabs').tabs();};
						if ($('.tab_content').length > 0) {$(".tab_content").hide(); $("ul.tabs li:first").addClass("active").show(); $(".tab_content:first").show(); $("ul.tabs li").click(function() {$("ul.tabs li").removeClass("active"); $(this).addClass("active"); $(".tab_content").hide(); var activeTab = $(this).find("div").attr("class"); $('#'+activeTab).fadeIn(); return false;});};
if ($('.addArea').length > 0) {$('head').append('<script type="text/javascript" language="javascript" src="/scripts/AddToCart.js"></script>');$(".addArea").find(".add").click(function(){var currentVal = parseInt($(this).parent().find(".qty").val());if (currentVal != NaN){$(this).parent().find(".qty").val(currentVal + 1);}else {$(this).parent().find(".qty").val(1);}});$(".addArea").find(".minus").click(function(){var currentVal = parseInt($(this).parent().find(".qty").val());if (currentVal != NaN && currentVal > 1){$(this).parent().find(".qty").val(currentVal - 1);}});};

if ($('#slider1').length > 0) {
$('head').append('<script type="text/javascript" src="/js/jquery.anythingslider.js"></script>');
$('head').append('<script type="text/javascript" src="/js/jquery.anythingslider.fx.min.js"></script>');
$('#slider1').anythingSlider({width : 810, height : 285,hashTags : false,buildNavigation : true,buildArrows : false, easing: 'easeInOutExpo'});
$("ul.tabs li").click(function() {
$('#slider2').anythingSlider({width : 810, height : 285,hashTags : false,buildArrows : false, buildNavigation : true,easing: 'easeInOutExpo'});});
$("ul.tabs li").click(function() {$('#slider3').anythingSlider({width : 810, height : 285,hashTags : false,buildArrows : false, buildNavigation : true,easing: 'easeInOutExpo'});});
$("ul.tabs li").click(function() {$('#slider1').anythingSlider({width : 810,height : 285,hashTags : false,buildArrows : false, buildNavigation : true,easing: 'easeInOutExpo'});});
};
if ($('#slider0').length > 0) {
$('head').append('<script type="text/javascript" src="/js/jquery.anythingslider.js"></script>');
$('head').append('<script type="text/javascript" src="/js/jquery.anythingslider.fx.min.js"></script>');
$('#slider0').anythingSlider({width : 810,          height : 370,hashTags            : false,buildArrows         : true,      buildNavigation     : false,     navigationFormatter : null,      forwardText         : "next &gt;",backText            : "&lt; back",startStopped: false,infiniteSlides      : false,stopAtEnd           : true,   autoPlay: false,easing: 'easeInOutExpo'});
};

if ($('#slider5').length > 0) {
$('#slider5').anythingSlider({width : 391, height : 48,hashTags : false,buildArrows : false, buildNavigation : false, navigationFormatter : null, forwardText : "",backText : "",startStopped: false,infiniteSlides : true,stopAtEnd : false, autoPlay: true,easing: 'easeInOutExpo'});

};
					if ($('.listingDesc').length > 0) {$(".listingDesc").live('mouseover',function () {$(this).find(".panelPop").css('display','block');$(this).parent().css('background','#f1f8fe');});$(".listingDesc").live('mouseout',function () {$(this).find(".panelPop").css('display','none');$(this).parent().css('background','#ffffff');});	};
					if ($('#brandFilter').length > 0) {$("#brandFilter").bind("click", function(e){$("ul#brandsList").slideToggle('fast');});};
					if ($('.toggle1click').length > 0) {$(".toggle1click").bind("click", function(e){$(".toggle1").slideToggle('fast');$(".toggle1click").hide();$(".toggle1extra").hide();});};	
					if ($('.toggle2click').length > 0) {$(".toggle2click").bind("click", function(e){$(".toggle2").show('fast');});};
					if ($('.notoggle2click').length > 0) {$(".notoggle2click").bind("click", function(e){$(".toggle2").hide('fast');});	};   
					if ($('#addButton').length > 0) {$("#addButton").click(function() {$(".addArea").hide(); $(".addedToCart").show(); });};
					if ($('.click0').length > 0) {$(".click0").click(function() {$(".clickShow0").toggle(); $(".clickHide0").toggle(); });};
					if ($('.click1').length > 0) {$(".click1").click(function() {$(".clickShow1").toggle(); $(".clickHide1").toggle(); });};
					if ($('.click2').length > 0) {$(".click2").click(function() {$(".clickShow2").toggle(); $(".clickHide2").toggle(); });};
					if ($('.click3').length > 0) 
					
					{$(".click3").click(function() {$(".clickShow3").toggle(); $(".clickHide3").toggle();});
					
					};
					if ($('.click4').length > 0) {$(".click4").click(function() {$(".clickShow4").toggle(); $(".clickHide4").toggle(); });};
					if ($('.click5').length > 0) {$(".click5").click(function() {$(".clickShow5").toggle(); $(".clickHide5").toggle(); });};
					if ($('.click6').length > 0) {$(".click6").click(function() {$(".clickShow6").toggle(); $(".clickHide6").toggle(); });};
					if ($('.click7').length > 0) {$(".click7").click(function() {$(".clickShow7").toggle(); $(".clickHide7").toggle(); });};


					if ($('.incVat').length > 0){$
                        $(".incVat").click(function() {
	                        $(".excVatArea").hide(); 
	                        $(".excVatPrice").hide();
	                        $(".incVatArea").show(); 
							$(".incVatPrice").show(); 
							$(this).addClass('incVatA');
							$(".priceIE span").removeClass('excVatA');
                        });
						};	

                        $(".excVat").click(function() {
	                        $(".excVatArea").show(); 
	                        $(".excVatPrice").show();
	                        $(".incVatArea").hide(); 
							$(".incVatPrice").hide(); 
							$(this).addClass('excVatA');
							$(".priceIE span").removeClass('incVatA');
                        });						

						if ($('#readMore').length > 0){$
							$("#readMoreText").hide();
							$("#readLess").hide(); 
	
							$("#readMore").click(function() {
								$("#readMore").hide(); 
								$("#readMoreText").show();
								$("#readLess").show(); 
							});
	
							$("#readLess").click(function() {
								$("#readMore").show(); 
								$("#readMoreText").hide();
								$("#readLess").hide(); 
							});
						};	




                    });

