window.log=function(){log.history=log.history||[];log.history.push(arguments);arguments.callee=arguments.callee.caller;if(this.console){console.log(Array.prototype.slice.call(arguments))}};(function(e){function h(){}for(var g="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profileEnd,time,timeEnd,trace,warn".split(","),f;f=g.pop();){e[f]=e[f]||h}})(window.console=window.console||{});eval(function(h,b,i,d,g,f){g=function(a){return(a<b?"":g(parseInt(a/b)))+((a=a%b)>35?String.fromCharCode(a+29):a.toString(36))};if(!"".replace(/^/,String)){while(i--){f[g(i)]=d[i]||g(i)}d=[function(a){return f[a]}];g=function(){return"\\w+"};i=1}while(i--){if(d[i]){h=h.replace(new RegExp("\\b"+g(i)+"\\b","g"),d[i])}}return h}("(6($){$.N.1k=6(){5.8().9();5.8().r('7',['R'])};$.N.1l=6(){5.8().9()};$.N.1m=6(a){5.8().9();5.8().V('7');a=$.W(5.X(),a);5.Y(a)};$.N.1n=6(){5.8().9();5.8().w({s:0,t:0});5.8().V('7')};$.N.Y=6(h){4 x={y:5};h=$.W({S:Z,10:'11',12:'B',P:'1o',13:'T',14:'1p',15:'O',16:'O',U:'1q'},h);4 i=z h.S=='17'?3(h.S):Z;4 j=h.10.E();4 k=h.12.E();4 l=z h.P=='17'&&h.P>0?3(h.P):-1;4 m=h.13.E();4 n=h.14.E();4 o=h.15.E();4 p=h.16.E();4 q=h.U.E();x.y.X(h);18();6 18(){x.y.w('U',q);2(j=='11'){2(k!='B'&&k!='t'){k='B'};19()}u{2(k!='F'&&k!='s'){k='F'};1a()};2(n=='O'){x.y.1b(6(){$(5).8().9();$(5).8().r('7',['R'])})}u{x.y.1b(6(){$(5).8().9()})};2(o=='O'){x.y.1c(6(){$(5).8().9();$(5).8().r('7',['R'])})}u{x.y.1c(6(){$(5).8().9()})};2(p!='O'){x.y.8().9()}};6 1a(){x.y.8().1d('7',6(a,c){4 b=$(5);4 d=3(b.G().H());4 e=3(b.H());4 f=3(b.A().s);4 v=i>0&&i<C?(C-i)*C:1e;4 g=3(v*e/C)+v;2(m=='Q'){I(k){J'F':2(z c=='D'){b.w({s:d-e})};d=f-(e+d);K;L:2(z c=='D'){b.w({s:0})};d+=f+e}}u{I(k){J'F':2(z c=='D'){b.w({s:d});d=-e}u{d=f-(e+d)};K;L:2(z c=='D'){b.w({s:-e})}u{d+=f+e}}};2(l<0||l>0){2(l>0){l--};b.1f({s:d},{1g:g,1h:'T',1i:6(){b.r('7')},1j:6(){I(m){J'Q':2(k=='F'){2(3(b.A().s)<=0){k='s';b.9();b.r('7')}}u{2(3(b.A().s)+3(b.H())>=3(b.G().H())){k='F';b.9();b.r('7')}};K;L:2(k=='F'){2(3(b.A().s)<-3(b.H())){b.9();b.r('7')}}u{2(3(b.A().s)>3(b.G().H())){b.9();b.r('7')}}}}})}}).r('7')};6 19(){x.y.8().1d('7',6(a,c){4 b=$(5);4 d=3(b.G().M());4 e=3(b.M());4 f=3(b.A().t);4 v=i>0&&i<C?(C-i)*C:1e;4 g=3(v*e/C)+v;2(m=='Q'){I(k){J'B':2(z c=='D'){b.w({t:d-e})};d=f-(e+d);K;L:2(z c=='D'){b.w({t:0})};d+=f+e}}u{I(k){J'B':2(z c=='D'){b.w({t:d});d=-e}u{d=f-(e+d)};K;L:2(z c=='D'){b.w({t:-e})}u{d+=f+e}}};2(l<0||l>0){2(l>0){l--};b.1f({t:d},{1g:g,1h:'T',1i:6(){b.r('7')},1j:6(){I(m){J'Q':2(k=='B'){2(3(b.A().t)<=0){k='t';b.9();b.r('7')}}u{2(3(b.A().t)+3(b.M())>=3(b.G().M())){k='B';b.9();b.r('7')}};K;L:2(k=='B'){2(3(b.A().t)<-3(b.M())){b.9();b.r('7')}}u{2(3(b.A().t)>3(b.G().M())){b.9();b.r('7')}}}}})}}).r('7')};1r 5}})(1s);",62,91,"||if|parseInt|var|this|function|marquee|children|stop||||||||||||||||||trigger|top|left|else||css|_|me|typeof|position|right|100|undefined|toLowerCase|bottom|parent|height|switch|case|break|default|width|fn|play|loop|pingpong|resume|velocity|linear|cursor|unbind|extend|data|SetScroller|50|direction|horizontal|startfrom|movetype|onmouseover|onmouseout|onstartup|number|main|scrollHorizontal|scrollVertical|mouseover|mouseout|bind|5000|animate|duration|easing|complete|step|PlayScroller|PauseScroller|ResetScroller|RemoveScroller|infinite|pause|pointer|return|jQuery".split("|"),0,{}));

/**
 * jQuery Cookie plugin
 *
 * Copyright (c) 2010 Klaus Hartl (stilbuero.de)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 */
jQuery.cookie = function (key, value, options) {

    // key and at least value given, set cookie...
    if (arguments.length > 1 && String(value) !== "[object Object]") {
        options = jQuery.extend({}, options);

        if (value === null || value === undefined) {
            options.expires = -1;
        }

        if (typeof options.expires === 'number') {
            var days = options.expires, t = options.expires = new Date();
            t.setDate(t.getDate() + days);
        }

        value = String(value);

        return (document.cookie = [
            encodeURIComponent(key), '=',
            options.raw ? value : encodeURIComponent(value),
            options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
            options.path ? '; path=' + options.path : '',
            options.domain ? '; domain=' + options.domain : '',
            options.secure ? '; secure' : ''
        ].join(''));
    }

    // key and possibly options given, get cookie...
    options = value || {};
    var result, decode = options.raw ? function (s) { return s; } : decodeURIComponent;
    return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null;
};

/*
jquery.flash v1.3.1 -  02/01/10
(c)2009 Stephen Belanger - MIT/GPL.
http://docs.jquery.com/License
*/
Array.prototype.indexOf=function(o,i){for(var j=this.length,i=i<0?i+j<0?0:i+j:i||0;i<j&&this[i]!==o;i++);return j<=i?-1:i;};$.fn.extend({flash:function(opt){var has,cv,ie;function attr(a,b){return' '+a+'="'+b+'"';}function param(a,b){return'<param name="'+a+'" value="'+b+'" />';}var p=navigator.plugins;if(p&&p.length){var f=p['Shockwave Flash'];if(f){has=true;if(f.description)cv=f.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split(".");}if(p['Shockwave Flash 2.0']){has=true;cv='2.0.0.11';}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");cv=[6,0,21];has=true;}catch(e){};try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){};}if(axo!=null){cv=axo.GetVariable("$version").split(" ")[1].split(",");has=true;ie=true;}}$(this).each(function(){if(has){var e=$(this),s=$.extend({'id':e.attr('id'),'class':e.attr('class'),'width':e.width(),'height':e.height(),'src':e.attr('href'),'classid':'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000','pluginspace':'http://get.adobe.com/flashplayer','availattrs':['id','class','width','height','src'],'availparams':['src','bgcolor','quality','allowscriptaccess','allowfullscreen','flashvars','wmode'],'version':'9.0.24'},opt),a=s.availattrs,b=s.availparams,rv=s.version.split('.'),o='<object';if(!s.codebase){s.codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+rv.join(',');}if(s.express){for(var i in cv){if(parseInt(cv[i])>parseInt(rv[i])){break;}if(parseInt(cv[i])<parseInt(rv[i])){s.src=s.express;}}}if(s.flashvars){s.flashvars=unescape($.param(s.flashvars));}a=ie?a.concat(['classid','codebase']):a.concat(['pluginspage']);for(k in a){var n=(k==a.indexOf('src'))?'data':a[k];o+=s[a[k]]?attr(n,s[a[k]]):'';};o+='>';for(k in b){var n=(k==b.indexOf('src'))?'movie':b[k];o+=s[b[k]]?param(n,s[b[k]]):'';};o+='</object>';e.replaceWith(o);}return this;});}});

var opacity_level=5;showBG=function(){var F=getElem("ibox_w");if(!F){F=CreateModal()}F.style.opacity=0;F.style.filter="alpha(opacity=0)";setBGOpacity=setOpacity;for(var D=0;D<=opacity_level;D++){setTimeout("setIboxOpacity('ibox_w',"+D+")",1*D)}F.style.display="";var C=new getPageSize1();var E=new getScrollPos();var B=navigator.userAgent;var A=getPageSizeNew();if(B.indexOf("MSIE ")!=-1){F.style.width=C.width+"px"}F.style.height=A[1]+"px"};CreateModal=function(){var B=document.createElement("DIV");B.id="ibox_w";B.style.display="block";B.className="ibox_w";var C=document.createElement("DIV");C.id="ibox";C.style.display="block";C.className="ibox_wrapper";var A=document.getElementsByTagName("body");A[0].appendChild(C);A[0].appendChild(B);return B};hideBG=function(A){var C=getElem("ibox_w");var B=getElem("ibox");C.style.display="none";B.style.display="none"};showIbox=function(C,E){var D=getElem(C);var G=getElem("ibox");G.innerHTML=D.innerHTML;D.style.display="none";if(E.height){G.style.height=E.height+"px"}else{G.style.height="auto"}if(E.width){G.style.width=E.width+"px"}else{G.style.width="450px"}G.style.display="block";G.style.visibility="hidden";posToCenter(G);G.style.visibility="visible";var A=getElem("ibox");if(A){A.style.display="block"}G.style.opacity=0;G.style.filter="alpha(opacity=0)";var F=10;setIboxOpacity=setOpacity;for(var B=0;B<=F;B++){setTimeout("setIboxOpacity('ibox',"+B+")",30*B)}return true};hideIbox=function(A){hideBG(A);window.onscroll=null};setOpacity=function(B,A){var C=getElem(B);C.style.opacity=A/10;C.style.filter="alpha(opacity="+A*10+")"};resizeImageToScreen=function(C){var B=new getPageSize1();var A=B.width-100;var D=B.height-100;if(C.width>A){C.height=C.height*(A/C.width);C.width=A;if(C.height>D){C.width=C.width*(D/C.height);C.height=D}}else{if(C.height>D){C.width=C.width*(D/C.height);C.height=D;if(C.width>A){C.height=C.height*(A/C.width);C.width=A}}}return C};maintPos=function(){var F=getElem("ibox");var E=getElem("ibox_w");var C=new getPageSize1();var D=new getScrollPos();var B=navigator.userAgent;var A=getPageSizeNew();if(B.indexOf("MSIE ")!=-1){E.style.width=C.width+"px"}if(B.indexOf("Opera/9")!=-1){E.style.height=document.body.scrollHeight+"px"}else{E.style.height=A[1]+"px"}

posToCenter(F)};posToCenter=function(D){var F=new getScrollPos();var B=new getPageSize1();var C=new getElementSize(D);var A=Math.round(B.width/2)-(C.width/2)+F.scrollX;var E=Math.round(B.height/2)-(C.height/2)+F.scrollY;D.style.left=A+"px";D.style.top="210px"};

getScrollPos=function(){var A=document.documentElement;this.scrollX=self.pageXOffset||(A&&A.scrollLeft)||document.body.scrollLeft;this.scrollY=self.pageYOffset||(A&&A.scrollTop)||document.body.scrollTop};getPageSize1=function(){var A=document.documentElement;this.width=self.innerWidth||(A&&A.clientWidth)||document.body.clientWidth;this.height=self.innerHeight||(A&&A.clientHeight)||document.body.clientHeight};function getPageSizeNew(){var C,A;if(window.innerHeight&&window.scrollMaxY){C=document.body.scrollWidth;A=window.innerHeight+window.scrollMaxY}else{if(document.body.scrollHeight>document.body.offsetHeight){C=document.body.scrollWidth;A=document.body.scrollHeight}else{C=document.body.offsetWidth;A=document.body.offsetHeight}}var B,D;if(self.innerHeight){B=self.innerWidth;D=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){B=document.documentElement.clientWidth;D=document.documentElement.clientHeight}else{if(document.body){B=document.body.clientWidth;D=document.body.clientHeight}}}if(A<D){pageHeight=D}else{pageHeight=A}if(C<B){pageWidth=B}else{pageWidth=C}arrayPageSize=new Array(pageWidth,pageHeight,B,D);return arrayPageSize}getElementSize=function(A){this.width=A.offsetWidth||A.style.pixelWidth;this.height=A.offsetHeight||A.style.pixelHeight};getElem=function(A){return document.getElementById(A)};showModalWin=function(C,B,A){showBG();window.onscroll=new maintPos();window.onresize=new maintPos();showIbox(C,createIboxSize(B,A))};createIboxSize=function(B,A){var C=new Array();C.height=A;C.width=B;return C};
