var css_browser_selector = function() {var ua=navigator.userAgent.toLowerCase(),is=function(t){return ua.indexOf(t) != -1;},h=document.getElementsByTagName('html')[0],b=(!(/opera|webtv/i.test(ua))&&/msie (\d)/.test(ua))?('ie ie'+RegExp.$1):is('firefox/2')?'gecko ff2':is('firefox/3')?'gecko ff3':is('gecko/')?'gecko':is('opera/9')?'opera opera9':/opera (\d)/.test(ua)?'opera opera'+RegExp.$1:is('konqueror')?'konqueror':is('applewebkit/')?'webkit safari':is('mozilla/')?'gecko':'',os=(is('x11')||is('linux'))?' linux':is('mac')?' mac':is('win')?' win':'';var c=b+os+' js'; h.className += h.className?' '+c:c;}();

function toggleTextOut(e,txtval) {

	if(e.value=="") e.value = txtval;

}

function toggleTextIn(e,txtval) {

	if(e.value==txtval) e.value="";

	else e.select();

}

$(document).ready(function(){

$(".active-filters ul li:first-child").addClass('first');

	$('.featured-product li:last').addClass('last');

	$('ul.brand-listing li:nth-child(4)').addClass('last');

	$('#footer-main ul li li:first-child').addClass('first');

	$('ul.product-list li:nth-child(3)').addClass('last');

	$('.new-brands ul li:nth-child(6)').addClass('last');

	$('.product-description li:last').next('span').addClass('price');

});

(function(A){A.extend(A.fn,{pstrength:function(B){var B=A.extend({verdects:["Very weak","Weak","Medium","Strong","Very strong"],colors:["#f00","#c06","#f60","#3c0","#3f0"],scores:[10,15,30,40],common:["password","sex","god","123456","123","liverpool","letmein","qwerty","monkey"],minchar:6},B);return this.each(function(){var C=A(this).attr("id");A(this).after("<div class=\"pstrength-minchar\" id=\""+C+"_minchar\">Minimum "+B.minchar+" characters please</div>");A(this).after("<div class=\"pstrength-info\" id=\""+C+"_text\"></div>");A(this).after("<div class=\"pstrength-bar\" id=\""+C+"_bar\" style=\"border: 1px solid white; font-size: 1px; height: 5px; width: 0px;\"></div>");A(this).keyup(function(){A.fn.runPassword(A(this).val(),C,B)})})},runPassword:function(D,F,C){nPerc=A.fn.checkPassword(D,C);var B="#"+F+"_bar";var E="#"+F+"_text";if(nPerc==-200){strColor="#f00";strText="Unsafe password word!";A(B).css({width:"0%"})}else{if(nPerc<0&&nPerc>-199){strColor="#ccc";strText="Too short";A(B).css({width:"5%"})}else{if(nPerc<=C.scores[0]){strColor=C.colors[0];strText=C.verdects[0];A(B).css({width:"10%"})}else{if(nPerc>C.scores[0]&&nPerc<=C.scores[1]){strColor=C.colors[1];strText=C.verdects[1];A(B).css({width:"25%"})}else{if(nPerc>C.scores[1]&&nPerc<=C.scores[2]){strColor=C.colors[2];strText=C.verdects[2];A(B).css({width:"50%"})}else{if(nPerc>C.scores[2]&&nPerc<=C.scores[3]){strColor=C.colors[3];strText=C.verdects[3];A(B).css({width:"75%"})}else{strColor=C.colors[4];strText=C.verdects[4];A(B).css({width:"92%"})}}}}}}A(B).css({backgroundColor:strColor});A(E).html("<span style='color: "+strColor+";'>"+strText+"</span>")},checkPassword:function(C,B){var F=0;var E=B.verdects[0];if(C.length<B.minchar){F=(F-100)}else{if(C.length>=B.minchar&&C.length<=(B.minchar+2)){F=(F+6)}else{if(C.length>=(B.minchar+3)&&C.length<=(B.minchar+4)){F=(F+12)}else{if(C.length>=(B.minchar+5)){F=(F+18)}}}}if(C.match(/[a-z]/)){F=(F+1)}if(C.match(/[A-Z]/)){F=(F+5)}if(C.match(/\d+/)){F=(F+5)}if(C.match(/(.*[0-9].*[0-9].*[0-9])/)){F=(F+7)}if(C.match(/.[!,@,#,$,%,^,&,*,?,_,~]/)){F=(F+5)}if(C.match(/(.*[!,@,#,$,%,^,&,*,?,_,~].*[!,@,#,$,%,^,&,*,?,_,~])/)){F=(F+7)}if(C.match(/([a-z].*[A-Z])|([A-Z].*[a-z])/)){F=(F+2)}if(C.match(/([a-zA-Z])/)&&C.match(/([0-9])/)){F=(F+3)}if(C.match(/([a-zA-Z0-9].*[!,@,#,$,%,^,&,*,?,_,~])|([!,@,#,$,%,^,&,*,?,_,~].*[a-zA-Z0-9])/)){F=(F+3)}for(var D=0;D<B.common.length;D++){if(C.toLowerCase()==B.common[D]){F=-200}}return F}})})(jQuery)





eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(3($){3 1d(a,c,d,e){6 b=a[c];7($.16(b)){1X{4 b.10(d,e)}1G(14){7(a.1e){1e("2c 25 A."+c+": "+14)}R{20 14;}4 P}}4 B}6 u=C;3 1o(l,r){6 o=8;7(!u){u=o}6 j=!r.1z;6 q=$(r.1a,l);6 s=0;6 h=l.S(r.17).z(0);6 n=l.S(r.Q).z(0);6 m=l.S(r.H).z(0);6 t=l.S(r.O).z(0);6 k=l.S(r.N).z(0);$.1r(o,{1P:3(){4[1,0,1]},1L:3(){4 s},1J:3(){4 r},x:3(){4 o.D().9()},1l:3(){4 L.15(8.x()/r.9)},Z:3(){4 L.15(s/r.9)},1C:3(){4 l},1A:3(){4 q},D:3(){4 q.T()},K:3(i,a,f){a=a||r.1c;7($.16(a)){f=a;a=r.1c}7(i<0){i=0}7(i>o.x()-r.9){4 o}6 e=o.D().z(i);7(!e.1b){4 o}7(1d(r,"1w",o,i)===P){4 o}7(j){6 b=-(e.28(B)*i);q.1x({24:b},a,r.19,f?3(){f.10(o)}:C)}R{6 c=-(e.23(B)*i);q.1x({22:c},a,r.19,f?3(){f.10(o)}:C)}1d(r,"1v",o,i);7(h.1b){6 g=r.w;6 d=L.15(i/r.9);d=L.21(d,h.T().1b-1);h.T().F(g).z(d).v(g)}7(i===0){n.Y(t).v(r.E)}R{n.Y(t).F(r.E)}7(i>=o.x()-r.9){m.Y(k).v(r.E)}R{m.Y(k).F(r.E)}u=o;s=i;4 o},G:3(b,c,d){6 a=s+b;7(r.1u&&a>(o.x()-r.9)){a=0}4 8.K(a,c,d)},H:3(a,b){4 8.G(1,a,b)},Q:3(a,b){4 8.G(-1,a,b)},1Z:3(a,b,c){4 8.G(r.9*a,b,c)},M:3(b,a,d){6 e=r.9;6 f=e*b;6 c=f+e>=8.x();7(c){f=8.x()-r.9}4 8.K(f,a,d)},O:3(a,b){4 8.M(8.Z()-1,a,b)},N:3(a,b){4 8.M(8.Z()+1,a,b)},1W:3(a,b){4 8.K(0,a,b)},1V:3(a,b){4 8.K(8.x()-r.9,a,b)},1U:3(){4 13()},y:3(f,c,e){6 d=o.D().z(f);6 g=r.w;7(!d.1T(g)&&(f>=0||f<8.x())){o.D().F(g);d.v(g);6 a=L.1S(r.9/2);6 b=f-a;7(b>o.x()-r.9){b--}7(b!==f){4 8.K(b,c,e)}}4 o}});7($.16($.1R.1s)){l.12("1s.A",3(e,a){6 b=$.1Q.1O?1:-1;o.G(a>0?b:-b,1N);4 P})}n.v(r.E).y(3(){o.Q()});m.y(3(){o.H()});k.y(3(){o.N()});t.v(r.E).y(3(){o.O()});7(r.1q){$(1M).1K("1n.A").12("1n.A",3(a){6 b=u;7(!b){4}7(j&&(a.J==1m||a.J==1I)){b.G(a.J==1m?-1:1);4 a.11()}7(!j&&(a.J==1p||a.J==1H)){b.G(a.J==1p?-1:1);4 a.11()}4 B})}3 13(){h.U(3(){6 b=$(8);7(b.1F(":1k")||b.I("1j")==o){b.1k();b.I("1j",o);1E(6 i=0;i<o.1l();i++){6 c=$("<"+r.1i+"/>").W("V",i).y(3(e){6 a=$(8);a.1D().T().F(r.w);a.v(r.w);o.M(a.W("V"));4 e.11()});7(i===0){c.v(r.w)}b.1B(c)}}R{6 d=b.T();d.U(3(i){6 a=$(8);a.W("V",i);7(i===0){a.v(r.w)}a.y(3(){b.1Y("."+r.w).F(r.w);a.v(r.w);o.M(a.W("V"))})})}});7(r.1h){o.D().U(3(a,b){6 c=$(8);7(!c.I("1t")){c.12("y.A",3(){o.y(a)});c.I("1t",B)}})}7(r.X){o.D().1g(3(){$(8).v(r.X)},3(){$(8).F(r.X)})}4 o}13();6 p=C;3 1f(){p=2h(3(){o.H()},r.18)}7(r.18>0){l.1g(3(){2g(p)},3(){1f()});1f()}}1y.2e.A=3(d){6 c=8.z(2d d==\'2b\'?d:0).I("A");7(c){4 c}6 b={9:5,1z:P,1h:B,1u:P,18:0,1c:2a,1q:B,w:\'29\',E:\'27\',X:C,19:\'2f\',1a:\'.1a\',Q:\'.Q\',H:\'.H\',O:\'.O\',N:\'.N\',17:\'.17\',1i:\'a\',1w:C,1v:C,1e:B};$.1r(b,d);8.U(3(){6 a=26 1o($(8),b);$(8).I("A",a)});4 8}})(1y);',62,142,'|||function|return||var|if|this|size||||||||||||||||||||||addClass|activeClass|getSize|click|eq|scrollable|true|null|getItems|disabledClass|removeClass|move|next|data|keyCode|seekTo|Math|setPage|nextPage|prevPage|false|prev|else|siblings|children|each|href|attr|hoverClass|add|getPageIndex|call|preventDefault|bind|load|error|ceil|isFunction|navi|interval|easing|items|length|speed|fireEvent|alert|setTimer|hover|clickable|naviItem|me|empty|getPageAmount|37|keypress|Scrollable|38|keyboard|extend|mousewheel|set|loop|onSeek|onBeforeSeek|animate|jQuery|vertical|getItemWrap|append|getRoot|parent|for|is|catch|40|39|getConf|unbind|getIndex|window|50|opera|getVersion|browser|fn|floor|hasClass|reload|end|begin|try|find|movePage|throw|min|top|outerHeight|left|calling|new|disabled|outerWidth|active|400|number|Error|typeof|prototype|swing|clearInterval|setInterval'.split('|'),0,{}))

$(document).ready(function(){

	$(".active-filters ul li ul").hide();					   	

	

	$(".active-filters ul li").hover(

      function () {

       $(this).find('ul').show();

	    $(this).find('ul ul').hide();

      }, 

      function () {

         $(this).find('ul').hide();

      }

    );



	

});



/*$(document).ready(function(){

		$("a.popup").fancybox({

				'zoomSpeedIn':	0, 

				'zoomSpeedOut':	0,

				'fameWidth' : 800,

				'frameHeight': 400  

		});	

	  });*/

$(document).ready(function(){

			$(".add-to-cart-popup").click(function(){

				$(".cart-pop-o").hide();

				$(this).next(".cart-pop-o").show();

			});

			$("a.close").click(function(){

				$(".cart-pop-o").hide();

			});

			$("a.close img").click(function(){

				$(".cart-pop-o").hide();

			});

		});

$(document).ready(function(){

$("a.what").hover(

      function () {

        $(this).next("span.what-box").show();

      }, 

      function () {

       $(this).next("span.what-box").hide();

      }

    );

 $("span.what").hover(

      function () {

        $(this).find("span.what-order").show();

      }, 

      function () {

       $(this).find("span.what-order").hide();

      }

    );

 $("a.why").hover(

      function () {

        $(this).find("span.why-box").css("display","block");

      }, 

      function () {

       $(this).find("span.why-box").css("display","none");

      }

    );

});

$(document).ready(function(){

	$(".Top_Nav_Dropdown ul li ul").hide();	

	$(".Top_Nav_Dropdown ul li").hover(

      function () {

       $(this).find('ul').show();

	    $(this).find('ul ul').hide();

      }, 

      function () {

         $(this).find('ul').hide();

      }

    );	

});