if(typeof Rico=="undefined"){
throw ("Cannot find the Rico object");
}
if(typeof Prototype=="undefined"){
throw ("Rico requires the Prototype JavaScript framework");
}
Rico.prototypeVersion=parseFloat(Prototype.Version.split(".")[0]+"."+Prototype.Version.split(".")[1]);
if(Rico.prototypeVersion<1.3){
throw ("Rico requires Prototype JavaScript framework version 1.3 or greater");
}
var RicoUtil={getDirectChildrenByTag:function(e,_2){
var _3=new Array();
var _4=e.childNodes;
_2=_2.toLowerCase();
for(var i=0;i<_4.length;i++){
if(_4[i]&&_4[i].tagName&&_4[i].tagName.toLowerCase()==_2){
_3.push(_4[i]);
}
}
return _3;
},createXmlDocument:function(){
if(document.implementation&&document.implementation.createDocument){
var _6=document.implementation.createDocument("","",null);
if(_6.readyState==null){
_6.readyState=1;
_6.addEventListener("load",function(){
_6.readyState=4;
if(typeof _6.onreadystatechange=="function"){
_6.onreadystatechange();
}
},false);
}
return _6;
}
if(window.ActiveXObject){
return Try.these(function(){
return new ActiveXObject("MSXML2.DomDocument");
},function(){
return new ActiveXObject("Microsoft.DomDocument");
},function(){
return new ActiveXObject("MSXML.DomDocument");
},function(){
return new ActiveXObject("MSXML3.DomDocument");
})||false;
}
return null;
},getInnerText:function(el,_8,_9,_a){
switch(typeof el){
case "string":
return el;
case "undefined":
return el;
case "number":
return el.toString();
}
var cs=el.childNodes;
var l=cs.length;
var _d="";
for(var i=0;i<l;i++){
switch(cs[i].nodeType){
case 1:
if(Element.getStyle(cs[i],"display")=="none"){
continue;
}
if(_a&&Element.hasClassName(cs[i],_a)){
continue;
}
switch(cs[i].tagName.toLowerCase()){
case "img":
if(!_8){
_d+=cs[i].alt||cs[i].title||cs[i].src;
}
break;
case "input":
if(cs[i].type=="hidden"){
continue;
}
case "select":
case "textarea":
if(!_9){
_d+=$F(cs[i])||"";
}
break;
default:
_d+=this.getInnerText(cs[i]);
break;
}
break;
case 3:
_d+=cs[i].nodeValue;
break;
}
}
return _d;
},getContentAsString:function(_f,_10){
if(_10){
return this._getEncodedContent(_f);
}
if(typeof _f.xml!="undefined"){
return this._getContentAsStringIE(_f);
}
return this._getContentAsStringMozilla(_f);
},_getEncodedContent:function(_11){
if(_11.innerHTML){
return _11.innerHTML;
}
switch(_11.childNodes.length){
case 0:
return "";
case 1:
return _11.firstChild.nodeValue;
default:
return _11.childNodes[1].nodeValue;
}
},_getContentAsStringIE:function(_12){
var _13="";
for(var i=0;i<_12.childNodes.length;i++){
var n=_12.childNodes[i];
_13+=(n.nodeType==4)?n.nodeValue:n.xml;
}
return _13;
},_getContentAsStringMozilla:function(_16){
var _17=new XMLSerializer();
var _18="";
for(var i=0;i<_16.childNodes.length;i++){
var n=_16.childNodes[i];
if(n.nodeType==4){
_18+=n.nodeValue;
}else{
_18+=_17.serializeToString(n);
}
}
return _18;
},docElement:function(){
return (document.compatMode&&document.compatMode.indexOf("CSS")!=-1)?document.documentElement:document.getElementsByTagName("body")[0];
},windowHeight:function(){
return window.innerHeight?window.innerHeight:this.docElement().clientHeight;
},windowWidth:function(){
return this.docElement().clientWidth;
},docScrollLeft:function(){
if(window.pageXOffset){
return window.pageXOffset;
}else{
if(document.documentElement&&document.documentElement.scrollLeft){
return document.documentElement.scrollLeft;
}else{
if(document.body){
return document.body.scrollLeft;
}else{
return 0;
}
}
}
},docScrollTop:function(){
if(window.pageYOffset){
return window.pageYOffset;
}else{
if(document.documentElement&&document.documentElement.scrollTop){
return document.documentElement.scrollTop;
}else{
if(document.body){
return document.body.scrollTop;
}else{
return 0;
}
}
}
},nan2zero:function(n){
if(typeof (n)=="string"){
n=parseInt(n);
}
return isNaN(n)||typeof (n)=="undefined"?0:n;
},eventKey:function(e){
if(typeof (e.keyCode)=="number"){
return e.keyCode;
}else{
if(typeof (e.which)=="number"){
return e.which;
}else{
if(typeof (e.charCode)=="number"){
return e.charCode;
}
}
}
return -1;
},getPreviosSiblingByTagName:function(el,_1e){
var sib=el.previousSibling;
while(sib){
if((sib.tagName==_1e)&&(sib.style.display!="none")){
return sib;
}
sib=sib.previousSibling;
}
return null;
},getParentByTagName:function(el,_21,_22){
var par=el;
_21=_21.toLowerCase();
while(par){
if(par.tagName&&par.tagName.toLowerCase()==_21){
if(!_22||par.className.indexOf(_22)>=0){
return par;
}
}
par=par.parentNode;
}
return null;
},wrapChildren:function(el,cls,id,_27){
var _28=document.createElement(_27||"div");
if(id){
_28.id=id;
}
if(cls){
_28.className=cls;
}
while(el.firstChild){
_28.appendChild(el.firstChild);
}
el.appendChild(_28);
return _28;
},formatPosNumber:function(_29,_2a,_2b,_2c){
var a=_29.toFixed(_2a).split(/\./);
if(_2b){
var rgx=/(\d+)(\d{3})/;
while(rgx.test(a[0])){
a[0]=a[0].replace(rgx,"$1"+_2b+"$2");
}
}
return a.join(_2c);
},DOMNode_insertAfter:function(_2f,_30){
var _31=_30.parentNode;
if(_31.lastChild==_30){
return _31.appendChild(_2f);
}else{
return _31.insertBefore(_2f,_30.nextSibling);
}
},positionCtlOverIcon:function(ctl,_33){
if(ctl.style.display=="none"){
ctl.style.display="block";
}
var _34=Position.page(_33);
var _35=Prototype.Browser.IE?1:2;
var _36=this.nan2zero(Element.getStyle(_33,"padding-left"));
ctl.style.left=(_34[0]+_36+_35)+"px";
var _37=this.docScrollTop();
var _38=_34[1]+_35+_37;
var _39=ctl.offsetHeight;
var _3a=_33.offsetHeight;
if(_38+_3a+_39<this.windowHeight()+_37){
_38+=_3a;
}else{
_38=Math.max(_38-_39,_37);
}
ctl.style.top=_38+"px";
},createFormField:function(_3b,_3c,_3d,id,_3f){
if(typeof _3f!="string"){
_3f=id;
}
if(Prototype.Browser.IE){
var s=_3c+" id=\""+id+"\"";
if(_3d){
s+=" type=\""+_3d+"\"";
}
if(_3c.match(/^(form|input|select|textarea|object|button|img)$/)){
s+=" name=\""+_3f+"\"";
}
var _41=document.createElement("<"+s+" />");
}else{
var _41=document.createElement(_3c);
if(_3d){
_41.type=_3d;
}
_41.id=id;
if(typeof _41.name=="string"){
_41.name=_3f;
}
}
_3b.appendChild(_41);
return _41;
},addSelectOption:function(_42,_43,_44){
var opt=document.createElement("option");
if(typeof _43=="string"){
opt.value=_43;
}
opt.text=_44;
if(Prototype.Browser.IE){
_42.add(opt);
}else{
_42.add(opt,null);
}
return opt;
},getCookie:function(_46){
var arg=_46+"=";
var _48=arg.length;
var _49=document.cookie.length;
var i=0;
while(i<_49){
var j=i+_48;
if(document.cookie.substring(i,j)==arg){
var _4c=document.cookie.indexOf(";",j);
if(_4c==-1){
_4c=document.cookie.length;
}
return unescape(document.cookie.substring(j,_4c));
}
i=document.cookie.indexOf(" ",i)+1;
if(i==0){
break;
}
}
return null;
},setCookie:function(_4d,_4e,_4f,_50,_51){
var c=_4d+"="+escape(_4e);
if(typeof (_4f)=="number"){
var _53=new Date();
_53.setTime(_53.getTime()+(_4f*24*60*60*1000));
c+="; expires="+_53.toGMTString();
}
if(typeof (_50)=="string"){
c+="; path="+_50;
}
if(typeof (_51)=="string"){
c+="; domain="+_51;
}
document.cookie=c;
}};
if(!RicoTranslate){
var RicoTranslate={phrases:{},phrasesById:{},thouSep:",",decPoint:".",langCode:"en",re:/^(\W*)\b(.*)\b(\W*)$/,dateFmt:"mm/dd/yyyy",timeFmt:"hh:nn:ss a/pm",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthAbbr:function(_54){
return this.monthNames[_54].substr(0,3);
},dayAbbr:function(_55){
return this.dayNames[_55].substr(0,3);
},addPhrase:function(_56,_57){
this.phrases[_56]=_57;
},getPhrase:function(_58){
var _59=_58.split(/\t/);
var _5a,_5b="";
for(var i=0;i<_59.length;i++){
if(this.re.exec(_59[i])){
_5a=this.phrases[RegExp.$2];
_5b+=(typeof _5a=="string")?RegExp.$1+_5a+RegExp.$3:_59[i];
}else{
_5b+=_59[i];
}
}
return _5b;
},addPhraseId:function(_5d,_5e){
this.phrasesById[_5d]=_5e;
},getPhraseById:function(_5f){
var _60=this.phrasesById[_5f];
if(!_60){
alert("Error: missing phrase for "+_5f);
return "";
}
if(arguments.length<=1){
return _60;
}
var a=arguments;
return _60.replace(/(\$\d)/g,function($1){
var idx=parseInt($1.charAt(1));
return (idx<a.length)?a[idx]:"";
});
}};
}
if(!Date.prototype.formatDate){
Date.prototype.formatDate=function(fmt){
var d=this;
var _66=(typeof fmt=="string")?fmt:"translateDate";
switch(_66){
case "locale":
case "localeDateTime":
return d.toLocaleString();
case "localeDate":
return d.toLocaleDateString();
case "translate":
case "translateDateTime":
_66=RicoTranslate.dateFmt+" "+RicoTranslate.timeFmt;
break;
case "translateDate":
_66=RicoTranslate.dateFmt;
break;
}
return _66.replace(/(yyyy|yy|mmmm|mmm|mm|dddd|ddd|dd|hh|nn|ss|a\/p)/gi,function($1){
switch($1){
case "yyyy":
return d.getFullYear();
case "yy":
return d.getFullYear().toString().substr(2);
case "mmmm":
return RicoTranslate.monthNames[d.getMonth()];
case "mmm":
return RicoTranslate.monthAbbr(d.getMonth());
case "mm":
return (d.getMonth()+1).toPaddedString(2);
case "m":
return (d.getMonth()+1);
case "dddd":
return RicoTranslate.dayNames[d.getDay()];
case "ddd":
return RicoTranslate.dayAbbr(d.getDay());
case "dd":
return d.getDate().toPaddedString(2);
case "d":
return d.getDate();
case "hh":
return ((h=d.getHours()%12)?h:12).toPaddedString(2);
case "h":
return ((h=d.getHours()%12)?h:12);
case "HH":
return d.getHours().toPaddedString(2);
case "H":
return d.getHours();
case "nn":
return d.getMinutes().toPaddedString(2);
case "ss":
return d.getSeconds().toPaddedString(2);
case "a/p":
return d.getHours()<12?"a":"p";
}
});
};
}
if(!Date.prototype.setISO8601){
Date.prototype.setISO8601=function(_68,_69){
if(!_68){
return false;
}
var d=_68.match(/(\d\d\d\d)(?:-?(\d\d)(?:-?(\d\d)(?:[T ](\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|(?:([-+])(\d\d)(?::?(\d\d))?)?)?)?)?)?/);
if(!d){
return false;
}
if(!_69){
_69=0;
}
var _6b=new Date(d[1],0,1);
if(d[2]){
_6b.setMonth(d[2]-1);
}
if(d[3]){
_6b.setDate(d[3]);
}
if(d[4]){
_6b.setHours(d[4]);
}
if(d[5]){
_6b.setMinutes(d[5]);
}
if(d[6]){
_6b.setSeconds(d[6]);
}
if(d[7]){
_6b.setMilliseconds(Number("0."+d[7])*1000);
}
if(d[8]){
if(d[10]&&d[11]){
_69=(Number(d[10])*60)+Number(d[11]);
}
_69*=((d[9]=="-")?1:-1);
_69-=_6b.getTimezoneOffset();
}
var _6c=(Number(_6b)+(_69*60*1000));
this.setTime(Number(_6c));
return true;
};
}
if(!Date.prototype.toISO8601String){
Date.prototype.toISO8601String=function(_6d,_6e){
if(!_6d){
var _6d=6;
}
if(!_6e){
var _6e="Z";
var _6f=this;
}else{
var d=_6e.match(/([-+])([0-9]{2}):([0-9]{2})/);
var _71=(Number(d[2])*60)+Number(d[3]);
_71*=((d[1]=="-")?-1:1);
var _6f=new Date(Number(Number(this)+(_71*60000)));
}
var _72=function(num){
return ((num<10)?"0":"")+num;
};
var str="";
str+=_6f.getUTCFullYear();
if(_6d>1){
str+="-"+_72(_6f.getUTCMonth()+1);
}
if(_6d>2){
str+="-"+_72(_6f.getUTCDate());
}
if(_6d>3){
str+="T"+_72(_6f.getUTCHours())+":"+_72(_6f.getUTCMinutes());
}
if(_6d>5){
var _75=Number(_6f.getUTCSeconds()+"."+((_6f.getUTCMilliseconds()<100)?"0":"")+_72(_6f.getUTCMilliseconds()));
str+=":"+_72(_75);
}else{
if(_6d>4){
str+=":"+_72(_6f.getUTCSeconds());
}
}
if(_6d>3){
str+=_6e;
}
return str;
};
}
if(!String.prototype.toISO8601Date){
String.prototype.toISO8601Date=function(){
var d=new Date();
return d.setISO8601(this)?d:null;
};
}
if(!String.prototype.formatDate){
String.prototype.formatDate=function(fmt){
var s=this.replace(/-/g,"/");
var d=new Date(s);
return isNaN(d)?this:d.formatDate(fmt);
};
}
if(!Number.prototype.formatNumber){
Number.prototype.formatNumber=function(fmt){
if(isNaN(this)){
return "NaN";
}
var n=this;
if(typeof fmt.multiplier=="number"){
n*=fmt.multiplier;
}
var _7c=typeof fmt.decPlaces=="number"?fmt.decPlaces:0;
var _7d=typeof fmt.thouSep=="string"?fmt.thouSep:RicoTranslate.thouSep;
var _7e=typeof fmt.decPoint=="string"?fmt.decPoint:RicoTranslate.decPoint;
var _7f=fmt.prefix||"";
var _80=fmt.suffix||"";
var _81=typeof fmt.negSign=="string"?fmt.negSign:"L";
_81=_81.toUpperCase();
var s,cls;
if(n<0){
s=RicoUtil.formatPosNumber(-n,_7c,_7d,_7e);
if(_81=="P"){
s="("+s+")";
}
s=_7f+s;
if(_81=="L"){
s="-"+s;
}
if(_81=="T"){
s+="-";
}
cls="negNumber";
}else{
cls=n==0?"zeroNumber":"posNumber";
s=_7f+RicoUtil.formatPosNumber(n,_7c,_7d,_7e);
}
return "<span class='"+cls+"'>"+s+_80+"</span>";
};
}
if(!String.prototype.formatNumber){
String.prototype.formatNumber=function(fmt){
var n=parseFloat(this);
return isNaN(n)?this:n.formatNumber(fmt);
};
}
Rico.Shim=Class.create();
if(Prototype.Browser.IE){
Rico.Shim.prototype={initialize:function(_86){
this.ifr=document.createElement("iframe");
this.ifr.style.position="absolute";
this.ifr.style.display="none";
this.ifr.style.top="0px";
this.ifr.style.left="0px";
this.ifr.src="javascript:false;";
_86.parentNode.appendChild(this.ifr);
this.DivRef=_86;
},hide:function(){
this.ifr.style.display="none";
},move:function(){
this.ifr.style.top=this.DivRef.style.top;
this.ifr.style.left=this.DivRef.style.left;
},show:function(){
this.ifr.style.width=this.DivRef.offsetWidth;
this.ifr.style.height=this.DivRef.offsetHeight;
this.move();
this.ifr.style.zIndex=this.DivRef.currentStyle.zIndex-1;
this.ifr.style.display="block";
}};
}else{
Rico.Shim.prototype={initialize:function(){
},hide:function(){
},move:function(){
},show:function(){
}};
}
Rico.Shadow=Class.create();
Rico.Shadow.prototype={initialize:function(_87){
this.div=document.createElement("div");
this.div.style.position="absolute";
this.div.style.top="0px";
this.div.style.left="0px";
if(typeof this.div.style.filter=="undefined"){
new Image().src=Rico.imgDir+"shadow.png";
new Image().src=Rico.imgDir+"shadow_ur.png";
new Image().src=Rico.imgDir+"shadow_ll.png";
this.createShadow();
this.offset=5;
}else{
this.div.style.backgroundColor="#888";
this.div.style.filter="progid:DXImageTransform.Microsoft.Blur(makeShadow=1, shadowOpacity=0.3, pixelRadius=3)";
this.offset=0;
}
this.div.style.display="none";
_87.parentNode.appendChild(this.div);
this.DivRef=_87;
},createShadow:function(){
var tab=document.createElement("table");
tab.style.height="100%";
tab.style.width="100%";
tab.cellSpacing=0;
tab.dir="ltr";
var tr1=tab.insertRow(-1);
tr1.style.height="8px";
var _8a=tr1.insertCell(-1);
_8a.style.width="8px";
var _8b=tr1.insertCell(-1);
_8b.style.background="transparent url("+Rico.imgDir+"shadow_ur.png"+") no-repeat right bottom";
var tr2=tab.insertRow(-1);
var _8d=tr2.insertCell(-1);
_8d.style.background="transparent url("+Rico.imgDir+"shadow_ll.png"+") no-repeat right bottom";
var _8e=tr2.insertCell(-1);
_8e.style.background="transparent url("+Rico.imgDir+"shadow.png"+") no-repeat right bottom";
this.div.appendChild(tab);
},hide:function(){
this.div.style.display="none";
},move:function(){
this.div.style.top=(parseInt(this.DivRef.style.top)+this.offset)+"px";
this.div.style.left=(parseInt(this.DivRef.style.left)+this.offset)+"px";
},show:function(){
this.div.style.width=this.DivRef.offsetWidth+"px";
this.div.style.height=this.DivRef.offsetHeight+"px";
this.move();
this.div.style.zIndex=parseInt(Element.getStyle(this.DivRef,"z-index"))-1;
this.div.style.display="block";
}};
Rico.Popup=Class.create();
Rico.Popup.prototype={initialize:function(_8f,_90,_91){
this.options={hideOnEscape:true,hideOnClick:true,ignoreClicks:false,position:"absolute",shadow:true,margin:6,zIndex:1,overflow:"auto",canDragFunc:null};
Object.extend(this.options,_8f||{});
if(_90){
this.setDiv(_90,_91);
}
},setDiv:function(_92,_93){
this.divPopup=$(_92);
var _94=this.options.position=="auto"?Element.getStyle(this.divPopup,"position").toLowerCase():this.options.position;
if(!this.divPopup||_94!="absolute"){
return;
}
this.closeFunc=_93||this.closePopup.bindAsEventListener(this);
this.shim=new Rico.Shim(this.divPopup);
if(this.options.shadow){
this.shadow=new Rico.Shadow(this.divPopup);
}
if(this.options.hideOnClick){
Event.observe(document,"click",this.closeFunc);
}
if(this.options.hideOnEscape){
Event.observe(document,"keyup",this._checkKey.bindAsEventListener(this));
}
if(this.options.canDragFunc){
Event.observe(this.titleDiv||this.divPopup,"mousedown",this.startDrag.bind(this));
}
if(this.options.ignoreClicks||this.options.canDragFunc){
this.ignoreClicks();
}
},createPopup:function(_95,_96,ht,wi,_99,_9a){
var div=document.createElement("div");
div.style.position=this.options.position;
div.style.zIndex=this.options.zIndex;
div.style.overflow=this.options.overflow;
div.style.top="0px";
div.style.left="0px";
div.style.height=ht;
div.style.width=wi;
div.className=_99||"ricoPopup";
if(_96){
div.innerHTML=_96;
}
_95.appendChild(div);
this.setDiv(div,_9a);
this.contentDiv=div;
if(this.options.canDragFunc===true){
this.options.canDragFunc=this.safeDragTest.bind(this);
}
},safeDragTest:function(_9c,_9d){
return (_9c.componentFromPoint&&_9c.componentFromPoint(_9d.clientX,_9d.clientY)!="")?false:_9c==this.divPopup;
},createWindow:function(_9e,_9f,ht,wi,_a2){
var div=document.createElement("div");
this.titleDiv=document.createElement("div");
this.contentDiv=document.createElement("div");
this.titleDiv.className="ricoTitle";
this.titleDiv.innerHTML=_9e;
this.titleDiv.style.position="relative";
var img=document.createElement("img");
img.src=Rico.imgDir+"close.gif";
img.title=RicoTranslate.getPhraseById("close");
img.style.cursor="pointer";
img.style.position="absolute";
img.style.right="0px";
this.titleDiv.appendChild(img);
this.contentDiv.className="ricoContent";
this.contentDiv.innerHTML=_9f;
this.contentDiv.style.height=ht;
this.contentDiv.style.width=wi;
this.contentDiv.style.overflow=this.options.overflow;
div.style.position=this.options.position;
div.style.zIndex=this.options.zIndex;
div.style.top="0px";
div.style.left="0px";
div.style.display="none";
div.className=_a2||"ricoWindow";
div.appendChild(this.titleDiv);
div.appendChild(this.contentDiv);
document.body.appendChild(div);
this.setDiv(div);
Event.observe(img,"click",this.closePopup.bindAsEventListener(this));
},ignoreClicks:function(){
Event.observe(this.divPopup,"click",this._ignoreClick.bindAsEventListener(this));
},_ignoreClick:function(e){
if(e.stopPropagation){
e.stopPropagation();
}else{
e.cancelBubble=true;
}
return true;
},_checkKey:function(e){
if(RicoUtil.eventKey(e)==27){
this.closeFunc();
}
return true;
},move:function(_a7,top){
if(typeof _a7=="number"){
this.divPopup.style.left=_a7+"px";
}
if(typeof top=="number"){
this.divPopup.style.top=top+"px";
}
if(this.shim){
this.shim.move();
}
if(this.shadow){
this.shadow.move();
}
},startDrag:function(_a9){
var _aa=Event.element(_a9);
var _ab=typeof (this.options.canDragFunc)=="function"?this.options.canDragFunc(_aa,_a9):this.options.canDragFunc;
if(!_ab){
return;
}
this.divPopup.style.cursor="move";
this.lastMouseX=_a9.clientX;
this.lastMouseY=_a9.clientY;
this.dragHandler=this.drag.bindAsEventListener(this);
this.dropHandler=this.endDrag.bindAsEventListener(this);
Event.observe(document,"mousemove",this.dragHandler);
Event.observe(document,"mouseup",this.dropHandler);
Event.stop(_a9);
},drag:function(_ac){
var _ad=parseInt(this.divPopup.style.left)+_ac.clientX-this.lastMouseX;
var _ae=parseInt(this.divPopup.style.top)+_ac.clientY-this.lastMouseY;
this.move(_ad,_ae);
this.lastMouseX=_ac.clientX;
this.lastMouseY=_ac.clientY;
Event.stop(_ac);
},endDrag:function(){
this.divPopup.style.cursor="";
Event.stopObserving(document,"mousemove",this.dragHandler);
Event.stopObserving(document,"mouseup",this.dropHandler);
this.dragHandler=null;
this.dropHandler=null;
},openPopup:function(_af,top){
this.divPopup.style.display="block";
if(typeof _af=="number"){
this.divPopup.style.left=_af+"px";
}
if(typeof top=="number"){
this.divPopup.style.top=top+"px";
}
if(this.shim){
this.shim.show();
}
if(this.shadow){
this.shadow.show();
}
},closePopup:function(){
if(this.dragHandler){
this.endDrag();
}
if(this.shim){
this.shim.hide();
}
if(this.shadow){
this.shadow.hide();
}
this.divPopup.style.display="none";
}};
Rico.includeLoaded("ricoCommon.js");
