///////////////////////////
// jQuery.ScrollTo
///////////////////////////
;(function(d){var k=d.scrollTo=function(a,i,e){d(window).scrollTo(a,i,e)};k.defaults={axis:'xy',duration:parseFloat(d.fn.jquery)>=1.3?0:1};k.window=function(a){return d(window)._scrollable()};d.fn._scrollable=function(){return this.map(function(){var a=this,i=!a.nodeName||d.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!i)return a;var e=(a.contentWindow||a).document||a.ownerDocument||a;return d.browser.safari||e.compatMode=='BackCompat'?e.body:e.documentElement})};d.fn.scrollTo=function(n,j,b){if(typeof j=='object'){b=j;j=0}if(typeof b=='function')b={onAfter:b};if(n=='max')n=9e9;b=d.extend({},k.defaults,b);j=j||b.speed||b.duration;b.queue=b.queue&&b.axis.length>1;if(b.queue)j/=2;b.offset=p(b.offset);b.over=p(b.over);return this._scrollable().each(function(){var q=this,r=d(q),f=n,s,g={},u=r.is('html,body');switch(typeof f){case'number':case'string':if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(f)){f=p(f);break}f=d(f,this);case'object':if(f.is||f.style)s=(f=d(f)).offset()}d.each(b.axis.split(''),function(a,i){var e=i=='x'?'Left':'Top',h=e.toLowerCase(),c='scroll'+e,l=q[c],m=k.max(q,i);if(s){g[c]=s[h]+(u?0:l-r.offset()[h]);if(b.margin){g[c]-=parseInt(f.css('margin'+e))||0;g[c]-=parseInt(f.css('border'+e+'Width'))||0}g[c]+=b.offset[h]||0;if(b.over[h])g[c]+=f[i=='x'?'width':'height']()*b.over[h]}else{var o=f[h];g[c]=o.slice&&o.slice(-1)=='%'?parseFloat(o)/100*m:o}if(/^\d+$/.test(g[c]))g[c]=g[c]<=0?0:Math.min(g[c],m);if(!a&&b.queue){if(l!=g[c])t(b.onAfterFirst);delete g[c]}});t(b.onAfter);function t(a){r.animate(g,j,b.easing,a&&function(){a.call(this,n,b)})}}).end()};k.max=function(a,i){var e=i=='x'?'Width':'Height',h='scroll'+e;if(!d(a).is('html,body'))return a[h]-d(a)[e.toLowerCase()]();var c='client'+e,l=a.ownerDocument.documentElement,m=a.ownerDocument.body;return Math.max(l[h],m[h])-Math.min(l[c],m[c])};function p(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery);
///////////////////////////
// jqueryserialscroll
///////////////////////////
;(function($){var a='serialScroll',b='.'+a,c='bind',C=$[a]=function(b){$.scrollTo.window()[a](b)};C.defaults={duration:1e3,axis:'x',event:'click',start:0,step:1,lock:1,cycle:1,constant:1};$.fn[a]=function(y){y=$.extend({},C.defaults,y);var z=y.event,A=y.step,B=y.lazy;return this.each(function(){var j=y.target?this:document,k=$(y.target||this,j),l=k[0],m=y.items,o=y.start,p=y.interval,q=y.navigation,r;if(!B)m=w();if(y.force)t({},o);$(y.prev||[],j)[c](z,-A,s);$(y.next||[],j)[c](z,A,s);if(!l.ssbound)k[c]('prev'+b,-A,s)[c]('next'+b,A,s)[c]('goto'+b,t);if(p)k[c]('start'+b,function(e){if(!p){v();p=1;u()}})[c]('stop'+b,function(){v();p=0});k[c]('notify'+b,function(e,a){var i=x(a);if(i>-1)o=i});l.ssbound=1;if(y.jump)(B?k:w())[c](z,function(e){t(e,x(e.target))});if(q)q=$(q,j)[c](z,function(e){e.data=Math.round(w().length/q.length)*q.index(this);t(e,this)});function s(e){e.data+=o;t(e,this)};function t(e,a){if(!isNaN(a)){e.data=a;a=l}var c=e.data,n,d=e.type,f=y.exclude?w().slice(0,-y.exclude):w(),g=f.length,h=f[c],i=y.duration;if(d)e.preventDefault();if(p){v();r=setTimeout(u,y.interval)}if(!h){n=c<0?0:n=g-1;if(o!=n)c=n;else if(!y.cycle)return;else c=g-n-1;h=f[c]}if(!h||d&&o==c||y.lock&&k.is(':animated')||d&&y.onBefore&&y.onBefore.call(a,e,h,k,w(),c)===!1)return;if(y.stop)k.queue('fx',[]).stop();if(y.constant)i=Math.abs(i/A*(o-c));k.scrollTo(h,i,y).trigger('notify'+b,[c])};function u(){k.trigger('next'+b)};function v(){clearTimeout(r)};function w(){return $(m,l)};function x(a){if(!isNaN(a))return a;var b=w(),i;while((i=b.index(a))==-1&&a!=l)a=a.parentNode;return i}})}})(jQuery);
///////////////////////////
// jQuery.cookie
///////////////////////////
jQuery.cookie=function(name,value,options){if(typeof value!='undefined'){options=options||{};if(value===null){value='';options.expires=-1}var expires='';if(options.expires&&(typeof options.expires=='number'||options.expires.toUTCString)){var date;if(typeof options.expires=='number'){date=new Date();date.setTime(date.getTime()+(options.expires*24*60*60*1000))}else{date=options.expires}expires='; expires='+date.toUTCString()}var path=options.path?'; path='+(options.path):'';var domain=options.domain?'; domain='+(options.domain):'';var secure=options.secure?'; secure':'';document.cookie=[name,'=',encodeURIComponent(value),expires,path,domain,secure].join('')}else{var cookieValue=null;if(document.cookie&&document.cookie!=''){var cookies=document.cookie.split(';');for(var i=0;i<cookies.length;i++){var cookie=jQuery.trim(cookies[i]);if(cookie.substring(0,name.length+1)==(name+'=')){cookieValue=decodeURIComponent(cookie.substring(name.length+1));break}}}return cookieValue}};
///////////////////////////
// ajaxfileupload
///////////////////////////
jQuery.extend({ createUploadIframe: function(id, uri)
{ var frameId = 'jUploadFrame' + id; if(window.ActiveXObject) { var io = document.createElement('<iframe id="' + frameId + '" name="' + frameId + '" />'); if(typeof uri== 'boolean'){ io.src = 'javascript:false';}
else if(typeof uri== 'string'){ io.src = uri;}
}
else { var io = document.createElement('iframe'); io.id = frameId; io.name = frameId;}
io.style.display = 'none'; io.style.position = 'absolute'; io.style.width = '1px'; io.style.height = '1px'; document.body.appendChild(io); return io
}, createUploadForm: function(id, sformId, options)
{ var formId = 'jUploadForm' + id; var form = $('<form  action="" method="POST" name="' + formId + '" id="' + formId + '" enctype="multipart/form-data"></form>'); $.each($('#'+sformId+' input'), function ()
{ var newElement = $(this).clone(); $(this).before(newElement); $(this).appendTo(form);}); $.each(options, function (n, val)
{ $('<input type="hidden" value="'+val+'" name="'+n+'">').appendTo(form);}); $(form).css('position', 'absolute'); $(form).css('top', '-1800px'); $(form).css('left', '-1800px'); $(form).appendTo('body'); return form;}, ajaxFileUpload: function(s) { s = jQuery.extend({}, jQuery.ajaxSettings, s); var id = new Date().getTime()
var form = jQuery.createUploadForm(id, s.sformId, s.options); var io = jQuery.createUploadIframe(id, s.secureuri); var frameId = 'jUploadFrame' + id; var formId = 'jUploadForm' + id; if ( s.global && ! jQuery.active++ )
{ jQuery.event.trigger( "ajaxStart" );}
var requestDone = false; var xml = {}
if ( s.global )
jQuery.event.trigger("ajaxSend", [xml, s]); var uploadCallback = function(isTimeout)
{ var io = document.getElementById(frameId); try
{ if(io.contentWindow)
{ xml.responseText = io.contentWindow.document.body?io.contentWindow.document.body.innerHTML:null; xml.responseXML = io.contentWindow.document.XMLDocument?io.contentWindow.document.XMLDocument:io.contentWindow.document;}else if(io.contentDocument)
{ xml.responseText = io.contentDocument.document.body?io.contentDocument.document.body.innerHTML:null; xml.responseXML = io.contentDocument.document.XMLDocument?io.contentDocument.document.XMLDocument:io.contentDocument.document;}
}catch(e)
{ jQuery.handleError(s, xml, null, e);}
if ( xml || isTimeout == "timeout")
{ requestDone = true; var status; try { status = isTimeout != "timeout" ? "success" : "error"; if ( status != "error" )
{ var data = jQuery.uploadHttpData( xml, s.dataType ); if ( s.success )
s.success( data, status ); if( s.global )
jQuery.event.trigger( "ajaxSuccess", [xml, s] );} else
jQuery.handleError(s, xml, status);} catch(e)
{ status = "error"; jQuery.handleError(s, xml, status, e);}
if( s.global )
jQuery.event.trigger( "ajaxComplete", [xml, s] ); if ( s.global && ! --jQuery.active )
jQuery.event.trigger( "ajaxStop" ); if ( s.complete )
s.complete(xml, status); jQuery(io).unbind()
setTimeout(function()
{ try
{ $(io).remove(); $(form).remove();} catch(e)
{ jQuery.handleError(s, xml, null, e);}
}, 100)
xml = null
}
}
if ( s.timeout > 0 )
{ setTimeout(function(){ if( !requestDone ) uploadCallback( "timeout" );}, s.timeout);}
try
{ var form = $('#' + formId); $(form).attr('action', s.url); $(form).attr('method', 'POST'); $(form).attr('target', frameId); if(form.encoding)
{ form.encoding = 'multipart/form-data';}
else
{ form.enctype = 'multipart/form-data';}
$(form).submit(); if ( s.start )
s.start();} catch(e)
{ jQuery.handleError(s, xml, null, e);}
if(window.attachEvent){ document.getElementById(frameId).attachEvent('onload', uploadCallback);}
else{ document.getElementById(frameId).addEventListener('load', uploadCallback, false);}
return {abort: function () {
$('#' + frameId).each(function() {
this.src = "javascript:false"; 
});
}};}, uploadHttpData: function( r, type ) { var data = !type; data = type == "xml" || data ? r.responseXML : r.responseText; if ( type == "script" )
jQuery.globalEval( data ); if ( type == "json" )
eval( "data = " + data ); if ( type == "html" )
jQuery("<div>").html(data).evalScripts(); return data;}
})

///////////////////////////
// jQuery Timers
///////////////////////////
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}('5.4.A({N:b(c,3,4,a){h 8.m(b(){5.e.r(8,c,3,4,a)})},O:b(c,3,4){h 8.m(b(){5.e.r(8,c,3,4,1)})},P:b(3,4){h 8.m(b(){5.e.j(8,3,4)})}});5.A({e:{t:[],B:1,k:"5.e",C:/^([0-9]+(?:\\.[0-9]*)?)\\s*(.*s)?$/,D:{\'Q\':1,\'R\':10,\'S\':T,\'s\':U,\'V\':W,\'X\':Y,\'Z\':11},E:b(l){7(l==12||l==u)h u;g n=8.C.13(5.14(l.15()));7(n[2]){g F=16(n[1]);g G=8.D[n[2]]||1;h F*G}v{h l}},r:b(d,c,3,4,a){g w=0;7(5.17(3)){7(!a)a=4;4=3;3=c}c=5.e.E(c);7(H c!=\'I\'||J(c)||c<0)h;7(H a!=\'I\'||J(a)||a<0)a=0;a=a||0;g 6=5.x(d,8.k)||5.x(d,8.k,{});7(!6[3])6[3]={};4.f=4.f||8.B++;g y=b(){7((++w>a&&a!==0)||4.18(d,w)===19)5.e.j(d,3,4)};y.f=4.f;7(!6[3][4.f])6[3][4.f]=o.1a(y,c);8.t.1b(d)},j:b(d,3,4){g 6=5.x(d,8.k),i;7(6){7(!3){p(3 q 6)8.j(d,3,4)}v 7(6[3]){7(4){7(4.f){o.K(6[3][4.f]);z 6[3][4.f]}}v{p(g 4 q 6[3]){o.K(6[3][4]);z 6[3][4]}}p(i q 6[3])L;7(!i){i=u;z 6[3]}}p(i q 6)L;7(!i)5.1c(d,8.k)}}}});5(o).1d("1e",b(){5.m(5.e.t,b(1f,M){5.e.j(M)})});',62,78,'|||label|fn|jQuery|timers|if|this||times|function|interval|element|timer|timerID|var|return|ret|remove|dataKey|value|each|result|window|for|in|add||global|null|else|counter|data|handler|delete|extend|guid|regex|powers|timeParse|num|mult|typeof|number|isNaN|clearInterval|break|item|everyTime|oneTime|stopTime|ms|cs|ds|100|1000|das|10000|hs|100000|ks||1000000|undefined|exec|trim|toString|parseFloat|isFunction|call|false|setInterval|push|removeData|bind|unload|index'.split('|'),0,{}))

///////////////////////////
// hoverIntent
///////////////////////////
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}('(5($){$.K.L=5(f,g){6 8={v:7,m:M,w:0};8=$.x(8,g?{y:f,z:g}:f);6 b,c,d,h;6 i=5(3){b=3.A;c=3.B};6 n=5(3,2){2.4=o(2.4);9((C.D(d-b)+C.D(h-c))<8.v){$(2).E("q",i);2.j=1;k 8.y.F(2,[3])}G{d=b;h=c;2.4=r(5(){n(3,2)},8.m)}};6 H=5(3,2){2.4=o(2.4);2.j=0;k 8.z.F(2,[3])};6 s=5(e){6 p=(e.I=="t"?e.N:e.O)||e.P;Q(p&&p!=a){R{p=p.S}T(e){p=a}}9(p==a){k U}6 3=J.x({},e);6 2=a;9(2.4){2.4=o(2.4)}9(e.I=="t"){d=3.A;h=3.B;$(2).u("q.l",i);9(2.j!=1){2.4=r(5(){n(3,2)},8.m)}}G{$(2).E("q.l",i);9(2.j==1){2.4=r(5(){H(3,2)},8.w)}}};k a.u(\'t.l\',s).u(\'V.l\',s)}})(J);',58,58,'||ob|ev|hoverIntent_t|function|var||cfg|if|this|cX|cY|pX||||pY|track|hoverIntent_s|return|cluetip|interval|compare|clearTimeout||mousemove|setTimeout|handleHover|mouseover|bind|sensitivity|timeout|extend|over|out|pageX|pageY|Math|abs|unbind|apply|else|delay|type|jQuery|fn|hoverIntent|100|fromElement|toElement|relatedTarget|while|try|parentNode|catch|false|mouseout'.split('|'),0,{}))

///////////////////////////
// dropshadow
///////////////////////////
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}('(m($){b n=1;$.v.p=m(D){b l=$.12({d:3,f:3,h:2,q:.8,w:"13",E:14},D);b x=$([]);c.15(".p").F(m(){b a=$(c);b g=[];b h=(l.h<=0)?0:l.h;b q=(h==0)?l.q:l.q/(h*8);s(N(a.9("r"))!=\'\'){n=N(a.9("r"))}G{a.9("r",n)}b O=(l.E)?n:n+1;b H=(l.E)?n+1:n;b k;s(c.y){k=c.y+"16"}G{k="17"+(1+P.18(19*P.1a()))}$.z(c,"k",k);$.z(c,"A",D);a.Q("k",k).9("r",O);s(a.9("o")!="I"){a.9({o:"1b",1c:1})}B=a.9("1d");s(B=="1e(0, 0, 0, 0)")B="R";s(B!="R"||a.9("1f")!="1g"||c.J=="1h"||c.J=="1i"||c.J=="1j"){g[0]=$("<t></t>").9("1k",l.w)}G{g[0]=a.S().K("y").K("1l").K("k").9("w",l.w)}g[0].T("p").9({1m:a.1n(),d:h,q:q,o:"I",f:h,1o:a.1p(),r:H});b L=(8*h)+1;U(i=1;i<L;i++){g[i]=g[0].S()}b i=1;b j=h;1q(j>0){g[i].9({d:j*2,f:0});g[i+1].9({d:j*4,f:j*2});g[i+2].9({d:j*2,f:j*4});g[i+3].9({d:0,f:j*2});g[i+4].9({d:j*3,f:j});g[i+5].9({d:j*3,f:j*3});g[i+6].9({d:j,f:j*3});g[i+7].9({d:j,f:j});i+=8;j--}b u=$("<t></t>").Q("y",k).T("p").9({d:a.o().d+l.d-h,V:a.9("V"),W:a.9("W"),X:a.9("X"),Y:a.9("Y"),o:"I",f:a.o().f+l.f-h,r:H});U(i=0;i<L;i++){u.Z(g[i])}a.1r(u);x=x.1s(u);$(1t).1u(m(){1v{u.9({d:a.o().d+l.d-h,f:a.o().f+l.f-h})}1w(e){}});n+=2});C c.1x(x)};$.v.1y=m(){c.10();C c.F(m(){b A=$.z(c,"A");$(c).p(A)})};$.v.10=m(){C c.F(m(){b k=$(c).k();$("t#"+k).1z()})};$.v.k=m(){C $.z(c[0],"k")};$(m(){b M="<11 1A=\'1B/9\' 1C=\'1D\'>";M+=".p{1E:1F;}</11>";$("1G").Z(M)})})(1H);',62,106,'|||||||||css|jthis|var|this|left||top|shadows|blur|||shadowId|opt|function|dropShadowZindex|position|dropShadow|opacity|zIndex|if|div|divShadow|fn|color|jShadows|id|data|shadowOptions|bgColor|return|options|swap|each|else|zShadow|absolute|nodeName|removeAttr|layers|noPrint|parseInt|zOriginal|Math|attr|transparent|clone|addClass|for|marginTop|marginRight|marginBottom|marginLeft|append|removeShadow|style|extend|black|false|not|_dropShadow|ds|floor|9999|random|relative|zoom|backgroundColor|rgba|backgroundImage|none|SELECT|INPUT|TEXTAREA|background|name|height|outerHeight|width|outerWidth|while|after|add|window|resize|try|catch|pushStack|redrawShadow|remove|type|text|media|print|visibility|hidden|head|jQuery'.split('|'),0,{}))

///////////////////////////
// cluetip
///////////////////////////
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}('(c($){$.7={3p:\'1.0.5\'};b $7,$h,$1q,$19,$1a,$1b,$t,1r;b O=0;$.1s.7=c(A,B){8(2s A==\'3q\'){B=A;A=2t}8(A==\'3r\'){F 9.1t(\'.7\')}F 9.3s(c(2u){b n=9,$9=$(9);b 4=$.2v(u,{},$.1s.7.2w,B||{},$.2x?$9.2x():$.2y?$9.m():{});b 1u=l;b 1c=+4.1c;$9.m(\'Y\',{v:n.v,q:1c});b Z=l;8(!$(\'#7\').1T){$([\'<k P="7">\',\'<k P="7-2z">\',\'<2A P="7-v"></2A>\',\'<k P="7-1J"></k>\',\'</k>\',\'<k P="7-3t"></k>\',\'<k P="7-1d" 2B="7-1d"></k>\',\'</k>\'].3u(\'\'))[1e](1v).r();$7=$(\'#7\').f({1K:\'1U\'});$1q=$(\'#7-2z\').f({1K:\'3v\',q:1c});$h=$(\'#7-1J\');$19=$(\'#7-v\');$1a=$(\'#7-1d\');$1b=$(\'<k P="7-3w"></k>\').f({1K:\'1U\'}).2C($7).r()}b Q=(4.t)?+4.Q:0;8(!$t){$t=$([]);2D(b i=0;i<Q;i++){$t=$t.3x($(\'<k></k>\').f({q:1c-1,3y:.16,G:1+i,H:1+i}))};$t.f({1K:\'1U\',3z:\'#3A\'}).1L($7)}b w=$9.1f(4.1V),1w=4.2E;8(!w&&!4.1M&&!A)F u;8(4.1x&&4.1W){w=4.1W+w}8(4.1x&&4.2F){$(w+\':3B\').r()}b E=I(4.2G,10),R=I(4.2H,10);b J,1N,1y=3C(I(4.K,10))?\'1g\':(/\\D/g).11(4.K)?4.K:4.K+\'1X\';b 1z,2I,L,x,1h,1A;b 1O=I(4.1B,10)||2J,s=1O+(I($7.f(\'3D\'),10)||0)+(I($7.f(\'3E\'),10)||0)+Q,1i=9.3F,M,o,3G,y,12;b 13;b z=(4.1V!=\'v\')?$9.1f(4.1Y):\'\';8(4.1M){8(z==3H){z=\'\'}13=z.2K(4.1M);z=13.3I()}8(4.2L){z=z.1C(/&/g,\'&3J;\').1C(/>/g,\'&3K;\').1C(/</g,\'&3L;\')}b 1Z;c 2M(){F l}b 1D=c(d){1E(O);8(!4.2N($9)){F l}$t.r();$7.r();Z=u;$7.1j().f({1B:1O});8(w==$9.1f(\'2O\')){$9.f(\'1P\',4.1P)}8(4.1F){$9.1k(4.1F)}2I=L=$9.2P().G;M=$9.2P().H;y=d.21;1h=d.1l;8(n.22.23()!=\'24\'){1z=$(2Q).3M();12=$(2R).1B()}8(4.14==\'2S\'){o=1i+M+R;$7.f({H:o})}j{o=(1i>M&&M>s)||M+1i+s+R>12?M-s-R:1i+M+R;8(n.22.23()==\'24\'||4.14==\'2T\'||1i+s>12){8(y+20+s>12){$7.1k(\' 7-\'+1w);o=(y-s-R)>=0?y-s-R-I($7.f(\'3N\'),10)+I($h.f(\'3O\'),10):y-(s/2)}j{o=y+R}}b T=o<0?d.1l+E:d.1l;$7.f({H:(o>0&&4.14!=\'2U\')?o:(y+(s/2)>12)?12/2-s/2:25.26(y-(s/2),0),q:$9.m(\'Y\').q});$1a.f({q:$9.m(\'Y\').q+1})}1N=$(2R).K();8(A){8(2s A==\'c\'){A=A.U(n)}$h.C(A);V(T)}j 8(13){b 27=13.1T;$h.C(13[0]);8(27>1){2D(b i=1;i<27;i++){$h.3P(\'<k 2B="2K-2V">\'+13[i]+\'</k>\')}}V(T)}j 8(!4.1x&&w.3Q(\'#\')!=0){8(/\\.(3R?g|3S?|3T|3U)$/i.11(w)){$h.C(\'<28 3V="\'+w+\'" 3W="\'+z+\'" />\');V(T)}j 8(1u&&4.2W){$h.C(1u);V(T)}j{b 29=4.W.2X,2a=4.W.2b,2c=4.W.2Y,2d=4.W.2Z;b W={3X:l,3Y:w,2X:c(1m){8(29){29.U(n,1m,$7,$h)}$1q.3Z().40();8(4.30){$1b.f({G:1h+20,H:y+20,q:$9.m(\'Y\').q-1}).X()}},2b:c(1m,1n){8(Z){8(2a){2a.U(n,1m,1n,$7,$h)}j{$h.C(\'<i>41, 42 43 44 45 46 47</i>\')}}},2Y:c(m,1n){1u=4.31.U(n,m);8(Z){8(2c){2c.U(n,m,1n,$7,$h)}$h.C(1u)}},2Z:c(1m,1n){8(2d){2d.U(n,1m,1n,$7,$h)}1r=$(\'#7-1J 28\').1T;8(1r&&!$.48.49){$(\'#7-1J 28\').p(\'4a 2b\',c(){1r--;8(1r<1){$1b.r();8(Z)V(T)}})}j{$1b.r();8(Z){V(T)}}}};b 32=$.2v(u,{},4.W,W);$.4b(32)}}j 8(4.1x){b $1Z=$(w+(/#\\S+$/.11(w)?\'\':\':4c(\'+2u+\')\')).4d(u).X();$h.C($1Z);V(T)}};b V=c(33){$7.1k(\'7-\'+1w);8(4.2e){b $34=$h.4e().4f(0,4.2e)+\'...\';$h.C($34)}c 4g(){};z?$19.X().C(z):(4.35)?$19.X().C(\'&4h;\'):$19.r();8(4.2f){b $1G=$(\'<k P="7-4i"><a 2O="#">\'+4.36+\'</a></k>\');(4.2g==\'37\')?$1G.2h($h):(4.2g==\'v\')?$1G.1L($19):$1G.1L($h);$1G.p(\'1H.7\',c(){1o();F l});8(4.38){$7.p(\'1Q.7\',c(){1E(O);O=39(1o,4.3a)})}j{$7.1t(\'1Q.7\')}$7.p(\'3b.7\',c(){1E(O)})}b N=\'\';$1q.f({q:$9.m(\'Y\').q,4j:1y==\'1g\'?\'4k\':\'1g\',K:1y});J=1y==\'1g\'?25.26($7.4l(),$7.K()):I(1y,10);x=L;1A=1z+1N;8(4.14==\'2S\'){x=L-4.Q+E}j 8((o<y&&25.26(o,0)+s>y)||4.14==\'2U\'){8(L+J+E>1A&&1h-1z>J+E){x=1h-J-E;N=\'G\'}j{x=1h+E;N=\'37\'}}j 8(L+J+E>1A){x=(J>=1N)?1z:1A-J-E}j 8($9.f(\'4m\')==\'4n\'||n.22.23()==\'24\'||4.14=="2T"){x=33-E}j{x=L-4.Q}8(N==\'\'){o<M?N=\'H\':N=\'2i\'}$7.f({G:x+\'1X\'}).1j().1k(\'4o-\'+N+\'-\'+1w).1k(\' 7-\'+1w);8(4.1d){b 2j=(L-x-4.Q);$1a.f({G:(/(H|2i)/.11(N)&&o>=0&&2j>0)?2j+\'1X\':/(H|2i)/.11(N)?0:\'\'}).X()}j{$1a.r()}$t.r();$7.r()[4.1R.2k](4.1R.2k!=\'X\'&&4.1R.3c);8(4.t){$t.f({K:J,1B:1O,q:$9.m(\'Y\').q-1}).X()}8($.1s.3d){$7.3d()}8(4.2l>0){1E(O);O=39(1o,4.2l)}4.3e.U(n,$7,$h)};b 1I=c(d){Z=l;1E(O);$1b.r();8(!4.2f||(/1H|3f/).11(4.1S)){1o()};8(4.1F){$9.1j(4.1F)}};b 1o=c(){$1q.4p().r().1j();4.3g.U(n,$7,$h);8($9.2m(\'.7-1p\'))$9.1j(\'7-1p\');8(z){$9.1f(4.1Y,z)}$9.f(\'1P\',\'\');8(4.1d)$1a.f({G:\'\'})};$(2Q).p(\'4q\',c(e){1o()});8((/1H|3f/).11(4.1S)){$9.p(\'1H.7\',c(d){8($7.2m(\':4r\')||!$9.2m(\'.7-1p\')){1D(d);$(\'.7-1p\').1j(\'7-1p\');$9.1k(\'7-1p\')}j{1I(d)}9.3h();F l})}j 8(4.1S==\'3i\'){$9.p(\'3i.7\',c(d){1D(d)});$9.p(\'3h.7\',c(d){1I(d)})}j{$9[4.3j?\'1t\':\'p\'](\'1H\',2M);b 2n=c(17){8(4.3k==u){b 3l=o-17.21;b 3m=x?x-17.1l:L-17.1l;$9.p(\'2o.7\',c(17){$7.f({H:17.21+3l,G:17.1l+3m})})}};8($.1s.18&&4.18){$9.18({2p:4.18.2p,2q:4.18.2q,4s:c(d){1D(d);2n(d)},2r:4.18.2r,4t:c(d){1I(d);$9.1t(\'2o.7\')}})}j{$9.p(\'4u.7\',c(d){1D(d);2n(d)}).p(\'1Q.7\',c(d){1I(d);$9.1t(\'2o.7\')})}$9.p(\'3b.7\',c(d){$9.1f(\'v\',\'\')}).p(\'1Q.7\',c(d){$9.1f(\'v\',$9.m(\'Y\').v)})}})};$.1s.7.2w={1B:2J,K:\'1g\',1c:4v,14:\'1g\',2G:15,2H:15,1x:l,1W:2t,2F:u,1V:\'4w\',1Y:\'v\',1M:\'\',2L:l,35:u,2E:\'4x\',1F:\'\',30:u,1P:\'4y\',1d:l,t:u,Q:6,2f:l,38:l,3a:0,1S:\'4z\',3j:l,3k:l,2l:0,2g:\'G\',36:\'4A\',2e:0,1R:{2k:\'X\',3c:\'\'},18:{2p:3,2q:4B,2r:0},2N:c(e){F u},3e:c(3n,3o){},3g:c(3n,3o){},2W:u,31:c(m){m=m.1C(/<(v)[^<]+<\\/(v)>/4C,\'\').1C(/<(n|2y)[^>]+>/g,\'\');F m},W:{4D:\'C\'},4E:l};b 1e=\'2h\',1v=\'2V\';$.7.4F=c(B){8(B&&B.1e&&(B.1e).4G(/2h|1L|2C|4H/)){1e=B.1e}8(B&&B.1v){1v=B.1v}}})(4I);',62,293,'||||opts|||cluetip|if|this||var|function|event||css||cluetipInner||else|div|false|data|link|posX|bind|zIndex|hide|tipWidth|dropShadow|true|title|tipAttribute|tipY|mouseX|tipTitle|js|options|html||tOffset|return|top|left|parseInt|tipHeight|height|posY|linkLeft|direction|closeOnDelay|id|dropShadowSteps|lOffset||pY|call|cluetipShow|ajaxSettings|show|thisInfo|isActive||test|winWidth|tipParts|positionBy|||evt|hoverIntent|cluetipTitle|cluetipArrows|cluetipWait|cluezIndex|arrows|insertionType|attr|auto|mouseY|linkWidth|removeClass|addClass|pageY|xhr|textStatus|cluetipClose|clicked|cluetipOuter|imgCount|fn|unbind|cluetipContents|insertionElement|ctClass|local|defHeight|sTop|baseline|width|replace|activate|clearTimeout|hoverClass|closeLink|click|inactivate|inner|position|prependTo|splitTitle|wHeight|tipInnerWidth|cursor|mouseleave|fx|activation|length|absolute|attribute|localPrefix|px|titleAttribute|localContent||pageX|tagName|toLowerCase|area|Math|max|tpl|img|optionBeforeSend|optionError|error|optionSuccess|optionComplete|truncate|sticky|closePosition|appendTo|right|bgY|open|delayedClose|is|mouseTracks|mousemove|sensitivity|interval|timeout|typeof|null|index|extend|defaults|metadata|meta|outer|h3|class|insertBefore|for|cluetipClass|hideLocal|topOffset|leftOffset|linkTop|275|split|escapeTitle|returnFalse|onActivate|href|offset|document|window|fixed|mouse|bottomTop|body|ajaxCache|beforeSend|success|complete|waitImage|ajaxProcess|ajaxMergedSettings|bpY|truncloaded|showTitle|closeText|bottom|mouseOutClose|setTimeout|delayedMouseOutClose|mouseover|openSpeed|bgiframe|onShow|toggle|onHide|blur|focus|clickThrough|tracking|trackX|trackY|ct|ci|version|object|destroy|each|extra|join|relative|waitimage|add|opacity|backgroundColor|000|first|isNaN|paddingLeft|paddingRight|offsetWidth|tipX|undefined|shift|amp|gt|lt|scrollTop|marginLeft|marginRight|append|indexOf|jpe|tiff|gif|png|src|alt|cache|url|children|empty|sorry|the|contents|could|not|be|loaded|browser|opera|load|ajax|eq|clone|text|slice|doNothing|nbsp|close|overflow|visible|outerHeight|display|block|clue|parent|hideCluetip|hidden|over|out|mouseenter|97|rel|default|help|hover|Close|50|gm|dataType|debug|setup|match|insertAfter|jQuery'.split('|'),0,{}))

///////////////////////////
// ui dialog
//////////////////////////
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}('(8($){g 1S={1T:"1s.E",15:"15.E",1U:"1t.E",1e:"1e.k",P:"P.k",1f:"1f.k",1g:"1g.k",1V:"1s.k",B:"15.k",1W:"1t.k"},1X=\'4-6 \'+\'4-F \'+\'4-F-G \'+\'4-1u-1v \';$.F("4.6",{3h:8(){3.1w=3.i.C(\'A\');g b=3,5=3.5,A=5.A||3.1w||\'&2C;\',1Y=$.4.6.2D(3.i),9=(3.9=$(\'<10/>\')).H(l.I).Q().m(1X+5.1x).r({1y:\'3i\',3j:\'2E\',16:5.16}).C(\'3k\',-1).r(\'3l\',0).1Z(8(d){(5.20&&d.R&&d.R==$.4.R.2F&&b.S(d))}).C({2G:\'6\',\'3m-3n\':1Y}).21(8(d){b.22(D,d)}),3o=3.i.1z().3p(\'A\').m(\'4-6-G \'+\'4-F-G\').H(9),11=(3.11=$(\'<10></10>\')).m(\'4-6-23 \'+\'4-F-3q \'+\'4-1u-1v \'+\'4-2H-2I\').2J(9),17=$(\'<a 3r="#"/>\').m(\'4-6-23-S \'+\'4-1u-1v\').C(\'2G\',\'1A\').18(8(){17.m(\'4-J-18\')},8(){17.T(\'4-J-18\')}).x(8(){17.m(\'4-J-x\')}).2K(8(){17.T(\'4-J-x\')}).21(8(2L){2L.3s()}).24(8(d){b.S(d);o D}).H(11),25=(3.25=$(\'<2M/>\')).m(\'4-1B \'+\'4-1B-3t\').26(5.27).H(17),3u=$(\'<2M/>\').m(\'4-6-A\').C(\'2N\',1Y).2O(A).2J(11);11.1h("*").1i(11).3v();(5.E&&$.19.E&&3.28());(5.k&&$.19.k&&3.29());3.2a(5.U);3.1j=D;(5.12&&$.19.12&&9.12());(5.2P&&3.2b())},V:8(){c(3.5.K)3.9.1k();(3.f&&3.f.V());3.9.Q();3.i.2c(\'.6\').3w(\'6\').T(\'4-6-G 4-F-G\').Q().H(\'I\');3.9.2d();(3.1w&&3.i.C(\'A\',3.1w))},S:8(d){g b=3;c(D===b.1a(\'3x\',d)){o}c(b.5.K)b.9.1k();(b.f&&b.f.V());b.9.2c(\'2e.4-6\');(b.5.Q?b.9.Q(b.5.Q,8(){b.1a(\'S\',d)}):b.9.Q()&&b.1a(\'S\',d));$.4.6.f.B();b.1j=D;c(b.5.1b){g j=0;$(\'.4-6\').1l(8(){c(3!=b.9[0]){j=L.M(j,$(3).r(\'z-1C\'))}});$.4.6.j=j}},2Q:8(){o 3.1j},22:8(2R,d){c((3.5.1b&&!2R)||(!3.5.2S&&!3.5.1b)){o 3.1a(\'x\',d)}c(3.5.16>$.4.6.j){$.4.6.j=3.5.16}(3.f&&3.f.$y.r(\'z-1C\',$.4.6.f.j=++$.4.6.j));g 2T={2f:3.i.C(\'2f\'),2g:3.i.C(\'2g\')};3.9.r(\'z-1C\',++$.4.6.j);3.i.C(2T);3.1a(\'x\',d)},2b:8(){c(3.1j){o}g 5=3.5,9=3.9;3.f=5.1b?3y $.4.6.f(3):1D;(9.3z().1E&&9.H(\'I\'));3.1F();3.2h(5.1y);9.1z(5.1z);3.22(W);(5.1b&&9.1G(\'2e.4-6\',8(d){c(d.R!=$.4.R.3A){o}g 2i=$(\':2j\',3),13=2i.2k(\':13\')[0],1H=2i.2k(\':1H\')[0];c(d.2l==1H&&!d.2U){2m(8(){13.x()},1)}14 c(d.2l==13&&d.2U){2m(8(){1H.x()},1)}}));c(5.K)9.1I();$([]).1i(9.1h(\'.4-6-G :2j:13\')).1i(9.1h(\'.4-6-2n :2j:13\')).1i(9).2k(\':13\').x();3.1a(\'2b\');3.1j=W},2a:8(U){g b=3,2o=D,2p=$(\'<10></10>\').m(\'4-6-2n \'+\'4-F-G \'+\'4-2H-2I\');3.9.1h(\'.4-6-2n\').2d();(2q U==\'3B\'&&U!==1D&&$.1l(U,8(){o!(2o=W)}));c(2o){$.1l(U,8(2V,19){$(\'<1A 3C="1A"></1A>\').m(\'4-J-2r \'+\'4-1u-1v\').26(2V).24(8(){19.X(b.i[0],Y)}).18(8(){$(3).m(\'4-J-18\')},8(){$(3).T(\'4-J-18\')}).x(8(){$(3).m(\'4-J-x\')}).2K(8(){$(3).T(\'4-J-x\')}).H(2p)});2p.H(3.9)}},28:8(){g b=3,5=3.5,2W;3.9.E({2X:\'.4-6-G\',3D:\'.4-6-23\',3E:\'l\',1s:8(){b.i.r(\'2Y\',\'2E\');c(5.K)$(3).1k();2W=5.h;$(3).m("4-6-2Z");(5.1T&&5.1T.X(b.i[0],Y))},15:8(){(5.15&&5.15.X(b.i[0],Y))},1t:8(){b.i.r(\'2Y\',\'3F\');c(5.K)$(3).1I();$(3).T("4-6-2Z");(5.1U&&5.1U.X(b.i[0],Y));$.4.6.f.B()}})},29:8(Z){Z=(Z===3G?3.5.k:Z);g b=3,5=3.5,30=2q Z==\'31\'?Z:\'n,e,s,w,2s,3H,3I,3J\';3.9.k({2X:\'.4-6-G\',3K:3.i,1f:5.1f,1e:5.1e,1g:5.1g,P:5.P,1s:8(){c(5.K)$(3).1k();$(3).m("4-6-32");(5.1V&&5.1V.X(b.i[0],Y))},B:8(){(5.B&&5.B.X(b.i[0],Y))},Z:30,1t:8(){$(3).T("4-6-32");5.h=$(3).h();5.p=$(3).p();(5.1W&&5.1W.X(b.i[0],Y));$.4.6.f.B();c(5.K)$(3).1I()}}).1h(\'.4-k-2s\').m(\'4-1B 4-1B-3L-3M-2s\')},2h:8(q){g 1m=$(1n),2t=$(l),N=2t.2f(),1c=2t.2g(),33=N;c($.34(q,[\'1o\',\'1J\',\'2u\',\'2v\',\'1K\'])>=0){q=[q==\'2u\'||q==\'1K\'?q:\'1o\',q==\'1J\'||q==\'2v\'?q:\'2w\']}c(q.2x!=3N){q=[\'1o\',\'2w\']}c(q[0].2x==35){1c+=q[0]}14{2y(q[0]){t\'1K\':1c+=0;v;t\'2u\':1c+=1m.p()-3.9.36();v;2r:t\'1o\':1c+=(1m.p()-3.9.36())/2}}c(q[1].2x==35){N+=q[1]}14{2y(q[1]){t\'1J\':N+=0;v;t\'2v\':N+=1m.h()-3.9.37();v;2r:t\'2w\':N+=(1m.h()-3.9.37())/2}}N=L.M(N,33);3.9.r({1J:N,1K:1c})},38:8(1L,u){(1S[1L]&&3.9.39(1S[1L],u));c(3.5.K)3.9.1k();2y(1L){t"U":3.2a(u);v;t"27":3.25.26(u);v;t"1x":3.9.T(3.5.1x).m(1X+u);v;t"E":(u?3.28():3.9.E(\'V\'));v;t"h":3.5.h=u;3.1F();v;t"1y":3.2h(u);v;t"k":g 9=3.9,1M=3.9.3O(\':39(k)\');(1M&&!u&&9.k(\'V\'));(1M&&2q u==\'31\'&&9.k(\'3P\',\'Z\',u));(1M||3.29(u));v;t"A":$(".4-6-A",3.11).2O(u||\'&2C;\');v;t"p":3.5.p=u;3.1F();v}$.F.3a.38.X(3,Y);c(3.5.K)3.9.1I()},1F:8(){g 5=3.5;3.i.r({h:0,P:0,p:\'1p\'});g 2z=3.9.r({h:\'1p\',p:5.p}).h();3.i.r({P:L.M(5.P-2z,0),h:5.h==\'1p\'?\'1p\':L.M(5.h-2z,0)})}});$.2A($.4.6,{2B:"1.7.2",3Q:{2P:W,12:D,U:{},20:W,27:\'S\',1x:\'\',E:W,Q:1D,h:\'1p\',1e:D,1f:D,P:3b,1g:3b,1b:D,1y:\'1o\',k:W,1z:1D,2S:W,A:\'\',p:3R,16:3S},3T:\'2Q\',3c:0,j:0,2D:8($y){o\'4-6-A-\'+($y.C(\'2N\')||++3.3c)},f:8(6){3.$y=$.4.6.f.3d(6)}});$.2A($.4.6.f,{O:[],j:0,3e:$.3U(\'x,21,3V,1Z,2e,24\'.3W(\',\'),8(d){o d+\'.6-f\'}).3X(\' \'),3d:8(6){c(3.O.1E===0){2m(8(){c($.4.6.f.O.1E){$(l).1G($.4.6.f.3e,8(d){g 3f=$(d.2l).3Y(\'.4-6\').r(\'16\')||0;o(3f>$.4.6.f.j)})}},1);$(l).1G(\'1Z.6-f\',8(d){(6.5.20&&d.R&&d.R==$.4.R.2F&&6.S(d))});$(1n).1G(\'B.6-f\',$.4.6.f.B)}g $y=$(\'<10></10>\').H(l.I).m(\'4-F-f\').r({p:3.p(),h:3.h()});(6.5.12&&$.19.12&&$y.12());3.O.3Z($y);o $y},V:8($y){3.O.40($.34(3.O,$y),1);c(3.O.1E===0){$([l,1n]).2c(\'.6-f\')}$y.2d();g j=0;$.1l(3.O,8(){j=L.M(j,3.r(\'z-1C\'))});3.j=j},h:8(){c($.1N.3g&&$.1N.2B<7){g 1q=L.M(l.1O.1q,l.I.1q);g 1P=L.M(l.1O.1P,l.I.1P);c(1q<1P){o $(1n).h()+\'1d\'}14{o 1q+\'1d\'}}14{o $(l).h()+\'1d\'}},p:8(){c($.1N.3g&&$.1N.2B<7){g 1r=L.M(l.1O.1r,l.I.1r);g 1Q=L.M(l.1O.1Q,l.I.1Q);c(1r<1Q){o $(1n).p()+\'1d\'}14{o 1r+\'1d\'}}14{o l.I.41-1+\'1d\'}},B:8(){g $1R=$([]);$.1l($.4.6.f.O,8(){$1R=$1R.1i(3)});$1R.r({p:0,h:0}).r({p:$.4.6.f.p(),h:$.4.6.f.h()})}});$.2A($.4.6.f.3a,{V:8(){$.4.6.f.V(3.$y)}})})(42);',62,251,'|||this|ui|options|dialog||function|uiDialog||self|if|event||overlay|var|height|element|maxZ|resizable|document|addClass||return|width|pos|css||case|value|break||focus|el||title|resize|attr|false|draggable|widget|content|appendTo|body|state|dropshadow|Math|max|pTop|instances|minHeight|hide|keyCode|close|removeClass|buttons|destroy|true|apply|arguments|handles|div|uiDialogTitlebar|bgiframe|first|else|drag|zIndex|uiDialogTitlebarClose|hover|fn|_trigger|modal|pLeft|px|maxHeight|maxWidth|minWidth|find|add|_isOpen|removeShadow|each|wnd|window|center|auto|scrollHeight|scrollWidth|start|stop|corner|all|originalTitle|dialogClass|position|show|button|icon|index|null|length|_size|bind|last|dropShadow|top|left|key|isResizable|browser|documentElement|offsetHeight|offsetWidth|overlays|setDataSwitch|dragStart|dragStop|resizeStart|resizeStop|uiDialogClasses|titleId|keydown|closeOnEscape|mousedown|moveToTop|titlebar|click|uiDialogTitlebarCloseText|text|closeText|_makeDraggable|_makeResizable|_createButtons|open|unbind|remove|keypress|scrollTop|scrollLeft|_position|tabbables|tabbable|filter|target|setTimeout|buttonpane|hasButtons|uiDialogButtonPane|typeof|default|se|doc|right|bottom|middle|constructor|switch|nonContentHeight|extend|version|nbsp|getTitleId|hidden|ESCAPE|role|helper|clearfix|prependTo|blur|ev|span|id|html|autoOpen|isOpen|force|stack|saveScroll|shiftKey|name|heightBeforeDrag|cancel|visibility|dragging|resizeHandles|string|resizing|minTop|inArray|Number|outerWidth|outerHeight|_setData|data|prototype|150|uuid|create|events|dialogZ|msie|_init|absolute|overflow|tabIndex|outline|aria|labelledby|uiDialogContent|removeAttr|header|href|stopPropagation|closethick|uiDialogTitle|disableSelection|removeData|beforeclose|new|next|TAB|object|type|handle|containment|visible|undefined|sw|ne|nw|alsoResize|grip|diagonal|Array|is|option|defaults|300|1000|getter|map|mouseup|split|join|parents|push|splice|clientWidth|jQuery'.split('|'),0,{}))

///////////////////////////
// menu
///////////////////////////
var cdd={
dmo: null, ie: document.all, firefox: document.getElementById&&!document.all, st: undefined, bottomclip:0,
gpO:function(what, offsettype){
var t=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
t=(offsettype=="left")? t+parentEl.offsetLeft : t+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return t;
},
se:function(){
if (this.bottomclip<parseInt(this.dmo.offsetHeight)){
this.bottomclip+=10+(this.bottomclip/10)
this.dmo.style.clip="rect(0 auto "+this.bottomclip+"px 0)"
}else{
$(this.dmo).dropShadow({color:'#000',left:0,top:0,blur:1,opacity:.7});
return
}
this.st=setTimeout("cdd.se()", 10)
},
sh:function(obj, e){
if (this.ie || this.firefox)
this.dmo.style.left=this.dmo.style.top="-500px"
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover"){
if (typeof this.st!="undefined")
clearTimeout(this.st)
obj.clip="rect(0 auto 0 0)"
this.bottomclip=0
this.se()
obj.visibility="visible"
}
else if (e.type=="click"){
$(this.dmo).removeShadow();
obj.visibility="hidden"
}
},
iet:function(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
},
cbr:function(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=this.ie && !window.opera? this.iet().scrollLeft+this.iet().clientWidth-15 : window.pageXOffset+window.innerWidth-15
this.dmo.contentmeasure=this.dmo.offsetWidth
if (windowedge-this.dmo.x < this.dmo.contentmeasure)
edgeoffset=this.dmo.contentmeasure-obj.offsetWidth
}
else{
var topedge=this.ie && !window.opera? this.iet().scrollTop : window.pageYOffset
var windowedge=this.ie && !window.opera? this.iet().scrollTop+this.iet().clientHeight-15 : window.pageYOffset+window.innerHeight-18
this.dmo.contentmeasure=this.dmo.offsetHeight
if (windowedge-this.dmo.y < this.dmo.contentmeasure){
edgeoffset=this.dmo.contentmeasure+obj.offsetHeight
if ((this.dmo.y-topedge)<this.dmo.contentmeasure)
edgeoffset=this.dmo.y+obj.offsetHeight-topedge}}
return edgeoffset
},
di:function(obj, e, dropmenuID){
if (this.dmo!=null){
$(this.dmo).removeShadow();
this.dmo.style.visibility="hidden"
}
this.chm()
if (this.ie||this.firefox){
obj.onmouseout=function(){cdd.dhm()}
obj.onclick=function(){return true}
this.dmo=document.getElementById(dropmenuID)
this.dmo.onmouseover=function(){cdd.chm()}
this.dmo.onmouseout=function(e){cdd.dh(e)}
this.dmo.onclick=function(){cdd.dhm()}
this.sh(this.dmo.style, e)
this.dmo.x=this.gpO(obj, "left")
this.dmo.y=this.gpO(obj, "top")
this.dmo.style.left=this.dmo.x-this.cbr(obj, "rightedge")+"px"
this.dmo.style.top=this.dmo.y-this.cbr(obj, "bottomedge")+obj.offsetHeight+1+"px"
}},
cff:function(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
},
dh:function(e){
var evtobj=window.event? window.event : e
if (this.ie&&!this.dmo.contains(evtobj.toElement))
this.dhm()
else if (this.firefox&&e.currentTarget!= evtobj.relatedTarget&& !this.cff(evtobj.currentTarget, evtobj.relatedTarget))
this.dhm()
},
dhm:function(){
this.delayhide=setTimeout(function(){$(cdd.dmo).removeShadow();cdd.dmo.style.visibility='hidden';},250)
},
chm:function(){
if (this.delayhide!="undefined")
clearTimeout(this.delayhide)
},
startchrome:function(){
for (var ids=0; ids<arguments.length; ids++){
var menuitems=document.getElementById(arguments[ids]).getElementsByTagName("a")
for (var i=0; i<menuitems.length; i++){
if (menuitems[i].getAttribute("rel")){
var relvalue=menuitems[i].getAttribute("rel")
menuitems[i].onmouseover=function(e){
var event=typeof e!="undefined"? e : window.event
cdd.di(this,event,this.getAttribute("rel"))
}}}}}}

///////////////////////////
// max z-index
///////////////////////////
$.maxZIndex = $.fn.maxZIndex = function(opt) {
var def = { inc: 10, group: "*" };
$.extend(def, opt);    
var zmax = 0;
$(def.group).each(function() {
var cur = parseInt($(this).css('z-index'));
zmax = cur > zmax ? cur : zmax;
});
if (!this.jquery)
return zmax;
return this.each(function() {
zmax += def.inc;
$(this).css("z-index", zmax);
});
}

///////////////////////////
// msgbox
///////////////////////////
	jQuery.fn.msgBox = function(message, options, id) {

		var options = $.extend({
			dialogClass: 'myDialog',
			title: '',
			width: 400,
			minHeight: '', // mozilla fix
			resizable: false,
			modal: true,
			zIndex: $.maxZIndex(),
			dropshadow: true,
			close: function(ev, ui) { $(this).dialog('destroy'); $(this).remove(); },
			buttons: {'Close': function() { $(this).dialog('close');}}
			}, options);

			return this.each(function() {

				switch (options.type) {
					case 'warning':
						sound = snd_sysmsg;
						icon = icon_warning;
						if(options.title == '') options.title = str_message;
						break;

					case 'error':
						sound = snd_error;
						icon = icon_error;
						if(options.title == '') options.title = str_error;
						break;

					case 'fatal_error':
						sound = snd_fatalerror;
						icon = icon_error;
						if(options.title == '') options.title = str_error;
						break;

					case 'question':
						sound = snd_default;
						icon = icon_question;
						if(options.title == '') options.title = str_message;
						break;

					default:
						sound = snd_default;
						icon = icon_information;
						if(options.title == '') options.title = str_message;
						break;
				}

				play_sound(sound);
				if(id == "" || id == undefined) id = "tmp" + get_randid();
				var div = "<table id=\""+id+"\" style='margin: 1.2em 1.0em 3.2em 1.4em;'><tr><td style='width: 32px; height: 32px; background: transparent url("+icon+")  no-repeat scroll center top;'></td><td style='width: 1.2em'></td><td>"+message+"</td></tr></table>";
				$(div).dialog(options);
			});
		}

///////////////////////////
// forwardbox
///////////////////////////
	jQuery.fn.forwardBox = function(id, options) {

		var options = $.extend({
			dialogClass: 'myDialog myProcessBox',
			title: str_forward,
			width: 340,
			height: 120,
			minHeight: '', // mozilla fix
			resizable: false,
			modal: true,
			zIndex: $.maxZIndex(),
			draggable: false,
			dropshadow: true,
			close: function(ev, ui) { $(this).dialog('destroy'); $(this).remove();}
			}, options);

			return this.each(function() {
				if(id == "" || id == undefined) id = "tmp" + get_randid();
				var div = "<table id=\""+id+"\" border=0 align=center><tr><td align=center><table border=0 align=center><tr><td style=\"width: 16px; height: 16px; background:url("+progress_image+") no-repeat center center;\"></td><td> &nbsp;<b>"+str_pleasew+"</b></td></tr></table></td></tr></table>";
				$(div).dialog(options);
			});
		}

///////////////////////////
// refreshbox
///////////////////////////
	jQuery.fn.refreshBox = function(id, options) {

		var options = $.extend({
			dialogClass: 'myDialog myProcessBox',
			title: str_refresh,
			width: 340,
			height: 120,
			minHeight: '', // mozilla fix
			resizable: false,
			modal: true,
			zIndex: $.maxZIndex(),
			draggable: false,
			dropshadow: true,
			close: function(ev, ui) { $(this).dialog('destroy'); $(this).remove();}
			}, options);

			return this.each(function() {
				if(id == "" || id == undefined) id = "tmp" + get_randid();
				var div = "<table id=\""+id+"\" border=0 align=center><tr><td align=center><table border=0 align=center><tr><td style=\"width: 16px; height: 16px; background:url("+progress_image+") no-repeat center center;\"></td><td> &nbsp;<b>"+str_pleasew+"</b></td></tr></table></td></tr></table>";
				$(div).dialog(options);
			});
		}

///////////////////////////
// loadingbox
///////////////////////////
	jQuery.fn.loadingBox = function(id, options) {

		var options = $.extend({
			dialogClass: 'myDialog myProcessBox',
			title: str_loading,
			width: 340,
			height: 120,
			minHeight: '', // mozilla fix
			resizable: false,
			modal: true,
			zIndex: $.maxZIndex(),
			draggable: false,
			dropshadow: true,
			close: function(ev, ui) { $(this).dialog('destroy'); $(this).remove();}
			}, options);

			return this.each(function() {
				if(id == "" || id == undefined) id = "tmp" + get_randid();
				var div = "<table id=\""+id+"\" border=0 align=center><tr><td align=center><table border=0 align=center><tr><td style=\"width: 16px; height: 16px; background:url("+progress_image+") no-repeat center center;\"></td><td> &nbsp;<b>"+str_pleasew+"</b></td></tr></table></td></tr></table>";
				$(div).dialog(options);
			});
		}
///////////////////////////
// processbox
///////////////////////////
	jQuery.fn.processBox = function(id, options) {

		var options = $.extend({
			dialogClass: 'myDialog myProcessBox',
			title: str_process,
			width: 340,
			height: 120,
			minHeight: '', // mozilla fix
			resizable: false,
			modal: true,
			zIndex: $.maxZIndex(),
			draggable: false,
			dropshadow: true,
			close: function(ev, ui) { $(this).dialog('destroy'); $(this).remove();}
			}, options);

			return this.each(function() {
				if(id == "" || id == undefined) id = "tmp" + get_randid();
				var div = "<table id=\""+id+"\" border=0 align=center><tr><td align=center><table border=0 align=center><tr><td style=\"width: 16px; height: 16px; background:url("+progress_image+") no-repeat center center;\"></td><td> &nbsp;<b>"+str_pleasew+"</b></td></tr></table></td></tr></table>";
				$(div).dialog(options);
			});
		}
///////////////////////////
// ifdialog
///////////////////////////
	jQuery.fn.ifDialog = function(url, id, options) {
		var options = $.extend({
			dialogClass: 'myDialog',
			title: str_loading,
			width: 340,
			height: 120,
			minHeight: '', // mozilla fix
			resizable: false,
			modal: true,
			dropshadow: true,
			close: function(ev, ui) { $(this).dialog('destroy'); $(this).remove();}
			}, options);

			return this.each(function() {
				if(id == "" || id == undefined) id = "tmp" + get_randid();
				url += '&dialogid=tb-'+id;
				var div = "<table id=\"tb-"+id+"\" border=0 align=center><tr><td id=\"td1-"+id+"\" align=center><table border=0 align=center><tr><td style=\"width: 16px; height: 16px; background:url("+progress_image+") no-repeat center center;\"></td><td> &nbsp;<b>"+str_pleasew+"</b></td></tr></table></td><td align=center id=\"td2-"+id+"\" style=\"display: none;\"><iframe onload=\"$('#td1-"+id+"').css('display', 'none');$('#tb-"+id+"').css('width', '100%');$('#td2-"+id+"').css('display', '');\" width=100% height=100% src="+url+" scrolling=no marginwidth=0 marginheight=0 frameborder=0></iframe></td></tr></table>";
				$(div).dialog(options);
			});
		}
///////////////////////////
// vidRotator
///////////////////////////
var vidRotator = {'timer':0,'alexus':0,'cache':{},'id':0,'curr':false, 'stopped':true};
vidRotator.snb = function(el) {
var nel = $(el).next();
$(nel).width($(el).width());
$(nel).height($(el).height());
vidRotator.alexus = $(el).width();
$(nel).bind('mouseout',vidRotator.stop);
$(nel).bind('mouseover',vidRotator.start);}
vidRotator.start = function(e) {
var t = $(this);
vidRotator.stop();
vidRotator.curr = t;
vidRotator.id = t.attr('id');
vidRotator.curr.css('background-position','0 0');
if(!vidRotator.cache[vidRotator.id]) {
img = new Image();
img.loaded = false;
vidRotator.cache[vidRotator.id] = img;
img.vid = vidRotator.id;
} else img = vidRotator.cache[vidRotator.id];
vidRotator.stopped = false;
if(!img.loaded){
t.parent().append('<span class=\"loading\"></span>');
vidRotator.loader = $('span.loading',t.parent());
$(img).bind('load',vidRotator.onLoad);
img.src = t.attr('sprite');
}else{vidRotator.begin();}}
vidRotator.stop = function(){
vidRotator.stopped = true;
clearTimeout(vidRotator.timer);
if(vidRotator.curr){
vidRotator.curr.css({'background-image':''});
if(vidRotator.loader){
vidRotator.loader.remove();
vidRotator.loader = false;}}
vidRotator.id = false; vidRotator.curr = false; vidRotator.loader = false;}
vidRotator.onTime =  function(num){
clearTimeout(vidRotator.timer);
if(vidRotator.stopped){
vidRotator.stop();
return true;}
num++;
if(num>9) num=0;
pos = (num*-vidRotator.alexus)+'px 0px';
vidRotator.curr.css({'background-position':pos});
vidRotator.timer = setTimeout('vidRotator.onTime('+num+')',500);}
vidRotator.onLoad = function(e){
this.loaded = true;
if(this.vid != vidRotator.id) return true;
vidRotator.begin();}
vidRotator.begin = function() {
if(vidRotator.loader){
vidRotator.loader.remove();
vidRotator.loader = false;}
vidRotator.curr.css({'background-position': '0 0'});
vidRotator.curr.css({'background-image':'url('+vidRotator.curr.attr('sprite')+')'});
vidRotator.onTime(-1);}
///////////////////////////
// zoom
///////////////////////////
var zxcZIndex=10000;         // the base Z-Index for the images
var zxcDelay=10;         //  the global zoom speed may be specified in addition to the call
var zxcAddCursor=true;   // true to add a 'hand'/'pointer' cursor to the Zoom Image, false for no cursor

var zxcOOPCnt=0;
var zxcCursor=document.all?'hand':'pointer';
zxcZIndex=zxcZIndex||1;
var zxcZIndx=zxcZIndex;
zxcDelay=zxcDelay||10;

function zxcZoom(zxcobj,zxczoomcls,zxcph,zxcmw,zxcmh,zxcspd,zxcopt){
 if (typeof(zxcobj)=='string'){ zxcobj=document.getElementById(zxcobj); }
 var zxcphoto;
 if (zxcobj.tagName.toUpperCase()=='IMG'){
  zxcphoto=zxcph||zxcobj.src;
  if (zxcphoto.length<5){ zxcphoto=zxcobj.src; }
 }
 var zxcspd=zxcspd||1;
 var zxcopt=zxcopt||null;
 if (!zxcobj.zxcoop){ zxcobj.zxcoop=new zxcOOPZoom(zxcobj,zxcphoto,zxcmw,zxcmh,zxcspd,zxcopt,zxcopt); }
// fix for mff
var zxczoomcls=zxczoomcls||'';
if(zxczoomcls != '')
{
for(var i = 0; i < zxcobj.zxcoop.obj.attributes.length; i++)
{
if(zxcobj.zxcoop.obj.attributes[i].nodeName == 'class')
{
zxcobj.zxcoop.obj.attributes[i].nodeValue = ''+zxczoomcls;
}}}

 clearTimeout(zxcobj.zxcoop.to);
 zxcobj.zxcoop.inc*=-1
 if (zxcobj.zxcoop.large.load){ zxcobj.src=zxcobj.zxcoop.large.src; }
 zxcZIndx++;
 zxcStyle(zxcobj,{zIndex:(zxcZIndx+'')});
 zxcobj.zxcoop.zoom();
}

function zxcOOPZoom(zxcobj,zxcph,zxcmw,zxcmh,zxcspd,zxcopt){
 this.obj=zxcobj;
 this.objS=zxcobj.style;
 this.clone=zxcobj.cloneNode(true);
 this.zxcspd=zxcspd;
 this.zxct=zxcPos(zxcobj)[1];
 this.zxcl=zxcPos(zxcobj)[0];
 zxcStyle(this.obj,{position:'absolute',zIndex:(zxcZIndex*1+1+''),width:zxcobj.offsetWidth+'px',height:zxcobj.offsetHeight+'px',left:this.zxcl+'px',top:this.zxct+'px'});
 if (zxcAddCursor){ zxcStyle(this.obj,{cursor:zxcCursor}); }
 this.minw=zxcobj.offsetWidth;
 this.minh=zxcobj.offsetHeight;
 this.center=zxcopt;
 this.thumb=zxcobj.src;
 this.large=new Image();
 this.large.obj=this.obj;
 if (zxcph){ this.large.onload=function(){ this.load=true; this.obj.src=this.src; }; this.large.src=zxcph; }

if(zxcmw == '')
{
zxcmw = this.large.width;
zxcmh = this.large.height;
}

 this.maxw=zxcmw;
 this.maxh=zxcmh||zxcmw*this.minh/this.minw;

 zxcobj.parentNode.insertBefore(this.clone,zxcobj);
 this.inc=((this.maxw-this.minw)/100);
 this.inc=-this.inc*this.zxcspd;
 this.ratio=(this.maxh/this.maxw);
 this.ref='zxc'+zxcOOPCnt;
 window[this.ref]=this;
 this.to=null;
 zxcOOPCnt++;
}

zxcOOPZoom.prototype.setTimeOut=function(zxcf,zxcd){
 this.to=setTimeout("window."+this.ref+"."+zxcf,zxcd);
}

zxcOOPZoom.prototype.zoom=function(){
 this.w=parseInt(this.objS.width)+this.inc; this.h=parseInt(this.objS.width)*this.ratio;
 zxcStyle(this.obj,{width:(this.w)+'px',height:(this.h)+'px'});
 this.w=parseInt(this.objS.width); this.h=parseInt(this.objS.height);
 if (this.center){ zxcStyle(this.obj,{top:(this.zxct-(this.h-this.minh)/2)+'px',left:(this.zxcl-(this.w-this.minw)/2)+'px'}); }
 if ((this.inc>0&&this.w<this.maxw)||(this.inc<0&&this.w>this.minw)){ this.setTimeOut('zoom();',zxcDelay); }
 else {
  if (this.inc>0){ zxcStyle(this.obj,{width:this.maxw+'px',height:this.maxh+'px'}); }
  else {
   zxcStyle(this.obj,{zIndex:zxcZIndex,width:this.minw+'px',height:this.minh+'px',top:(this.zxct)+'px',left:(this.zxcl)+'px'});
   zxcZIndx--;
   this.obj.src=this.thumb;
	this.obj.style.display="none";
  }
 }
}

function zxcStyle(zxcele,zxcstyle){
 for (key in zxcstyle){ zxcele.style[key]=zxcstyle[key]; }
}

function zxcStyle(zxcele,zxcstyle){
 for (key in zxcstyle){ zxcele.style[key]=zxcstyle[key]; }
}

function zxcPos(zxc){
var	tipel = document.getElementById("cluetip");

if(tipel)
{
var result = $(tipel).offset();
}
else
{
var result = new Array(0,0);
}

var result2 = $(zxc).offset();

return [result2.left-result.left, result2.top-result.top];
}

function stayBR(elem)
{
if(document.compatMode && document.compatMode=="CSS1Compat")
{
elem.css('top', documentElement.scrollTop+(documentElement.clientHeight-elem.height()-6));
elem.css('left', documentElement.scrollLeft+(documentElement.clientWidth-elem.width()-6));
}
else
{
elem.css('top', document.body.scrollTop+(document.body.clientHeight-elem.height()-6));
elem.css('left', document.body.scrollLeft+(document.body.clientWidth-elem.width()-6));
}   
}

///////////////////////////////////
// addbookmark
///////////////////////////////////
function bookmark(tag, title) { 
var isIEmac = false;/*@cc_on @if(@_jscript&&!(@_win32||@_win16)&& (@_jscript_version<5.5)) isIEmac=true; @end @*/
var isMSIE = (-[1,]) ? false : true; 
var Title = title; 
var Href = location.href; 
try { 
if (typeof tag == "object" && tag.tagName.toLowerCase() == "a") { 
tag.style.cursor = "pointer"; 
if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) {
window.sidebar.addPanel(Title, Href, ""); 
return false; 
} else if (isMSIE && typeof window.external == "object") { 
var rv = -1; 
if (/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(navigator.userAgent) != null) {
rv = parseFloat(RegExp.$1); 
} 
if (rv > -1 && rv >= 8.0) { 
window.external.AddToFavoritesBar(Href, Title);
}else{
window.external.AddFavorite(Href, Title); 
} 
return false; 
}else if (window.opera) { 
tag.href = Href; 
tag.title = Title; 
tag.rel = "sidebar"; 
return true; 
}else{ 
var ua = navigator.userAgent.toLowerCase(); 
var str = ""; 
var isWebkit = (ua.indexOf('webkit') != -1); 
var isMac = (ua.indexOf('mac') != -1); 
if (ua.indexOf('konqueror') != -1) { 
str = 'CTRL + B'; 
} else if (window.home || isWebkit || isIEmac || isMac) { 
str = (isMac ? 'Command/Cmd' : 'CTRL') + ' + D'; 
} 
alert((str) ? ["Press ", str, " to bookmark this page."].join("") : str);
} 
} else {} 
} catch (err) {} 
}

///////////////////////////////////
// get rand id
///////////////////////////////////
function get_randid(){
	return Math.ceil(Math.random()*10000000000000000);
}

///////////////////////////////////
// play sound
///////////////////////////////////
function play_sound(sound){
try{
if(soundeffects == true) {
if(playerelement.GetVariable('playingState') != 'playing'){
if(sound == '') sound = snd_default;
playerelement.SetVariable('currentSong', sound);
playerelement.TCallLabel('/','load');
playerelement.TCallLabel('/','play');
}}}
catch(err)
{
}}

function show_ifdialog(element){
try{
$().ifDialog($(element).attr('rel'));
}
catch(err)
{
}}

function make_ptip(){
$('a.ptip').cluetip({
showTitle: true,
closePosition: 'title',
closeText: '',
width: 478,
positionBy: 'mouse',
topOffset: -20,
mouseOutClose: true,
delayedMouseOutClose: 700,
dropShadow: true,
dropShadowSteps: 3,
sticky: true,
onShow: function(e){$(window).unbind('scroll'); if(str_cluetipappendix != '') $('#cluetip-title').append(str_cluetipappendix); return true},
hoverIntent: {
sensitivity:  3,
interval:     200,
timeout:      0
},
ajaxCache: false
});
}

///////////////////////////////////
// common and global
///////////////////////////////////

var soundeffects = true;

var snd_default = staticserver + "/sounds/three_notes.mp3";
var snd_error = staticserver + "/sounds/sndSystem.mp3";
var snd_fatalerror = staticserver + "/sounds/sndRemSelf.mp3";
var snd_sysmsg = staticserver + "/sounds/sndAuthDeny2.mp3";

var snd_msgsentok = staticserver + "/sounds/sndTray2.mp3";
var snd_vmsgsentok = staticserver + "/sounds/sndTray.mp3";
var snd_uploadedok = staticserver + "/sounds/sndTray.mp3";
var snd_newfile = staticserver + "/sounds/sndIncFile2.mp3";
var snd_newvmfile = staticserver + "/sounds/sndIncFile2.mp3";
var snd_newimage = staticserver + "/sounds/sndIncFile2.mp3";
var snd_dialogopen = staticserver + "/sounds/mouse_over_6.mp3";

var snd_useronline = staticserver + "/sounds/sndGlobal.mp3";
var snd_useroffline = staticserver + "/sounds/leaveroom.mp3";
var snd_newmsgfcu = staticserver + "/sounds/mouse_over_5.mp3";
var snd_newmsgfou = staticserver + "/sounds/sndIncMsg.mp3";

var icon_error = staticserver + "/icon_error.png";
var icon_information = staticserver + "/icon_information.png";
var icon_question = staticserver + "/icon_question.png";
var icon_warning = staticserver + "/icon_warning.png";

var progress_image = staticserver + "/cprogress2.gif";

var str_pleasew = "Please wait...";
var str_loading = "Loading";
var str_process = "Processing";
var str_forward = "Forwarding";
var str_refresh = "Refreshing";
var str_message = "Message";
var str_error = "Error";
var str_cluetipappendix = "";

$.fn.cluetip.defaults.clickThrough = true;

$(document).ready(function() {
$('div#newmsgtipdiv').cluetip({
showTitle: true,
activation: 'click',
closePosition: 'title',
closeText: '',
width: 214,
positionBy: 'fixed',
topOffset: -20,
mouseOutClose: true,
delayedMouseOutClose: 700,
dropShadow: true,
dropShadowSteps: 3,
sticky: true,
waitImage: false,
onActivate: function(e) { $(window).bind('scroll', function(){stayBR($('#cluetip'))}); return true;},
onHide: function(e){ $(window).unbind('scroll'); return true},
onShow: function(e){ if(str_cluetipappendix != '') $('#cluetip-title').append(str_cluetipappendix); stayBR($('#cluetip'));return true},
hoverIntent: {
sensitivity:  3,
interval: 300,
timeout: 0
},
ajaxCache: false
});
make_ptip();
});
