(function(A){A.fn.innerfade=function(B){return this.each(function(){A.innerfade(this,B)})};A.innerfade=function(C,D){var F={"animationtype":"fade","speed":"normal","type":"sequence","timeout":2000,"containerheight":"auto","runningclass":"innerfade","children":null,"linkswrapper":null};var B=0;if(D){A.extend(F,D)}var G=(F.children===null?A(C).children():A(C).children(F.children));A("div#"+F.linkswrapper).find("a").each(function(H){this.onclick=function(J,K,L,I){return function(M){clearTimeout(A.innerfade.next.timeout_id);A.innerfade.next(J,K,L,A.innerfade.next.current_id,I)}}(G,F,B++,true)});if(G.length>1){A(C).css("position","relative").css("height",F.containerheight).addClass(F.runningclass);for(var E=0;E<G.length;E++){A(G[E]).css("z-index",String(G.length-E)).css("position","absolute").hide()}if(F.type=="sequence"){A.innerfade.next.timeout_id=setTimeout(function(){A.innerfade.next(G,F,1,0,false)},F.timeout);A(G[0]).show()}}};A.innerfade.next=function(E,C,F,D,B){A.innerfade.next.current_id=F;if(C.animationtype=="fade"){A(E[D]).fadeOut(C.speed);A(E[F]).fadeIn(C.speed,function(){removeFilter(A(this)[0])});A("div#slides_txt p#tid"+(D+1)).fadeOut(C.speed);A("div#slides_txt p#tid"+(F+1)).fadeIn(C.speed,function(){removeFilter(A(this)[0])})}if(C.type=="sequence"){if((F+1)<E.length){F=F+1;D=F-1}else{F=0;D=E.length-1}}A.innerfade.next.timeout_id=setTimeout((function(){A.innerfade.next(E,C,F,D,false)}),C.timeout)};A.innerfade.next.timeout_id=false;A.innerfade.next.current_id=0})(jQuery);function removeFilter(A){if(A.style.removeAttribute){A.style.removeAttribute("filter")}}$(document).ready(function(){var A=new Array();A[0]="/images/homepage/ver2/Designer_slide4.jpg";A[1]="/images/homepage/ver2/Designer_slide_1.png";A[2]="/images/homepage/ver2/cafe_slide.jpg";A[3]="/images/homepage/ver2/store_slide.jpg";var B=new Image();$("ul#slides li").each(function(D,E){var C=new Image();$(C).load(function(){$(this).css("display","none");$(E).removeClass("loading").prepend(this);$(this).fadeIn().click(function(){})}).error(function(){$(E).remove()}).attr({"src":A[D],"height":360,"width":450,"alt":"Fashion Fantasy Game Slide"})});$("#slides").innerfade({speed:"slow",timeout:4000,type:"sequence",containerheight:"342px",linkswrapper:"slide_nums"});$("ul#top_menu li a").hover(function(){this.style.color="#fff"},function(){this.style.color="#ED1BC0"});$("input#un").bind("focus",function(){if(this.value.toLowerCase()=="username"){this.value=""}});$("input#un").bind("blur",function(){if(this.value.toLowerCase()==""){this.value="Username"}})})