":"")+" | ":"")+" |
l){p=l;o=f+i-p}}if(b.indexOf("e")>=0){p=i+s;if(pl)p=l}this.moveTo(o,n);this.resizeTo(p,g)},_onrsmousedown:function(e,b){with(this){if(_drag.active||state.disabled||state.maximized||state.minimized||autosz.active||!props.resize||e.which!=1)return;props.x=xpos;props.y=ypos;this.stopautosize();_resize.start(e,xpos,ypos,width,height,b)}},onstartrs:function(){this.design.onstartresize(this)},onstoprs:function(){this.design.onstopresize(this)}, stopresize:function(){this._resize.stop()}};function _txt(sign){var lng=window._uDeflang,a,p=arguments;if(!lng)a=sign;else{var db=window._uSigns;if(!db||!db[lng])a=sign;else if(sign in db[lng])a=db[lng][sign];else a=sign}if(a.substr(0,6)=="%eval:")try{return eval(a.substr(6))}catch(e){return"ERROR "+e}function _txtproc(str,param){return p[param]}if(p.length>1)a=a.replace(/%([1-9])/g,_txtproc);return a} function _uColorBox(t,c,h){var u=new Array("00","33","66","99","CC","FF");var o=new Array("00","33","66","99","CC","FF");var d=new Array("00","33","66","99","CC","FF");var r=new Array("909090","939393","969696","999999","9C9C9C","9F9F9F","C0C0C0","C3C3C3","C6C6C6","C9C9C9","CCCCCC","E0E0E0","F0F0F0","F3F3F3","F6F6F6","F9F9F9","FCFCFC","FFFFFF");var g="00",p="00",f="00",a="00";var j=0,n=0,b=0;var m=0,l=0,k=0;var v=0;var s='';var w; while(l<6){s+="
";$("#"+t).html(s)} function _uParseXML(xml,wnd,tabid,papp){xml=xml.documentElement;var tabctrl=null,app=null,_uParse_footers={};if(wnd&&wnd.constructor==_uTabCtrl){tabctrl=wnd;wnd=tabctrl.wnd||null;app=papp||tabctrl.app||null}else if(wnd&&wnd.constructor==_uWnd)app=papp||wnd.app||null;else{app=papp||null;wnd=null}if(xml==null)alert("Server connection Error. Sorry.");for(var _uParse_i=0;_uParse_i";var m=0;var f=d[b];while(m<6){var k=0;var p=o[n];while(k<6){var g=u[j];var e=""+g+p+f;if(h!=undefined)w=h+"('"+t+"','"+c+"','"+e+"')";else w="$('#"+t+"').hide(); $('#"+c+"').val('"+e+"');";s+=' ";v=0}}l++;b++;if(b==6)b=0}for(var q=0;q';k++;j++;if(j==6)j=0}m++;n++;if(n==6)n=0;v++;if(v==3){s+=" '}s+=" 0){var r=target.match(/^([^:]+):(.+)/);if(r){if(typeof _uParse_footers["_uhh"+r]=="number"&&_uParse_footers["_uhh"+r]!=NaN)_uTabCtrl.headerheight(r[1],r[2],_uParse_footers["_uhh"+r]);if(typeof _uParse_footers["_ufh"+r]=="number"&&_uParse_footers["_ufh"+r]!=NaN)_uTabCtrl.footerheight(r[1],r[2],_uParse_footers["_ufh"+r]);_uTabCtrl.content(r[1],r[2],data,_uParse_footers["_uhc"+ r],_uParse_footers["_ufc"+r])}else _uWnd.content(target,data)}else if(cmd=="header"&&target.length>0){var r=target.match(/^([^:]+):(.+)/);if(r){_uParse_footers["_uhc"+r]=data;_uParse_footers["_uhh"+r]=height}else{if(height!=NaN)_uWnd.headerheight(target,height);_uWnd.header(target,data)}}else if(cmd=="footer"&&target.length>0){var r=target.match(/^([^:]+):(.+)/);if(r){_uParse_footers["_ufc"+r]=data;_uParse_footers["_ufh"+r]=height}else{if(height!=NaN)_uWnd.footerheight(target,height);_uWnd.footer(target, data)}}else if(cmd=="title"&&target.length>0){var r=target.match(/^([^:]+):(.+)/);if(r)_uTabCtrl.setTitle(r[1],r[2],data);else _uWnd.setTitle(target,data)}else if(cmd=="close"&&target.length>0){var r=target.match(/^([^:]+):(.+)/);if(r)if(!data||isNaN(parseInt(data)))_uTabCtrl.closeTab(r[1],r[2]);else setTimeout("_uTabCtrl.closeTab('"+r[1]+"','"+r[2]+"');",parseInt(data));else if(!data||isNaN(parseInt(data)))_uWnd.close(target);else setTimeout("_uWnd.close('"+target+"');",parseInt(data))}else if(tabctrl&& tabid)if(cmd=="content"){if(typeof _uParse_footers._uhh=="number"&&_uParse_footers._uhh!=NaN)tabctrl.headerheight(tabid,_uParse_footers._uhh);if(typeof _uParse_footers._ufh=="number"&&_uParse_footers._ufh!=NaN)tabctrl.footerheight(tabid,_uParse_footers._ufh);tabctrl.content(tabid,data,_uParse_footers._uhc,_uParse_footers._ufc)}else if(cmd=="header"){_uParse_footers._uhc=data;_uParse_footers._uhh=height}else if(cmd=="footer"){_uParse_footers._ufc=data;_uParse_footers._ufh=height}else if(cmd=="title")tabctrl.setTitle(tabid, data);else{if(cmd=="close")if(!data||isNaN(parseInt(data)))tabctrl.closeTab(tabid);else setTimeout("var w=_uTabCtrl.all["+tabctrl.idx+"];if(w)w.closeTab('"+tabid+"');",parseInt(data))}else if(wnd&&!tabctrl)if(cmd=="content")wnd.content(data);else if(cmd=="header"){if(height!=NaN)wnd.headerheight(height);wnd.header(data)}else if(cmd=="footer"){if(height!=NaN)wnd.footerheight(height);wnd.footer(data)}else if(cmd=="title")wnd.setTitle(data);else if(cmd=="close")if(!data||isNaN(parseInt(data)))wnd.close(); else setTimeout("var w=_uWnd.all["+wnd.idx+"];if(w)w.close();",parseInt(data))}}var _defAjaxError=function(d,a,b){if(this.tabctrl&&_uTabCtrl.all[this.tabctrl])_uTabCtrl.all[this.tabctrl]._onerror(this.tabid,d,a,b,this);else if(this.wnd&&_uWnd.all[this.wnd])_uWnd.all[this.wnd]._onerror(d,a,b,this);if(_uWnd.defdesktop)return;try{_show_log_form();return}catch(c){}if(!this.tabctrl&&!this.wnd)window.location.reload()};var _hookAjaxError=null; function _uAjaxRequest(b,a){if(!b)return null;var c=$.extend({success:_defAjaxSuccess,error:_defAjaxError,async:1,cache:true,dataType:"xml",type:"GET",timeout:25E3},a||{});if(c.app&&c.app.appname&&c.app.pid>0)c.app=c.app.pid;if(c.wnd&&c.wnd.constructor==_uWnd)c.wnd=c.wnd.idx;if(c.tabctrl&&c.tabctrl.constructor==_uTabCtrl)c.tabctrl=c.tabctrl.idx;if(!c.data)c.data={};c.data._tp_=c.dataType;if(c.app>0)c.data._ai=c.app;if(c.app>0&&_uApp.all[c.app]&&_uApp.all[c.app]._admpasscook)c.data._apc=_uApp.all[c.app]._admpasscook; if(c.wnd>0)c.data._wi=c.wnd;if(c.tabctrl>0&&c.tabid){c.data._tci=c.tabctrl;c.data._ti=c.tabid}if(_hookAjaxError&&!c.noerrorhook){c.prev_error=c.error;c.error=_hookAjaxError}c.url=b;if(c.app>0&&!c.nosuccesshook){c.prev_success=c.success;c.success=_hookAjaxSuccess}return jQuery.ajax(c)} var _hookAjaxSuccess=function(b,a){if(!this.prev_success)return;if(this.app>0&&typeof _uApp!="undefined"&&this.prev_success!=_defAjaxSuccess){if(_uApp.all[this.app]&&!_uApp.all[this.app].exited)this.prev_success.call(_uApp.all[this.app],b,a,this)}else this.prev_success.call(this,b,a)}; var _defAjaxSuccess=function(c,a){var b=null,e=null,d=null;if(this.dataType=="xml"){if(this.wnd>0&&_uWnd.all[this.wnd]&&!_uWnd.all[this.wnd].state.destroyed)b=_uWnd.all[this.wnd];if(this.tabctrl>0&&_uTabCtrl.all[this.tabctrl]&&!_uTabCtrl.all[this.tabctrl].state.destroyed)d=_uTabCtrl.all[this.tabctrl];if(this.app>0&&typeof _uApp!="undefined"&&_uApp.all[this.app]&&!_uApp.all[this.app].exited)e=_uApp.all[this.app];if(d)_uParseXML(c,d,this.tabid,e);else _uParseXML(c,b,0,e)}}; var _defAjaxFormError=function(g,c,d){if(this.tabctrl&&_uTabCtrl.all[this.tabctrl])_uTabCtrl.all[this.tabctrl]._onerror(this.tabid,g,c,d,this);else if(this.wnd&&_uWnd.all[this.wnd])_uWnd.all[this.wnd]._onerror(g,c,d,this);if(!this._formobj)return;var b=this._formobj.onerror||this._formobj.getAttribute("onerror");if(!b)return;if(typeof b=="string")try{b=new Function(b)}catch(f){return}if(typeof b=="function"||typeof b=="object")try{b.call(this._formobj,g,c,d,this)}catch(f){return}}; var _defAjaxFormComplete=function(f,c){if(!this._formobj)return;var b=this._formobj.oncomplete||this._formobj.getAttribute("oncomplete");if(!b)return;if(typeof b=="string")try{b=new Function(b)}catch(d){return}if(typeof b=="function"||typeof b=="object")try{b.call(this._formobj,f,c)}catch(d){return}}; function _uPostForm(c,a){if(!c&&a&&a.url){_uAjaxRequest(a.url,a);return}var b;if(typeof c!="object")b=$("#"+c);else b=$(c);if(!b.length)return;var d=$.extend({success:_defAjaxSuccess,error:_defAjaxFormError,complete:_defAjaxFormComplete,url:b.attr("action")||window.location.toString(),type:b.attr("method")||"GET",dataType:"xml",semantic:false},a||{});if(d.app&&d.app.appname&&d.app.pid>0)d.app=d.app.pid;if(d.wnd&&d.wnd.constructor==_uWnd)d.wnd=d.wnd.idx;if(d.tabctrl&&d.tabctrl.constructor==_uTabCtrl)d.tabctrl= d.tabctrl.idx;if(!d.data)d.data={};d.data._tp_=d.dataType;if(d.app>0)d.data._ai=d.app;if(d.app>0&&_uApp.all[d.app]&&_uApp.all[d.app]._admpasscook)d.data._apc=_uApp.all[d.app]._admpasscook;if(d.wnd>0)d.data._wi=d.wnd;if(d.tabctrl>0&&d.tabid){d.data._tci=d.tabctrl;d.data._ti=d.tabid}if(_hookAjaxError&&!d.noerrorhook){d.prev_error=d.error;d.error=_hookAjaxError}d._formobj=b[0];if(d.app>0&&!d.nosuccesshook){d.prev_success=d.success;d.success=_hookAjaxSuccess}b.ajaxSubmit(d)} function _uAjaxQueue(a){this.idx=_uAjaxQueue.nextidx++;_uAjaxQueue.all[this.idx]=this;this.props=$.extend({maxsize:10,replacelast:0,onfirst:null,onbefore:null,onafter:null,onlast:null,param:null,thispar:null},a||{});this.queue=[];this.head=0;this.inprogress=0;this.curXML=null}_uAjaxQueue.all=[];_uAjaxQueue.nextidx=1; _uAjaxQueue.oncomplete=function(a,b){if(this.prev_complete_queue)try{this.prev_complete_queue(a,b)}catch(c){}setTimeout("var w=_uAjaxQueue.all["+this.uajaxqueue+"];if(w)w._oncomplete(0,'"+b+"');",100)}; _uAjaxQueue.prototype={add:function(b,a){if(!b||!b.url)return-1;if(this.queue.length-this.head>=this.props.maxsize){if(!this.props.replacelast||this.props.maxsize<2)return 0;this.queue.splice(this.queue.length-1,1)}var c=$.extend({},b);c.prev_complete_queue=c.complete;c.complete=_uAjaxQueue.oncomplete;c.uajaxqueue=this.idx;this.queue[this.queue.length]=c;if(!a)this.start();return 1},start:function(){if(this.inprogress||this.head>=this.queue.length)return;this.inprogress=1;if(this.props.onfirst)this.props.onfirst.call(this.props.thispar, this.props.param,this.queue[this.head],this);this.head--;this._oncomplete(1)},_oncomplete:function(c,a){if(!this.inprogress)return;this.curXML=null;this.head++;if(!c&&this.props.onafter)this.props.onafter.call(this.props.thispar,this.props.param,this.queue[this.head-1],this,a);if(this.head>=this.queue.length){if(this.props.onlast)this.props.onlast.call(this.props.thispar,this.props.param,this.queue[this.head-1],this,a);this.stop();return}if(this.props.onbefore)this.props.onbefore.call(this.props.thispar, this.props.param,this.queue[this.head],this);try{this.curXML=_uAjaxRequest(this.queue[this.head].url,this.queue[this.head]);if(!this.curXML)_uAjaxQueue.oncomplete.call(this.queue[this.head],null,"error")}catch(b){_uAjaxQueue.oncomplete.call(this.queue[this.head],null,"error")}},stop:function(){if(!this.inprogress)return;if(this.curXML)try{this.curXML.abort()}catch(a){}this.curXML=null;this.queue.splice(0,this.queue.length);this.head=0;this.inprogress=0},depth:function(){if(!this.inprogress)return 0; return this.queue.length-this.head}};function includeJSfile(b,c){if(c&&document.getElementById(c))return;var a=document.createElement("script");a.setAttribute("type","text/javascript");if(c)a.setAttribute("id",c);a.setAttribute("src",b);document.getElementsByTagName("head").item(0).appendChild(a)}var _entrRm={};function _entrRem(c,b,a,d){if(!d)d="Are you sure?";if(!_entrRm[c]&&confirm(d)){_entrRm[c]=1;document.getElementById(c).src=a+"/img/fr/EmnAjax.gif";_uPostForm("",{url:b})}} function _coloredTDs(d,e){var a="";if(typeof d!="object")d=document.getElementById(d);if(typeof document.getElementsByTagName!="undefined")a=d.getElementsByTagName("td");else if(typeof d.cells!="undefined")a=d.cells;else return false;for(var b=0;b /g,">")}Date.fullYearStart="20"; (function(){function c(d,e){if(!Date.prototype[d])Date.prototype[d]=e}c("isLeapYear",function(){var d=this.getFullYear();return d%4==0&&d%100!=0||d%400==0});c("isWeekend",function(){return this.getDay()==0||this.getDay()==6});c("isWeekDay",function(){return!this.isWeekend()});c("getDaysInMonth",function(){return[31,this.isLeapYear()?29:28,31,30,31,30,31,31,30,31,30,31][this.getMonth()]});c("getDayName",function(d){return d?Date.abbrDayNames[this.getDay()]:Date.dayNames[this.getDay()]});c("getMonthName", function(d){return d&&d!=2?Date.abbrMonthNames[this.getMonth()]:d==2?Date.rMonthNames[this.getMonth()]:Date.monthNames[this.getMonth()]});c("getDayOfYear",function(){var d=new Date("1/1/"+this.getFullYear());return Math.floor((this.getTime()-d.getTime())/864E5)});c("getWeekOfYear",function(){return Math.ceil(this.getDayOfYear()/7)});c("setDayOfYear",function(d){this.setMonth(0);this.setDate(d);return this});c("addYears",function(d){this.setFullYear(this.getFullYear()+d);return this});c("addMonths", function(e){var d=this.getDate();this.setMonth(this.getMonth()+e);if(d>this.getDate())this.addDays(-this.getDate());return this});c("addDays",function(d){this.setDate(this.getDate()+d);return this});c("addHours",function(d){this.setHours(this.getHours()+d);return this});c("addMinutes",function(d){this.setMinutes(this.getMinutes()+d);return this});c("addSeconds",function(d){this.setSeconds(this.getSeconds()+d);return this});c("zeroTime",function(){this.setMilliseconds(0);this.setSeconds(0);this.setMinutes(0); this.setHours(0);return this});var b=function(d){if(!d.match(/\$[a-zA-Z]+\$/))return d.replace(/yyyy/g,"$yyyy$").replace(/yy/g,"$yy$").replace(/mmmm/g,"$MO$").replace(/mmm/g,"$Mo$").replace(/mm/g,"$mo$").replace(/dd/g,"$dd$");return d};c("asString",function(g,j){var l=null,k=null,f,d="";if(g!==false)l=g||Date.udateformat;if(j)if(j==1||j===true)k=Date.utimeformat;else k=j;if(l){l=b(l);f={yyyy:this.getFullYear(),yy:(this.getFullYear()+"").substring(2),MO:this.getMonthName(0),Mo:this.getMonthName(1), MOD:this.getMonthName(2),WD:this.getDayName(0),wd:this.getDayName(1),mo:a(this.getMonth()+1),d:this.getDate(),dd:a(this.getDate())};d+=l.replace(/\$([a-zA-Z]+)\$/g,function(m,h){return f[h]})}if(k){if(d)d+=" ";var i=this.getHours(),e="AM";if(i>12){i-=12;e="PM"}else if(i==12)e="PM";f={H:this.getHours(),HH:a(this.getHours()),h:i,hh:a(i),AP:e,mm:a(this.getMinutes()),ss:a(this.getSeconds())};d+=k.replace(/\$([a-zA-Z]+)\$/g,function(m,h){return f[h]})}return d});Date.fromString=function(m,z,p,l){var v= l||b(Date.udateformat),k=Date.utimeformat,n,y,x,o,u,r,w,q;if(p){if(p!==true&&p!==1)k=p;v+=" "+k}m=m.replace(/[\x00-\x1f]+/g," ");u={yyyy:"(\\d{4}|\\d{2})",yy:"(\\d{2}|\\d{4})",MO:'([^ 0-9@"#$%^&*(){}\\[\\]+=_\\\\|;:/?.>,<~\\-]+)',Mo:'([^ 0-9@"#$%^&*(){}\\[\\]+=_\\\\|;:/?.>,<~\\-]+)',MOD:'([^0-9@"#$%^&*(){}\\[\\]+=_\\\\|;:/?.>,<~\\-]+)',mo:"(\\d{1,2})",dd:"(\\d{1,2})",d:"(\\d{1,2})",HH:"(\\d{1,2})",hh:"(\\d{1,2})",H:"(\\d{1,2})",h:"(\\d{1,2})",AP:"(AM|PM)?",mm:"(\\d{1,2})",ss:"(\\d{1,2})?"};n=new RegExp("\\$([a-zA-Z]+)\\$", "g");y=0;o="^";if(!z)o+=" *";r=[];while(x=n.exec(v)){if(x.index>y)if(z)o+=v.substr(y,x.index-y).replace(/([\\^\$*+?.|()\[\]{}])/g,"\\$1");else o+='[ @"#$%^&*(){}\\[\\]+=_\\\\|;:/?.>,<~\\-]+';y=x.index+x[0].length;if(u[x[1]]){o+=u[x[1]];r.push(x[1])}else y=x.index}if(v.length>y)if(z)o+=v.substr(y,v.length-y).replace(/([\\^\$*+?.|()\[\]{}])/g,"\\$1");else o+='[ @"#$%^&*(){}\\[\\]+=_\\\\|;:/?.>,<~\\-]+';if(!z)o+=" *";o+="$";o=new RegExp(o,"i");x=o.exec(m);if(!x)return false;w=new Date;w.zeroTime();var f= w.getDate(),e=w.getMonth(),g=w.getFullYear();for(var t=0;t =0){e=q;break}if(q>=12)for(q=0;q<12;q++)if(Date.rMonthNames[q].indexOf(x[t+1])>=0){e=q;break}if(q>=12)for(q=0;q<12;q++)if(Date.monthNames[q].indexOf(x[t+1])>=0){e=q;break}if(q>=12)return false}else if(r[t]== "mo"){q=parseInt(x[t+1],10);if(isNaN(q)||q<=0||q>12)return false;e=q-1}else if(r[t]=="dd"||r[t]=="d"){q=parseInt(x[t+1],10);if(isNaN(q)||q<=0||q>31)return false;f=q}else if(r[t]=="HH"||r[t]=="H"){q=parseInt(x[t+1],10);if(isNaN(q)||q<0||q>24)return false;w.setHours(q)}else if(r[t]=="hh"||r[t]=="h"){q=parseInt(x[t+1],10);if(isNaN(q)||q<0||q>12)return false;w.setHours(q)}else if(r[t]=="mm"){q=parseInt(x[t+1],10);if(isNaN(q)||q<0||q>59)return false;w.setMinutes(q)}else if(r[t]=="ss"){q=x[t+1]&&x[t+1].length> 0?parseInt(x[t+1],10):0;if(isNaN(q)||q<0||q>61)return false;w.setSeconds(q)}else if(r[t]=="AP")if(x[t+1]&&x[t+1].length>0)if(x[t+1].toLowerCase()=="pm"){if(w.getHours()<12)w.addHours(12)}else if(x[t+1].toLowerCase()!="am")return false;w.setFullYear(g);w.setMonth(e,f);return w};var a=function(d){var e="0"+d;return e.substring(e.length-2)}})(); function _uLoadJS(b,d,a){if(typeof b!="string"&&typeof b!="number")return 0;if(typeof d=="function")d={func:d};var e=_uLoadJS._loadedJS[b];if(typeof e=="object"){if(e[0]==2){if(a)return 2;if(d)d.func.call(d.thispar,"success",d.param);return 1}if(e[0]==1){if(d)e[e.length]=d;return 1}if(d)e[e.length]=d}else{e=[1];if(d)e[1]=d;_uLoadJS._loadedJS[b]=e}var c={url:b,oldurl:b,dataType:"script",cache:1,complete:_uLoadJS._onloadJS};$.ajax(c)}_uLoadJS._loadedJS={}; _uLoadJS._onloadJS=function(b,a){var d=_uLoadJS._loadedJS[this.oldurl];if(a!="success")d[0]=0;else d[0]=2;for(var c=1;c =0;b--){if(!/^https?:/.test(a[b]))a[b]=location.protocol+"//"+location.host+a[b];if(a[b]in _uLoadCSS._loadedCSS)continue;c+='';_uLoadCSS._loadedCSS[a[b]]=[0]}else{if(!/^https?:/.test(a))a=location.protocol+"//"+location.host+a;if(a in _uLoadCSS._loadedCSS)return;c=''; _uLoadCSS._loadedCSS[a]=[0]}if(c.length>0)$("head").append(c)}_uLoadCSS._loadedCSS={}; function _uLoadCSSSync(b,d,a){if(typeof b!="string"&&typeof b!="number")return 0;if(typeof d=="function")d={func:d};var e=_uLoadCSS._loadedCSS[b];if(typeof e=="object"){if(e[0]==2){if(a)return 2;if(d)d.func.call(d.thispar,"success",d.param);return 1}if(e[0]==1){if(d)e[e.length]=d;return 1}if(d)e[e.length]=d}else{e=[1];if(d)e[1]=d;_uLoadCSS._loadedCSS[b]=e}var c={url:b,oldurl:b,dataType:"text",cache:1,success:_uLoadCSSSync._onload,error:_uLoadCSSSync._onloaderr};$.ajax(c)} _uLoadCSSSync._onload=function(c,a){$("head").append('");var d=_uLoadCSS._loadedCSS[this.oldurl];if(d[0]==0)$("link[rel=stylesheet][href="+this.oldurl+"]").remove();d[0]=2;for(var b=1;b >>=4}return e}if(g=="object")if(!j)g="null";else if(j.constructor==String)g="string";else if(j.constructor==Number)g="number";else if(j.constructor==Boolean)g="boolean";else if(j.constructor==Array)g="array";switch(g){case "number":case "boolean":case "null":case "undefined":return String(j);case "string":return'"'+j.replace(/([\\"])/g, "\\$1").replace(/\n/g,"\\n").replace(/([\x00-\x1f])/g,function(e,i){return"\\x"+c(i.charCodeAt(0),2)}).replace(/([\u2028\u2029])/g,function(e,i){return"\\u"+c(i.charCodeAt(0),4)})+'"';case "array":if(h<=0)return"[?]";d="";for(var a=0;a 0)d+=",";d+=dumpObject(j[a])}return"["+d+"]";case "object":if(h<=0)return"{?}";d="";for(var a in j){if(b&&b[a])continue;if(d)d+=",";try{d+=dumpObject(a)+":"+dumpObject(j[a],h-1)}catch(f){d+=dumpObject(a)+":?"}}return"{"+d+"}"}} function _uHighlightA(e,d,f){var b=$(e).find("a").get(),g=null,a=0;for(var c in b)if(b[c].href&&d.indexOf(b[c].href)>=0)if(!g||aul").children("li").children("ul");for(h=0;h 0?{action:"a"}:null]}else{b=$(f[d]).find("a").get();c[c.length]=[$(f[d]).html(),b.length>0?"a":""]}}return c} function uSetCookie(c){var a=encodeURIComponent(c.name);if(c.value)a+="="+encodeURIComponent(c.value);else a+="=";if(c.days){var b=new Date;b.setDate(b.getDate()+c.days);a+=";expires="+b.toUTCString()}if(c.path)a+=";path="+c.path;if(c.domain)a+=";domain="+c.domain;document.cookie=a} function _uButtonExt(a){return''} function _uButton(g,c,a){var d=$.extend({ext:0,text:"Ok",content:"",style:0,id:null},a||{});var f={s:"onclick=\"$('#subm"+g+"').click();\"",r:"onclick=\"$('#"+g+"')[0].reset();\""};var i=f[c]!="undefined"?f[c]:"";var j=d.style==1?["myBtnLeft","myBtnCenter","myBtnRight"]:["myBtnLeftA","myBtnCenterA","myBtnRightA"];var e=c=="s"&&!d.ext?'':"";var b= d.style==2?"myBtnCont x-unselectable myBtnDis":"myBtnCont x-unselectable";var h=' ";return h}function _uButtonEn(c,b,a){var d;if(typeof c=="string")d=c;else{if(c.tagName&&c.tagName.toLowerCase()=="div"){if(b)$(c).removeClass("myBtnDis");else $(c).addClass("myBtnDis");return}d=$(c).attr("id")}if(!d)return;if(b)$("#subbut"+d,a).removeClass("myBtnDis");else $("#subbut"+d,a).addClass("myBtnDis")} function _uButtonIsDis(a){if(typeof a=="string")a=$("#"+a);else a=$(a);if(a.hasClass("myBtnDis"))return 1;return 0}function uToolTip(){}uToolTip.tooltip=$('
');uToolTip.content=uToolTip.tooltip.find(".utooltip-content");uToolTip.timerID=null;uToolTip.active=false; uToolTip.mouseOver=function(a){if(uToolTip.timerID){window.clearTimeout(uToolTip.timerID);uToolTip.timerID=null;uToolTip.mouseOut(a)}a=$(a);var d=a.offset();var b=d.left;var c=d.top;if(a.attr("left")||b<30)uToolTip.tooltip.addClass("utooltip-left");else{b+=a[0].offsetWidth/2;uToolTip.tooltip.removeClass("utooltip-left")}if(a.attr("bottom")||c<30){c+=a[0].offsetHeight+4;uToolTip.tooltip.addClass("utooltip-bottom")}else uToolTip.tooltip.removeClass("utooltip-bottom");uToolTip.tooltip.css({left:parseInt(b, 10)+"px",top:parseInt(c,10)+"px"});uToolTip.title=a.attr("title");uToolTip.el=a;a.attr("title","");uToolTip.active=true;uToolTip.content.html(uToolTip.title);if(uToolTip.title&&!uToolTip.el.attr("noToolTip"))$("body").append(uToolTip.tooltip)};uToolTip.noToolTip=function(a,b){if(b)$(a).attr("noToolTip",true);else $(a).removeAttr("noToolTip")};uToolTip.hide=function(){if(uToolTip.el)uToolTip.mouseOut()}; uToolTip.show=function(b,a){if(b){uToolTip.mouseOut(null);uToolTip.mouseOver(b);if(a!=-1){a=a||3E3;uToolTip.timerID=setTimeout("uToolTip.mouseOut(null);",a)}}};uToolTip.mouseOut=function(a){if(uToolTip.active){uToolTip.el.attr("title",uToolTip.title);uToolTip.tooltip.remove();uToolTip.active=false}}; uToolTip.init=function(a){$(document).ready(function(){var b=".utooltip-holder";if(a)b="#"+a+" .utooltip-holder";$(b).die("mouseover.tooltip").die("mouseout.tooltip").live("mouseover.tooltip",function(){uToolTip.mouseOver(this)}).live("mouseout.tooltip",function(){uToolTip.mouseOut(this)})})}; function _uTransStr(i){var f,a=1,e,h,c,b,d,g=_uTransStr._table;if(!g){_uTransStr.append(_uTransStr._deftable);_uTransStr._deftable=null;g=_uTransStr._table;for(f=0;f<128;f++)g[f]=_uTransStr._separators[f]?" ":String.fromCharCode(f)}if(i==undefined){this.value="";this.length=0;this.translit="";this.transprops=[];return}this.value=typeof i=="string"?i:String(i);i=this.value.toLowerCase();h=this.length=i.length;c="";b=[];for(f=0;ftext0){b[c.length+d-1]=(f<<1)+1;d--}}c+=e}}if(a&&c.length>0){this.translit=c.substr(0,c.length-1);b.length=c.length-1}else this.translit=c;this.transprops=b} _uTransStr.prototype={toString:function(){return this.value},_offsetprops:function(b){for(var a=this.transprops.length-1;a>=0;a--)this.transprops[a]+=b*2},splitsps:function(e){if(e==undefined)e=this.translit.length;var b=[],a=0,d,c=0;while(c =0){if(a==d){a++;continue}b[c]=new _uTransStr;b[c].translit=this.translit.substring(a,d);b[c].transprops=this.transprops.slice(a,d);b[c]._offsetprops(-(this.transprops[a]>>1));b[c].value=this.value.substring(this.transprops[a]>> 1,this.transprops[d]>>1);b[c].length=b[c].value.length;c++;a=d+1}d=this.translit.length;if(d>a){b[c]=new _uTransStr;b[c].translit=this.translit.substring(a);b[c].transprops=this.transprops.slice(a);b[c]._offsetprops(-(this.transprops[a]>>1));b[c].value=this.value.substring(this.transprops[a]>>1);b[c].length=b[c].value.length}return b},find:function(b,g,e){if(!b||!b.trasprops||!b.translit)b=new _uTransStr(b);var c=-1,a,d=b.transprops,f=this.transprops;if(g&&g>0){if(e!=undefined)c=e;while(c+1 >1 0&&f[c-1]==f[c])continue;while(a >1,(c+a >1:this.length)-(f[c]>>1),c]}};_uTransStr._table=null;_uTransStr.append=function(b){if(!_uTransStr._table)_uTransStr._table=[];for(var a=0;a =10)return;setTimeout("_uAudioPlayer("+dumpObject(b)+","+dumpObject(e)+","+(d+1)+");",100);return}var a="";if(b.autoplay&&b.autoplay=="1")b.autoplay=1;else b.autoplay=0;if(b.loop&&b.loop=="1")b.loop=1;else b.loop=0;if(b.small&&b.small=="1")a='';else a='';$(c).html(a)} function _uVideoPlayer(a,b,c){var d=$("#"+b)[0];if(!d){if(("number"!=typeof c||isNaN(c))&&(c=0),c>=10)return;return void setTimeout("_uVideoPlayer("+dumpObject(a)+","+dumpObject(b)+","+(c+1)+");",100)}var e="",f=0,g=640,h=360,i=0;switch(!0){case!!a.url.match(/youtube\.com|youtu\.be/i):i=f=1;var j=a.url.match(/v=([^\s\&\;\?]+)|be\/([^\s\&\;\?]+)/);j&&(j[1]||j[2])&&(e="http://web.archive.orghttps://youtube.com/embed/"+(j[1]?j[1]:j[2])+"?rel=0&showinfo=0&modestbranding=0&theme=light&autohide=1&html5=1");break;case!!a.url.match(/rutube\.ru/i):i=1;var j=a.url.match(/v=([^\s\&\;]+)|\/video\/(.+)\//);j&&(j[1]||j[2])&&(e="http://web.archive.orghttps://video.rutube.ru/"+(j[1]?j[1]:j[2]));break;case!!a.url.match(/dailymotion\.com|dai\.ly/i):i=f=1;var j=a.url.match(/video\/(.*?)_|ly\/(.*)$/);j&&(j[1]||j[2])&&(e="//web.archive.orghttp://dailymotion.com/embed/video/"+(j[1]?j[1]:j[2]));break;case!!a.url.match(/smotri\.com/i):i=1;var j=a.url.match(/id=([^\s\&\;]+)/);j&&j[1]&&(e="//web.archive.orghttp://pics.smotri.com/player.swf?file="+j[1]+"&bufferTime=3&autoStart=false&str_lang=rus&xmlsource=%2F%2Fpics.smotri.com%2Fcskins%2Fblue%2Fskin_color.xml&xmldatasource=%2F%2Fpics.smotri.com%2Fskin_ng.xml");break;case!!a.url.match(/mail\.ru/i):i=f=1;var j=a.url.match(/\.ru\/(.*?\/)video\/(.*?\.html)/);j&&j[1]&&j[2]&&(e="//web.archive.orghttp://videoapi.my.mail.ru/videos/embed/"+j[1]+j[2]);break;case!!a.url.match(/vimeo\.com/i):i=1;var j=a.url.match(/\/([\d]+)/);j&&j[1]&&(e="http://web.archive.orghttps://vimeo.com/moogaloop.swf?clip_id="+j[1]+"&show_title=1&show_byline=0&show_portrait=0&fullscreen=1&autoplay=0");break;case!!a.url.match(/metacafe\.com/i):i=f=1;var j=a.url.match(/watch\/([\d]+.+)/);j&&j[1]&&(e="//web.archive.orghttp://metacafe.com/embed/"+j[1]);break;case!!a.url.match(/coub\.com/i):i=f=1,e=a.url.replace(/^.+:(\/\/.+\/)view(\/.+)$/,"$1embed$2?muted=false&autostart=false&originalSize=false&startWithHD=false")}var k="";if(e&&e.length>1){var l=a.width?a.width:g,m=a.height?a.height:h;if("object"==typeof swfobject&&swfobject.embedSWF)return void swfobject.embedSWF(e,b,l,m,"10","",{},{allowFullScreen:"true",wmode:"transparent",quality:"high"},{align:"middle"});k=f?'':''}else k=i?'Incorrect video URL.':'Not supported video service. Please use YouTube.com for your video files.';$(d).html(k)} $.fn.imgload=function(a){var b={container:window,holder:"data-path-holder",targets:this,speed:1500};if(a)$.extend(b,a);$(b.targets).bind("load",function(){$(this).animate({opacity:1},b.speed)});$(b.container).bind("scroll",function(){$(b.targets).each(function(d,e){var c=$(e),f=$(window);if(c.attr(b.holder))if(Math.abs(f.scrollTop()+f.height()/2-Math.round(c.offset().top)) f)g=1;var a;if(f!=6){a=[1,2];if(g-2>3)a.push(0);for(var c=g-2<=3?3:g-2,d=g+2>=f?f:g+2;c<=d;c++)a.push(c);if(g+2 =f-1?g+3:f-1;c<=f;c++)a.push(c)}else a=[1,2,3,4,5,6];return{pages:a,start_idx:(g-1)*e,curpage:g,numpages:f}}; /* playback timings (ms): LoadShardBlock: 253.741 (3) esindex: 0.013 captures_list: 282.295 CDXLines.iter: 12.897 (3) PetaboxLoader3.datanode: 124.173 (4) exclusion.robots.fetch: 0.53 (4) exclusion.robots: 1.293 exclusion.robots.policy: 0.352 RedisCDXSource: 10.008 PetaboxLoader3.resolve: 318.845 (2) load_resource: 215.307 */