// Arnica JavaScript Library. (C)2011, Arnica Software Corporation (www.arnicasoftware.com)
var aaoDialog=new aaclsDialog;
function aaclsDialog(){this.nDialogType=1;var a=navigator.userAgent.toLowerCase();this.bIsInternetExplorer=a.indexOf("msie")!=-1&&a.indexOf("opera")==-1;this.cContentURI="";this.nModalMode=1;this.cSharedFolderURI="";this.nYPos=this.nXPos=100;this.nWidth=700;this.nHeight="";this.nStepCount=0;this.nTransitionTimeout=5;this.nNumberOfSteps=10;this.cControlContent=this.cContent="";this.bIsInitialized=!1;this.bIsActionEnabled=this.bIsCaptionEnabled=this.bIsCloseButtonEnabled=!0;this.cDialogModalAreaClassName=
"aaDialogModalArea";this.nTooltipClodeDelay=0;this.bIsBackgroundDimmed=!0;this.IsCloseDialog=this.IsTooltipDisplayed=this.IsFixedBorder=!1;this.nPassCounter=0;this.cCloseButtonCaption="Close";this.lIsCopyToClipBoardDialogInitialized=this.lIsAutoClose=this.lIsRunning=!1;this.nAdditionalActionIndex=0;this.cSelectedColor=this.cValue2=this.cValue="";this.lIsIE7=parseInt(navigator.appVersion.substr(navigator.appVersion.indexOf("MSIE")+4))==7?!0:!1}
aaclsDialog.prototype.ShowCopyToClipboardDialog=function(a,b,c,d){aaoDialog.nAdditionalActionIndex=1;b==null||c==null?aaoDialog.ShowPOPDialog("@URI@CloseIcon@Caption@Modal@ModalArea:2","Please right-click on the text below and select Copy",d,aaoDialog.cSharedFolderURI+"JavaScript/aaDialogCopyToClipboard.htm",380,45):aaoDialog.ShowPOPDialog2("@URI@CloseIcon@Caption@Modal@ModalArea:2","Please right-click on the text below and select Copy",b,c,aaoDialog.cSharedFolderURI+"JavaScript/aaDialogCopyToClipboard.htm",
380,45);aaoDialog.cValue=a};
aaclsDialog.prototype.ExecuteAdditionalAction=function(){if(aaoDialog.nAdditionalActionIndex==1){var a=window.document.getElementById("aaoCopyToClipboardText");a.value=aaoDialog.cValue;a.select()}aaoDialog.nAdditionalActionIndex==2&&aaoDialog.CreateSelectDateControlContent(aaoDialog.cValue,aaoDialog.cValue2);aaoDialog.nAdditionalActionIndex==3&&aaoDialog.SetColorTableContent(aaoDialog.cValue);aaoDialog.cContentURI.indexOf("aaHTMLEditorControlInsertLink")>-1&&document.getElementById("txtLinkURL").focus();aaoDialog.cContentURI.indexOf("aaHTMLEditorControlInsertTable")>
-1&&document.getElementById("txtTableRowCount").focus()};aaclsDialog.prototype.ProceedCloseDialog=function(){aaoDialog.IsCloseDialog&&aaoDialog.CloseDialog2()};aaclsDialog.prototype.CloseDialog=function(a){if(aaoDialog.bIsInitialized&&!aaoDialog.lIsRunning)aaoDialog.nAdditionalActionIndex=0,aaoDialog.lIsRunning=!0,a==null&&(a=0),aaoDialog.IsCloseDialog=!0,a>0?setTimeout("aaoDialog.ProceedCloseDialog()",a):aaoDialog.ProceedCloseDialog(),aaoDialog.lIsRunning=!1};
aaclsDialog.prototype.CloseDialog2=function(){if(aaoDialog.bIsInitialized)document.getElementById("aaDialog"),aaoDialog.nStepCount=0,aaoDialog.IsCloseDialog=!1,aaoDialog.cControlContent="",aaoDialog.IsFixedBorder?aaoDialog.ShrinkDialog():aaoDialog.HideDialog()};
aaclsDialog.prototype.ShowFRMDialog=function(a,b,c,d,e){if(!aaoDialog.lIsRunning){aaoDialog.lIsRunning=!0;if(d==null||d==0)d=600;if(aaoDialog.lIsIE7&&(e==null||e==0))e=400;aaoDialog.cCloseButtonCaption="Close";if(aaoDialog.bIsInitialized||aaoDialog.ControlInit())document.getElementById("aaDialogCaption").innerHTML=b,aaoDialog.nTransitionTimeout=5,aaoDialog.nNumberOfSteps=10,aaoDialog.bIsBackgroundDimmed=!0,aaoDialog.IsTooltipDisplayed=!1,aaoDialog.nModalMode=2,aaoDialog.IsOptionUsed(a,"Iframe")?(aaoDialog.nDialogType=
1,aaoDialog.cContentURI=c,aaoDialog.cContent=""):!aaoDialog.IsOptionUsed(a,"Iframe")&&aaoDialog.IsOptionUsed(a,"URI")?(aaoDialog.nDialogType=2,aaoDialog.cContentURI=c):!aaoDialog.IsOptionUsed(a,"Iframe")&&aaoDialog.IsOptionUsed(a,"Element")?(aaoDialog.nDialogType=3,aaoDialog.cContentURI="",aaoDialog.cContent=document.getElementById(c).innerHTML):!aaoDialog.IsOptionUsed(a,"Iframe")&&aaoDialog.IsOptionUsed(a,"Content")?(aaoDialog.nDialogType=3,aaoDialog.cContentURI="",aaoDialog.cContent=c):(aaoDialog.nDialogType=
3,aaoDialog.cContentURI="",aaoDialog.cContent=document.getElementById(c).innerHTML),aaoDialog.SetObjectProperties(a,1),aaoDialog.SetElementClasses("aaDialogFRM","aaDialogFRMContainer","aaDialogFRMContent","aaDialogFRMCaption","aaDialogFRMCloseIcon","aaDialogFRMControl"),aaoDialog.ShowDialog(d,e),aaoDialog.lIsRunning=!1}};
aaclsDialog.prototype.ShowTLPDialog=function(a,b,c,d,e,f){if(!aaoDialog.lIsRunning){aaoDialog.lIsRunning=!0;if(e==null||e==0)e=240;if(aaoDialog.lIsIE7&&(f==null||f==0))f=200;aaoDialog.cCloseButtonCaption="Close";if(aaoDialog.bIsInitialized||aaoDialog.ControlInit()){document.getElementById("aaDialogCaption").innerHTML=b;aaoDialog.nTransitionTimeout=5;aaoDialog.nNumberOfSteps=10;aaoDialog.IsOptionUsed(a,"URI")?(aaoDialog.nDialogType=2,aaoDialog.cContentURI=d):aaoDialog.IsOptionUsed(a,"Element")?(aaoDialog.nDialogType=
3,aaoDialog.cContentURI="",aaoDialog.cContent=document.getElementById(d).innerHTML):aaoDialog.IsOptionUsed(a,"Content")?(aaoDialog.nDialogType=3,aaoDialog.cContentURI="",aaoDialog.cContent=document.getElementById(d).innerHTML):(aaoDialog.nDialogType=3,aaoDialog.cContentURI="",aaoDialog.cContent=d);aaoDialog.nModalMode=1;aaoDialog.bIsBackgroundDimmed=aaoDialog.IsOptionUsed(a,"Modal")?!0:!1;if(aaoDialog.IsOptionUsed(a,"CloseDialog")){aaoDialog.IsTooltipDisplayed=!0;aaoDialog.nTooltipClodeDelay=aaoDialog.GetOptionValue(a,
"CloseDialog");if(aaoDialog.nTooltipClodeDelay=="")aaoDialog.nTooltipClodeDelay=500;aaoDialog.nModalMode=1;aaoDialog.lIsAutoClose=!0}else aaoDialog.lIsAutoClose=!1,aaoDialog.IsTooltipDisplayed=!0;if(aaoDialog.bIsBackgroundDimmed&&(b=aaoDialog.GetOptionValue(a,"ModalArea"),b!=""))this.cDialogModalAreaClassName="aaDialogModalArea"+b,document.getElementById("aaDialogModalArea").className=aaoDialog.cDialogModalAreaClassName;c==null?aaoDialog.nModalMode=2:aaoDialog.setRelatedToSender(c,f,e);aaoDialog.SetObjectProperties(a,
1);aaoDialog.SetElementClasses("aaDialogTLP","aaDialogTLPContainer","aaDialogTLPContent","aaDialogTLPCaption","aaDialogTLPCloseIcon","aaDialogTLPControl");aaoDialog.ShowDialog(e,f);aaoDialog.lIsRunning=!1}}};
aaclsDialog.prototype.ShowTLPDialog2=function(a,b,c,d,e,f,g){if(!aaoDialog.lIsRunning){aaoDialog.lIsRunning=!0;if(f==null||f==0)f=240;if(aaoDialog.lIsIE7&&(g==null||g==0))g=200;aaoDialog.cCloseButtonCaption="Close";if(aaoDialog.bIsInitialized||aaoDialog.ControlInit()){document.getElementById("aaDialogCaption").innerHTML=b;aaoDialog.nTransitionTimeout=5;aaoDialog.nNumberOfSteps=10;aaoDialog.IsOptionUsed(a,"URI")?(aaoDialog.nDialogType=2,aaoDialog.cContentURI=e):aaoDialog.IsOptionUsed(a,"Element")?
(aaoDialog.nDialogType=3,aaoDialog.cContentURI="",aaoDialog.cContent=document.getElementById(e).innerHTML):aaoDialog.IsOptionUsed(a,"Content")?(aaoDialog.nDialogType=3,aaoDialog.cContentURI="",aaoDialog.cContent=e):(aaoDialog.nDialogType=3,aaoDialog.cContentURI="",aaoDialog.cContent=document.getElementById(e).innerHTML);aaoDialog.nModalMode=1;aaoDialog.bIsBackgroundDimmed=aaoDialog.IsOptionUsed(a,"Modal")?!0:!1;if(aaoDialog.IsOptionUsed(a,"CloseDialog")){aaoDialog.IsTooltipDisplayed=!0;aaoDialog.nTooltipClodeDelay=
aaoDialog.GetOptionValue(a,"CloseDialog");if(aaoDialog.nTooltipClodeDelay=="")aaoDialog.nTooltipClodeDelay=500;aaoDialog.nModalMode=1;aaoDialog.lIsAutoClose=!0}else aaoDialog.lIsAutoClose=!1,aaoDialog.IsTooltipDisplayed=!0;if(aaoDialog.bIsBackgroundDimmed&&(b=aaoDialog.GetOptionValue(a,"ModalArea"),b!=""))this.cDialogModalAreaClassName="aaDialogModalArea"+b,document.getElementById("aaDialogModalArea").className=aaoDialog.cDialogModalAreaClassName;aaoDialog.nXPos=c;aaoDialog.nYPos=d;aaoDialog.SetObjectProperties(a,
1);aaoDialog.SetElementClasses("aaDialogTLP","aaDialogTLPContainer","aaDialogTLPContent","aaDialogTLPCaption","aaDialogTLPCloseIcon","aaDialogTLPControl");aaoDialog.ShowDialog(f,g);aaoDialog.lIsRunning=!1}}};
aaclsDialog.prototype.ShowPOPDialog=function(a,b,c,d,e,f){if(!aaoDialog.lIsRunning){aaoDialog.lIsRunning=!0;if(e==null||e==0)e=240;if(aaoDialog.lIsIE7&&(f==null||f==0))f=200;aaoDialog.cCloseButtonCaption="Close";if(aaoDialog.bIsInitialized||aaoDialog.ControlInit()){document.getElementById("aaDialogCaption").innerHTML=b;aaoDialog.nTransitionTimeout=5;aaoDialog.nNumberOfSteps=10;aaoDialog.IsOptionUsed(a,"URI")?(aaoDialog.nDialogType=2,aaoDialog.cContentURI=d):aaoDialog.IsOptionUsed(a,"Element")?(aaoDialog.nDialogType=
3,aaoDialog.cContentURI="",aaoDialog.cContent=document.getElementById(d).innerHTML):aaoDialog.IsOptionUsed(a,"Content")?(aaoDialog.nDialogType=3,aaoDialog.cContentURI="",aaoDialog.cContent=d):(aaoDialog.nDialogType=3,aaoDialog.cContentURI="",aaoDialog.cContent=document.getElementById(d).innerHTML);aaoDialog.nModalMode=1;aaoDialog.bIsBackgroundDimmed=aaoDialog.IsOptionUsed(a,"Modal")?!0:!1;if(aaoDialog.IsOptionUsed(a,"CloseDialog")){aaoDialog.IsTooltipDisplayed=!0;aaoDialog.nTooltipClodeDelay=aaoDialog.GetOptionValue(a,
"CloseDialog");if(aaoDialog.nTooltipClodeDelay=="")aaoDialog.nTooltipClodeDelay=500;aaoDialog.nModalMode=1;aaoDialog.lIsAutoClose=!0}else aaoDialog.lIsAutoClose=!1,aaoDialog.IsTooltipDisplayed=!0;if(aaoDialog.bIsBackgroundDimmed&&(b=aaoDialog.GetOptionValue(a,"ModalArea"),b!=""))this.cDialogModalAreaClassName="aaDialogModalArea"+b,document.getElementById("aaDialogModalArea").className=aaoDialog.cDialogModalAreaClassName;c==null?aaoDialog.nModalMode=2:aaoDialog.setRelatedToSender(c,f,e);aaoDialog.SetObjectProperties(a,
1);aaoDialog.SetElementClasses("aaDialogPOP","aaDialogPOPContainer","aaDialogPOPContent","aaDialogPOPCaption","aaDialogPOPCloseIcon","aaDialogPOPControl");aaoDialog.ShowDialog(e,f);aaoDialog.lIsRunning=!1}}};
aaclsDialog.prototype.ShowPOPDialog2=function(a,b,c,d,e,f,g){if(!aaoDialog.lIsRunning){aaoDialog.lIsRunning=!0;if(f==null||f==0)f=240;if(aaoDialog.lIsIE7&&(g==null||g==0))g=200;aaoDialog.cCloseButtonCaption="Close";if(aaoDialog.bIsInitialized||aaoDialog.ControlInit()){document.getElementById("aaDialogCaption").innerHTML=b;aaoDialog.nTransitionTimeout=5;aaoDialog.nNumberOfSteps=10;aaoDialog.IsOptionUsed(a,"URI")?(aaoDialog.nDialogType=2,aaoDialog.cContentURI=e):aaoDialog.IsOptionUsed(a,"Element")?
(aaoDialog.nDialogType=3,aaoDialog.cContentURI="",aaoDialog.cContent=document.getElementById(e).innerHTML):aaoDialog.IsOptionUsed(a,"Content")?(aaoDialog.nDialogType=3,aaoDialog.cContentURI="",aaoDialog.cContent=e):(aaoDialog.nDialogType=3,aaoDialog.cContentURI="",aaoDialog.cContent=document.getElementById(e).innerHTML);aaoDialog.nModalMode=1;aaoDialog.bIsBackgroundDimmed=aaoDialog.IsOptionUsed(a,"Modal")?!0:!1;if(aaoDialog.IsOptionUsed(a,"CloseDialog")){aaoDialog.IsTooltipDisplayed=!0;aaoDialog.nTooltipClodeDelay=
aaoDialog.GetOptionValue(a,"CloseDialog");if(aaoDialog.nTooltipClodeDelay=="")aaoDialog.nTooltipClodeDelay=500;aaoDialog.nModalMode=1;aaoDialog.lIsAutoClose=!0}else aaoDialog.lIsAutoClose=!1,aaoDialog.IsTooltipDisplayed=!0;if(aaoDialog.bIsBackgroundDimmed&&(b=aaoDialog.GetOptionValue(a,"ModalArea"),b!=""))this.cDialogModalAreaClassName="aaDialogModalArea"+b,document.getElementById("aaDialogModalArea").className=aaoDialog.cDialogModalAreaClassName;if(c!=0)aaoDialog.nXPos=c;if(d!=0)aaoDialog.nYPos=
d;aaoDialog.SetObjectProperties(a,1);aaoDialog.SetElementClasses("aaDialogPOP","aaDialogPOPContainer","aaDialogPOPContent","aaDialogPOPCaption","aaDialogPOPCloseIcon","aaDialogPOPControl");aaoDialog.ShowDialog(f,g);aaoDialog.lIsRunning=!1}}};
aaclsDialog.prototype.ShowMSGDialog=function(a,b,c,d,e){if(!aaoDialog.lIsRunning){aaoDialog.lIsRunning=!0;if(d==null||d==0)d=240;if(aaoDialog.lIsIE7&&(e==null||e==0))e=120;b==""&&(b="Information");aaoDialog.cCloseButtonCaption="Close";if(aaoDialog.bIsInitialized||aaoDialog.ControlInit())aaoDialog.nDialogType=3,aaoDialog.nModalMode=2,aaoDialog.cContentURI="",aaoDialog.cContent=c,aaoDialog.bIsBackgroundDimmed=!0,aaoDialog.nTransitionTimeout=5,aaoDialog.nNumberOfSteps=5,aaoDialog.IsTooltipDisplayed=
!1,document.getElementById("aaDialogCaption").innerHTML=b,aaoDialog.SetObjectProperties(a,1),aaoDialog.IsOptionUsed(a,"Infomation")?aaoDialog.SetElementClasses("aaDialogMSG","aaDialogMSGContainer","aaDialogMSGContent","aaDialogMSGCaption","aaDialogMSGCloseIcon","aaDialogMSGControl"):aaoDialog.IsOptionUsed(a,"Warning")?aaoDialog.SetElementClasses("aaDialogMSG","aaDialogMSGContainer","aaDialogMSGContent","aaDialogMSGCaption2","aaDialogMSGCloseIcon","aaDialogMSGControl"):aaoDialog.IsOptionUsed(a,"Error")?
aaoDialog.SetElementClasses("aaDialogMSG","aaDialogMSGContainer","aaDialogMSGContent","aaDialogMSGCaption3","aaDialogMSGCloseIcon","aaDialogMSGControl"):aaoDialog.SetElementClasses("aaDialogMSG","aaDialogMSGContainer","aaDialogMSGContent","aaDialogMSGCaption","aaDialogMSGCloseIcon","aaDialogMSGControl"),aaoDialog.ShowDialog(d,e),aaoDialog.lIsRunning=!1}};
aaclsDialog.prototype.ShowRedirectConfirmationBox=function(a,b,c,d,e,f,g,h,i){if(!aaoDialog.lIsRunning){aaoDialog.lIsRunning=!0;if(h==null||h==0)h=240;if(aaoDialog.lIsIE7&&(i==null||i==0))i=120;b==""&&(b="Confirmation");if(aaoDialog.bIsInitialized||aaoDialog.ControlInit()){if(f==null||f=="")f="Confirm";if(g==null||g=="")g="Cancel";aaoDialog.nDialogType=3;aaoDialog.nModalMode=2;aaoDialog.cContentURI="";document.getElementById("aaDialogCaption").innerHTML=b;aaoDialog.cContent=c;aaoDialog.cControlContent=
'<a class="aaButtonLinkA2" href="JavaScript:aaoDialog.ExecuteRedirect(\''+d+"');\">"+f+'</a>&nbsp;<a class="aaButtonLinkA1" href="javaScript:aaoDialog.ExecuteRedirect(\''+e+"');\">"+g+"</a>";aaoDialog.nTransitionTimeout=5;aaoDialog.nNumberOfSteps=5;aaoDialog.cContentURI="";aaoDialog.bIsBackgroundDimmed=!0;aaoDialog.IsTooltipDisplayed=!1;aaoDialog.SetObjectProperties(a,2);aaoDialog.SetElementClasses("aaDialogMSG","aaDialogMSGContainer","aaDialogMSGContent","aaDialogMSGCaption","aaDialogMSGCloseIcon",
"aaDialogMSGControl");aaoDialog.ShowDialog(h,i);aaoDialog.lIsRunning=!1}}};
aaclsDialog.prototype.ShowSubmitConfirmationBox=function(a,b,c,d,e,f,g,h,i,j){if(!aaoDialog.lIsRunning){aaoDialog.lIsRunning=!0;if(i==null||i==0)i=240;if(aaoDialog.lIsIE7&&(j==null||j==0))j=120;b==""&&(b="Confirmation");if(aaoDialog.bIsInitialized||aaoDialog.ControlInit()){if(g==null||g=="")g="Submit";if(h==null||h=="")h="Cancel";aaoDialog.nDialogType=3;aaoDialog.nModalMode=2;aaoDialog.cContentURI="";document.getElementById("aaDialogCaption").innerHTML=b;aaoDialog.cContent=c;aaoDialog.cControlContent=
'<a class="aaButtonLinkA2" href="JavaScript:aaoDialog.ExecuteSubmit(\''+d+"','"+e+"');\">"+g+'</a>&nbsp;<a class="aaButtonLinkA1" href="javaScript:aaoDialog.ExecuteSubmit(\''+d+"', '"+f+"');\">"+h+"</a>";aaoDialog.nTransitionTimeout=5;aaoDialog.nNumberOfSteps=5;aaoDialog.cContentURI="";aaoDialog.bIsBackgroundDimmed=!0;aaoDialog.IsTooltipDisplayed=!1;aaoDialog.SetObjectProperties(a,2);aaoDialog.SetElementClasses("aaDialogMSG","aaDialogMSGContainer","aaDialogMSGContent","aaDialogMSGCaption","aaDialogMSGCloseIcon",
"aaDialogMSGControl");aaoDialog.ShowDialog(i,j);aaoDialog.lIsRunning=!1}}};aaclsDialog.prototype.DrawState=function(){document.title=aaoDialog.IsCloseDialog?"true":"false";setTimeout("aaoDialog.DrawState()",500)};aaclsDialog.prototype.MouseOver=function(){if(aaoDialog.bIsInitialized&&aaoDialog.IsTooltipDisplayed)aaoDialog.IsCloseDialog=!1};
aaclsDialog.prototype.IsMouseWithinDialog=function(a,b){var a=window.event?event:a,c=aaoDialog.getOffsetTop(b),d=aaoDialog.getOffsetLeft(b),e=b.offsetWidth,f=b.offsetHeight,g=0,h=0;if(!a)a=window.event;if(a.pageX||a.pageY)g=a.pageX,h=a.pageY;else if(a.clientX||a.clientY)g=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,h=a.clientY+document.body.scrollTop+document.documentElement.scrollTop;if(c<h||c+f>h||d<g||d+e>g)return!0;return!1};
aaclsDialog.prototype.MouseOut=function(a){if(aaoDialog.bIsInitialized&&aaoDialog.IsTooltipDisplayed&&aaoDialog.lIsAutoClose){var b=document.getElementById("aaDialogContent");if(b.style.visibility==""&&aaoDialog.IsMouseWithinDialog(a,b))aaoDialog.IsCloseDialog=!0,aaoDialog.CloseDialog(aaoDialog.nTooltipClodeDelay)}};
aaclsDialog.prototype.ExecuteRedirect=function(a){if(aaoDialog.bIsInitialized&&(document.getElementById("aaDialog"),aaoDialog.nStepCount=0,aaoDialog.IsFixedBorder?aaoDialog.ShrinkDialog():aaoDialog.HideDialog(),a!=""))document.location=a};
aaclsDialog.prototype.ExecuteSubmit=function(a,b){if(aaoDialog.bIsInitialized)document.getElementById("aaDialog"),aaoDialog.nStepCount=0,aaoDialog.IsFixedBorder?aaoDialog.ShrinkDialog():aaoDialog.HideDialog(),b!=""&&(eval("document."+a+".action= cRedirectURI"),eval("document."+a+".submit();"))};
aaclsDialog.prototype.SetElementClasses=function(a,b,c,d,e,f){document.getElementById("aaDialog").className=a;document.getElementById("aaDialogContainer").className=b;document.getElementById("aaDialogContent").className=c;document.getElementById("aaDialogCaption").className=d;document.getElementById("aaCloseButton").className=e;document.getElementById("aaDialogControl").className=f};
aaclsDialog.prototype.SetItemListContainerAttribute=function(a,b){aaoDialog.bIsInitialized&&a!=""&&window.document.getElementById("aaDialog").setAttribute(a,b)};aaclsDialog.prototype.SetDialogCaptionWidth=function(){document.getElementById("aaDialogContainer").style.width="100%"};
aaclsDialog.prototype.ControlInit=function(){if(document.body==null)return!1;if(aaoDialog.bIsInitialized)return!0;var a=document.createElement("div");a.id="aaDialog";a.name="aaDialog";a.style.visibility="hidden";a.style.display="none";a.style.position="absolute";a.className="aaDialogFRM";a.onmouseover=aaoDialog.MouseOver;a.onmouseout=aaoDialog.MouseOut;var b=document.createElement("table");b.id="aaDialogContainer";b.name="aaDialogContainer";b.className="aaDialogFRMContainer";b.onmouseover=aaoDialog.MouseOver;
var c=document.createElement("div");c.id="aaCloseButton";c.name="aaCloseButton";c.className="aaDialogFRMCloseIcon";c.style.position="absolute";c.onclick=function(){aaoDialog.MouseDown()};c.onmouseover=aaoDialog.MouseOver;var d,e;d=document.createElement("td");d.id="aaDialogCaption";d.name="aaDialogCaption";d.className="aaDialogFRMCaption";d.onmouseover=aaoDialog.MouseOver;a.appendChild(c);c=document.createElement("td");c.id="aaDialogContent";c.name="aaDialogContent";c.className="aaDialogFRMContent";
c.onmouseover=aaoDialog.MouseOver;e=document.createElement("iframe");e.id="aaDialogIframeContent";e.name="aaDialogIframeContent";e.className="aaDialogFRMIframe";c.appendChild(e);e=document.createElement("td");e.id="aaDialogControl";e.name="aaDialogControl";e.className="aaDialogFRMControl";e.style.visibility="hidden";e.style.display="none";e.onmouseover=aaoDialog.MouseOver;var f=document.createElement("tr");f.style.visibility="hidden";f.style.display="none";f.appendChild(d);f.id="aaDialogCaptionRow";
f.name="aaDialogCaptionRow";b.appendChild(f);f=document.createElement("tr");f.appendChild(c);f.id="aaDialogContentRow";f.name="aaDialogContentRow";b.appendChild(f);f=document.createElement("tr");f.style.visibility="hidden";f.style.display="none";f.id="aaDialogControlRow";f.name="aaDialogControlRow";f.appendChild(e);b.appendChild(f);a.appendChild(b);b=document.createElement("div");b.id="aaDialogModalArea";b.name="aaDialogModalArea";b.className=aaoDialog.cDialogModalAreaClassName;b.style.visibility=
"hidden";b.style.display="none";document.body.appendChild(b);document.body.appendChild(a);document.onmousedown=aaoDialog.MouseDown;document.body.onkeyup=aaoDialog.OnkeyUpEvent;return aaoDialog.bIsInitialized=!0};aaclsDialog.prototype.getScrollX=function(){var a;if(self.pageYoffset)a=self.pageXoffset;else if(document.documentElement&&document.documentElement.scrollTop)a=document.documentElement.scrollLeft;else if(document.body)a=document.body.scrollLeft;return a};
aaclsDialog.prototype.getScrollY=function(){var a;if(self.pageYoffset)a=self.pageYoffset;else if(document.documentElement&&document.documentElement.scrollTop)a=document.documentElement.scrollTop;else if(document.body)a=document.body.scrollTop;return a};aaclsDialog.prototype.getOffsetX=function(a){var b=aaoDialog.getDocumentWidth();return Math.round(aaoDialog.getScrollX()+(b-a)/2)};
aaclsDialog.prototype.getOffsetY=function(a){var b=aaoDialog.getDocumentHeight();return Math.round(aaoDialog.getScrollY()+(b-a)/2)};aaclsDialog.prototype.getDocumentWidth=function(){if(self.innerHeight)return self.innerWidth;else if(document.documentElement&&document.documentElement.clientHeight)return document.documentElement.clientWidth;else if(document.body)return document.body.clientWidth;return 0};
aaclsDialog.prototype.getDocumentHeight=function(){if(self.innerHeight)return self.innerHeight;else if(document.documentElement&&document.documentElement.clientHeight)return document.documentElement.clientHeight;else if(document.body)return document.body.clientHeight;return 0};
aaclsDialog.prototype.ShowDialog=function(a,b){if(aaoDialog.bIsInitialized||aaoDialog.ControlInit()){aaoDialog.nWidth=a;aaoDialog.IsFixedBorder=b==0?!1:!0;aaoDialog.nHeight=aaoDialog.IsFixedBorder?b:"";if(aaoDialog.nModalMode==2)aaoDialog.nXPos=aaoDialog.getOffsetX(a),aaoDialog.nYPos=aaoDialog.getOffsetY(b);var c=document.getElementById("aaDialog");aaoDialog.nStepCount=0;var d=document.getElementById("aaDialogModalArea"),e=document.getElementById("aaDialogCaption");d.className=aaoDialog.cDialogModalAreaClassName;
var f;f=Math.max(Math.max(document.body.scrollHeight,document.documentElement.scrollHeight),Math.max(document.body.offsetHeight,document.documentElement.offsetHeight),Math.max(document.body.clientHeight,document.documentElement.clientHeight));aaoDialog.bIsCaptionEnabled?(e.style.display="",e.style.visibility=""):(e.style.display="none",e.style.visibility="hidden");aaoDialog.bIsBackgroundDimmed?(d.style.display="",d.style.visibility="",d.style.top="0px",d.style.left="0px",d.style.width="100%",d.style.height=
f+"px",d.style.zIndex=0):(d.style.display="none",d.style.visibility="hidden");c.style.display=="none"?(aaoDialog.nPassCounter=0,aaoDialog.IsCloseDialog=!1,aaoDialog.IsFixedBorder?aaoDialog.ExpandDialog():(aaoDialog.OpenDialog(),aaoDialog.SetContent())):(aaoDialog.IsCloseDialog=!0,aaoDialog.IsFixedBorder?aaoDialog.ShrinkDialog():aaoDialog.HideDialog())}};
aaclsDialog.prototype.HideDialog=function(){var a=document.getElementById("aaDialog"),b=document.getElementById("aaDialogContent");if(a.style.display=="")b=document.getElementById("aaDialogContent"),window.document.getElementById("aaDialogContent").innerHTML="",b.style.width=a.style.width,b.style.height=a.style.height,aaoDialog.nStepCount=0,a.style.display="none",a.style.visibility="hidden",window.document.getElementById("aaDialogModalArea").style.display="none",window.document.getElementById("aaDialogModalArea").style.visibility=
"hidden",document.body.onfocus=function(){return!0}};
aaclsDialog.prototype.OpenDialog=function(){var a=document.getElementById("aaDialog"),b=document.getElementById("aaDialogContainer"),c=document.getElementById("aaDialogContent");a.style.zIndex=1;b.style.zIndex=100;c.style.zIndex=1E3;a.style.display="";a.style.visibility="";a.style.top=aaoDialog.nYPos+"px";a.style.left=aaoDialog.nXPos+"px";aaoDialog.SetDialogCaptionWidth();a.style.width=aaoDialog.nWidth+"px";a.style.height="";c.style.width="auto";c.style.height="100%";if(aaoDialog.lIsIE7){if(aaoDialog.nDialogType!=
1)c.style.width="0px",c.style.height="0px";a.innerHTML=a.innerHTML}};
aaclsDialog.prototype.ExpandDialog=function(){var a,b,c,d,e=document.getElementById("aaDialog");c=document.getElementById("aaDialogContainer");d=document.getElementById("aaDialogContent");var f=document.getElementById("aaDialogCaption");document.getElementById("aaDialogControlRow");e.style.zIndex=200;c.style.zIndex=500;d.style.zIndex=1E3;if(aaoDialog.nStepCount==0)d.innerHTML="",e.style.display="",e.style.visibility="",e.style.top=Math.round(aaoDialog.nYPos+aaoDialog.nHeight/2)+"px",e.style.left=
Math.round(aaoDialog.nXPos+aaoDialog.nWidth/2)+"px",c.style.width="1px",c.style.height="1px",e.style.width="1px",e.style.height="1px",d.style.width="1px",d.style.height="1px";a=aaoDialog.nWidth/aaoDialog.nNumberOfSteps;b=aaoDialog.nHeight/aaoDialog.nNumberOfSteps;if(aaoDialog.lIsIE7)aaoDialog.nStepCount=aaoDialog.nNumberOfSteps;if(aaoDialog.nStepCount<aaoDialog.nNumberOfSteps){if(a+e.offsetWidth<=aaoDialog.nWidth)e.style.width=a+e.offsetWidth+"px",d.style.width="auto",c.style.width=e.style.width;
if(b+e.offsetHeight<=aaoDialog.nHeight)e.style.height=b+e.offsetHeight+"px",d.style.height=b+e.offsetHeight-(f.offsetHeight>0?0:f.offsetHeight)+"px",c.style.height=b+e.offsetHeight-(f.offsetHeight>0?0:f.offsetHeight)+"px";c=e.offsetTop;d=e.offsetLeft;if(c>aaoDialog.nYPos)e.style.top=c-Math.round(b/2)+"px";if(aaoDialog.nXPos<d)e.style.left=d-Math.round(a/2)+"px";aaoDialog.nStepCount++;window.setTimeout("aaoDialog.ExpandDialog()",aaoDialog.nTransitionTimeout)}else{e.style.top=aaoDialog.nYPos+"px";e.style.left=
aaoDialog.nXPos+"px";e.style.width=aaoDialog.nWidth+"px";e.style.height=aaoDialog.nHeight+"px";d.style.width="auto";c.style.height="100%";d.style.height="100%";aaoDialog.SetDialogCaptionWidth();lIsRepeat=!1;aaoDialog.nStepCount=0;aaoDialog.SetContent();if(aaoDialog.lIsIE7){if(aaoDialog.nDialogType!=1)d.style.width="0px",d.style.height="0px";e.innerHTML=e.innerHTML}aaoDialog.ExecuteAdditionalAction()}};
aaclsDialog.prototype.ShrinkDialog=function(){var a,b,c,d,e,f=document.getElementById("aaDialog");d=document.getElementById("aaDialogContent");if(f.style.display==""){d=document.getElementById("aaDialogContent");window.document.getElementById("aaDialogContent").innerHTML="";c=!0;a=aaoDialog.nWidth/aaoDialog.nNumberOfSteps;b=aaoDialog.nHeight/aaoDialog.nNumberOfSteps;if(aaoDialog.nStepCount<aaoDialog.nNumberOfSteps){f.style.width=f.offsetWidth-(f.offsetWidth<a?0:a)+1+"px";f.style.height=f.offsetHeight-
(f.offsetHeight<b?0:b)+1+"px";d.style.width=f.style.width;d.style.height=f.style.height;d=f.offsetTop;e=f.offsetLeft;if(d<aaoDialog.nYPos+aaoDialog.nHeight/2)f.style.top=d+Math.round(b/2)+"px";if(e<aaoDialog.nXPos+aaoDialog.nWidth/2)f.style.left=e+Math.round(a/2)+"px"}else f.style.top=Math.round(aaoDialog.nYPos+aaoDialog.nHeight/2)+"px",f.style.left=Math.round(aaoDialog.nXPos+aaoDialog.nWidth/2)+"px",f.style.width="1px",f.style.height="1px",d.style.width=f.style.width,d.style.height=f.style.height,
c=!1,aaoDialog.nStepCount=0,f.style.display="none",f.style.visibility="hidden",window.document.getElementById("aaDialogModalArea").style.display="none",window.document.getElementById("aaDialogModalArea").style.visibility="hidden",document.body.onfocus=function(){return!0};c&&(aaoDialog.nStepCount++,window.setTimeout("aaoDialog.ShrinkDialog()",aaoDialog.nTransitionTimeout))}};aaclsDialog.prototype.getOffsetTop=function(a){for(var b=a.offsetTop,a=a.offsetParent;a;)b+=a.offsetTop,a=a.offsetParent;return b};
aaclsDialog.prototype.getOffsetLeft=function(a){for(var b=a.offsetLeft,a=a.offsetParent;a;)b+=a.offsetLeft,a=a.offsetParent;return b};
aaclsDialog.prototype.SetContent=function(a){if(a!=""&&a!=null)aaoDialog.cContentURI=a;switch(aaoDialog.nDialogType){case 1:aaoDialog.SetIframeContent();break;case 2:aaoDialog.SetWebRequestContent();break;case 3:window.document.getElementById("aaDialogContent").innerHTML=aaoDialog.cContent}if(aaoDialog.cControlContent!="")document.getElementById("aaDialogControl").innerHTML=aaoDialog.cControlContent};
aaclsDialog.prototype.SetIframeContent=function(){if(aaoDialog.bIsInitialized){var a=document.getElementById("aaDialogIframeContent"),b=document.getElementById("aaDialogContainer");if(a==null)a=document.createElement("iframe"),a.id="aaDialogIframeContent",a.name="aaDialogIframeContent",a.className="aaDialogFRMIframe",document.getElementById("aaDialogContent").appendChild(a);a.style.zIndex=5E3;a.src=aaoDialog.cContentURI;a.style.width="100%";a.style.height=aaoDialog.lIsIE7&&(b.offsetHeight==null||
b.offsetHeight==0)?aaoDialog.nHeight-(aaoDialog.bIsActionEnabled?document.getElementById("aaDialogControlRow").offsetHeight:6)-(aaoDialog.bIsCaptionEnabled?document.getElementById("aaDialogCaptionRow").offsetHeight:6)+"px":b.offsetHeight-(aaoDialog.bIsActionEnabled?document.getElementById("aaDialogControlRow").offsetHeight:6)-(aaoDialog.bIsCaptionEnabled?document.getElementById("aaDialogCaptionRow").offsetHeight:6)+"px";if(aaoDialog.bIsCaptionEnabled==!1)a.style.position="absolute",a.style.top="6px";
document.getElementById("aaDialogIframeContent").frameBorder=0}};aaclsDialog.prototype.SetWebRequestContent=function(){var a;a=new window.XMLHttpRequest;a.open("GET",aaoDialog.cContentURI,!1);a.send(null);aaoDialog.cContent=a.responseText;if(aaoDialog.cContent==null)aaoDialog.cContent="";window.document.getElementById("aaDialogContent").innerHTML=aaoDialog.cContent};
aaclsDialog.prototype.MouseDown=function(a){if(document.getElementById("aaDialog").style.display==""){var b,a=window.event?event:a;if(a.target)b=a.target;else if(a.srcElement)b=a.srcElement;aaoDialog.nModalMode==2&&b.id.indexOf("aaCloseButton")!=-1?aaoDialog.ShrinkDialog():aaoDialog.IsTooltipDisplayed&&b.id.indexOf("aaCloseButton")!=-1?aaoDialog.CloseDialog():aaoDialog.IsTooltipDisplayed||b.id.indexOf("aaDialog")!=-1||b.id.indexOf("aaDialogContent")!=-1||b.id.indexOf("aaDialogCaption")!=-1||b.id.indexOf("aaDialogControl")!=
-1||b.id.indexOf("aaMessageBoxControlArea")!=-1||aaoDialog.nModalMode!=2&&aaoDialog.ShrinkDialog()}};aaclsDialog.prototype.OnkeyUpEvent=function(a){if(aaoDialog.bIsInitialized){var b;if(window.event)b=window.event.keyCode;else if(a)b=a.which;(b==27||b==13)&&aaoDialog.ShrinkDialog()}};aaclsDialog.prototype.IsOptionUsed=function(a,b){for(var c=("@"+a+"@").split("@"),d,e=0;e<c.length;e++)if(d=c[e].split(":"),d=d[0],d.toLowerCase()==b.toLowerCase())return!0;return!1};
aaclsDialog.prototype.GetOptionValue=function(a,b){for(var c=("@"+a+"@").split("@"),d,e,f=0;f<c.length;f++)if(d=c[f].split(":"),e=d.length==2?d[1]:"",d=d[0],d.toLowerCase()==b.toLowerCase())return e;return""};
aaclsDialog.prototype.SetObjectProperties=function(a,b){aaoDialog.bIsCloseButtonEnabled=aaoDialog.IsOptionUsed(a,"CloseIcon");aaoDialog.bIsCaptionEnabled=aaoDialog.IsOptionUsed(a,"Caption");aaoDialog.bIsActionEnabled=aaoDialog.IsOptionUsed(a,"Actions");aaoDialog.ChangeCloseButtonVisibility();aaoDialog.ChangeCaptionVisibility();aaoDialog.ChangeDialogControlVisibility();var c=document.getElementById("aaDialogContent");if(aaoDialog.bIsCaptionEnabled){c.style.borderTopRightRadius="0px";c.style.borderTopLeftRadius=
"0px";if(typeof c.style.MozBorderRadiusTopright!="undefined")c.style.MozBorderRadiusTopright="0px";if(typeof c.style.MozBorderRadiusTopleft!="undefined")c.style.MozBorderRadiusTopleft="0px";if(typeof c.style.webkitBorderTopRightRadius!="undefined")c.style.webkitBorderTopRightRadius="0px";if(typeof c.style.webkitBorderTopLeftRadius!="undefined")c.style.webkitBorderTopLeftRadius="0px"}if(aaoDialog.bIsActionEnabled){c.style.borderBottomRightRadius="0px";c.style.borderBottomLeftRadius="0px";if(typeof c.style.MozBorderRadiusBottomright!=
"undefined")c.style.MozBorderRadiusBottomright="0px";if(typeof c.style.MozBorderRadiusBottomleft!="undefined")c.style.MozBorderRadiusBottomleft="0px";if(typeof c.style.webkitBorderBottomRightRadius!="undefined")c.style.webkitBorderBottomRight="0px";if(typeof c.style.webkitBorderBottomLeftRadius!="undefined")c.style.webkitBorderBottomLeftRadius="0px"}if(b==1)c=aaoDialog.GetOptionValue(a,"Actions").toLowerCase(),aaoDialog.cControlContent='<a style="text-align: '+c+'" class="aaButtonLinkA1" href="JavaScript:aaoDialog.CloseDialog();">'+
aaoDialog.cCloseButtonCaption+"</a>"};aaclsDialog.prototype.ChangeCloseButtonVisibility=function(){var a=document.getElementById("aaCloseButton");a.style.visibility=aaoDialog.bIsCloseButtonEnabled?"":"hidden";a.style.display=aaoDialog.bIsCloseButtonEnabled?"":"none"};
aaclsDialog.prototype.ChangeCaptionVisibility=function(){var a=document.getElementById("aaDialogCaption");a.style.visibility=aaoDialog.bIsCaptionEnabled?"":"hidden";a.style.display=aaoDialog.bIsCaptionEnabled?"":"none";a=document.getElementById("aaDialogCaptionRow");a.style.visibility=aaoDialog.bIsCaptionEnabled?"":"hidden";a.style.display=aaoDialog.bIsCaptionEnabled?"":"none"};
aaclsDialog.prototype.ChangeDialogControlVisibility=function(){var a=document.getElementById("aaDialogControl");a.style.visibility=aaoDialog.bIsActionEnabled?"":"hidden";a.style.display=aaoDialog.bIsActionEnabled?"":"none";a=document.getElementById("aaDialogControlRow");a.style.visibility=aaoDialog.bIsActionEnabled?"":"hidden";a.style.display=aaoDialog.bIsActionEnabled?"":"none"};
aaclsDialog.prototype.setRelatedToSender=function(a,b,c){var d=aaoDialog.getScrollY(),e=aaoDialog.getScrollX();aaoDialog.nXPos=aaoDialog.getOffsetLeft(a)+a.offsetWidth;aaoDialog.nYPos=aaoDialog.getOffsetTop(a)+a.offsetHeight;var a=aaoDialog.getDocumentHeight(),f=aaoDialog.getDocumentWidth();if(b!=0&&aaoDialog.nYPos+b>d+a)aaoDialog.nYPos=aaoDialog.nYPos-(aaoDialog.nYPos+b-(d+a))-6;if(c!=0&&aaoDialog.nXPos+c>e+f)aaoDialog.nXPos=aaoDialog.nXPos-(aaoDialog.nXPos+c-(e+f))-6;if(aaoDialog.nYPos<d)aaoDialog.nYPos=
d;if(aaoDialog.nXPos<e)aaoDialog.nXPos=e};aaclsDialog.prototype.ConvertControlValueToDate=function(a){return new Date(a.substring(0,4),a.substring(4,6)-1,a.substring(6,8))};aaclsDialog.prototype.ConvertDateTimeToString=function(a){return new String(a.getFullYear().toString()+""+aaoDialog.padl((a.getMonth()+1).toString(),2,"0")+aaoDialog.padl(a.getDate().toString(),2,"0")+"010101")};
aaclsDialog.prototype.SetTargetValue=function(a,b){var c=new Date,c=aaoDialog.ConvertControlValueToDate(a);document.getElementById(b+"Day").value=c.getDate();document.getElementById(b+"Month").value=c.getMonth()+1;document.getElementById(b+"Year").value=c.getFullYear()};
aaclsDialog.prototype.GetTargetValue=function(a){var b=document.getElementById(a+"Day").value,c=document.getElementById(a+"Month").value,a=document.getElementById(a+"Year").value;if(b==null||b==""||c==null||c==""||a==null||a=="")return"";return new String(a+aaoDialog.padl(c,2,"0")+aaoDialog.padl(b,2,"0")+"010101")};aaclsDialog.prototype.padl=function(a,b,c){for(a=String(a);a.length<b;)a=c+a;return a};
aaclsDialog.prototype.ShowDatePickerDialog=function(a,b,c,d,e){aaoDialog.cValue=a;aaoDialog.cValue2=b;aaoDialog.nAdditionalActionIndex=2;c==null||d==null?aaoDialog.ShowPOPDialog("@URI@CloseIcon@Caption@Modal@ModalArea:2","Select date",e,aaoDialog.cSharedFolderURI+"JavaScript/aaDialogCalendarContent.htm",200,290):aaoDialog.ShowPOPDialog2("@URI@CloseIcon@Caption@Modal@ModalArea:2","Select date",c,d,aaoDialog.cSharedFolderURI+"JavaScript/aaDialogCalendarContent.htm",200,290)};
aaclsDialog.prototype.CreateSelectDateControlContent=function(a,b){var c=aaoDialog.cSharedFolderURI+"Image/aaNextYear.gif",d=aaoDialog.cSharedFolderURI+"Image/aaPreviousYear.gif",e=aaoDialog.cSharedFolderURI+"Image/aaNextMonth.gif",f=aaoDialog.cSharedFolderURI+"Image/aaPreviousMonth.gif";b==null&&(b="");cWorkDate=b==""?aaoDialog.GetTargetValue(a):b;var g=cWorkDate==null||cWorkDate==""?new Date:aaoDialog.ConvertControlValueToDate(cWorkDate);cWorkDate=aaoDialog.GetTargetValue(a);var h=cWorkDate==null||
cWorkDate==""?new Date:aaoDialog.ConvertControlValueToDate(cWorkDate),i=new Date(g);i.setMonth(g.getMonth()-1);var j=new Date(g);j.setYear(g.getFullYear()-1);var l=new Date(g);l.setMonth(g.getMonth()+1);var m=new Date(g);m.setYear(g.getFullYear()+1);var k=new Date(g);k.setDate(1);k.setDate(1-(7+k.getDay()-0)%7);(new Date(l)).setDate(0);document.getElementById("aacdpy").innerHTML="<a href=\"javascript:aaoDialog.CreateSelectDateControlContent('"+a+"', '"+aaoDialog.ConvertDateTimeToString(j)+'\'); "><img src="'+
d+'" width="18px" height="18px" border="0" title="Previous Year"></a>\n';document.getElementById("aacdpm").innerHTML="<a href=\"javascript:aaoDialog.CreateSelectDateControlContent('"+a+"', '"+aaoDialog.ConvertDateTimeToString(i)+'\'); "><img src="'+f+'" width="18px" height="18px" border="0" alt="Previous Month"></a>\n';document.getElementById("aacdcm").innerHTML='<font style="font-weight:bold;" color="white" face="tahoma, verdana" size="2" >'+["January","February","March","April","May","June","July",
"August","September","October","November","December"][g.getMonth()]+"<br />"+g.getFullYear()+"</font>\n";document.getElementById("aacdnm").innerHTML="<a href=\"javascript:aaoDialog.CreateSelectDateControlContent('"+a+"', '"+aaoDialog.ConvertDateTimeToString(l)+'\'); ;"><img src="'+e+'" width="18px" height="18px" border="0" alt="Next Month"></a>\n';document.getElementById("aacdny").innerHTML="<a href=\"javascript:aaoDialog.CreateSelectDateControlContent('"+a+"', '"+aaoDialog.ConvertDateTimeToString(m)+
'\'); "><img src="'+c+'" width="18px" height="18px" border="0" alt="Next Year"></a>\n';d=new Date(k);e=0;for(f=1;f<7;){for(i=0;i<7;i++)e++,c=document.getElementById("aacd"+e),c.onclick=Function("aaoDialog.SetTargetValue('"+aaoDialog.ConvertDateTimeToString(d)+"', '"+a+"'); aaoDialog.CloseDialog();"),c.innerHTML=d.getDate(),c.className=d.getMonth()==g.getMonth()?d.getDate()==h.getDate()&&d.getMonth()==h.getMonth()&&d.getFullYear()==h.getFullYear()?d.getDay()==0||d.getDay()==6?"aaDPCCurrentWeekendDay":
"aaDPCCurrentDay":d.getDay()==0||d.getDay()==6?"aaDPCWeekend":"aaDPCWeekday":"aaDPCOtherMonth",d.setDate(d.getDate()+1);f++}g=new Date;h=new Date;h.setDate(h.getDate()-1);c=new Date;c.setDate(c.getDate()+1);document.getElementById("aacdYesterday").onclick=Function("aaoDialog.SetTargetValue('"+aaoDialog.ConvertDateTimeToString(h)+"', '"+a+"'); aaoDialog.CloseDialog();");document.getElementById("aacdToday").onclick=Function("aaoDialog.SetTargetValue('"+aaoDialog.ConvertDateTimeToString(g)+"', '"+a+
"'); aaoDialog.CloseDialog();");document.getElementById("aacdTomorrow").onclick=Function("aaoDialog.SetTargetValue('"+aaoDialog.ConvertDateTimeToString(c)+"', '"+a+"'); aaoDialog.CloseDialog();")};
aaclsDialog.prototype.ShowColorPickerDialog=function(a,b,c,d){aaoDialog.cSelectedColor="";aaoDialog.cValue=a;aaoDialog.nAdditionalActionIndex=3;b==null||c==null?aaoDialog.ShowPOPDialog("@URI@CloseIcon@Caption@Modal@ModalArea:2","Select color",d,aaoDialog.cSharedFolderURI+"JavaScript/aaDialogColorPicker.htm",163,248):aaoDialog.ShowPOPDialog2("@URI@CloseIcon@Caption@Modal@ModalArea:2","Select color",b,c,aaoDialog.cSharedFolderURI+"JavaScript/aaDialogColorPicker.htm",163,248)};
aaclsDialog.prototype.CloseColorPickerDialog=function(a){aaoDialog.cSelectedColor=a.style.backgroundColor;aaoDialog.CloseDialog();eval(aaoDialog.cValue)};aaclsDialog.prototype.SetColorTableContent=function(){};aaoDialog.ControlInit();


