// All or parts (C) IC-Agency, 2006-2007
// IL sagit de la version 19 mais renommé en 18 pour des raisons de commodité et de rapidité de MEL
if(typeof YAHOO=="undefined"){var YAHOO={};}
YAHOO.namespace=function(){var a=arguments,o=null,i,j,d;for(i=0;i<a.length;i=i+1){d=a[i].split(".");o=YAHOO;for(j=(d[0]=="YAHOO")?1:0;j<d.length;j=j+1){o[d[j]]=o[d[j]]||{};o=o[d[j]];}}
return o;};YAHOO.log=function(msg,cat,src){var l=YAHOO.widget.Logger;if(l&&l.log){return l.log(msg,cat,src);}else{return false;}};YAHOO.init=function(){this.namespace("util","widget","example");if(typeof YAHOO_config!="undefined"){var l=YAHOO_config.listener,ls=YAHOO.env.listeners,unique=true,i;if(l){for(i=0;i<ls.length;i=i+1){if(ls[i]==l){unique=false;break;}}
if(unique){ls.push(l);}}}};YAHOO.register=function(name,mainClass,data){var mods=YAHOO.env.modules;if(!mods[name]){mods[name]={versions:[],builds:[]};}
var m=mods[name],v=data.version,b=data.build,ls=YAHOO.env.listeners;m.name=name;m.version=v;m.build=b;m.versions.push(v);m.builds.push(b);m.mainClass=mainClass;for(var i=0;i<ls.length;i=i+1){ls[i](m);}
if(mainClass){mainClass.VERSION=v;mainClass.BUILD=b;}else{YAHOO.log("mainClass is undefined for module "+name,"warn");}};YAHOO.env=YAHOO.env||{modules:[],listeners:[],getVersion:function(name){return YAHOO.env.modules[name]||null;}};YAHOO.lang={isArray:function(obj){if(obj.constructor&&obj.constructor.toString().indexOf('Array')>-1){return true;}else{return YAHOO.lang.isObject(obj)&&obj.constructor==Array;}},isBoolean:function(obj){return typeof obj=='boolean';},isFunction:function(obj){return typeof obj=='function';},isNull:function(obj){return obj===null;},isNumber:function(obj){return typeof obj=='number'&&isFinite(obj);},isObject:function(obj){return typeof obj=='object'||YAHOO.lang.isFunction(obj);},isString:function(obj){return typeof obj=='string';},isUndefined:function(obj){return typeof obj=='undefined';},hasOwnProperty:function(obj,prop){if(Object.prototype.hasOwnProperty){return obj.hasOwnProperty(prop);}
return!YAHOO.lang.isUndefined(obj[prop])&&obj.constructor.prototype[prop]!==obj[prop];},extend:function(subc,superc,overrides){var F=function(){};F.prototype=superc.prototype;subc.prototype=new F();subc.prototype.constructor=subc;subc.superclass=superc.prototype;if(superc.prototype.constructor==Object.prototype.constructor){superc.prototype.constructor=superc;}
if(overrides){for(var i in overrides){subc.prototype[i]=overrides[i];}}},augment:function(r,s){var rp=r.prototype,sp=s.prototype,a=arguments,i,p;if(a[2]){for(i=2;i<a.length;i=i+1){rp[a[i]]=sp[a[i]];}}else{for(p in sp){if(!rp[p]){rp[p]=sp[p];}}}}};YAHOO.init();YAHOO.util.Lang=YAHOO.lang;YAHOO.augment=YAHOO.lang.augment;YAHOO.extend=YAHOO.lang.extend;YAHOO.register("yahoo",YAHOO,{version:"2.2.0",build:"127"});

YAHOO.util.Connect={_msxml_progid:['MSXML2.XMLHTTP.3.0','MSXML2.XMLHTTP','Microsoft.XMLHTTP'],_http_headers:{},_has_http_headers:false,_use_default_post_header:true,_default_post_header:'application/x-www-form-urlencoded',_use_default_xhr_header:true,_default_xhr_header:'XMLHttpRequest',_has_default_headers:true,_default_headers:{},_isFormSubmit:false,_isFileUpload:false,_formNode:null,_sFormData:null,_poll:{},_timeOut:{},_polling_interval:50,_transaction_id:0,setProgId:function(id)
{this._msxml_progid.unshift(id);},setDefaultPostHeader:function(b)
{this._use_default_post_header=b;},setDefaultXhrHeader:function(b)
{this._use_default_xhr_header=b;},setPollingInterval:function(i)
{if(typeof i=='number'&&isFinite(i)){this._polling_interval=i;}},createXhrObject:function(transactionId)
{var obj,http;try
{http=new XMLHttpRequest();obj={conn:http,tId:transactionId};}
catch(e)
{for(var i=0;i<this._msxml_progid.length;++i){try
{http=new ActiveXObject(this._msxml_progid[i]);obj={conn:http,tId:transactionId};break;}
catch(e){}}}
finally
{return obj;}},getConnectionObject:function()
{var o;var tId=this._transaction_id;try
{o=this.createXhrObject(tId);if(o){this._transaction_id++;}}
catch(e){}
finally
{return o;}},asyncRequest:function(method,uri,callback,postData)
{var o=this.getConnectionObject();if(!o){return null;}
else{if(this._isFormSubmit){if(this._isFileUpload){this.uploadFile(o.tId,callback,uri,postData);this.releaseObject(o);return;}
if(method.toUpperCase()=='GET'){if(this._sFormData.length!=0){uri+=((uri.indexOf('?')==-1)?'?':'&')+this._sFormData;}
else{uri+="?"+this._sFormData;}}
else if(method.toUpperCase()=='POST'){postData=postData?this._sFormData+"&"+postData:this._sFormData;}}
o.conn.open(method,uri,true);if(this._use_default_xhr_header){if(!this._default_headers['X-Requested-With']){this.initHeader('X-Requested-With',this._default_xhr_header,true);}}
if(this._isFormSubmit||(postData&&this._use_default_post_header)){this.initHeader('Content-Type',this._default_post_header);if(this._isFormSubmit){this.resetFormState();}}
if(this._has_default_headers||this._has_http_headers){this.setHeader(o);}
this.handleReadyState(o,callback);o.conn.send(postData||null);return o;}},handleReadyState:function(o,callback)
{var oConn=this;if(callback&&callback.timeout){this._timeOut[o.tId]=window.setTimeout(function(){oConn.abort(o,callback,true);},callback.timeout);}
this._poll[o.tId]=window.setInterval(function(){if(o.conn&&o.conn.readyState==4){window.clearInterval(oConn._poll[o.tId]);delete oConn._poll[o.tId];if(callback&&callback.timeout){delete oConn._timeOut[o.tId];}
oConn.handleTransactionResponse(o,callback);}},this._polling_interval);},handleTransactionResponse:function(o,callback,isAbort)
{if(!callback){this.releaseObject(o);return;}
var httpStatus,responseObject;try
{if(o.conn.status!==undefined&&o.conn.status!=0){httpStatus=o.conn.status;}
else{httpStatus=13030;}}
catch(e){httpStatus=13030;}
if(httpStatus>=200&&httpStatus<300){responseObject=this.createResponseObject(o,callback.argument);if(callback.success){if(!callback.scope){callback.success(responseObject);}
else{callback.success.apply(callback.scope,[responseObject]);}}}
else{switch(httpStatus){case 12002:case 12029:case 12030:case 12031:case 12152:case 13030:responseObject=this.createExceptionObject(o.tId,callback.argument,(isAbort?isAbort:false));if(callback.failure){if(!callback.scope){callback.failure(responseObject);}
else{callback.failure.apply(callback.scope,[responseObject]);}}
break;default:responseObject=this.createResponseObject(o,callback.argument);if(callback.failure){if(!callback.scope){callback.failure(responseObject);}
else{callback.failure.apply(callback.scope,[responseObject]);}}}}
this.releaseObject(o);responseObject=null;},createResponseObject:function(o,callbackArg)
{var obj={};var headerObj={};try
{var headerStr=o.conn.getAllResponseHeaders();var header=headerStr.split('\n');for(var i=0;i<header.length;i++){var delimitPos=header[i].indexOf(':');if(delimitPos!=-1){headerObj[header[i].substring(0,delimitPos)]=header[i].substring(delimitPos+2);}}}
catch(e){}
obj.tId=o.tId;obj.status=o.conn.status;obj.statusText=o.conn.statusText;obj.getResponseHeader=headerObj;obj.getAllResponseHeaders=headerStr;obj.responseText=o.conn.responseText;obj.responseXML=o.conn.responseXML;if(typeof callbackArg!==undefined){obj.argument=callbackArg;}
return obj;},createExceptionObject:function(tId,callbackArg,isAbort)
{var COMM_CODE=0;var COMM_ERROR='communication failure';var ABORT_CODE=-1;var ABORT_ERROR='transaction aborted';var obj={};obj.tId=tId;if(isAbort){obj.status=ABORT_CODE;obj.statusText=ABORT_ERROR;}
else{obj.status=COMM_CODE;obj.statusText=COMM_ERROR;}
if(callbackArg){obj.argument=callbackArg;}
return obj;},initHeader:function(label,value,isDefault)
{var headerObj=(isDefault)?this._default_headers:this._http_headers;if(headerObj[label]===undefined){headerObj[label]=value;}
else{headerObj[label]=value+","+headerObj[label];}
if(isDefault){this._has_default_headers=true;}
else{this._has_http_headers=true;}},setHeader:function(o)
{if(this._has_default_headers){for(var prop in this._default_headers){if(YAHOO.lang.hasOwnProperty(this._default_headers,prop)){o.conn.setRequestHeader(prop,this._default_headers[prop]);}}}
if(this._has_http_headers){for(var prop in this._http_headers){if(YAHOO.lang.hasOwnProperty(this._http_headers,prop)){o.conn.setRequestHeader(prop,this._http_headers[prop]);}}
delete this._http_headers;this._http_headers={};this._has_http_headers=false;}},resetDefaultHeaders:function(){delete this._default_headers
this._default_headers={};this._has_default_headers=false;},setForm:function(formId,isUpload,secureUri)
{this.resetFormState();var oForm;if(typeof formId=='string'){oForm=(document.getElementById(formId)||document.forms[formId]);}
else if(typeof formId=='object'){oForm=formId;}
else{return;}
if(isUpload){this.createFrame(secureUri?secureUri:null);this._isFormSubmit=true;this._isFileUpload=true;this._formNode=oForm;return;}
var oElement,oName,oValue,oDisabled;var hasSubmit=false;for(var i=0;i<oForm.elements.length;i++){oElement=oForm.elements[i];oDisabled=oForm.elements[i].disabled;oName=oForm.elements[i].name;oValue=oForm.elements[i].value;if(!oDisabled&&oName)
{switch(oElement.type)
{case'select-one':case'select-multiple':for(var j=0;j<oElement.options.length;j++){if(oElement.options[j].selected){if(window.ActiveXObject){this._sFormData+=encodeURIComponent(oName)+'='+encodeURIComponent(oElement.options[j].attributes['value'].specified?oElement.options[j].value:oElement.options[j].text)+'&';}
else{this._sFormData+=encodeURIComponent(oName)+'='+encodeURIComponent(oElement.options[j].hasAttribute('value')?oElement.options[j].value:oElement.options[j].text)+'&';}}}
break;case'radio':case'checkbox':if(oElement.checked){this._sFormData+=encodeURIComponent(oName)+'='+encodeURIComponent(oValue)+'&';}
break;case'file':case undefined:case'reset':case'button':break;case'submit':if(hasSubmit==false){this._sFormData+=encodeURIComponent(oName)+'='+encodeURIComponent(oValue)+'&';hasSubmit=true;}
break;default:this._sFormData+=encodeURIComponent(oName)+'='+encodeURIComponent(oValue)+'&';break;}}}
this._isFormSubmit=true;this._sFormData=this._sFormData.substr(0,this._sFormData.length-1);return this._sFormData;},resetFormState:function(){this._isFormSubmit=false;this._isFileUpload=false;this._formNode=null;this._sFormData="";},createFrame:function(secureUri){var frameId='yuiIO'+this._transaction_id;if(window.ActiveXObject){var io=document.createElement('<iframe id="'+frameId+'" name="'+frameId+'" />');if(typeof secureUri=='boolean'){io.src='javascript:false';}
else if(typeof secureURI=='string'){io.src=secureUri;}}
else{var io=document.createElement('iframe');io.id=frameId;io.name=frameId;}
io.style.position='absolute';io.style.top='-1000px';io.style.left='-1000px';document.body.appendChild(io);},appendPostData:function(postData)
{var formElements=[];var postMessage=postData.split('&');for(var i=0;i<postMessage.length;i++){var delimitPos=postMessage[i].indexOf('=');if(delimitPos!=-1){formElements[i]=document.createElement('input');formElements[i].type='hidden';formElements[i].name=postMessage[i].substring(0,delimitPos);formElements[i].value=postMessage[i].substring(delimitPos+1);this._formNode.appendChild(formElements[i]);}}
return formElements;},uploadFile:function(id,callback,uri,postData){var frameId='yuiIO'+id;var uploadEncoding='multipart/form-data';var io=document.getElementById(frameId);this._formNode.action=uri;this._formNode.method='POST';this._formNode.target=frameId;if(this._formNode.encoding){this._formNode.encoding=uploadEncoding;}
else{this._formNode.enctype=uploadEncoding;}
if(postData){var oElements=this.appendPostData(postData);}
this._formNode.submit();if(oElements&&oElements.length>0){for(var i=0;i<oElements.length;i++){this._formNode.removeChild(oElements[i]);}}
this.resetFormState();var uploadCallback=function()
{var obj={};obj.tId=id;obj.argument=callback.argument;try
{obj.responseText=io.contentWindow.document.body?io.contentWindow.document.body.innerHTML:null;obj.responseXML=io.contentWindow.document.XMLDocument?io.contentWindow.document.XMLDocument:io.contentWindow.document;}
catch(e){}
if(callback&&callback.upload){if(!callback.scope){callback.upload(obj);}
else{callback.upload.apply(callback.scope,[obj]);}}
if(YAHOO.util.Event){YAHOO.util.Event.removeListener(io,"load",uploadCallback);}
else if(window.detachEvent){io.detachEvent('onload',uploadCallback);}
else{io.removeEventListener('load',uploadCallback,false);}
setTimeout(function(){document.body.removeChild(io);},100);};if(YAHOO.util.Event){YAHOO.util.Event.addListener(io,"load",uploadCallback);}
else if(window.attachEvent){io.attachEvent('onload',uploadCallback);}
else{io.addEventListener('load',uploadCallback,false);}},abort:function(o,callback,isTimeout)
{if(this.isCallInProgress(o)){o.conn.abort();window.clearInterval(this._poll[o.tId]);delete this._poll[o.tId];if(isTimeout){delete this._timeOut[o.tId];}
this.handleTransactionResponse(o,callback,true);return true;}
else{return false;}},isCallInProgress:function(o)
{if((o)&&(o.conn)&&(typeof(o.conn)!=="undefined")){return o.conn.readyState!=4&&o.conn.readyState!=0;}
else{return false;}},releaseObject:function(o)
{o.conn=null;o=null;}};YAHOO.register("connection",YAHOO.widget.Module,{version:"2.2.0",build:"127"});

(function(){var Y=YAHOO.util,getStyle,setStyle,id_counter=0,propertyCache={};var ua=navigator.userAgent.toLowerCase(),isOpera=(ua.indexOf('opera')>-1),isSafari=(ua.indexOf('safari')>-1),isGecko=(!isOpera&&!isSafari&&ua.indexOf('gecko')>-1),isIE=(!isOpera&&ua.indexOf('msie')>-1);var patterns={HYPHEN:/(-[a-z])/i};var toCamel=function(property){if(!patterns.HYPHEN.test(property)){return property;}
if(propertyCache[property]){return propertyCache[property];}
while(patterns.HYPHEN.exec(property)){property=property.replace(RegExp.$1,RegExp.$1.substr(1).toUpperCase());}
propertyCache[property]=property;return property;};if(document.defaultView&&document.defaultView.getComputedStyle){getStyle=function(el,property){var value=null;var computed=document.defaultView.getComputedStyle(el,'');if(computed){value=computed[toCamel(property)];}
return el.style[property]||value;};}else if(document.documentElement.currentStyle&&isIE){getStyle=function(el,property){switch(toCamel(property)){case'opacity':var val=100;try{val=el.filters['DXImageTransform.Microsoft.Alpha'].opacity;}catch(e){try{val=el.filters('alpha').opacity;}catch(e){}}
return val/100;break;default:var value=el.currentStyle?el.currentStyle[property]:null;return(el.style[property]||value);}};}else{getStyle=function(el,property){return el.style[property];};}
if(isIE){setStyle=function(el,property,val){switch(property){case'opacity':if(typeof el.style.filter=='string'){el.style.filter='alpha(opacity='+val*100+')';if(!el.currentStyle||!el.currentStyle.hasLayout){el.style.zoom=1;}}
break;default:el.style[property]=val;}};}else{setStyle=function(el,property,val){el.style[property]=val;};}
YAHOO.util.Dom={get:function(el){if(!el){return null;}
if(typeof el!='string'&&!(el instanceof Array)){return el;}
if(typeof el=='string'){return document.getElementById(el);}
else{var collection=[];for(var i=0,len=el.length;i<len;++i){collection[collection.length]=Y.Dom.get(el[i]);}
return collection;}
return null;},getStyle:function(el,property){property=toCamel(property);var f=function(element){return getStyle(element,property);};return Y.Dom.batch(el,f,Y.Dom,true);},setStyle:function(el,property,val){property=toCamel(property);var f=function(element){setStyle(element,property,val);};Y.Dom.batch(el,f,Y.Dom,true);},getXY:function(el){var f=function(el){if(el.parentNode===null||el.offsetParent===null||this.getStyle(el,'display')=='none'){return false;}
var parentNode=null;var pos=[];var box;if(el.getBoundingClientRect){box=el.getBoundingClientRect();var doc=document;if(!this.inDocument(el)&&parent.document!=document){doc=parent.document;if(!this.isAncestor(doc.documentElement,el)){return false;}}
var scrollTop=Math.max(doc.documentElement.scrollTop,doc.body.scrollTop);var scrollLeft=Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft);return[box.left+scrollLeft,box.top+scrollTop];}
else{pos=[el.offsetLeft,el.offsetTop];parentNode=el.offsetParent;if(parentNode!=el){while(parentNode){pos[0]+=parentNode.offsetLeft;pos[1]+=parentNode.offsetTop;parentNode=parentNode.offsetParent;}}
if(isSafari&&this.getStyle(el,'position')=='absolute'){pos[0]-=document.body.offsetLeft;pos[1]-=document.body.offsetTop;}}
if(el.parentNode){parentNode=el.parentNode;}
else{parentNode=null;}
while(parentNode&&parentNode.tagName.toUpperCase()!='BODY'&&parentNode.tagName.toUpperCase()!='HTML')
{if(Y.Dom.getStyle(parentNode,'display')!='inline'){pos[0]-=parentNode.scrollLeft;pos[1]-=parentNode.scrollTop;}
if(parentNode.parentNode){parentNode=parentNode.parentNode;}else{parentNode=null;}}
return pos;};return Y.Dom.batch(el,f,Y.Dom,true);},getX:function(el){var f=function(el){return Y.Dom.getXY(el)[0];};return Y.Dom.batch(el,f,Y.Dom,true);},getY:function(el){var f=function(el){return Y.Dom.getXY(el)[1];};return Y.Dom.batch(el,f,Y.Dom,true);},setXY:function(el,pos,noRetry){var f=function(el){var style_pos=this.getStyle(el,'position');if(style_pos=='static'){this.setStyle(el,'position','relative');style_pos='relative';}
var pageXY=this.getXY(el);if(pageXY===false){return false;}
var delta=[parseInt(this.getStyle(el,'left'),10),parseInt(this.getStyle(el,'top'),10)];if(isNaN(delta[0])){delta[0]=(style_pos=='relative')?0:el.offsetLeft;}
if(isNaN(delta[1])){delta[1]=(style_pos=='relative')?0:el.offsetTop;}
if(pos[0]!==null){el.style.left=pos[0]-pageXY[0]+delta[0]+'px';}
if(pos[1]!==null){el.style.top=pos[1]-pageXY[1]+delta[1]+'px';}
if(!noRetry){var newXY=this.getXY(el);if((pos[0]!==null&&newXY[0]!=pos[0])||(pos[1]!==null&&newXY[1]!=pos[1])){this.setXY(el,pos,true);}}};Y.Dom.batch(el,f,Y.Dom,true);},setX:function(el,x){Y.Dom.setXY(el,[x,null]);},setY:function(el,y){Y.Dom.setXY(el,[null,y]);},getRegion:function(el){var f=function(el){var region=new Y.Region.getRegion(el);return region;};return Y.Dom.batch(el,f,Y.Dom,true);},getClientWidth:function(){return Y.Dom.getViewportWidth();},getClientHeight:function(){return Y.Dom.getViewportHeight();},getElementsByClassName:function(className,tag,root){var method=function(el){return Y.Dom.hasClass(el,className);};return Y.Dom.getElementsBy(method,tag,root);},hasClass:function(el,className){var re=new RegExp('(?:^|\\s+)'+className+'(?:\\s+|$)');var f=function(el){return re.test(el['className']);};return Y.Dom.batch(el,f,Y.Dom,true);},addClass:function(el,className){var f=function(el){if(this.hasClass(el,className)){return;}
el['className']=[el['className'],className].join(' ');};Y.Dom.batch(el,f,Y.Dom,true);},removeClass:function(el,className){var re=new RegExp('(?:^|\\s+)'+className+'(?:\\s+|$)','g');var f=function(el){if(!this.hasClass(el,className)){return;}
var c=el['className'];el['className']=c.replace(re,' ');if(this.hasClass(el,className)){this.removeClass(el,className);}};Y.Dom.batch(el,f,Y.Dom,true);},replaceClass:function(el,oldClassName,newClassName){if(oldClassName===newClassName){return false;}
var re=new RegExp('(?:^|\\s+)'+oldClassName+'(?:\\s+|$)','g');var f=function(el){if(!this.hasClass(el,oldClassName)){this.addClass(el,newClassName);return;}
el['className']=el['className'].replace(re,' '+newClassName+' ');if(this.hasClass(el,oldClassName)){this.replaceClass(el,oldClassName,newClassName);}};Y.Dom.batch(el,f,Y.Dom,true);},generateId:function(el,prefix){prefix=prefix||'yui-gen';el=el||{};var f=function(el){if(el){el=Y.Dom.get(el);}else{el={};}
if(!el.id){el.id=prefix+id_counter++;}
return el.id;};return Y.Dom.batch(el,f,Y.Dom,true);},isAncestor:function(haystack,needle){haystack=Y.Dom.get(haystack);if(!haystack||!needle){return false;}
var f=function(needle){if(haystack.contains&&!isSafari){return haystack.contains(needle);}
else if(haystack.compareDocumentPosition){return!!(haystack.compareDocumentPosition(needle)&16);}
else{var parent=needle.parentNode;while(parent){if(parent==haystack){return true;}
else if(!parent.tagName||parent.tagName.toUpperCase()=='HTML'){return false;}
parent=parent.parentNode;}
return false;}};return Y.Dom.batch(needle,f,Y.Dom,true);},inDocument:function(el){var f=function(el){return this.isAncestor(document.documentElement,el);};return Y.Dom.batch(el,f,Y.Dom,true);},getElementsBy:function(method,tag,root){tag=tag||'*';var nodes=[];if(root){root=Y.Dom.get(root);if(!root){return nodes;}}else{root=document;}
var elements=root.getElementsByTagName(tag);if(!elements.length&&(tag=='*'&&root.all)){elements=root.all;}
for(var i=0,len=elements.length;i<len;++i){if(method(elements[i])){nodes[nodes.length]=elements[i];}}
return nodes;},batch:function(el,method,o,override){var id=el;el=Y.Dom.get(el);var scope=(override)?o:window;if(!el||el.tagName||!el.length){if(!el){return false;}
return method.call(scope,el,o);}
var collection=[];for(var i=0,len=el.length;i<len;++i){if(!el[i]){id=el[i];}
collection[collection.length]=method.call(scope,el[i],o);}
return collection;},getDocumentHeight:function(){var scrollHeight=(document.compatMode!='CSS1Compat')?document.body.scrollHeight:document.documentElement.scrollHeight;var h=Math.max(scrollHeight,Y.Dom.getViewportHeight());return h;},getDocumentWidth:function(){var scrollWidth=(document.compatMode!='CSS1Compat')?document.body.scrollWidth:document.documentElement.scrollWidth;var w=Math.max(scrollWidth,Y.Dom.getViewportWidth());return w;},getViewportHeight:function(){var height=self.innerHeight;var mode=document.compatMode;if((mode||isIE)&&!isOpera){height=(mode=='CSS1Compat')?document.documentElement.clientHeight:document.body.clientHeight;}
return height;},getViewportWidth:function(){var width=self.innerWidth;var mode=document.compatMode;if(mode||isIE){width=(mode=='CSS1Compat')?document.documentElement.clientWidth:document.body.clientWidth;}
return width;}};})();YAHOO.util.Region=function(t,r,b,l){this.top=t;this[1]=t;this.right=r;this.bottom=b;this.left=l;this[0]=l;};YAHOO.util.Region.prototype.contains=function(region){return(region.left>=this.left&&region.right<=this.right&&region.top>=this.top&&region.bottom<=this.bottom);};YAHOO.util.Region.prototype.getArea=function(){return((this.bottom-this.top)*(this.right-this.left));};YAHOO.util.Region.prototype.intersect=function(region){var t=Math.max(this.top,region.top);var r=Math.min(this.right,region.right);var b=Math.min(this.bottom,region.bottom);var l=Math.max(this.left,region.left);if(b>=t&&r>=l){return new YAHOO.util.Region(t,r,b,l);}else{return null;}};YAHOO.util.Region.prototype.union=function(region){var t=Math.min(this.top,region.top);var r=Math.max(this.right,region.right);var b=Math.max(this.bottom,region.bottom);var l=Math.min(this.left,region.left);return new YAHOO.util.Region(t,r,b,l);};YAHOO.util.Region.prototype.toString=function(){return("Region {"+"top: "+this.top+", right: "+this.right+", bottom: "+this.bottom+", left: "+this.left+"}");};YAHOO.util.Region.getRegion=function(el){var p=YAHOO.util.Dom.getXY(el);var t=p[1];var r=p[0]+el.offsetWidth;var b=p[1]+el.offsetHeight;var l=p[0];return new YAHOO.util.Region(t,r,b,l);};YAHOO.util.Point=function(x,y){if(x instanceof Array){y=x[1];x=x[0];}
this.x=this.right=this.left=this[0]=x;this.y=this.top=this.bottom=this[1]=y;};YAHOO.util.Point.prototype=new YAHOO.util.Region();YAHOO.register("dom",YAHOO.util.Dom,{version:"2.2.0",build:"127"});

holistis.JSONenc=function(v){var a=[];function e(s){a[a.length]=s;}
function g(x){var c,i,l,v;switch(typeof x){case'object':if(x){if(x instanceof Array){e('[');l=a.length;for(i=0;i<x.length;i+=1){v=x[i];if(typeof v!="undefined"&&typeof v!='function'){if(l<a.length){e(',');e(' ');}
g(v);}}
e(']');return;}else if(typeof x.valueOf=='function'){e('{');l=a.length;for(i in x){v=x[i];if(typeof v!="undefined"&&typeof v!='function'&&(!v||typeof v!='object'||typeof v.valueOf=='function')){if(l<a.length){e(',');e(' ');}
g(i);e(':');g(v);}}
return e('}');}}
e('null');return;case'number':e(isFinite(x)?+x:'null');return;case'string':l=x.length;e('"');for(i=0;i<l;i+=1){c=x.charAt(i);if(c>=' '){if(c=='\\'||c=='"'){e('\\');}
e(c);}else{switch(c){case'\b':e('\\b');break;case'\f':e('\\f');break;case'\n':e('\\n');break;case'\r':e('\\r');break;case'\t':e('\\t');break;default:c=c.charCodeAt();e('\\u00'+Math.floor(c/16).toString(16)+
(c%16).toString(16));}}}
e('"');return;case'boolean':e(String(x));return;default:e('null');return;}}
g(v);return a.join('');}

holistis.getCookie=function(n,d){var re=new RegExp(n+'\\s*=\\s*(.*?)(;|$)');var c=document.cookie.toString();var m=c.match(re);if(m){return unescape(m[1]);}
return d;};holistis.setCookie=function(n,v,t,p,d,s){var a=[];function e(x){a[a.length]=x;}
e(n);e('=');e(escape(v));if((t)&&(typeof(t)=='number')&&(parseInt(t)!='NaN')){var td;td=new Date();td.setTime(td.getTime()+parseInt(t)*1000);e("; expires=");e(td.toGMTString());}
e("; path=");if(!p||p==''){e('/');}else{e(p);}
e("; domain=");if(d=='*'){d=location.hostname;var re=new RegExp("([a-zA-Z0-9-]+\.)+?([a-zA-Z]{2,4})$");var m=d.match(re);if((m)&&(m[1])&&(m[2])){e('.');e(m[1]);e(m[2]);}else{e(d);}}else{if(!d||d==''){e(location.hostname);}else{e(d);}}
if(s){e("; secure");}
var c=a.join('');document.cookie=c;};holistis.delCookie=function(n,p,d){if(!p||!p.length){p='';}
if(!d||!d.length){d='';}
holistis.setCookie(n,'',-1,p,d);};holistis.testCookie=function(){var ts;ts='ts';holistis.setCookie(ts,ts);if(holistis.getCookie(ts)==ts){holistis.delCookie(ts);return(true);}
return(false);};

holistis.findPosX=function(obj){var curleft=0;if(obj.offsetParent){while(obj.offsetParent){curleft+=obj.offsetLeft
obj=obj.offsetParent;}}else if(obj.x)curleft+=obj.x;return curleft;}
holistis.findPosY=function(obj){var curtop=0;if(obj.offsetParent){while(obj.offsetParent){curtop+=obj.offsetTop
obj=obj.offsetParent;}}else if(obj.y)curtop+=obj.y;return curtop;}

holistis.tz=function(){var t=new Date();var h=t.getHours();var hUTC=t.getUTCHours();var d=h-hUTC;var hd=Math.abs(d);var m=t.getMinutes();var mUTC=t.getUTCMinutes();var md;if(m!=mUTC){if(mUTC<30&&d<0){hd--;}
if(mUTC>30&&d>0){hd--;}}
if(m!=mUTC){md=":30";}else{md=":00";}
var tzo;if(hd<10){tzo="0"+hd+md;}else{tzo=""+hd+md;}
if(d<0){tzo="-"+tzo;}else{tzo="+"+tzo;}
return tzo;}

holistis.lang=function(){var n;n=window.navigator;if((n)&&(n.language)&&(n.language!="")){return(n.language);}
n=navigator;if((n.language)&&(n.language!="")){return(n.language);}
if((n.browserLanguage)&&(n.browserLanguage!="")){return(n.browserLanguage);}
if((n.userLanguage)&&(n.userLanguage!="")){return(n.userLanguage);}
if((n.systemLanguage)&&(n.systemLanguage!="")){return(n.systemLanguage);}
return("");}

holistis.i.hv="1.1.19";holistis.i.yv="2.2.0";holistis.f.t=function(){return(new Date()).getTime();};holistis.f.p=function(t){return"holistis="+encodeURIComponent(t);}
holistis.f.pc=function(u){if(u)u+=((u.indexOf('?')+1)?'&':'?')+holistis.f.t();return u;}
function $(){var elements=new Array();for(var i=0;i<arguments.length;i++){var element=arguments[i];if(typeof element=='string')element=document.getElementById(element);if(arguments.length==1)return element;elements.push(element);}
return elements;}
holistis.v.u="undefined";holistis.v.reg=0;holistis.v.cs=0;holistis.v.t0=holistis.f.t();holistis.v.cm=YAHOO.util.Connect;holistis.v.dom=YAHOO.util.Dom;holistis.v.cap="?cid="+holistis.i.cid+"&sid="+holistis.i.sid+"&path="+escape(holistis.c.path);holistis.c.url=holistis.c.path+"/engine/";holistis.c.url_r=holistis.c.url+"register.html"+holistis.v.cap;holistis.c.url_p=holistis.c.url+"personalize.html"+holistis.v.cap;holistis.c.url_c=holistis.c.url+"click.html"+holistis.v.cap;holistis.c.url_wi=holistis.c.url+"widget.html"+holistis.v.cap;holistis.c.url_pr=holistis.c.url+"profile.html"+holistis.v.cap;holistis.c.url_i=holistis.c.path+"/images/indicator.gif";holistis.c.url_cs=holistis.c.path+"/css/holistis.css";holistis.c.hl2d=holistis.c.url+"hl2d.html";holistis.c.hl2s=holistis.c.url+"hl2s.html";holistis.c.hl2i=holistis.c.url+"hl2i.html";holistis.c.content=holistis.c.content+"/";holistis.v.reb1=/[\r\n]/g;holistis.v.reb2=/<body.*?>(.*)<\/body>/i;holistis.v.reb3=/target\=["']_parent["']/ig;holistis.v.renc=/(_noclick)$/i;holistis.v.reco=/^\/\//;holistis.v.recl=/\s*,\s*/;holistis.v.rewi=/#widget[-_](.+)$/;holistis.v.repr=/#profile[-_](.+)$/;holistis.i.m=unescape("%68%301i%53T%49%35");holistis.d.l=document.location.href;holistis.d.r=document.referrer;holistis.d.ua=navigator.userAgent;holistis.d.bl=holistis.lang();holistis.d.ua=holistis.d.ua+" ("+holistis.d.bl+")";if(holistis.c.pdc!=""){holistis.d.pl=holistis.JSONenc(holistis.p);holistis.d.pl=holistis.d.pl.replace(/[{}" ]/g,"");holistis.d.pl=holistis.d.pl.replace(/:/g,"=");holistis.d.ua=holistis.d.ua+" ("+holistis.d.pl+")";}
holistis.d.tz=holistis.tz();holistis.d.t0=holistis.v.t0;if(typeof(SymOnLoad)!=holistis.v.u){useAjax=false;}
holistis.setOpacity=function(o,x){var s=o.style;x=(x==100)?99.999:x;s.filter="alpha(opacity:"+x+")";x=x/100.0;s.KHTMLOpacity=x;s.MozOpacity=x;s.opacity=x;}
holistis.widget_overlay=function(n){var t,nn,xy,dv,dvs;t=holistis.t[n];if(t){holistis.loadcss(holistis.c.url_cs);xy=holistis.v.dom.getXY(n);nn=n+"_ovl";dv=document.createElement('div');dv.setAttribute('id',nn);dv.className="widget_overlay";dvs=dv.style;dvs.position="absolute";dvs.top="-1000";dvs.left="-1000";dvs.height=t.h+"px";dvs.width=t.w+"px";holistis.setOpacity(dv,90);var html="<img src=\""+holistis.c.url_i+"\" hspace=\""+((t.w-16)/2)+"\" vspace=\""+((t.h-16)/2)+"\">";dv.innerHTML=html;dv.onclick=function(){var e=holistis.v.dom.get(this.id);document.body.removeChild(e);};document.body.appendChild(dv);holistis.v.dom.setXY(dv,xy);}
var cbS=function(o){var dv=holistis.v.dom.get(o.argument.n);dv.innerHTML=o.responseText;};var cb={success:cbS,failure:null,argument:{n:nn}};var url=holistis.c.url_wi+"&t="+n;url=holistis.f.pc(url);var request=holistis.v.cm.asyncRequest('GET',url,cb);}
holistis.profile_overlay=function(n){var nn,xy,dv,dvs,w,h;nn="profile_"+n;holistis.loadcss(holistis.c.url_cs);w=512;h=96;xy=[(holistis.v.dom.getViewportWidth()-w)/2,2];dv=document.createElement('div');dv.setAttribute('id',nn);dv.className="profile_overlay";dvs=dv.style;dvs.top="-1000";dvs.left="-1000";dvs.height=h+"px";dvs.width=w+"px";var html="<img src=\""+holistis.c.url_i+"\" hspace=\""+((w-16)/2)+"\" vspace=\""+((h-16)/2)+"\">";dv.innerHTML=html;dv.onclick=function(){e=holistis.v.dom.get(this.id);document.body.removeChild(e);}
document.body.appendChild(dv);holistis.setOpacity(dv,90);holistis.v.dom.setXY(dv,xy);var cbS=function(o){var dv=holistis.v.dom.get(o.argument.n);dv.innerHTML=o.responseText;};var cb={success:cbS,failure:null,argument:{n:nn}};var url=holistis.c.url_pr+"&pid="+n;url=holistis.f.pc(url);var request=holistis.v.cm.asyncRequest('GET',url,cb);}
holistis.kbody=function(t){t=t.replace(holistis.v.reb1,"");var m=holistis.v.reb2.exec(t);if((m)&&(m[1])){t=m[1];}
t=t.replace(holistis.v.reb3,"");return(t);}
holistis.noax=function(id){var html;if((document.all)&&(document.all[id])){html=document.all[id].innerHTML;document.all[id].innerHTML=html;}}
holistis.execjs=function(o){var stre;var st;st=o.getElementsByTagName('SCRIPT');for(var i=0;i<st.length;i++){if(st[i].src){stre=document.createElement('script')
stre.setAttribute("type","text/javascript");stre.setAttribute("src",st[i].src);if(stre!=""){document.getElementsByTagName("head").item(0).appendChild(stre)
holistis.v.lobjc+=st[i].src+" ";}}else{try{stre=holistis.objtext(st[i]);}catch(e){}
if(stre){try{eval(stre);}catch(e){}}}}}
holistis.loadcss=function(f){var id='hlcss';var h=document.getElementsByTagName('head').item(0);var lt=$(id);if(lt)h.removeChild(lt);var el=document.createElement('link');el.href=f;el.rel='stylesheet';el.type='text/css';el.id=id;h.appendChild(el);}
holistis.v.wa=0;holistis.wait=function(t){holistis.v.wa=1;var t0=new Date();var t1=t0;while((holistis.v.wa==1)&&((t1-t0)<t)){t1=new Date();}}
holistis.cont=function(){holistis.v.wa=0;}
holistis.widget=function(t,w,h,d,i,c){if(typeof(holistis.t[t])==holistis.v.u){if(i=="*"){i="<img src=\""+holistis.c.url_i+"\" hspace=\""+((w-16)/2)+"\" vspace=\""+((h-16)/2)+"\">";}
var tgt={};tgt.n=t;tgt.w=w;tgt.h=h;tgt.d=d;tgt.c=c;tgt.s=0;tgt.x=0;tgt.y=0;tgt.r1=0;tgt.r2=0;tgt.r3=0;tgt.r4=0;tgt.li=0;holistis.t[t]=tgt;var xhtml;xhtml="";xhtml+='<div ';if(!(holistis.v.renc.exec(t))){xhtml+=' onClick="holistis.click(event,\''+t+'\')"';}
xhtml+=' id="'+t+'" style="width:'+w+'px;height:'+h+'px;overflow:hidden;">'+i+'</div>\n';document.writeln(xhtml);var xjs;xjs="";xjs+="holistis."+t+"LRS = function(o) { var ti=holistis.v.dom.get('"+t+"'); ti.innerHTML=holistis.kbody(o.responseText); holistis.execjs(ti); holistis.noax('"+t+"'); ti=null; tt=null; holistis.t['"+t+"'].s=1; }\n";xjs+="holistis."+t+"LRF = function(o) { if (holistis.t['"+t+"'].d) { holistis.fetch('"+t+"',holistis.t['"+t+"'].d,'D'); holistis.t['"+t+"'].r4=0; } }\n";xjs+="holistis."+t+"LCB = { success: holistis."+t+"LRS, failure: holistis."+t+"LRF };\n";xjs+="holistis."+t+"DCB = { success: holistis."+t+"LRS, failure: null };\n";try{eval(xjs);}catch(e){}}else{}}
holistis.content=function(t,w,h,d,i){holistis.widget(t,w,h,d,i,"");}
holistis.version=function(){return"HL2 "+holistis.i.hv+" YUI "+holistis.i.yv;}
holistis.indicator=function(x){if(x){holistis.i.ii="yes";}else{holistis.i.ii="no";}}
holistis.redirect=function(rd){holistis.c.rd=rd;}
holistis.register=function(){holistis.v.reg=0;var url;if(holistis.testCookie()){url=holistis.getCookie('hlclick',url,3600,'','*');holistis.delCookie('hlclick','','*');if(url)holistis.tracker(url,0);}
holistis.m={};holistis.m['i']=holistis.i;holistis.m['d']=holistis.d;holistis.m['p']=holistis.p;holistis.MRS=function(o){clearTimeout(holistis.MRT);if(o.responseText.length<=2){holistis.v.reg=-1;}else{try{eval("holistis.r = "+o.responseText);if((holistis.r.vid)&&(holistis.r.lid)){holistis.v.vid=holistis.r.vid;holistis.v.lid=holistis.r.lid;holistis.v.per=holistis.r.per;holistis.v.lt=holistis.r.lt;holistis.v.reg=1;}else{holistis.v.reg=-1;}}catch(e){holistis.v.reg=-1;}}};holistis.MRF=function(o){holistis.v.reg=-1;};holistis.MCB={success:holistis.MRS,failure:holistis.MRF};var data=holistis.f.p(holistis.JSONenc(holistis.m));var url=holistis.f.pc(holistis.c.url_r);holistis.MR=holistis.v.cm.asyncRequest('POST',url,holistis.MCB,data);if(holistis.c.dt){holistis.MRT=setTimeout("holistis.v.cm.abort(holistis.MR); holistis.v.reg=-1;",holistis.c.dt);}}
holistis.click=function(e,t){var obj;if(holistis.v.reg<1){return;}
if(holistis.v.cs==1){holistis.v.cs=0;return;}
if((!(t))||(t=="page")){t="page";}else{if(holistis.c.ptrack){holistis.v.cs=1;}
obj=holistis.v.dom.get(t);}
if(!(e))e=event;holistis.m={};holistis.m['i']=holistis.i;holistis.m['e']={};holistis.m['d']={};holistis.m.d['vid']=holistis.v.vid;holistis.m.d['lid']=holistis.v.lid;holistis.m.d['per']=holistis.v.per;holistis.m.d['lt']=holistis.v.lt;holistis.m.e.n=t;if(obj){var xy=holistis.v.dom.getXY(obj);holistis.m.e.x0=xy[0];holistis.m.e.y0=xy[1];holistis.m.e.x=(e.layerX)?e.layerX:(e.x-xy[0]);holistis.m.e.y=(e.layerY)?e.layerY:(e.y-xy[1]);holistis.m.e.t=holistis.t[t].r1;holistis.m.e.a=holistis.t[t].r2;holistis.m.e.s=holistis.t[t].r3;holistis.m.e.c=holistis.t[t].r4;}else{holistis.m.e.x0=(document.all)?document.body.scrollLeft:window.pageXOffset;holistis.m.e.y0=(document.all)?document.body.scrollTop:window.pageYOffset;holistis.m.e.x=(e.clientX)?e.clientX:e.x;holistis.m.e.y=(e.clientY)?e.clientY:e.y;holistis.m.e.t=0;holistis.m.e.a=0;holistis.m.e.s=0;holistis.m.e.c=0;}
holistis.m.e.dt=(holistis.f.t()-holistis.d.t0);var data=holistis.f.p(holistis.JSONenc(holistis.m));var url=holistis.f.pc(holistis.c.url_c+"&"+data);if((holistis.t[t].li)&&(holistis.t[t].li==1)&&(holistis.testCookie())){holistis.setCookie('hlclick',url,3600,'','*');}else{holistis.tracker(url,1);}}
holistis.tracker=function(u,w){holistis.v.ct=new Image();holistis.v.ct.src=u;if(w){holistis.v.ct.onload=holistis.cont;holistis.v.ct.onerror=holistis.cont;holistis.v.ct.onabort=holistis.cont;holistis.wait(holistis.c.dt);}}
holistis.personalize=function(a){var url;if(!(a))a="all";var ttl=new Array();var n;var as=a.split(holistis.v.recl);for(var j=0;j<as.length;j++){n=as[j];if(n=='all'){for(var t in holistis.t){if(holistis.v.dom.get(t))ttl.push(t);}}else{if(holistis.v.dom.get(n))ttl.push(n);}}
if(ttl.length==0){return;}
holistis.m={};holistis.m['i']=holistis.i;holistis.m['d']={};holistis.m['t']={};holistis.m.d['cp']=holistis.c.content;holistis.m.d['vid']=holistis.v.vid;holistis.m.d['lid']=holistis.v.lid;holistis.m.d['per']=holistis.v.per;holistis.m.d['lt']=holistis.v.lt;var xy;for(var i in ttl){n=ttl[i];holistis.m.t[n]=holistis.t[n];xy=holistis.v.dom.getXY(n);holistis.m.t[n].x=xy[0];holistis.m.t[n].y=xy[1];}
holistis.PRS=function(o){clearTimeout(holistis.PRT);if(o.responseText.length<2){holistis.defload();}else{try{eval("holistis.r = "+o.responseText);for(var i in holistis.r){t=holistis.r[i];holistis.t[t.n].r1=t.r1;holistis.t[t.n].r2=t.r2;holistis.t[t.n].r3=t.r3;holistis.t[t.n].r4=t.r4;holistis.t[t.n].li=t.li;if(t.a=="LOAD"){var u;if((t.d)&&(t.d.length>0)&&(t.r3>0)&&(t.r4>0)){u=t.d;holistis.fetch(t.n,u,'L');}else{u=holistis.t[t.n].d;holistis.fetch(t.n,u,'D');}}
else if(t.a=="HTML"){if(t.d){var ti=holistis.v.dom.get(t.n);ti.innerHTML=holistis.kbody(t.d);holistis.execjs(ti);holistis.noax(t.n);}}
else{holistis.defload();}}}catch(e){holistis.defload();}}};holistis.PRF=function(o){holistis.defload();};holistis.PCB={success:holistis.PRS,failure:holistis.PRF};var data=holistis.f.p(holistis.JSONenc(holistis.m));var url=holistis.f.pc(holistis.c.url_p);holistis.PR=holistis.v.cm.asyncRequest('POST',url,holistis.PCB,data);if(holistis.c.dt){holistis.PRT=setTimeout("holistis.v.cm.abort(holistis.PR); holistis.defload();",holistis.c.dt);}}
holistis.fetch=function(t,u,d)
{if((!(u))||(u=="")){}else{if(!(d=="L")){d="D";}
u=u.replace(holistis.v.reco,holistis.c.content);u=holistis.f.pc(u);var xjs="holistis.v.cm.asyncRequest('GET','"+u+"',holistis."+t+d+"CB,null);";try{eval(xjs);}catch(e){}}}
holistis.defload=function(){holistis.v.cm.abort(holistis.MR);for(var t in holistis.t){if(!(holistis.t[t].s)){holistis.fetch(t,holistis.t[t].d,'D');holistis.t[t].r4=0;}}}
holistis.load=function(){var re;var m;if(holistis.v.reg==0){if((holistis.f.t()-holistis.v.t0)<=holistis.c.dt){setTimeout("holistis.load()",10);return;}}
if((typeof(holistis.c.rd)!="undefined")&&(holistis.c.rd!="")){if(typeof(window.location.replace)!="undefined"){window.location.replace(holistis.c.rd);}else{window.location.href=holistis.c.rd;}}
if(holistis.v.reg<=0){holistis.defload();}else{holistis.personalize();if(holistis.c.ptrack){document.body.onclick=holistis.click;}}
m=holistis.v.rewi.exec(holistis.d.l);if((m)&&(m[1])){var n=m[1];if(n=='all'){for(var t in holistis.t){holistis.widget_overlay(t);}}else{holistis.widget_overlay(n);}}else{m=holistis.v.repr.exec(holistis.d.l);if((m)&&(m[1])){var n=m[1];holistis.profile_overlay(n);}}
return;}
holistis.unload=function(){setTimeout("if (holistis) { holistis=null; }",1);}
holistis.v.hf=0;holistis.hook=function(){if(holistis.v.hf==0){holistis.v.hf=1;holistis.prev_onload=window.onload;holistis.prev_onunload=window.onunload;window.onload=function(){if(holistis.prev_onload){holistis.prev_onload();}
holistis.load();}
window.onunload=function(){if(holistis.prev_onunload){holistis.prev_onunload();}
holistis.unload();}}}
if(holistis.c.dbg>0){setTimeout("if (holistis) holistis.register();",100);}else{holistis.register();}
if(holistis.c.auto==1){holistis.hook();}
