///////////////////////////
// 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;}
})

///////////////////////////
// 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 1V={1W:"1w.H",19:"19.H",1X:"1x.H",1i:"1i.m",R:"R.m",1j:"1j.m",1k:"1k.m",1Y:"1w.m",E:"19.m",1Z:"1x.m"},20=\'4-6 \'+\'4-B \'+\'4-B-I \'+\'4-1y-1z \';$.B("4.6",{3j:8(){3.1A=3.i.F(\'C\');g b=3,5=3.5,C=5.C||3.1A||\'&2G;\',21=$.4.6.2H(3.i),9=(3.9=$(\'<12/>\')).J(o.D).S().p(20+5.1B).j({1C:\'3k\',1D:\'22\',1a:5.1a}).F(\'3l\',-1).j(\'3m\',0).23(8(f){(5.24&&f.T&&f.T==$.4.T.2I&&b.U(f))}).F({2J:\'6\',\'3n-3o\':21}).25(8(f){b.26(G,f)}),3p=3.i.1E().3q(\'C\').p(\'4-6-I \'+\'4-B-I\').J(9),13=(3.13=$(\'<12></12>\')).p(\'4-6-27 \'+\'4-B-3r \'+\'4-1y-1z \'+\'4-2K-2L\').2M(9),1b=$(\'<a 3s="#"/>\').p(\'4-6-27-U \'+\'4-1y-1z\').F(\'2J\',\'1F\').1c(8(){1b.p(\'4-K-1c\')},8(){1b.V(\'4-K-1c\')}).y(8(){1b.p(\'4-K-y\')}).2N(8(){1b.V(\'4-K-y\')}).25(8(2O){2O.3t()}).28(8(f){b.U(f);q G}).J(13),29=(3.29=$(\'<2P/>\')).p(\'4-1G \'+\'4-1G-3u\').2a(5.2b).J(1b),3v=$(\'<2P/>\').p(\'4-6-C\').F(\'2Q\',21).2R(C).2M(13);13.1l("*").1m(13).3w();(5.H&&$.1d.H&&3.2c());(5.m&&$.1d.m&&3.2d());3.2e(5.W);3.1n=G;(5.14&&$.1d.14&&9.14());(5.2S&&3.2f())},X:8(){c(3.5.L)3.9.1o();c($.15.1p&&3.5.M&&$(\'.4-B-d\').1e==1)$(\'D\').j(\'1D-x\',\'16\');(3.d&&3.d.X());3.9.S();3.i.2g(\'.6\').3x(\'6\').V(\'4-6-I 4-B-I\').S().J(\'D\');3.9.2h();(3.1A&&3.i.F(\'C\',3.1A))},U:8(f){g b=3;c(G===b.1f(\'3y\',f)){q}c(b.5.L)b.9.1o();c($.15.1p&&b.5.M&&$(\'.4-B-d\').1e==1)$(\'D\').j(\'1D-x\',\'16\');(b.d&&b.d.X());b.9.2g(\'2i.4-6\');(b.5.S?b.9.S(b.5.S,8(){b.1f(\'U\',f)}):b.9.S()&&b.1f(\'U\',f));$.4.6.d.E();b.1n=G;c(b.5.M){g k=0;$(\'.4-6\').1q(8(){c(3!=b.9[0]){k=N.O(k,$(3).j(\'z-1H\'))}});$.4.6.k=k}},2T:8(){q 3.1n},26:8(2U,f){c((3.5.M&&!2U)||(!3.5.2V&&!3.5.M)){q 3.1f(\'y\',f)}c(3.5.1a>$.4.6.k){$.4.6.k=3.5.1a}(3.d&&3.d.$A.j(\'z-1H\',$.4.6.d.k=++$.4.6.k));g 2W={2j:3.i.F(\'2j\'),2k:3.i.F(\'2k\')};3.9.j(\'z-1H\',++$.4.6.k);3.i.F(2W);3.1f(\'y\',f)},2f:8(){c(3.1n){q}g 5=3.5,9=3.9;3.d=5.M?3z $.4.6.d(3):1I;(9.3A().1e&&9.J(\'D\'));3.1J();3.2l(5.1C);9.1E(5.1E);3.26(Y);(5.M&&9.1K(\'2i.4-6\',8(f){c(f.T!=$.4.T.3B){q}g 2m=$(\':2n\',3),17=2m.2o(\':17\')[0],1L=2m.2o(\':1L\')[0];c(f.2p==1L&&!f.2X){2q(8(){17.y()},1)}18 c(f.2p==17&&f.2X){2q(8(){1L.y()},1)}}));c($.15.1p&&5.M)$(\'D\').j(\'1D-x\',\'22\');c(5.L)9.1M();$([]).1m(9.1l(\'.4-6-I :2n:17\')).1m(9.1l(\'.4-6-2r :2n:17\')).1m(9).2o(\':17\').y();3.1f(\'2f\');3.1n=Y},2e:8(W){g b=3,2s=G,2t=$(\'<12></12>\').p(\'4-6-2r \'+\'4-B-I \'+\'4-2K-2L\');3.9.1l(\'.4-6-2r\').2h();(2u W==\'3C\'&&W!==1I&&$.1q(W,8(){q!(2s=Y)}));c(2s){$.1q(W,8(2Y,1d){$(\'<1F 3D="1F"></1F>\').p(\'4-K-2v \'+\'4-1y-1z\').2a(2Y).28(8(){1d.Z(b.i[0],10)}).1c(8(){$(3).p(\'4-K-1c\')},8(){$(3).V(\'4-K-1c\')}).y(8(){$(3).p(\'4-K-y\')}).2N(8(){$(3).V(\'4-K-y\')}).J(2t)});2t.J(3.9)}},2c:8(){g b=3,5=3.5,2Z;3.9.H({30:\'.4-6-I\',3E:\'.4-6-27\',3F:\'o\',1w:8(){b.i.j(\'31\',\'22\');c(5.L)$(3).1o();2Z=5.h;$(3).p("4-6-32");(5.1W&&5.1W.Z(b.i[0],10))},19:8(){(5.19&&5.19.Z(b.i[0],10))},1x:8(){b.i.j(\'31\',\'3G\');c(5.L)$(3).1M();$(3).V("4-6-32");(5.1X&&5.1X.Z(b.i[0],10));$.4.6.d.E()}})},2d:8(11){11=(11===3H?3.5.m:11);g b=3,5=3.5,33=2u 11==\'34\'?11:\'n,e,s,w,2w,3I,3J,3K\';3.9.m({30:\'.4-6-I\',3L:3.i,1j:5.1j,1i:5.1i,1k:5.1k,R:5.R,1w:8(){c(5.L)$(3).1o();$(3).p("4-6-35");(5.1Y&&5.1Y.Z(b.i[0],10))},E:8(){(5.E&&5.E.Z(b.i[0],10))},11:33,1x:8(){$(3).V("4-6-35");5.h=$(3).h();5.l=$(3).l();(5.1Z&&5.1Z.Z(b.i[0],10));$.4.6.d.E();c(5.L)$(3).1M()}}).1l(\'.4-m-2w\').p(\'4-1G 4-1G-3M-3N-2w\')},2l:8(r){g 1r=$(1s),2x=$(o),P=2x.2j(),1g=2x.2k(),36=P;c($.37(r,[\'1t\',\'1N\',\'2y\',\'2z\',\'1O\'])>=0){r=[r==\'2y\'||r==\'1O\'?r:\'1t\',r==\'1N\'||r==\'2z\'?r:\'2A\']}c(r.2B!=3O){r=[\'1t\',\'2A\']}c(r[0].2B==38){1g+=r[0]}18{2C(r[0]){t\'1O\':1g+=0;v;t\'2y\':1g+=1r.l()-3.9.39();v;2v:t\'1t\':1g+=(1r.l()-3.9.39())/2}}c(r[1].2B==38){P+=r[1]}18{2C(r[1]){t\'1N\':P+=0;v;t\'2z\':P+=1r.h()-3.9.3a();v;2v:t\'2A\':P+=(1r.h()-3.9.3a())/2}}P=N.O(P,36);3.9.j({1N:P,1O:1g})},3b:8(1P,u){(1V[1P]&&3.9.3c(1V[1P],u));c(3.5.L)3.9.1o();2C(1P){t"W":3.2e(u);v;t"2b":3.29.2a(u);v;t"1B":3.9.V(3.5.1B).p(20+u);v;t"H":(u?3.2c():3.9.H(\'X\'));v;t"h":3.5.h=u;3.1J();v;t"1C":3.2l(u);v;t"m":g 9=3.9,1Q=3.9.3P(\':3c(m)\');(1Q&&!u&&9.m(\'X\'));(1Q&&2u u==\'34\'&&9.m(\'3Q\',\'11\',u));(1Q||3.2d(u));v;t"C":$(".4-6-C",3.13).2R(u||\'&2G;\');v;t"l":3.5.l=u;3.1J();v}$.B.3d.3b.Z(3,10);c(3.5.L)3.9.1M()},1J:8(){g 5=3.5;3.i.j({h:0,R:0,l:\'16\'});g 2D=3.9.j({h:\'16\',l:5.l}).h();3.i.j({R:N.O(5.R-2D,0),h:5.h==\'16\'?\'16\':N.O(5.h-2D,0)})}});$.2E($.4.6,{2F:"1.7.2",3R:{2S:Y,14:G,W:{},24:Y,2b:\'U\',1B:\'\',H:Y,S:1I,h:\'16\',1i:G,1j:G,R:3e,1k:3e,M:G,1C:\'1t\',m:Y,1E:1I,2V:Y,C:\'\',l:3S,1a:3T},3U:\'2T\',3f:0,k:0,2H:8($A){q\'4-6-C-\'+($A.F(\'2Q\')||++3.3f)},d:8(6){3.$A=$.4.6.d.3g(6)}});$.2E($.4.6.d,{Q:[],k:0,3h:$.3V(\'y,25,3W,23,2i,28\'.3X(\',\'),8(f){q f+\'.6-d\'}).3Y(\' \'),3g:8(6){c(3.Q.1e===0){2q(8(){c($.4.6.d.Q.1e){$(o).1K($.4.6.d.3h,8(f){g 3i=$(f.2p).3Z(\'.4-6\').j(\'1a\')||0;q(3i>$.4.6.d.k)})}},1);$(o).1K(\'23.6-d\',8(f){(6.5.24&&f.T&&f.T==$.4.T.2I&&6.U(f))});$(1s).1K(\'E.6-d\',$.4.6.d.E)}g $A=$(\'<12></12>\').J(o.D).p(\'4-B-d\').j({l:3.l(),h:3.h()});(6.5.14&&$.1d.14&&$A.14());3.Q.40($A);q $A},X:8($A){3.Q.41($.37(3.Q,$A),1);c(3.Q.1e===0){$([o,1s]).2g(\'.6-d\')}$A.2h();g k=0;$.1q(3.Q,8(){k=N.O(k,3.j(\'z-1H\'))});3.k=k},h:8(){c($.15.1p&&$.15.2F<7){g 1u=N.O(o.1R.1u,o.D.1u);g 1S=N.O(o.1R.1S,o.D.1S);c(1u<1S){q $(1s).h()+\'1h\'}18{q 1u+\'1h\'}}18{q $(o).h()+\'1h\'}},l:8(){c($.15.1p&&$.15.2F<7){g 1v=N.O(o.1R.1v,o.D.1v);g 1T=N.O(o.1R.1T,o.D.1T);c(1v<1T){q $(1s).l()+\'1h\'}18{q 1v+\'1h\'}}18{q $(o).l()+\'1h\'}},E:8(){g $1U=$([]);$.1q($.4.6.d.Q,8(){$1U=$1U.1m(3)});$1U.j({l:0,h:0}).j({l:$.4.6.d.l(),h:$.4.6.d.h()})}});$.2E($.4.6.d.3d,{X:8(){$.4.6.d.X(3.$A)}})})(42);',62,251,'|||this|ui|options|dialog||function|uiDialog||self|if|overlay||event|var|height|element|css|maxZ|width|resizable||document|addClass|return|pos||case|value|break|||focus||el|widget|title|body|resize|attr|false|draggable|content|appendTo|state|dropshadow|modal|Math|max|pTop|instances|minHeight|hide|keyCode|close|removeClass|buttons|destroy|true|apply|arguments|handles|div|uiDialogTitlebar|bgiframe|browser|auto|first|else|drag|zIndex|uiDialogTitlebarClose|hover|fn|length|_trigger|pLeft|px|maxHeight|maxWidth|minWidth|find|add|_isOpen|removeShadow|msie|each|wnd|window|center|scrollHeight|scrollWidth|start|stop|corner|all|originalTitle|dialogClass|position|overflow|show|button|icon|index|null|_size|bind|last|dropShadow|top|left|key|isResizable|documentElement|offsetHeight|offsetWidth|overlays|setDataSwitch|dragStart|dragStop|resizeStart|resizeStop|uiDialogClasses|titleId|hidden|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|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|_init|absolute|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|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);
			});
		}

///////////////////////////
// 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);
			});
		}
///////////////////////////
// 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];
}

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

///////////////////////////////////
// play sound
///////////////////////////////////
function play_sound(sound){
try{
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)
{
}}

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

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_message = "Message";
var str_error = "Error";

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

$(document).ready(function() {
$('a.ptip').cluetip({
showTitle: true,
closePosition: 'title',
closeText: '',
width: 478,
positionBy: 'mouse',
topOffset: -20,
mouseOutClose: true,
delayedMouseOutClose: 700,
dropShadow: true,
dropShadowSteps: 3,
sticky: true,
hoverIntent: {
sensitivity:  3,
interval:     300,
timeout:      0
},
ajaxCache: false
});
$('a.msgtip').cluetip({
width: 470,
dropShadow: true,
dropShadowSteps: 3,
sticky: false,
topOffset: -20,
leftOffset: 30,
positionBy: 'mouse',
titleAttribute: 'msgtitle',
splitTitle: '|',
showTitle: false
});
});























