var tP=new Array("hp/01.jpg","hp/02.jpg","hp/03.jpg","hp/04.jpg","hp/05.jpg","hp/06.jpg","hp/07.jpg","hp/08.jpg","hp/09.jpg","hp/10.jpg","hp/11.jpg","hp/12.jpg","hp/13.jpg","hp/14.jpg","hp/15.jpg","hp/16.jpg","hp/17.jpg","hp/18.jpg","hp/19.jpg","hp/20.jpg","hp/21.jpg","hp/22.jpg","hp/23.jpg","hp/24.jpg","hp/25.jpg"),
t_d=0,
f_s_d=999,
fA=42,
tS=new Array(new eF("m1",0,999),new eF("m2",100,900),new eF("m3",200,800),new eF("m4",300,700),new eF("m5",400,600)),
sF=new sFo("sig",400,999),
lFi=new pFi(0,500,null),
lFo=new pFo(0,500,null),
lMO=75;

var tPL=tP.length,tIL=false,tI=new Image(),sAD=false,lAD=false;if(window.addEventListener){window.addEventListener("load",iP,false)}else{if(window.attachEvent){window.attachEvent("onload",iP)}}function iP(){tI.onload=function(){tIL=true};tI.src=pI();if(tS){var a=tS.length,c,d;for(var b=0;b<a;b++){d=tS[b];d.elmnt=document.getElementById(d.maskID);if(d.elmnt!=null){sT(d.elmnt,100)}if(lFi&&lFo){if(d.elmnt!=null){d.link=d.elmnt.previousSibling}if(d.link!=null){c=d.link;c.show=false;c.fadein=lFi;c.fadeout=lFo;sT(c,0);c.onmouseover=showFadeLink;c.onmouseout=hideFadeLink;if(c.href.indexOf("#")<0){c.onclick=l2NW}}}}a=null;d=null;c=null}if(sF){sF.elmnt=document.getElementById(sF.sigID);if(sF.elmnt!=null){sT(sF.elmnt,0);sF.elmnt.style.visibility="visible"}}if(!tIL){tI.onload=aS}else{aS()}}function l2NW(){window.open(this.href);return false}function pI(){var b="";if(tP){var a=rC("topPicsArray"),c=rC("topPicsNextIndex");if(a==null||c==null||!iUD(a)||parseInt(c)>=tPL){tP.sort(aRS);pC();b=tP[0]}else{c=CI(c,0,0,tPL-1);b=a.split("$")[c];c++;wC("topPicsNextIndex",c.toString())}a=null;c=null}return b}function iUD(b){var h=true,a=b.split("$"),g=a.length;if(g!=tPL){h=false}else{var f,e;for(var d=0;d<g;d++){f=false;e=a[d];for(var c=0;c<tPL;c++){if(tP[c]==e){f=true;break}}if(!f){h=false;break}}f=null;e=null}a=null;g=null;return h}function pC(){var a="";for(var b=0;b<tPL;b++){a+=tP[b]+"$"}a=a.replace(/\$$/,"");wC("topPicsArray",a);a=null;wC("topPicsNextIndex","1")}function aRS(){return Math.random()-0.5}function wC(a,b){document.cookie=a+"="+b+"; expires=Saturday 22,October,2016 02:55:07 PM UTC; path=/"}function rC(d){var f=null;if(document.cookie){var e=d+"=",a=document.cookie.split(";"),h=a.length,g;for(var b=0;b<h;b++){g=a[b];while(g.charAt(0)==" "){g=g.substring(1,g.length)}if(g.indexOf(e)==0){f=g.substring(e.length,g.length);break}}e=null;a=null;g=null;h=null}return f}function aS(){myULs=document.getElementsByTagName("ul");if(myULs!=null&&myULs.length>0){myULs[0].style.backgroundImage="url("+tI.src+")"}myULs=null;if(tS){var a=tS.length;for(var b=0;b<a;b++){tS[b].pFO()}a=null}if(sF){sF.pFI()}}function aE(){if(lAD&&sAD){aL();cU()}}function aL(){var a=tS.length;for(var b=0;b<a;b++){tS[b].link.style.visibility="visible"}a=null}function cU(){if(window.addEventListener){window.removeEventListener("load",iP,false)}else{if(window.attachEvent){window.detachEvent("onload",iP)}}tS=null;sF=null;t_d=null;f_s_d=null;tI=null;tP=null;tPL=null;tIL=null;lAD=null;sAD=null}function showFadeLink(a){sP(a);this.show=true;linkFadeIn(this)}function linkFadeIn(a){if(a.show&&CT(a,a.fadein.trans_step)<lMO){window.setTimeout(function(){linkFadeIn(a)},fA)}}function hideFadeLink(a){sP(a);this.show=false;linkFadeOut(this)}function linkFadeOut(a){if(!a.show&&CT(a,a.fadeout.trans_step)>a.fadeout.final_trans){window.setTimeout(function(){linkFadeOut(a)},fA)}}function sFo(a,c,b){this.sigID=a;this.timeStart=CI(c,1000,0,9999);this.fadein=new pFi(0,b,null);this.elmnt=null}sFo.prototype.pFI=function(){if(this.elmnt!=null){var b=this.timeStart;if(b<10){this.fI()}else{var a=this;window.setTimeout(function(){a.fI()},b)}b=null}};sFo.prototype.fI=function(){var a=this;if(CT(a.elmnt,a.fadein.trans_step)<100){window.setTimeout(function(){a.fI()},fA)}else{sAD=true;aE()}};function eF(c,b,a){this.maskID=c;this.timeStart=CI(b,0,0,9999);this.fadeout=new pFo(0,a,null);this.elmnt=null;this.link=null}eF.prototype.pFO=function(){if(this.elmnt!=null){var b=this.timeStart;if(b<10){this.fO()}else{var a=this;window.setTimeout(function(){a.fO()},b)}b=null}};eF.prototype.fO=function(){var a=this,b=a.elmnt;if(CT(b,a.fadeout.trans_step)>a.fadeout.final_trans){window.setTimeout(function(){a.fO()},fA)}else{b.parentNode.removeChild(b);lAD=true;aE()}b=null};function pFi(c,b,a){var d=t_d,e=f_s_d;if(a!=null){d=a.initial_trans;e=a.trans_speed}this.initial_trans=CI(c,d,0,100);d=null;this.trans_speed=CI(b,e,1,9000);e=null;this.trans_step=100*fA/this.trans_speed}function pFo(b,d,c){var a=t_d,e=f_s_d;if(c!=null){initial_transDef=c.initial_trans;e=c.trans_speed}this.final_trans=CI(b,a,0,100);a=null;this.trans_speed=CI(d,e,1,9000);e=null;this.trans_step=-100*fA/this.trans_speed}function CI(c,b,e,a){var d=b;if(c!=null&&c.toString().length>0&&!isNaN(c)){d=Math.round(c);if(d<e){d=e}else{if(d>a){d=a}}}return d}function sP(a){if(!a){var a=window.event}a.cancelBubble=true;if(a.stopPropagation){a.stopPropagation()}}function CT(a,b){return sT(a,gT(a)+b)}function gT(a){return 100*a.style.opacity}function sT(c,b){if(b<0){b=0}else{if(b>100){b=100}}var a=c.style;a.opacity=b/100;if(c.filters){a.filter="alpha(opacity="+parseInt(b)+")"}a=null;return b};