var PLC=(function(){var a="b25",b="25-Jan-2012 16:20";return{version:a,date:b};}());PLC.PRIVATE=(function(){var d="object",c={},f={},e=null;function b(m,k){if(!m){return null;}var l=k||document,j=l.getElementById(m),h=null,g=-1;if(!j){return null;}if(j.id===m){return j;}if(l.all){h=l.all[m];for(g=h.length-1;g>=0;g=g-1){if(h[g].id===m){return h[g];}}}return null;}function a(g){if(!g){return null;}return(typeof g===d&&g.constructor===Array);}c.copy=function(j){if(!j||typeof j!==d){return null;}var g=(a(j)?[]:{}),h=null;for(h in j){if(j.hasOwnProperty(h)){e=j[h];if(e===null){g[h]=e;}else{if(typeof e===d){g[h]=c.copy(e);}else{g[h]=e;}}}}return g;};f.copy=function(g){return[].concat(g);};f.merge=function(h,n){var g=f.copy(h),m=f.copy(n),l=-1,k=-1;for(l=g.length-1;l>=0;l-=1){for(k=m.length;k>=0;k-=1){if(g[l]===m[k]){m.splice(k,1);}}}return g.concat(m);};c.merge=function(l,j,h){if(!l||typeof l!==d){return null;}if(!j||typeof j!==d){return l;}h=h||{};var g=c.copy(l),k=null;for(k in j){if(j.hasOwnProperty(k)){e=j[k];
if(typeof g[k]===typeof e){if(a(e)){g[k]=f.merge(g[k],f.copy(e));}else{if(typeof e===d){g[k]=c.merge(g[k],c.copy(e),h);}else{g[k]=e;}}}else{if(g[k]===null||g[k]===undefined||e===null||h.noTypeCheck){g[k]=e;}}}}return g;};return{object:c,isArray:a,getEl:b};}());PLC.util=(function(){function a(b){return PLC.PRIVATE.isArray(b);}return{isArray:a};}());PLC.util.json=(function(){var b=(function(){var f,d,c={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},o,m=function(p){throw {name:"SyntaxError",message:p,at:f,text:o};},i=function(p){if(p&&p!==d){m("Expected '"+p+"' instead of '"+d+"'");}d=o.charAt(f);f+=1;return d;},h=function(){var q,p="";if(d==="-"){p="-";i("-");}while(d>="0"&&d<="9"){p+=d;i();}if(d==="."){p+=".";while(i()&&d>="0"&&d<="9"){p+=d;}}if(d==="e"||d==="E"){p+=d;i();if(d==="-"||d==="+"){p+=d;i();}while(d>="0"&&d<="9"){p+=d;i();}}q=+p;if(!isFinite(q)){m("Bad number");}else{return q;}},j=function(){var s,r,q="",p;if(d==='"'){while(i()){if(d==='"'){i();return q;}else{if(d==="\\"){i();
if(d==="u"){p=0;for(r=0;r<4;r+=1){s=parseInt(i(),16);if(!isFinite(s)){break;}p=p*16+s;}q+=String.fromCharCode(p);}else{if(typeof c[d]==="string"){q+=c[d];}else{break;}}}else{q+=d;}}}}m("Bad string");},l=function(){while(d&&d<=" "){i();}},e=function(){switch(d){case"t":i("t");i("r");i("u");i("e");return true;case"f":i("f");i("a");i("l");i("s");i("e");return false;case"n":i("n");i("u");i("l");i("l");return null;}m("Unexpected '"+d+"'");},n,k=function(){var p=[];if(d==="["){i("[");l();if(d==="]"){i("]");return p;}while(d){p.push(n());l();if(d==="]"){i("]");return p;}i(",");l();}}m("Bad array");},g=function(){var q,p={};if(d==="{"){i("{");l();if(d==="}"){i("}");return p;}while(d){q=j();l();i(":");if(Object.hasOwnProperty.call(p,q)){m('Duplicate key "'+q+'"');}p[q]=n();l();if(d==="}"){i("}");return p;}i(",");l();}}m("Bad object");};n=function(){l();switch(d){case"{":return g();case"[":return k();case'"':return j();case"-":return h();default:return d>="0"&&d<="9"?h():e();}};return function(q){var p;
o=q;f=0;d=" ";p=n();l();if(d){m("Syntax error");}return p;};}());function a(h,j){var g="",c="",e=0,d=typeof h,f=(j===true);if(h===null){d="null";}else{if(h===undefined){d="undefined";}else{if(d==="function"){return"null";}else{if(d==="number"){if(window.isNaN(h)){d="NaN";}else{if(h===Infinity){d="Infinity";}}}else{if(h instanceof Array){d="array";}}}}}switch(d){case"object":for(c in h){if(h[c]!=="function"){if(g!==""){g+=",";}if(f){g+=c;}else{g+='"'+c+'"';}g+=":"+a(h[c]);}}g="{"+g+"}";break;case"array":for(e=0;e<h.length;e++){if(g!==""){g+=",";}g+=a(h[e]);}g="["+g+"]";break;case"string":g='"'+h.replace('"','\\"')+'"';break;case"number":g=h+"";break;case"boolean":g=(h?"true":"false");break;default:g=d;break;}return g;}return{parse:b,serialize:a};}());PLC.util.xml=(function(){function b(c){try{if(window.DOMParser){return new window.DOMParser().parseFromString(c,"text/xml");}else{var d=new ActiveXObject("Microsoft.XMLDOM");d.async="false";d.loadXML(c);return d;}}catch(f){return null;}}function a(c){if(window.XMLSerializer){return new window.XMLSerializer().serializeToString(c);
}else{if(c.xml){return c.xml;}else{return"";}}}return{parse:b,serialize:a};}());PLC.util.cookie=(function(){function b(e,k,j){j=j||{};var g=j.expires;var l=j.path||"/";var i=j.domain;var d=j.secure;var f=e+"="+k||"";if(g){var h=new Date();h.setTime(h.getTime()+(g*24*60*60*1000));f+=";expires="+h.toGMTString();}f+=";path="+l;if(i){f+=";domain="+i;}if(d){f+=";secure";}document.cookie=f;}function a(d){var j=null,h=null,g=document.cookie.split(";");for(var f=g.length-1;f>=0;f--){var e=g[f];j=e.substr(0,e.indexOf("="));h=e.substr(e.indexOf("=")+1);j=j.replace(/^\s+|\s+$/g,"");if(j==d){return h;}}return null;}function c(e,d){d=d||{};d.expires=-1;b(e,"",d);}return{getCookie:a,setCookie:b,deleteCookie:c};}());PLC.util.url=(function(){function a(d){d=d||location.search;if(d){d=d.split("?");if(d.length>=2){return d[1];}}return null;}function b(g){var j={};var k=a(g)||g;if(k){var f=k.split("&");var e=f.length;for(var d=0;d<e;d++){var h=f[d].split("=");j[h[0]]=(h.length>1?h[1]:null);}}return j;}function c(e,d){d=d||{};
if(d.params){return d.params[e];}return b(d.uri)[e];}return{getQueryString:a,getAllParameters:b,getParameter:c};}());PLC.Tooltip=function(a){this.node=null;this.offset={x:a.xOffset===undefined?PLC.Tooltip.X_OFFSET:a.xOffset,y:a.yOffset===undefined?PLC.Tooltip.Y_OFFSET:a.yOffset};if(typeof(a)==="string"){a={html:a};}if(typeof(a)==="object"){this.node=PLC.dom.create({tagName:"DIV",className:"PLC_Tooltip",innerHTML:a.html||"",id:a.id||"",style:{width:(a.width||300)+"px",height:(a.height?a.height+"px":"")},appendTo:document.body});}};PLC.Tooltip.prototype.showBy=function(c){var b=PLC.dom.locate(c),a=this.node.style;a.top=(b.y+c.offsetHeight+this.offset.y)+"px";a.left=(b.x+this.offset.x)+"px";a.display="block";};PLC.Tooltip.prototype.hide=function(){this.node.style.display="none";};PLC.Tooltip.prototype.destroy=function(){this.node.parentNode.removeChild(this.node);};PLC.Tooltip.prototype.update=function(a){this.node.innerHTML=a;this.node.setAttribute("updated",true);};PLC.Tooltip.Y_OFFSET=5;
PLC.Tooltip.X_OFFSET=0;Array.prototype.fromSequence=function(c){var b=c.length,a=new Array(b);while(b--){if(b in c){a[b]=c[b];}}return a;};PLC.classes=(function(){function c(f,e){return(f.className||"").match(new RegExp("(\\s|^)"+e+"(\\s|$)"));}function d(f,e){if(!c(f,e)){f.className=(f.className||"").split(" ").concat(e).join(" ");}}function b(f,e){f.className=(f.className||"").replace(new RegExp("(\\s|^)"+e+"(\\s|$)")," ");}function a(f,e,g){if(!c(f,e)||g){d(f,e);}else{b(f,e);}}return{has:c,add:d,remove:b,toggle:a};}());PLC.connect=function(){var a={};function f(){var h=document.domain;var i=h.split(".");var g=i.length;if(g>2){h=i[g-2]+"."+i[g-1];}document.domain=h;}function d(h,g){if(typeof g==="function"){g();}}function c(i,h){var g=a[i];if(!g){return;}if(!g.frame.PLC){return;}g.frame.PLC.connect.listen(window,h);}function e(i){if(!i){return null;}if(a[i]){return a[i];}if(i===window.parent){a[i]={el:null,frame:i};return a[i];}var g=PLC.PRIVATE.getEl(i);var h=frames[i];if(!g||!h){return null;
}a[i]={el:g,frame:h};return a[i];}function b(i){if(!i){return;}var h=a[i];if(!h){return;}var g=h.frame.document.body;h.el.style.width=g.scrollWidth+"px";h.el.style.height=g.scrollHeight+"px";}return{init:f,speak:c,listen:d,register:e,resize:b};}();PLC.crossbrowser=function(){var c=(navigator.appVersion.indexOf("MSIE")!=-1);var d=c&&(/msie|MSIE 6/.test(navigator.userAgent));function b(f,g){var e=[];if(typeof(g)==="number"){g=Math.min(Math.max(g,0),100);if(c){f.style.filter="alpha(opacity="+g+")";}else{f.style.opacity=g/100;}return g;}else{if(c){e=f.style.filter.split("opacity=");return(e.length>1)?parseInt(e[1],10):0;}else{return parseInt(f.style.opacity*100,10);}}}function a(g,h,e){var f=g.style;if(g.currentStyle){f=g.currentStyle[h];}else{if(window.getComputedStyle){f=document.defaultView.getComputedStyle(g,null).getPropertyValue(e);}}return f;}return{isIE:c,isIE6:d,opacity:b,getCurrentStyle:a};}();Date._MD=[31,28,31,30,31,30,31,31,30,31,30,31];Date._MN=["January","February","March","April","May","June","July","August","September","October","November","December"];
Date._SMN=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];Date._SDN=["S","M","T","W","T","F","S","S"];Date._DN=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"];Date._FD=0;Date.SECOND=1000;Date.MINUTE=60*Date.SECOND;Date.HOUR=60*Date.MINUTE;Date.DAY=24*Date.HOUR;Date.WEEK=7*Date.DAY;Date.parseDate=function(l,c){var n=new Date();var o=0;var e=-1;var k=0;var q=l.split(/\W+/);var p=c.match(/%./g);var h=0,g=0;var r=0;var f=0;for(h=0;h<q.length;++h){if(!q[h]){continue;}switch(p[h]){case"%d":case"%e":k=parseInt(q[h],10);break;case"%m":e=parseInt(q[h],10)-1;break;case"%Y":case"%y":o=parseInt(q[h],10);if(o<100){o+=(o>29)?1900:2000;}break;case"%b":case"%B":for(g=0;g<12;++g){if(Date._MN[g].substr(0,q[h].length).toLowerCase()===q[h].toLowerCase()){e=g;break;}}break;}}if(isNaN(o)){o=n.getFullYear();}if(isNaN(e)){e=n.getMonth();}if(isNaN(k)){k=n.getDate();}if(o!==0&&e!==-1&&k!==0){return new Date(o,e,k);}o=0;e=-1;k=0;for(h=0;h<q.length;++h){if(q[h].search(/[a-zA-Z]+/)!=-1){var s=-1;
for(g=0;g<12;++g){if(Date._MN[g].substr(0,q[h].length).toLowerCase()===q[h].toLowerCase()){s=g;break;}}if(s!=-1){if(e!=-1){k=e+1;}e=s;}}else{if(parseInt(q[h],10)<=12&&e===-1){e=q[h]-1;}else{if(parseInt(q[h],10)>31&&o===0){o=parseInt(q[h],10);if(o<100){o+=(o>29)?1900:2000;}}else{if(k===0){k=q[h];}}}}}if(o===0){o=n.getFullYear();}if(e!==-1&&k!==0){return new Date(o,e,k);}return n;};Date.isLeapYear=function(a){return(((0===(a%4))&&((0!==(a%100))||(0===(a%400)))));};Date.prototype.getMonthDays=function(a){if(a===undefined){a=this.getMonth();}return(a===1&&Date.isLeapYear(this.getFullYear()))?29:Date._MD[a];};Date.prototype.getDayOfYear=function(){var b=this.getFullYear(),a=new Date(b,this.getMonth(),this.getDate(),0,0,0),d=new Date(b,0,0,0,0,0),c=a-d;return Math.floor(c/Date.DAY);};Date.prototype.getWeekNumber=function(){var c=new Date(this.getFullYear(),this.getMonth(),this.getDate(),0,0,0);var b=c.getDay();c.setDate(c.getDate()-(b+6)%7+3);var a=c.valueOf();c.setMonth(0);c.setDate(4);return Math.round((a-c.valueOf())/(7*86400000))+1;
};Date.prototype.equalsTo=function(a,b){b=!!b;return((this.getFullYear()===a.getFullYear())&&(this.getMonth()===a.getMonth())&&(this.getDate()===a.getDate())&&(b||((this.getHours()===a.getHours())&&(this.getMinutes()===a.getMinutes()))));};Date.prototype.setDateOnly=function(a){var b=new Date(a);this.setDate(1);this.setFullYear(b.getFullYear());this.setMonth(b.getMonth());this.setDate(b.getDate());};Date.prototype.print=function(a){var b=this.getMonth();var f=this.getDate();var g=this.getFullYear();var h=this.getWeekNumber();var i=this.getDay();var n={};var j=this.getHours();var c=(j>=12);var e=(c)?(j-12):j;var l=this.getDayOfYear();if(e===0){e=12;}n["%a"]=Date._SDN[i];n["%A"]=Date._DN[i];n["%b"]=Date._SMN[b];n["%B"]=Date._MN[b];n["%C"]=1+Math.floor(g/100);n["%d"]=(f<10)?("0"+f):f;n["%e"]=f;n["%j"]=(l<100)?((l<10)?("00"+l):("0"+l)):l;n["%m"]=(b<9)?("0"+(1+b)):(1+b);n["%U"]=n["%W"]=n["%V"]=(h<10)?("0"+h):h;n["%u"]=i+1;n["%w"]=i;n["%y"]=(""+g).substr(2,2);n["%Y"]=g;n["%n"]="\n";n["%t"]="\t";
n["%%"]="%";var k=/%./g;return a.replace(k,function(d){return n[d]||d;});};PLC.dom=(function(){var k=document;function c(m){return PLC.PRIVATE.getEl(m);}function h(r){if(r===undefined||r===null||typeof r!=="object"){return null;}var v=r.document||document,t=r.root||v.body||v.documentElement,q=[],x=[],p=null,s=0,y=(r.tagName?1:0)+(r.id?2:0)+(r.className?4:0)+(r.name?8:0),n=(r.tagName?1:0),o=(r.noRecursion!==true)&&(r.shallow!==true),z=n,u=r.tagName?r.tagName.split("|"):[],w=null,m=o;if(u.length>0){for(s=0;s<u.length;s++){q=q.concat(Array.prototype.fromSequence(t.getElementsByTagName(u[s])));}if(o){if(y===1){x=q;return x.length>0?x:null;}m=false;}}else{if(t){q=t.childNodes;}}if(t&&q){for(s=0;s<q.length;s++){p=q[s];if(!o&&p.parentNode!==t){continue;}if(p.nodeType===1){z=n;if(r.id&&p.id===r.id){z|=2;}if(r.className&&PLC.classes.has(p,r.className)){z|=4;}if(r.name&&p.getAttribute("name")===r.name){z|=8;}if(z===y){x[x.length]=p;}if(m){r.root=p;w=h({className:r.className,id:r.id,name:r.name,root:p,document:v,tagName:r.tagName});
if(w){x=x.concat(w);}}}}}return x.length>0?x:null;}function g(p){var n,o=null;if(p.tagName){o=document.createElement(p.tagName);if(p.id){o.id=p.id;}if(p.className){o.className=p.className;}if(p.appendTo){if(typeof(p.appendTo)==="string"){p.appendTo=PLC.dom.getEl(p.appendTo);}if(p.appendTo){p.appendTo.appendChild(o);}}else{if(p.insertAsFirstChildOf){if(typeof(p.insertAsFirstChildOf)==="string"){p.insertAsFirstChildOf=PLC.dom.getEl(p.insertAsFirstChildOf);}if(p.insertAsFirstChildOf){p.insertAsFirstChildOf.insertBefore(o,p.insertAsFirstChildOf.firstChild);}}else{if(p.insertBefore){if(typeof(p.insertBefore)==="string"){p.insertBefore=PLC.dom.getEl(p.insertBefore);}if(p.insertBefore&&p.insertBefore.parentNode){p.insertBefore.parentNode.insertBefore(o,p.insertBefore);}}else{if(p.insertAfter){if(typeof(p.insertAfter)==="string"){p.insertAfter=PLC.dom.getEl(p.insertAfter);}if(p.insertAfter&&p.insertAfter.parentNode){if(p.insertAfter.nextSibling){p.insertAfter.parentNode.insertBefore(o,p.insertAfter.nextSibling);
}else{p.insertAfter.parentNode.appendChild(o);}}}}}}if(p.attributes&&typeof(p.attributes)==="object"){for(n in p.attributes){if(typeof n==="string"){o.setAttribute(n,p.attributes[n]);}}}if(p.style&&typeof(p.style)==="object"){for(n in p.style){if(typeof n==="string"){o.style[n]=p.style[n];}}}if(p.innerHTML){o.innerHTML=p.innerHTML;}if(p.text){o.text=p.text;}return o;}else{return null;}}function d(m,n){var o=(n||{});o.tagName=m;return g(o);}function i(m){if(!m){return null;}return m.srcElement||m.target;}function l(m){if(!m){return null;}var n={x:0,y:0};do{n.x+=m.offsetLeft;n.y+=m.offsetTop;m=m.offsetParent;}while(m);return n;}function a(r){if(!r){return null;}var n=l(r),q=n.x,p=n.y,o=r.offsetWidth,m=r.offsetHeight;return{width:o,height:m,top:p,right:q+o,bottom:p+m,left:q};}function j(s){var o=s.leaf,q=(s.tagName&&s.tagName.toUpperCase())||"",t=s.className,m=s.id,n=o.parentNode,r=s.node||null,u=(q?1:0)+(m?2:0)+(t?4:0)+(r?8:0),v=0;while(n){v=0;if(q===n.tagName.toUpperCase()){v+=1;}if(m&&n.id===m){v+=2;
}if(t&&PLC.classes.has(n,t)){v+=4;}if(r&&n===r){v+=8;}if(u===v){break;}n=(n===document.body)?null:n.parentNode;}return n;}function e(q,n){var s=n,r=q.split("/"),m="";for(var p=0;p<r.length;p++){var o=PLC.dom.getElements({root:s,tagName:r[p]});if(o&&o.length>0){s=o[0];m=s.textContent||s.text;}else{m="";break;}}return m;}function b(m,o){if(m&&o){var n=o.appendChild(m.cloneNode(true));m.parentNode.replaceChild(o,m);return n;}else{return null;}}function f(m,n){if(m&&n){n.parentNode.replaceChild(m,n);return m;}else{return null;}}return{CreateEl:d,create:g,getEl:c,getElements:h,target:i,locate:l,dimensions:a,findParentNode:j,queryValue:e,wrap:b,unwrap:f};}());PLC.g=PLC.dom.getEl;PLC.elements=PLC.dom.getElements;PLC.create=PLC.dom.create;PLC.event=(function(){function h(k,j){if(!k){return null;}if(j){if(k.substr(0,2)!=="on"){k="on"+k;}}else{if(k.substr(0,2)==="on"){k=k.substr(2);}}return k;}function b(j){if(!j){return null;}return{target:j.srcElement||j.target,type:j.type};}function a(l,k){var j,m;
if(document.createEvent){k=h(k,false);if(k){switch(k){case"click":case"contextmenu":case"dblclick":case"mousedown":case"mouseup":case"mousemove":case"mouseover":case"mouseout":case"mouseenter":case"mouseleave":case"mousewheel":case"DOMMouseScroll":m="MouseEvents";break;default:m="HTMLEvents";break;}j=document.createEvent(m);j.initEvent(k,true,true);l.dispatchEvent(j);return true;}}else{if(document.createEventObject){k=h(k,true);if(k){j=document.createEventObject();l.fireEvent(k,j);return true;}}}return false;}function i(l,k,j){if(l!==undefined&&k!==undefined&&j!==undefined){if(l.addEventListener){k=h(k,false);if(k){l.addEventListener(k,j,false);return true;}}else{if(l.attachEvent){k=h(k,true);if(k){l.attachEvent(k,j);return true;}}}}return false;}function d(l,k,j){if(l!==undefined&&k!==undefined&&j!==undefined){if(l.removeEventListener){k=h(k,false);if(k){l.removeEventListener(k,j,true);return true;}}else{if(l.detachEvent){k=h(k,true);if(k){l.detachEvent(k,j);return true;}}}}return false;
}function e(k,j){if(k!==undefined&&j!==undefined){j=h(j,true);k[j]=null;}}function g(j){if(j&&typeof(j.stopPropagation)!=="undefined"){j.stopPropagation();}else{window.event.cancelBubble=true;}}function f(j){if(j&&typeof(j.preventDefault)!=="undefined"){j.preventDefault();}else{window.event.returnValue=false;}}function c(j){if(j&&typeof j.preventDefault!="undefined"){j.preventDefault();j.stopPropagation();}else{window.event.cancelBubble=true;window.event.returnValue=false;}return false;}return{add:i,remove:d,removeAll:e,fire:a,info:b,stopEvent:c,stopPropagation:g,preventDefault:f};}());PLC.event.behaviour=(function(){var l=PLC.event,q=PLC.PRIVATE,e=false,f=["click","mousedown","mouseup","mouseover","mouseout","keypress","keydown","keyup"],s=["focus","blur","change"],b=null,g=document.body;function n(u,w,v){var t=b[v];if(!t){return null;}t=t[w];if(!t){return null;}t=t[u];if(!t){return null;}if(typeof t.func!=="function"){return null;}return t;}function d(t){if(t.preventDefault){t.preventDefault();
}t.returnValue=false;}function i(x,w,u){var v=u.preventDefault,t=u.func;if((w.tagName==="A"&&v!==false)||v){d(x);}if(typeof t==="function"){t.apply(w,[x,w]);}w.bubble=u.bubble;w.breakchain=u.breakchain;return w;}function m(x,y){y=y||x.target||x.srcElement;var z=x.type,u=null,A=false,v="",t=0,w=-1,B=y.parentNode;function C(){if(u){i(x,y,u);A=A||u.bubble;}}if(y.id){u=n(z,y.id,"id");C();}if(!y.breakchain){v=y.className.split(" ");t=v.length;for(w=0;w<t;w+=1){if(y.breakchain){break;}u=n(z,v[w],"className");C();}}if(!y.breakchain){u=n(z,y.tagName,"tagName");C();}if(y!==g&&A&&B){m(x,B);}}function c(x,z){var w=x.id,v=null,y=null,u=-1,t=null;for(v in w){if(w.hasOwnProperty(v)){y=q.getEl(v);if(!y){continue;}for(u=s.length-1;u>=0;u-=1){t=s[u];if(w[v].hasOwnProperty(t)){if(z){l.removeAll(y,t);}else{l.add(y,t,m);}}}}}}function k(){for(var t=f.length;t>=0;t-=1){l.add(g,f[t],m);}c(b,false);}function o(){for(var t=f.length;t>=0;t-=1){l.removeAll(g,f[t]);}c(b,true);}function h(t){if(e){return false;}var u=window;
b=t||{};if(g){k();}else{l.add(u,"load",k);}l.add(u,"unload",o);e=true;return true;}function a(t){if(!e){return false;}o();if(t){b=null;}e=false;return true;}function p(){return e;}function j(t){b=q.object.merge(b,t);if(p()){c(t,false);}}function r(){return b;}return{isEnabled:p,enable:h,disable:a,add:j,inspect:r};}());if(Function.prototype.bind===undefined){Function.prototype.bind=function(){var b=this,c=arguments[0]||undefined,a=Array.prototype.slice.call(arguments,1);if(a.length>0){return function(){return b.apply(c,a);};}else{return function(){return b.call(c);};}};}PLC.fx=(function(){var c=null;function b(h,n,l,m,g){var k=20,j=null,i=0,o=function(w,t,z){var q=[parseInt(w.substring(1,3),16),parseInt(t.substring(1,3),16)],v=[parseInt(w.substring(3,5),16),parseInt(t.substring(3,5),16)],x=[parseInt(w.substring(5,7),16),parseInt(t.substring(5,7),16)],u=parseInt(q[0]+((q[1]-q[0])/100*z),10).toString(16),y=parseInt(v[0]+((v[1]-v[0])/100*z),10).toString(16),s=parseInt(x[0]+((x[1]-x[0])/100*z),10).toString(16);
u=(u.length==1)?"0"+u:u;y=(y.length==1)?"0"+y:y;s=(s.length==1)?"0"+s:s;return"#"+u+y+s;},p=function(){var r=new Date().getTime()-i,q=r*100/m;if(q>=100){q=100;clearInterval(j);if(g){g();}}h.style.backgroundColor=o(n,l,q);};if(h){if(n&&l&&m){i=new Date().getTime();j=setInterval(p,m/k);}else{h.style.backgroundColor=l||n;}}}function d(i,j,h){function g(){if(PLC.crossbrowser.opacity(c)===0){c.style.display="none";}if(h){h();}}if(c===null){c=PLC.dom.create({tagName:"DIV",appendTo:document.body,style:{position:"absolute",height:document.body.scrollHeight+"px",width:"100%",top:"0px",left:"0px",backgroundColor:"black",zIndex:9998,display:"none"}});PLC.crossbrowser.opacity(c,0);}c.style.display="block";PLC.fx.fade(c,i,j,(i<0),g);return c;}function f(i,n,m,q,g){var o=PLC.crossbrowser.opacity(i),r=o,l=50,k=null,h=0,p=function(){var u=[q?"remove":"add"],t=["mousedown","mouseup","click","dblclick","mousemove","mouseover","mouseout"],s=0;if(typeof(q)==="boolean"){for(s=0;s<t.length;s++){PLC.event[u](i,t[s],PLC.event.stopEvent);
}}},j=function(){var t=new Date().getTime()-h,s=t*100/m;if(s>=100){s=100;PLC.crossbrowser.opacity(i,n);clearInterval(k);p();if(g){g();}}else{o=(r+((n-r)/100*s));PLC.crossbrowser.opacity(i,o);}};if(i){if(n<0){n=Math.max(o+n,0);}if(typeof(m)==="number"){h=new Date().getTime();k=setInterval(j,l);}else{PLC.crossbrowser.opacity(i,n);p();}}}function e(i,k,j,h,g){return Math.ceil(i+(Math.pow(((1/j)*h),g)*(k-i)));}function a(j){var l=j.element||null,m=j.direction==="up"?true:false,k=((typeof(j.duration)==="number"&&k)||0.5)*1000,q=null,i=0,o=20,h=k/o,n=0;if(!l){return;}l.style.visibility="hidden";l.style.display="block";var p=PLC.dom.dimensions(l),g=PLC.dom.create({tagName:"DIV",style:{position:"absolute",top:p.top+"px",left:p.left+"px",width:l.offsetWidth+"px",height:(m?l.clientHeight:"0")+"px",zIndex:PLC.crossbrowser.getCurrentStyle(l,"zIndex","z-index"),borderTopColor:PLC.crossbrowser.getCurrentStyle(l,"borderTopColor","border-top-color"),borderTopStyle:PLC.crossbrowser.getCurrentStyle(l,"borderTopStyle","border-top-style"),borderTopWidth:PLC.crossbrowser.getCurrentStyle(l,"borderTopWidth","border-top-width"),borderBottomColor:PLC.crossbrowser.getCurrentStyle(l,"borderBottomColor","border-bottom-color"),borderBottomStyle:PLC.crossbrowser.getCurrentStyle(l,"borderBottomStyle","border-bottom-style"),borderBottomWidth:PLC.crossbrowser.getCurrentStyle(l,"borderBottomWidth","border-bottom-width"),overflow:"hidden",visibility:"hidden"}});
l=PLC.dom.wrap(l,g);l.style.top="0px";l.style.left="0px";l.style.overflow="hidden";l.style.visibility="visible";g.style.visibility="visible";i=new Date();n=0;q=window.setInterval(function(){var u=new Date(),s=u-i,t=l.clientHeight,v=(m?t:0),r=(m?0:t);if(s>=k){window.clearInterval(q);l.style.visibility="hidden";l.style.top=g.style.top;l.style.left=g.style.left;PLC.dom.unwrap(l,g);if(!m){l.style.visibility="visible";}}else{n++;g.style.height=parseInt(e(v,r,h,n,0.35),10)+"px";}},o);}return{highlight:b,fade:f,darkness:d,slide:a};}());PLC.log=(function(){var g=null,h={undef:{name:"Undefined Error",msg:"An undefined error was logged"}};function a(i){var j="";if(i.name){j+=i.name;j+=": ";}if(i.msg){j+=i.msg;}if(i.caller){j+=" [";j+=i.caller;j+="]";}return j;}function f(){return null;}function e(i){var j=h.undef,k="";i=i||{};if(!i.name){i.name=j.name;}if(!i.msg){i.msg=j.msg;}k=a(i);g.error(k,i.ex);}function b(i){i=i||{};if(!i.msg){return;}var j=a(i);g.debug(j,i.ex);}function d(i){if(!i){return false;
}g=i;PLC.log.error=e;PLC.log.debug=b;return true;}function c(){g=null;PLC.log.error=f;PLC.log.debug=f;}return{enable:d,disable:c,error:f,debug:f,errorTypes:h};}());if(typeof String.prototype.trim!=="function"){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"");};}if(typeof String.prototype.ltrim!=="function"){String.prototype.ltrim=function(){return this.replace(/^\s+/,"");};}if(typeof String.prototype.rtrim!=="function"){String.prototype.rtrim=function(){return this.replace(/\s+$/,"");};}if(typeof String.prototype.startsWith!=="function"){String.prototype.startsWith=function(a){return this.slice(0,a.length)===a;};}if(typeof String.prototype.endsWith!=="function"){String.prototype.endsWith=function(a){return this.slice(-a.length)===a;};}PLC.window=(function(){var e=window,i=document,b=i.documentElement,d=i.body;function h(){var j,k;if(e.innerWidth!==undefined){j=e.innerWidth;k=e.innerHeight;}else{if(b!==undefined&&b.clientHeight!==undefined){j=b.clientWidth;k=b.clientHeight;
}else{if(d!==undefined){j=d.clientWidth;k=d.clientHeight;}}}return{width:j,height:k};}function c(){var j,k;if(e.pageYOffset!==undefined){j=e.pageXOffset;k=e.pageYOffset;}else{if(b!==undefined&&b.scrollTop!==undefined){j=b.scrollLeft;k=b.scrollTop;}else{if(d!==undefined){j=d.scrollLeft;k=d.scrollTop;}}}return{x:j,y:k};}function g(){var m=h(),k=c(),o=k.y,j=k.x,l=m.width,n=m.height;return{width:l,height:n,top:o,left:j,right:j+l,bottom:o+n,centreX:j+(l/2),centreY:o+(n/2),windowCentreX:(l/2),windowCentreY:(n/2)};}function f(l){l=l||window.event;if(!l){return null;}var k=0,m=0,j=c();if(l.pageX){k=l.pageX;m=l.pageY;}else{if(l.clientX){k=l.clientX+j.x;m=l.clientY+j.y;}}return{x:k,y:m};}function a(m,l,j){var k=g();if(m.style.position==="fixed"){m.style.left=(k.windowCentreX-(l/2))+"px";m.style.top=(k.windowCentreY-(j/2))+"px";}else{if(m.style.position==="absolute"){m.style.left=(k.centreX-(l/2))+"px";m.style.top=(k.centreY-(j/2))+"px";}}}return{viewport:g,mouse:f,centreElement:a};}());PLC.xhr=(function(){var c=["GET","POST","PUT","DELETE"],h=["TEXT","XML","JSON"];
function e(){var i;if(typeof(XMLHttpRequest)!=="undefined"){i=new XMLHttpRequest();try{if(window.netscape&&window.netscape.security.PrivilegeManager.enablePrivilege){i._open=i.open;i.open=function(q,o,n){try{window.netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");this._open(q,o,n);}catch(p){this._open(q,o,n);}};}return i;}catch(l){}}else{try{return new ActiveXObject("Msxml2.XMLHTTP.6.0");}catch(m){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0");}catch(k){}try{return new ActiveXObject("Msxml2.XMLHTTP");}catch(j){}throw new Error("This browser does not support XMLHttpRequest.");}}function g(j,l,m){var k=j.split("?");if(k.length==1){return j+"?"+l+"="+m;}else{var i=k[k.length-1].split("#");i[0]+="&"+l+"="+m;k[k.length-1]=i.join("");return k.join("?");}}function d(){return(((1+Math.random())*65536)|0).toString(16).substring(1);}function a(){return(d()+d()+"-"+d()+"-"+d()+"-"+d()+"-"+d()+d()+d());}function b(k){var j=[],i="";if(!k){return"";}if(typeof encodeURI==="undefined"||typeof encodeURIComponent==="undefined"){return"";
}if(typeof k==="string"){return encodeURI(k);}if(typeof k==="object"){for(i in k){if(typeof(k[i])!=="function"){j.push(encodeURIComponent(i)+"="+encodeURIComponent(k[i]));}}}return j.join("&");}function f(u,s,q,D){s=s||{};var x=e(),v=null,k=q||s.onSuccess||null,n=D||s.onFailure||function(I,J,K,H,G){if(window.console&&window.console.log){window.console.log("Error: "+I+"\n"+J+"\nStatus: "+H+"\nResponse: "+K+"\n");}},C=s.format||"TEXT",m=s.method||"GET",r=(typeof(k)==="function"),F=s.data||null,i=s.scope||window,p=s.postName||"",o=s.options||{},w=s.timeout||0,t=null,y=s.local||false,j=s.headers||{},l=s.forceRefreshParameterName||"";if(l){u=g(u,l,a());}if(F){o.params=F;}function E(J){var I=null,K=null,G={success:false,data:null,text:J.responseText,status:J.status,error:{name:"",message:""}},H=J.status;clearTimeout(t);if((H>=200&&H<300)||H===304||(y&&H===0)){switch(C){case"XML":I=J.responseXML;if(I&&I.documentElement.tagName!="parsererror"){G.success=true;G.data=I;}else{G.success=false;G.error.name="Invalid XML";
G.error.message="The XML file : "+u+" is not valid.";}break;case"TEXT":G.success=true;G.data=G.text;break;case"JSON":try{K=PLC.util.json.parse(G.text);}catch(L){G.success=false;G.error.name="Invalid JSON";G.error.message="The JSON file : "+u+" is not valid.";}if(K){G.success=true;G.data=K;}break;}}else{G.success=false;G.error.name="HTTP Error "+J.status;G.error.message=G.error.name+(J.statusText?":"+J.statusText:"");G.text=G.error.message;}return G;}function z(){var G=null,H=null;if(x.readyState===4){G=E(x);if(G.success){setTimeout(function(){k.call(i,G.data,G.text,o);},1);}else{H=G.error;setTimeout(function(){n.call(i,H.name,H.message,G.text,G.status,o);},1);}}}function B(I,G){I=I.toUpperCase();for(var H=0;H<G.length;H++){if(G[H]===I){return true;}}return false;}function A(){var G="",H="";switch(C){case"XML":H="text/xml";break;case"TEXT":H="text/plain";break;case"JSON":H="text/javascript";break;}if(m==="GET"){j["Content-Type"]=H+"; charset=ISO-8859-1";}else{j["X-Requested-With"]="XMLHttpRequest";
j["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8";j["Content-Length"]=(v||"").length;}for(G in j){if(typeof j[G]!=="function"){x.setRequestHeader(G,j[G]);}}if(C==="TEXT"){try{x.overrideMimeType("text/html;charset=ISO-8859-1");}catch(J){}}if(C==="XML"){try{x.overrideMimeType("text/xml");}catch(I){}}}if(!u){throw new Error("Empty URL in AJAX call");}else{if(!B(C,h)){throw new Error("Invalid result format in AJAX call");}if(!B(m,c)){throw new Error("Invalid HTTP method in AJAX call");}if(r){x.onreadystatechange=z;}if(F){if(p){v=p+"="+encodeURIComponent(PLC.util.json.serialize(F));}else{v=b(F);}}x.open(m,u,r);A();x.send(v);if(w){t=setTimeout(function(){x.abort();},w);}return(r?null:E(x));}}return{request:f,urlEncoder:b,addParamToURL:g};}());PLC.ajax=PLC.xhr.request;
