//extend
var Z=new Object();
Z.Ca=function Ca(a){return Array(a)};
Z.Cb=function Cb(a){return Boolean(a)};
Z.Cn=function Cn(a){return Number(a)};
Z.Cs=function Cs(a){return String(a)};
Z.Ch=function Ch(a){return typeof(a)};
Z.ChB=function ChB(a){return Z.Ch(a)=='boolean'};
Z.ChN=function ChN(a){return Z.Ch(a)=='number'};
Z.ChS=function ChS(a){return Z.Ch(a)=='string'};
Z.ChO=function ChO(a){return Z.Ch(a)=='object'};
Z.ChF=function ChF(a){return Z.Ch(a)=='function'};
Z.getRndN=function getRndN(nMn,nMx){if(Z.ChN(nMn)){if(Z.ChN(nMx))nMx-=nMn;else nMx=nMn,nMn=0}else nMn=0,nMx=100;return Z.MF(Z.MRnd()*nMx)+nMn};
Z.O=function O(){var i=0,a=arguments,n=a.length,o=new Object();while(i<a.length)o[a[i++]]=a[i++];return o};
Z.RE=function RE(s,sP){s=s||'';return(sP)?new RegExp(s,sP):new RegExp(s)};
Z.sPr='prototype';
Z.extend=function extend(){
var NPr=Number[Z.sPr];
NPr.sfx=function sfx(){var n=this,s=Z.Cs(n),nL=s.length,s1=s.C(nL-1),s2=s.C(nL-2),aSufx=['th','st','nd','rd'];return(n>0)?n+aSufx[(s2!='1'&&s1>0&&s1<4)?Z.Cn(s1):0]:n};
NPr.ChE=function ChE(){return((this%2)==0)};
NPr.C2=function C2(){var sN=Z.Cs(this);if(sN.length<2)sN='0'+sN;return sN};
var SPr=String[Z.sPr];
with(SPr){SPr.Cl=toLowerCase;SPr.Cu=toUpperCase;SPr.C=charAt;SPr.I=indexOf;SPr.R=replace;SPr.SS=substr;SPr.SStr=substring;SPr.Sp=split}
SPr.ltrim=function ltrim(){return this.R(/^\s+/,'')};
SPr.rtrim=function rtrim(){return this.R(/\s+$/,'')};
SPr.trim=function trim(){return this.ltrim().rtrim()};
SPr.mask=function mask(sChar){return this.R(/\S/g,sChar||'*')};
SPr.cap=function cap(){return this.C(0).Cu()+this.SS(1)};
SPr.betI=function betI(sBegin,sEnd){var s=this;if(sBegin&&Z.ChS(sBegin)&&sEnd&&Z.ChS(sEnd)){s=s.SS(s.I(sBegin)+sBegin.length);s=s.SS(0,s.I(sEnd))}return s};
SPr.betO=function betO(sBegin,sEnd){var s=this;if(sBegin&&Z.ChS(sBegin)&&sEnd&&Z.ChS(sEnd)){s=s.SS(s.I(sBegin));s=s.SS(0,s.I(sEnd)+sEnd.length)}return s};
SPr.BR=function BR(){return this.R(/[\n|\r]/g,'<br>\n')};
var APr=Array[Z.sPr];
APr.clone=function clone(){return this.slice()};
APr.contains=function contains(vSearch,bCaseInsensetive,bW){var sA=Z.Cs(this),sSearch=Z.Cs(vSearch),sCS=(bCaseInsensetive)?'i':'';if(bW&&sSearch.length<sA.length){var nI=sA.search(Z.RE(sSearch,sCS));if(nI>0)sSearch=','+sSearch;if((nI+sSearch.length)<sA.length)sSearch+=','}return Z.RE(sSearch,sCS).test(sA)};
APr.rnd=function rnd(){var aRnd=[],aThisCopy=this.clone(),nThisCopyL=aThisCopy.length,vValue,nI;while(aRnd.length<nThisCopyL){vValue=aThisCopy[nI=Z.getRndN(0,aThisCopy.length-1)];if(Z.ChS(vValue)||(vValue!=null&&Z.Cs(vValue)!='undefined')){aRnd[aRnd.length]=vValue;aThisCopy=aThisCopy.slice(0,nI).concat(aThisCopy.slice(nI+1))}}nThisCopyL=Z.MR(aRnd.length/3),nI=nThisCopyL*2;aRnd=aRnd.slice(nI).concat(aRnd.slice(0,nThisCopyL).concat(aRnd.slice(nThisCopyL,nI)));return aRnd};
APr.sortByProp=function sortByProp(sProp,bReverse){var fSort=function(a1,a2){return(a1[sProp]<a2[sProp])?(bReverse)?1:-1:(a1[sProp]>a2[sProp])?(bReverse)?-1:1:0};return this.sort(fSort)};
if(!APr.slice){APr.slice=function slice(nStartI,nEndI){var aSlice=[],nThisL=this.length;nStartI=nStartI||0;nEndI=(nEndI&&nEndI<nThisL)?nEndI:nThisL;while(nStartI<nEndI)aSlice[aSlice.length]=this[nStartI++];return aSlice}}
if(!APr.splice){APr.splice=function splice(nStartI,nDeleteCount){if(!Z.ChN(nDeleteCount))nDeleteCount=this.length-nStartI;var i,aThisCopy=this.clone(),aN=[],n=nStartI+nDeleteCount;this.length=0;for(i=0;i<nStartI;i++)this[i]=aThisCopy[i];for(i=n;i<aThisCopy.length;i++)this[this.length]=aThisCopy[i];return aThisCopy.slice(nStartI,n)}}
var FPr=Function[Z.sPr];
FPr.toName=function toName(){var sFunc=Z.Cs(this.valueOf());sFunc=sFunc.SS(sFunc.I('function'));return(sFunc&&sFunc.length>8&&sFunc.C(8)==' ')?sFunc.SStr(9,sFunc.I('(')):'anonymous'};
FPr.addProto=function addProto(){var i=0,a=arguments,nL=a.length;var oInheritFrom,oIFPrototype,bM,sIFPrototypeName;while(i<nL){if(Z.ChF(oInheritFrom=a[i++])){oIFPrototype=oInheritFrom[Z.sPr],bIsFunction=true;for(sIFPrototypeName in oIFPrototype){bIsFunction=false;this[Z.sPr][sIFPrototypeName]=oIFPrototype[sIFPrototypeName]}if(bIsFunction)this[Z.sPr][oInheritFrom.toName()]=oInheritFrom}}};
if(!Function.call){FPr.call=function call(o){var a=arguments;o.tB=this;o.tB(a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[0],a[11],a[12],a[13],a[14],a[15]);delete o.tB}}
var MPr=Math[Z.sPr];
with(Math){Z.MR=round;Z.MF=floor;Z.MA=abs;Z.ML=log;Z.MM=max;Z.MS=sqrt;Z.ME=exp;Z.MRnd=random;Z.MCos=cos;Z.MSin=sin;Z.MAtan=atan}
var DPr=Date[Z.sPr];
Date.aM=['January','February','March','April','May','June','July','August','September','October','November','December'];
Date.aD=['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'];
DPr.format=function format(sM){var sF=sM||'DD-MMM-YY',i,aL='DMYHdhmst'.Sp(''),nLL=aL.length,aT=[],nC=0,oRE_A,oRE_B=/\[(\d+)\]/;with(this){var nDate=getDate();var nM=getMonth(),nY=Z.Cs(getFullYear()),nD=getDay();var nTH=getHours(),nTM=getMinutes(),nTS=getSeconds()}var oF=Z.O();oF.d=nDate.sfx();oF.D=nDate;oF.DD=nDate.C2();oF.DDDD=Date.aD[nD];oF.DDD=oF.DDDD.SStr(0,3);oF.M=nM+1;oF.MM=oF.M.C2();oF.MMMM=Date.aM[nM];oF.MMM=oF.MMMM.SStr(0,3);oF.Y=(nY.C(2)=='0')?nY.C(3):nY.SStr(2,4);oF.YY=nY.SStr(2,4);oF.YYYY=nY;oF.H=nTH;oF.HH=nTH.C2();oF.h=(nTH>12||nTH==0)?Z.MA(nTH-12):nTH;oF.hh=oF.h.C2();oF.m=nTM;oF.mm=nTM.C2();oF.s=nTM;oF.ss=nTM.C2();oF.t=(nTH<12)?'A':'P';oF.tt=oF.t+'M';for(i=0;i<nLL;i++){oRE_A=Z.RE('('+aL[i]+'+)');while(oRE_A.test(sF)){aT[nC]=RegExp.$1;sF=sF.R(RegExp.$1,'['+(nC++)+']')}}while(oRE_B.test(sF))sF=sF.R(oRE_B,oF[aT[RegExp.$1]]);return sF};
DPr.toISO8601=function toISO8601(){return this.getYear()+this.getMonth().C2()+this.getDate().C2()+'T'+this.getHours().C2()+':'+this.getMinutes().C2()+':'+this.getSeconds().C2()};
var OPr=Object[Z.sPr]};
Z.extend();

//core
Z.loaded=false;
Z.win=window;
Z.doc=document;
Z.loc=Z.win.location;
Z.loc.R=function(sHref){if(sHref&&Z.ChS(sHref)){if(this.replace)this.replace(sHref);else this.href=sHref}};
Z.obj=Z.O();
var b=Z.O('n',navigator);
b.p=b.n.platform.Cl();
b.u=b.n.userAgent.Cl();
b.win=Z.Cb(b.p.I('win')>=0);
b.mac=Z.Cb(b.p.I('mac')>=0);
b.op=Z.Cb(b.u.I('oper')>=0);
b.ie=Z.Cb(Z.doc.all&&!b.op);
b.ie4=Z.Cb(b.u.I('ie 4.5')>0);
b.ienew=Z.Cb(b.u.I('msie')>0);
b.ieDom=Z.Cb(b.ie&&!b.ie4);
b.ieMac=Z.Cb(b.mac&&(b.ie4||b.ieDom));
b.AX=Z.Cb(b.ie&&b.win&&Z.win.ActiveXObject);
b.dom=(!(b.mac&&b.ie4))?Z.Cb(Z.doc.createElement):false;
b.gDom=Z.Cb(b.u.I('eck')>0&&b.dom);
b.ns4=Z.Cb(document.layers);
b.ns=Z.Cb(b.ns4||b.u.I('tsc')>0);
b.nsDom=Z.Cb(b.ns&&b.gDom);
b.moz=Z.Cb(b.gDom&&!b.ns);
b.v4=Z.Cb(b.ns4||b.ie4);
Z.webTV=Z.Cb(b.u.I('WebTV')>=0);
b.flash=false;
b.flashV=4;

if(b.ienew){
	b.ie = true;
	b.ie4 = true;
}



if(b.AX){eval('try{while(new ActiveXObject(\'ShockwaveFlash.ShockwaveFlash.\'+(b.flashV)))b.flashV++}catch(e){b.flashV--}');if(b.flashV>4)b.flash=true}
else if(navigator.plugins&&navigator.plugins['Shockwave Flash']){
b.flash=true,b.flashV=Z.Cn(navigator.plugins['Shockwave Flash'].description.charAt(16));
if(isNaN(b.flashV))b.flash=false,b.flashV=0;
}
if(!b.flash)b.flashV=0;
else if(Z.webTV)b.flashV=3;
Z.buildFlash=function buildFlash(p_nFlashVer,p_sFlashId,p_sFlashMovieSrc,p_nFlashW,p_nFlashH,p_sAltImgSrc,p_sAltImgAlt){
var _sFlashHTML='';
p_nFlashVer=p_nFlashVer||4,p_nFlashW=p_nFlashW||0,p_nFlashH=p_nFlashH||0;
if(b.flash&&b.flashV>=p_nFlashVer){_sFlashHTML=(b.AX)?'<object'+((p_sFlashId)?(' id="'+p_sFlashId+'" '):' ')+'width="'+p_nFlashW+'" height="'+p_nFlashH+'"\n\tclassid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"\n\tcodebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=' + p_nFlashVer + ',0,0,0">\n\t\t<param name="movie" value="' + p_sFlashMovieSrc + '">\n\t\t<param name="play" value="true">\n\t\t<param name="loop" value="true">\n\t\t<param name="quality" value="high">\n\t\t<param name="menu" value="false">\n</object>':'<embed'+((p_sFlashId)?(' name="'+p_sFlashId+'" '):' ')+'src="'+p_sFlashMovieSrc+'" width="'+p_nFlashW+'" height="'+p_nFlashH+'"\n\ttype="application/x-shockwave-flash"\n\tpluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">\n\tplay="true"\n\loop="true"\n\menu="false"\n\tquality="high">\n</embed>'}
else _sFlashHTML='<img src="'+p_sAltImgSrc+'" width="'+p_nFlashW+'" height="'+p_nFlashH+'" alt="'+(p_sAltImgAlt||'')+'">';
return _sFlashHTML
}
b.min=Z.Cb(b.u.I('ie 4.0')<0&&(b.v4||b.dom));
if(!b.min){if(Z.win.badB)Z.win.badB();else Z.loc.R('http:\/\/www.webstandards.org\/upgrade\/')}
else{
	Z.setS=function setS(s){Z.win.status=(Z.ChS(s))?s:' ';return true};
	Z.win.status='';
	Z.TgI=function TgI(sImgName,sSrc){if(sSrc&&Z.ChS(sSrc)){var aImg=Z.doc.images;if(aImg&&aImg[sImgName])aImg[sImgName].src=sSrc}};
	Z.setAlt=function setAlt(sImgName,sAlt){if(!Z.b.ns4&&sAlt&&Z.ChS(sAlt)){var aImg=Z.doc.images;if(aImg&&aImg[sImgName])o[sImgName].alt=sAlt}};
	Z.setCookie=function setCookie(sName,sValue,nDays){var sDate='';if(!sName||!ChS(sName))sName='cookie'+(Z.nCookie++);if(!sValue||!ChS(sValue))sValue='none';if(!Z.ChN(nDays))nDays=1;if(nDays){var oDate=new Date();oDate.setTime(oDate.getTime()+(nDays*24*60*60*1000));sDate='expires='+oDate.toGMTString()}Z.doc.cookie=sName+'='+sValue+';'+sDate+'; path=/'};
	Z.getCookie=function getCookie(sName){var i=0,aCookie=Z.doc.cookie.split(';'),nL=aCookie.length,sCookie,oCookie;while(i<nL){sCookie=aCookie[i++].ltrim();if(sCookie.I(sName)==0){oCookie=sCookie.SS(sName.length+1);break}}return oCookie};
	Z.delCookie=function delCookie(sName){Z.setCookie(sName,'',-1)};
	Z.nCookie=0;
	with(screen){Z.scrW=availWidth||width;Z.scrH=availHeight||height;Z.scrC=colorDepth}
	Z.scriptPath='.\/';
	Z.eventHandlers=Z.O('onload',[],'onunload',[],'onresize',[],'onfocus',[],'onblur',[]);
	Z.addHandler=function addHandler(sEventType,fHandler){var aHandlers=Z.eventHandlers['on'+(sEventType||'load')];if(aHandlers&&fHandler)aHandlers[aHandlers.length]=fHandler};for(var sEventType in Z.eventHandlers)Z.win[sEventType]=new Function('var i=0,sId,aHandlers=Z.eventHandlers.'+sEventType+',nL=aHandlers.length,fHandler;while(i<nL){if(Z.ChF(fHandler=aHandlers[i++]))fHandler()}'+((sEventType!='unload')?'':'if(Z.obj){for(var sId in Z.obj){if(Z.obj[sId]&&Z.obj[sId].del)Z.obj[sId].del()}}if(Z.event)Z.event.releaseAll(Z.doc);if(window.b){if(!b.dom)document.getElementById=document.all=null;delete b}if(window.Z)delete Z;'));
	sEventType=null;
	Z.addHandler('load',function(){Z.loaded=true});
	if(b.ns4)Z.addHandler('resize',function(){Z.loc.reload()})}
	
	//normalize
	if(!b.dom){
	Z.doc.getElementById=function getElementById(sId){return(Z.loaded)?this.all[sId]||null:null};
	Z.doc.createElement=function createElement(sType){return null};
	}
	if(b.ns4){
	document.all=Z.O('length',0);
	Z._NS4_getDivsRecursive=function(aLayers){if(aLayers){var i,nL=aLayers.length,oLayer,sId,aAll=document.all;for(i=0;i<nL;i++){if(!aAll[(sId=(oLayer=aLayers[i]).id)])aAll[sId]=aAll[aAll.length++]=oLayer.style=oLayer;Z._NS4_getDivsRecursive(oLayer.document.layers)}}};
	Z._NS4_normalizeElements=function(){Z._NS4_getDivsRecursive(Z.doc.layers)};
	Z.addHandler('load',Z._NS4_normalizeElements);
	}
	
	//event
	Z.event=Z.O('a',Z.O('onmouseover',1,'onmousemove',1,'onmousedown',1,'onmouseup',1,'onclick',1,'onmouseout',1));
	Z.event.release=function release(oElm,sEventType){if(oElm){if(oElm[sEventType])oElm[sEventType]=null;if(oElm[(sEventType=sEventType.substr(2))])oElm[sEventType]=null}};
	Z.event.releaseAll=function releaseAll(oElm){for(var sEventType in Z.event.a)Z.event.release(oElm,sEventType)};
	document.captureE=function captureE(){if(Z.event){var i,a=arguments,n=a.length;for(i=0;i<n;i++)Z.event.capture(this,a[i],a[++i])}};
	document.releaseE=function releaseE(sEventType){if(Z.event)Z.event[((!sEventType)?'releaseAll':'release')](this,sEventType)};
	if(!b.ns4){
	Z.event.capture=function capture(oElm){if(oElm){var i,a=arguments,n=a.length,sEventType,fHandler;for(i=1;i<n;i++){sEventType='on'+a[i].Cl();fHandler=a[++i];if(!fHandler&&oElm[sEventType])fHandler=oElm[sEventType];if(fHandler)oElm[sEventType]=fHandler}}};
	if(b.ie){
	Z.event.getX=function getX(e){return(e)?e.offsetX||0:0};
	Z.event.getY=function getY(e){return(e)?e.offsetY||0:0}
	}else{
	Z.event.getX=function getX(e){return(e)?e.layerX||0:0};
	Z.event.getY=function getY(e){return(e)?e.layerY||0:0}
	}
	}else{
	Z.event._add=function(e){var sEventType=e.type,oElm=this;routeEvent(e);if(oElm[sEventType])oElm[sEventType](e)};
	Z.event.capture=function capture(oElm){if(oElm){var i,a=arguments,n=a.length,sEvent,sEventType,fHandler;for(i=1;i<n;i++){sEvent=a[i++].Cl();sEventType='on'+sEvent;fHandler=a[i];oElm.captureEvents(Event[sEvent.Cu()]);if(!fHandler&&oElm[sEventType])fHandler=oElm[sEventType];if(fHandler)oElm[sEvent]=fHandler,oElm[sEventType]=Z.event._add}}};
	Z.event.getX=function getX(e){return(e)?e.layerX||0:0};
	Z.event.getY=function getY(e){return(e)?e.layerY||0:0}
	}
	
	//div
	Z.toStr=function toString(){return(Z.obj[this.id])?'Z.obj.'+this.id:null};
	Z.Div=function Div(vElm){if(vElm){var oElm;this.id=(vElm)?(Z.ChS(vElm)&&(oElm=Z.doc.getElementById(vElm)))?vElm:(Z.ChO(oElm=vElm)&&vElm.id)?vElm.id:null:null;if(oElm){if(!b.ns4)oElm.style.overflow='hidden';else this._sBgC=oElm.document.bgColor}return(this.id)?Z.obj[this.id]=this:null}};
	Z.DivPr=Z.Div[Z.sPr];
	Z.DivPr.getZ=function getZ(){var oElm=Z.doc.getElementById(this.id);return(oElm&&oElm.style)?oElm.style.zIndex||0:0};
	Z.DivPr.getHTML=function getHTML(){var oElm=Z.doc.getElementById(this.id);return(oElm)?oElm.innerHTML:''};
	Z.DivPr.setXYZ=function setXYZ(nX,nY,nZ){this.setX(nX);this.setY(nY);this.setZ(nZ)};
	Z.DivPr.setWH=function setWH(nW,nH){this.setW(nW);this.setH(nH)};
	Z.DivPr.setZ=function setZ(n){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.zIndex=(Z.ChN(n))?n:null};
	Z.DivPr.captureE=function captureE(){if(Z.event){var i=0,a=arguments,n=a.length;var oElm=Z.doc.getElementById(this.id);if(oElm){while(i<n)Z.event.capture(oElm,a[i++],a[i++])}}};
	Z.DivPr.releaseE=function releaseE(sEventType){if(Z.event){var oElm=Z.doc.getElementById(this.id);Z.event[((!sEventType)?'releaseAll':'release')](oElm,sEventType)}};
	Z.DivPr.del=function del(){this.releaseE();this.delE();delete Z.obj[this.id]};
	if(!b.ns4){
	Z.DivPr.getX=function getX(){var oElm=Z.doc.getElementById(this.id);return(oElm)?oElm.offsetLeft:0};
	Z.DivPr.getY=function getY(){var oElm=Z.doc.getElementById(this.id);return(oElm)?oElm.offsetTop:0};
	Z.DivPr.getW=function getW(){var oElm=Z.doc.getElementById(this.id);return(oElm)?oElm.offsetWidth:0};
	Z.DivPr.getH=function getH(){var oElm=Z.doc.getElementById(this.id);return(oElm)?oElm.offsetHeight:0};
	Z.DivPr.getV=function getV(){var oElm=Z.doc.getElementById(this.id);return(oElm&&oElm.style)?Z.Cb(oElm.style.visibility!='hidden'):false};
	Z.DivPr.getBgC=function getBgC(){var oElm=Z.doc.getElementById(this.id);return(oElm&&oElm.style)?oElm.style.backgroundColor||'':''};
	Z.DivPr.getBgI=function getBgI(){var oElm=Z.doc.getElementById(this.id);return(oElm&&oElm.style)?oElm.style.backgroundImage.R('url','').R(/[\(\)]/gi,'').R('none',''):''};
	Z.DivPr.getC=function getC(){var oElm=Z.doc.getElementById(this.id),aClip=[];if(oElm&&oElm.style){var i=0,sClip=oElm.style.clip,aC;aC=sClip.R(/[^0-9|px]/gi,'').split('px');while(i<4)aClip[i]=Z.Cn(aC[i++])}return aClip};
	Z.DivPr.setBgI=function setBgI(s){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.backgroundImage='url('+(s||'none')+')'};
	Z.DivPr.setBgC=function setBgC(s){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.backgroundColor=(Z.ChS(s))?s:''};
	Z.DivPr.setColor=function setColor(s){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.color=(Z.ChS(s))?s:''};
	Z.DivPr.setV=function setV(bV){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.visibility=(Z.ChB(bV)&&bV)?'inherit':'hidden'};
	Z.DivPr.setC=function setC(nT,nR,nB,nL){var oElm=Z.doc.getElementById(this.id),oElmStyle;if(oElm&&oElm.style){if(nT&&Z.ChO(nT)&&nT.length==4)nR=nT[1],nB=nT[2],nL=nT[3],nT=nT[0];oElm.style.clip='rect('+(nT||0)+'px, '+(nR||0)+'px, '+(nB||0)+'px, '+(nL||0)+'px)'}};
	Z.DivPr.setP=function setP(n){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.padding=(Z.ChN(n))?(n+'px'):''};
	Z.DivPr.setClass=function setClass(sClassName){var oElm=Z.doc.getElementById(this.id);if(sClassName&&Z.ChS(sClassName)&&oElm)oElm.className=sClassName};
	Z.DivPr.setHTML=function setHTML(s){var oElm=Z.doc.getElementById(this.id);if(oElm){this.empty();s=Z.ChS(s)?s:'';oElm.innerHTML=s}};
	if(b.dom){
	Z.DivPr.getAbsX=function getAbsX(){var oElm=Z.doc.getElementById(this.id),n=0,sNodeName;while(oElm&&(oElm=oElm.parentNode)&&(sNodeName=oElm.nodeName)!='HTML')n+=(sNodeName!='TD'&&sNodeName!='TR')?oElm.offsetLeft:(!(b.mac&&b.ie))?1:0;return n};
	Z.DivPr.getAbsY=function getAbsY(){var oElm=Z.doc.getElementById(this.id),n=0,sNodeName;while(oElm&&(oElm=oElm.parentNode)&&(sNodeName=oElm.nodeName)!='HTML')n+=(sNodeName!='TD'&&sNodeName!='TR')?oElm.offsetTop:(!(b.mac&&b.ie))?1:0;return n};
	Z.DivPr.empty=function empty(){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.hasChildNodes){while(oElm.hasChildNodes())oElm.removeChild(oElm.childNodes(0))}};
	Z.DivPr.delE=function delE(){var oElm=Z.doc.getElementById(this.id),oParentNode=(oElm)?oElm.parentNode:null;if(oParentNode)oParentNode.removeChild(oElm)};
	Z.DivPr.getCW=function getCW(){var oElm=Z.doc.getElementById(this.id);return(oElm)?oElm.scrollWidth||0:0};
	Z.DivPr.getCH=function getCH(){var oElm=Z.doc.getElementById(this.id);return(oElm)?oElm.scrollHeight||0:0};
	}
	if(b.ie){
	if(b.ieDom){
	Z.DivPr.getO=(b.win)?function getO(){var oElm=Z.doc.getElementById(this.id);return(oElm&&oElm.style)?Z.Cn(oElm.style.filter.replace(/[^\d]/g,'')||100):100}:function getO(){return 100};
	Z.DivPr.setX=function setX(n){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.posLeft=(Z.ChN(n))?n:null};
	Z.DivPr.setY=function setY(n){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.posTop=(Z.ChN(n))?n:null};
	Z.DivPr.setW=function setW(n){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.posWidth=(Z.ChN(n))?n:null};
	Z.DivPr.setH=function setH(n){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.posHeight=(Z.ChN(n))?n:null};
	Z.DivPr.setO=(b.win)?function setO(n){var oElm=Z.doc.getElementById(this.id);if(!Z.ChN(n))n=0;if(oElm&&oElm.style)oElm.style.filter='alpha(opacity='+n+')'}:function setO(){};
	}else{
	Z.DivPr.getAbsX=Z.DivPr.getX;
	Z.DivPr.getAbsY=Z.DivPr.getY;
	Z.DivPr.setO=function setO(){};
	Z.DivPr.setX=function setX(n){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.pixelLeft=(Z.ChN(n))?n:null};
	Z.DivPr.setY=function setY(n){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.pixelTop=(Z.ChN(n))?n:null};
	Z.DivPr.setW=function setW(n){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.pixelWidth=(Z.ChN(n))?n:null};
	Z.DivPr.setH=function setH(n){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.pixelHeight=(Z.ChN(n))?n:null};
	Z.DivPr.empty=function empty(){var oElm=Z.doc.getElementById(this.id);if(oElm)oElm.innerHTML=''};
	Z.DivPr.delE=function delE(){var oElm=Z.doc.getElementById(this.id),oParentElm=(oElm)?oElm.parentElement:null;if(oParentElm)oParentElm.removeChild(oElm)};
	}
	}else if(b.gDom){Z.DivPr.getO=function getO(){var oElm=Z.doc.getElementById(this.id);return(oElm&&oElm.style)?Z.Cn(oElm.style.MozOpacity)*100:100};
	Z.DivPr.setX=function setX(n){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.left=(Z.ChN(n))?(n+'px'):''};
	Z.DivPr.setY=function setY(n){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.top=(Z.ChN(n))?(n+'px'):''};
	Z.DivPr.setW=function setW(n){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.width=(Z.ChN(n))?(n+'px'):''};
	Z.DivPr.setH=function setH(n){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.height=(Z.ChN(n))?(n+'px'):''};
	Z.DivPr.setO=function setO(n){var oElm=Z.doc.getElementById(this.id);if(oElm&&oElm.style)oElm.style.MozOpacity=Z.Cs(n/100)
	}
	}
	}else{
	Z.DivPr.getX=function getX(){var oElm=Z.doc.getElementById(this.id);return(oElm)?oElm.left:0};
	Z.DivPr.getY=function getY(){var oElm=Z.doc.getElementById(this.id);return(oElm)?oElm.top:0};
	Z.DivPr.getAbsX=function getAbsX(){var oElm=Z.doc.getElementById(this.id);return(oElm)?oElm.pageX:0};
	Z.DivPr.getAbsY=function getAbsY(){var oElm=Z.doc.getElementById(this.id);return(oElm)?oElm.pageY:0};
	Z.DivPr.getW=function getW(){var oElm=Z.doc.getElementById(this.id),n=0;if(oElm){n=oElm.clip.width;if(!Z.ChN(n))n=oElm.document.width||0}return n};
	Z.DivPr.getCW=function getCW(){var oElm=Z.doc.getElementById(this.id),n;if(oElm)n=oElm.document.width;return n||0};
	Z.DivPr.getH=function getH(){var oElm=Z.doc.getElementById(this.id),n=0;if(oElm){n=oElm.clip.height;if(!Z.ChN(n))n=oElm.document.height||0}return n};
	Z.DivPr.getCH=function getCH(){var oElm=Z.doc.getElementById(this.id),n;if(oElm)n=oElm.document.height;return n||0};
	Z.DivPr.getC=function getC(){var oElm=Z.doc.getElementById(this.id),a=[];if(oElm)a[0]=oElm.clipTop,a[1]=oElm.clipRight,a[2]=oElm.clipBottom,a[3]=oElm.clipLeft;return a};
	Z.DivPr.getBgC=function getBgC(){var oElm=Z.doc.getElementById(this.id);return oElm.document.bgColor||''};
	Z.DivPr.getBgI=function getBgI(){var oElm=Z.doc.getElementById(this.id);return(oElm)?oElm.background.src:''};
	Z.DivPr.getV=function getV(){var oElm=Z.doc.getElementById(this.id);return(oElm)?Z.Cb(oElm.visibility!='hide'):false};
	Z.DivPr.getO=function getO(){return 100};Z.DivPr.setClass=function setClass(){};
	Z.DivPr.setO=function setO(){};
	Z.DivPr.setX=function setX(n){var oElm=Z.doc.getElementById(this.id);if(oElm)oElm.left=(Z.ChN(n))?n:null};
	Z.DivPr.setY=function setY(n){var oElm=Z.doc.getElementById(this.id);if(oElm)oElm.top=(Z.ChN(n))?n:null};
	Z.DivPr.setW=function setW(n){var oElm=Z.doc.getElementById(this.id);if(oElm)oElm.clip.width=(Z.ChN(n))?n:null};
	Z.DivPr.setH=function setH(n){var oElm=Z.doc.getElementById(this.id);if(oElm)oElm.clip.height=(Z.ChN(n))?n:null};
	Z.DivPr.setC=function setC(nT,nR,nB,nL){var oElm=Z.doc.getElementById(this.id);if(oElm){if(nT&&ChO(nT)&&nT.length==4)nR=nT[1],nB=nT[2],nL=nT[3],nT=nT[0];oElm.clip.top=nT||0,oElm.clip.right=nR||0,oElm.clip.bottom=nB||0,oElm.clip.left=nL||0}};
	Z.DivPr.setColor=function setColor(s){var oElm=Z.doc.getElementById(this.id);if(oElm)oElm.document.fgColor=(Z.ChS(s))?s:''};
	Z.DivPr.setBgC=function setBgC(s){var oElm=Z.doc.getElementById(this.id);if(oElm)this._sBgC=oElm.bgColor=(Z.ChS(s)&&s!='')?s:null};
	Z.DivPr.setBgI=function setBgI(s){var oElm=Z.doc.getElementById(this.id);if(oElm)oElm.background.src=s||null};
	Z.DivPr.setV=function setV(bV){var oElm=Z.doc.getElementById(this.id);if(oElm)oElm.visibility=(Z.ChB(bV)&&bV)?'inherit':'hide'};
	Z.DivPr.setP=function setP(n){};
	Z.DivPr.setHTML=function setHTML(s){var oElm=Z.doc.getElementById(this.id);if(oElm){var oElmDoc=oElm.document;oElm.innerHTML=s=ChS(s)?s:'';oElmDoc.open();oElmDoc.write(s);oElmDoc.close()}};
	Z.DivPr.delE=function delE(){var sId=this.id,aAll=Z.doc.all;this.setV();if(aAll&&aAll[sId])delete aAll[sId];if((aAll=Z.doc.allT)&&aAll.div&&aAll.div[sId])delete aAll.div[sId]};
	}
	
	Z.DivW=function DivW(sId){var oElm=Z.doc.getElementById(sId);if(!oElm)return null;Z.Div.call(this,oElm);return this};
	Z.DivW.addProto(Z.Div,Z.toStr);
