function parseXMLResult(h){var g=Ext.DomQuery.selectNode("ReturnCode",h);if(g){var f=Ext.DomQuery.selectValue("ReturnCode",h);var c=Ext.DomQuery.selectValue("MessageKey",h);if(f!=0){if(f==2){var e=new Aquent.reviewpad.ErrorDialog({errorResponse:h});e.show();}else{var b=Ext.DomQuery.selectValue("DetailedMessage",h);
var d=custom_labels.ht.get(c);var a=(d!=null&&d!=""?d+"\n\n":"");a+=(b!=null&&b!=""?b:"");Ext.Msg.alert("Error",a);}return false;}else{if(f==0){return true;}}}else{return true;}}function trimText(b,a){if(b.length>=a){return b.substr(0,a-3)+"...";}return b;}function filterInvalidURLChars(a,c){var d="";
for(var b=0;b<c.length;b++){if(a.test(c.charAt(b))){d+=c.charAt(b);}}return d;}function createCookie(a,b,c){createCookie(a,b,c,"/",null,false);}function createCookie(c,e,h,g,d,f){var a="";if(h){var b=new Date();b.setTime(b.getTime()+(h*24*60*60*1000));a="; expires="+b.toGMTString();}else{a="";}document.cookie=c+"="+e+a+((this.path==null)?"":("; path="+this.path))+((this.domain==null)?"":("; domain="+this.domain))+((this.secure==true)?"; secure":"");
}function readCookie(b){var e=b+"=";var a=document.cookie.split(";");for(var d=0;d<a.length;d++){var f=a[d];while(f.charAt(0)==" "){f=f.substring(1,f.length);}if(f.indexOf(e)==0){return f.substring(e.length,f.length);}}return null;}function eraseCookie(a){createCookie(a,"",-1);}function parseLicenseInfo(g,h){var e=parseInt(Ext.DomQuery.selectValue("CurrentNumUsers",g));
var f=parseInt(Ext.DomQuery.selectValue("CurrentNumPads",g));var b=parseInt(Ext.DomQuery.selectValue("CurrentUsedStorage",g));var a=parseInt(Ext.DomQuery.selectValue("LicensedNumUsers",g));var d=parseInt(Ext.DomQuery.selectValue("LicensedNumPads",g));var c=parseInt(Ext.DomQuery.selectValue("LicensedStorage",g));
if(h=="PERSON"&&a!=-1&&e>=a){showMessage(replaceText(custom_labels.AccountLicenseStatusInfo_noOfLicensedUsersMsg,"<licensedNumUsers> users",a+" user"),"new-person-tab");}if(h=="FILE"&&b>c){showMessage(replaceText(custom_labels.AccountLicenseStatusInfo_noOfLicensedStorageMsg,"<currentAvailableStorage>",c-b),"new-file-tab");
}}function showMessage(b,a){Ext.onReady(function(){Ext.Msg.show({title:"Message",msg:b,buttons:{yes:"Yes",no:"No"},closable:false,fn:function(c){Ext.getCmp(a).isCancelForm=true;Ext.getCmp("card-tabs-panel").remove(a);if(c=="yes"){openAccountUpgrade();}}});});}function replaceText(d,a,b){var c=d.replace(a,b);
return c;}function setFieldBoxLabelTooltip(b){var a=Ext.get("x-form-el-"+b.id).child("label");Ext.QuickTips.register({target:a,text:b.tooltipText,title:b.tooltipTitle});}function getCurrentHostUrl(){var a=window.location.protocol+"//"+window.location.host;return a;}function getReviewpadGeneralUrlWithProtocol(){var c="";
var a=window.location.protocol+"//"+window.location.host;var b=getSubDomain();if(b!=""){c=replaceText(a,b,custom_labels.LoginFormPanel_accountUrlPrefix);}else{c=window.location.protocol+"//"+custom_labels.LoginFormPanel_accountUrlPrefix+"."+serverDomainUrl;}return c;}function getReviewpadGeneralUrlWithoutProtocol(){var b="";
var a=getSubDomain();if(a!=""){b=replaceText(window.location.host,a,custom_labels.LoginFormPanel_accountUrlPrefix);}else{b=custom_labels.LoginFormPanel_accountUrlPrefix+"."+serverDomainUrl;}return b;}function getSubDomain(){var e=document.location.hostname;var b="";if(e){var d=e.split(".").length;if(d>2){var c=e.lastIndexOf(".");
var a=e.lastIndexOf(".",c-1);b=e.substring(0,a);}}return b;}function getSubUrl(){var a=getSubDomain().length;return(document.location.hostname).substring(a+1);}function reservedAccountUrl(a){var f=reservedAccountUrls.split(",");var d=false;a=a.trim();for(var c=0;c<f.length;c++){var e=f[c].trim();var b=e.length;
if(e.charAt(b-1)=="*"){if(a.indexOf(e.substring(0,b-1))===0){d=true;}}else{if(e==a){d=true;}}if(d){return d;}}return d;}function redirectToLogin(){document.location.href="login.do";}function getResponseTypeIcon(a){if(a==lookup_codes.PAD_RESPONSE_TYPE_MARKUP){return'<img src="../images/default/s.gif" class="icon-response-markup" ext:qtip="'+custom_labels.ResponseGridPanel_responseType_markupComment+'">';
}else{if(a==lookup_codes.PAD_RESPONSE_TYPE_APPROVAL){return'<img src="../images/default/s.gif" class="icon-response-approval" ext:qtip="'+custom_labels.ResponseGridPanel_responseType_approvalComment+'">';}else{if(a==lookup_codes.PAD_RESPONSE_TYPE_DOWNLOAD){return'<img src="../images/default/s.gif" class="icon-response-download" ext:qtip="'+custom_labels.ResponseGridPanel_responseType_fileDownload+'">';
}}}return'<img src="../images/default/s.gif" class="icon-response-comment" ext:qtip="'+custom_labels.ResponseGridPanel_responseType_padComment+'">';}function getApprovalStatusIcon(c,b,d,a){if(c==lookup_codes.APPROVAL_STATUS_APPROVED){return'<img src="../images/default/s.gif" class="icon-approval-status-1" ext:qtip="'+createTooltip(b,d,a)+'" />';
}else{if(c==lookup_codes.APPROVAL_STATUS_APPROVED_PENDING){return'<img src="../images/default/s.gif" class="icon-approval-status-2" ext:qtip="'+createTooltip(b,d,a)+'" />';}else{if(c==lookup_codes.APPROVAL_STATUS_PENDING){return'<img src="../images/default/s.gif" class="icon-approval-status-3" ext:qtip="'+createTooltip(b,d,a)+'" />';
}else{if(c==lookup_codes.APPROVAL_STATUS_PENDING_APPROVED_REJECTED){return'<img src="../images/default/s.gif" class="icon-approval-status-4" ext:qtip="'+createTooltip(b,d,a)+'" />';}else{if(c==lookup_codes.APPROVAL_STATUS_APPROVED_REJECTED){return'<img src="../images/default/s.gif" class="icon-approval-status-5" ext:qtip="'+createTooltip(b,d,a)+'" />';
}else{if(c==lookup_codes.APPROVAL_STATUS_PENDING_REJECTED){return'<img src="../images/default/s.gif" class="icon-approval-status-6" ext:qtip="'+createTooltip(b,d,a)+'" />';}else{if(c==lookup_codes.APPROVAL_STATUS_REJECTED){return'<img src="../images/default/s.gif" class="icon-approval-status-7" ext:qtip="'+createTooltip(b,d,a)+'" />';
}}}}}}}return"";}function checkUserEditPermissions(a,b){switch(userPrincipal.userType){case lookup_codes.ROLE_SUPERUSER:return true;break;case lookup_codes.ROLE_ADMINISTRATOR:return true;break;case lookup_codes.ROLE_USER:if((a==userPrincipal.personKey)||(b==lookup_codes.ROLE_REVIEWER)){return true;}break;
}return false;}var rhwin;window.name="reviewpad";function openRoboheadWindow(a){if(rhwin!=null&&!rhwin.closed){rhwin.focus();}if(window.opener!=null&&!window.opener.closed){window.opener.focus();window.opener.location.href=a;return;}rhwin=window.open(a,"robohead","toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable,alwaysRaised,dependent,titlebar=yes");
if(rhwin!=null){rhwin.focus();}}function setDefaultScreen(b,a){(function(){switch(b){case lookup_codes.SCREEN_PAD_ADD:newPad("CREATE-PAD");if(screenTypeFromRH){screenTypeFromRH=false;}break;case lookup_codes.SCREEN_PAD_EDIT:if(a>0){editPad(null,false);}else{Ext.Msg.alert("Message",custom_labels.ht.get("error.user.padNotFound"));
}break;case lookup_codes.SCREEN_PAD_VIEW:if(a>0){viewPad(null,true);}else{Ext.Msg.alert("Message",custom_labels.ht.get("error.user.padNotFound"));}break;case lookup_codes.SCREEN_PERSON_ADD:newPerson();break;case lookup_codes.SCREEN_PERSON_EDIT:if(a>0){openPerson(null,false);}else{Ext.Msg.alert("Message",custom_labels.ht.get("error.user.userNotFound"));
}break;case lookup_codes.SCREEN_PERSON_VIEW:if(a>0){openPerson(null,true);}else{Ext.Msg.alert("Message",custom_labels.ht.get("error.user.userNotFound"));}break;}}).defer(2000);}function days_between(e){var f=1000*60*60*24;var d=new Date().getTime();var c=e.getTime();var b=Math.abs(d-c);var a=Math.round(b/f);
if(new Date()>e){a=-a;}return a;}function openWindow(a){var b;window.name="reviewpad_forum";b=window.open(a,"reviewpad","toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable,alwaysRaised,dependent,titlebar=yes");b.focus();}function openAdminWindow(a){var b;window.name="adminstration";
b=window.open(a);b.focus();}function getStateList(){var a=[["AL","Alabama"],["AK","Alaska"],["AZ","Arizona"],["AR","Arkansas"],["CA","California"],["CO","Colorado"],["CT","Connecticut"],["DE","Delaware"],["DC","District of Columbia"],["FL","Florida"],["GA","Georgia"],["HI","Hawaii"],["ID","Idaho"],["IL","Illinois"],["IN","Indiana"],["IA","Iowa"],["KS","Kansas"],["KY","Kentucky"],["LA","Louisiana"],["ME","Maine"],["MD","Maryland"],["MA","Massachusetts"],["MI","Michigan"],["MN","Minnesota"],["MS","Mississippi"],["MO","Missouri"],["MT","Montana"],["NE","Nebraska"],["NV","Nevada"],["NH","New Hampshire"],["NJ","New Jersey"],["NM","New Mexico"],["NY","New York"],["NC","North Carolina"],["ND","North Dakota"],["OH","Ohio"],["OK","Oklahoma"],["OR","Oregon"],["PA","Pennsylvania"],["RI","Rhode Island"],["SC","South Carolina"],["SD","South Dakota"],["TN","Tennessee"],["TX","Texas"],["UT","Utah"],["VT","Vermont"],["VA","Virginia"],["WA","Washington"],["WV","West Virginia"],["WI","Wisconsin"],["WY","Wyoming"]];
return a;}function getCountryList(){var a=[["USA"],["Canada"],["UK"]];return a;}function dateFormatting(c){var a=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");var b="";var e=c.getDate();var g=c.getMonth();var h=c.getFullYear();var f=c.getHours();var i=c.getMinutes();
if(f<12){b="AM";}else{b="PM";}if(f==0){f=12;}if(f>12){f=f-12;}i=i+"";if(i.length==1){i="0"+i;}f=f+"";if(f.length==1){f="0"+f;}var d=a[g]+" "+e+", "+h+" "+f+":"+i+" "+b;return d;}function downloadUserGuide(a){if(a||(userPrincipal&&userPrincipal.rhEnabled==lookup_codes.ENABLE_RH)){openPDFWindow(lookup_codes.USER_GUIDE_WITH_RH_URL);
}else{openPDFWindow(lookup_codes.USER_GUIDE_URL);}}function getLocaleStore(a){var c=Ext.data.Record.create([{name:"Name"},{name:"Value"}]);var b=new Ext.data.XmlReader({record:"NameValuePair"},c);var d=new Ext.data.Store({reader:b,url:"util.do?op=1",autoLoad:a,listeners:{load:function(){parseXMLResult(this.reader.xmlData);
}}});return d;}var setOptionsWin;var setOptionsUrl;function openPDFWindow(a){if(setOptionsWin!=null&&!setOptionsWin.closed){if(setOptionsUrl==a){setOptionsWin.focus();return;}else{setOptionsWin.close();}}setOptionsWin=window.open(a,"","toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable,alwaysRaised,dependent,titlebar=yes");
if(setOptionsWin!=null){setOptionsWin.focus();}}function isTypeSupported(b,c){for(var a=0;a<b.length;a++){if(b[a]==c){return true;}}return false;}function setTabPanelPadding(d,b){var a=260;var c=(typeof window.innerWidth!="undefined"?window.innerWidth:document.body.offsetWidth);if(c>1000){a=(c-1000)/2+101+15;
}else{a=101+15;}if(document.getElementById("headerLogoText")&&!document.getElementById("headerLogo")){Ext.getCmp(d).getTabEl(b).parentNode.style.paddingLeft=a+"px";}else{Ext.getCmp(d).getTabEl(b).parentNode.style.paddingLeft=a+"px";}}function getNameFromPath(a){var c=new RegExp(/([^\/\\]+)$/);var b=c.exec(a);
if(b==null){return null;}else{return b[0];}}Ext.namespace("Aquent.reviewpad");Aquent.reviewpad.ErrorDialog=Ext.extend(Ext.Window,{labels:null,id:"error-dialog-popup",initComponent:function(){if(!this.labels){this.labels=new Aquent.reviewpad.Properties();}var d=Ext.DomQuery.selectValue("Username",this.errorResponse);var b=Ext.DomQuery.selectValue("Userphone",this.errorResponse);
var c=Ext.DomQuery.selectValue("Useremail",this.errorResponse);var a=new Ext.FormPanel({url:"submitError.jsp",frame:false,bodyStyle:"padding:5px 5px 0",autoScroll:true,items:[{xtype:"fieldset",id:"user-info-fieldset",title:this.labels.ErrorDialog_userInfoFieldsetTitle,labelWidth:100,collapsible:false,collapsed:false,autoHeight:true,defaultType:"textfield",defaults:{width:300},items:[{fieldLabel:this.labels.ErrorDialog_username,name:"userName",id:"user-info-userName",allowBlank:false,value:d},{fieldLabel:this.labels.ErrorDialog_phone,name:"phone",id:"user-info-phone",value:b},{fieldLabel:this.labels.ErrorDialog_email,name:"email",id:"user-info-email",allowBlank:false,value:c,vtype:"email"}]},{xtype:"fieldset",id:"submit-error-form-fieldset",title:this.labels.ErrorDialog_errorInfoFieldsetTitle,labelWidth:100,collapsible:false,collapsed:false,autoHeight:true,defaultType:"textfield",defaults:{width:300},items:[{fieldLabel:this.labels.ErrorDialog_whathappened,name:"whatHappened",id:"submit-error-form-whatHappened",allowBlank:false},{fieldLabel:this.labels.ErrorDialog_details,xtype:"textarea",name:"details",id:"submit-error-form-details",allowBlank:false}]}]});
Ext.apply(this,{title:this.labels.ErrorDialog_pageTitle,closable:true,autoScroll:true,width:500,height:310,layout:"fit",resizable:false,modal:true,items:[a],buttons:[{text:this.labels.ErrorDialog_submitBtn,handler:this.submitApplicationError},{text:this.labels.ErrorDialog_dontSubmitBtn,handler:function(){Ext.getCmp("error-dialog-popup").close();
}}]});Aquent.reviewpad.ErrorDialog.superclass.initComponent.apply(this,arguments);},submitApplicationError:function(){var a={};a.action="SUBMIT-APPLICATION-ERROR";a.op=5;a.userName=Ext.getCmp("user-info-userName").getValue();a.phone=Ext.getCmp("user-info-phone").getValue();a.email=Ext.getCmp("user-info-email").getValue();
a.whatHappened=Ext.getCmp("submit-error-form-whatHappened").getValue();a.details=Ext.getCmp("submit-error-form-details").getValue();handleXHRCalls("util.do",a);},onRender:function(){Aquent.reviewpad.ErrorDialog.superclass.onRender.apply(this,arguments);}});function initExtensions(){Ext.override(Ext.form.TextArea,{listeners:{blur:function(a){if(this.readOnly){a.addClass("x-form-text-without-border");}}}});Ext.apply(Ext.form.VTypes,{"multiemail":function(a){var c=a.split(",");var b=true;Ext.each(c,function(d){if(!this.email(d)){b=false;return false;}},this);
return b;},"multiemailMask":/[a-z0-9_\.\-@,]/i,"creditCardExpDate":function(a){var b=true;if(a!=""&&!/^((0[1-9])|(1[0-2]))\/(\d{4})$/.test(a)){b=false;}return b;},"multitag":function(a){var c=a.split(",");var b=true;for(i=0;i<c.length;i++){for(j=0;j<c.length;j++){if(c[i]==c[j]&&i!=j){return false;}}}return b;
},"multitagText":"tag value should not repeat"});Ext.override(Ext.layout.FormLayout,{renderItem:function(h,a,f){if(h&&(h.isFormField||h.fieldLabel)&&h.inputType!="hidden"){if(h.allowBlank==false||h.helpMsg){var g=(h.requiredMsg?h.requiredMsg:window.custom_labels.General_RequiredFieldTooltip);var b='<img ext:qtip="'+g+'" src="../images/default/s.gif" class="icon-field-required">';
var e='<img ext:qtip="'+h.helpMsg+'" src="../images/default/s.gif" class="icon-field-help">';h.fieldLabel=h.fieldLabel+(typeof h.labelSeparator=="undefined"?this.labelSeparator:h.labelSeparator)+(h.allowBlank==false?"&nbsp;"+b:"")+(h.helpMsg?"&nbsp;"+e:"");h.labelSeparator="";}var d=this.getTemplateArgs(h);
if(Ext.isNumber(a)){a=f.dom.childNodes[a]||null;}if(a){h.itemCt=this.fieldTpl.insertBefore(a,d,true);}else{h.itemCt=this.fieldTpl.append(f,d,true);}h.actionMode="itemCt";if(!h.rendered){h.render("x-form-el-"+h.id);}else{if(!this.isValidParent(h,f)){Ext.fly("x-form-el-"+h.id).appendChild(h.getPositionEl());
}}if(!h.getItemCt){Ext.apply(h,{getItemCt:function(){return h.itemCt;},customItemCt:true});}h.container=h.itemCt;h.actionMode="container";h.label=h.getItemCt().child("label.x-form-item-label");if(this.trackLabels&&!this.isHide(h)){if(h.hidden){this.onFieldHide(h);}h.on({scope:this,show:this.onFieldShow,hide:this.onFieldHide});
}this.configureItem(h);}else{Ext.layout.FormLayout.superclass.renderItem.apply(this,arguments);}}});Ext.override(Ext.form.Field,{getItemCt:function(){return this.itemCt;}});Ext.override(Ext.tree.TreeDropZone,{isValidDropPoint:function(a,l,h,d,c){if(!a||!c){return false;}var f=a.node;var g=c.node;f.leaf=false;
if(!(f&&f.isTarget&&l)){return false;}if(l=="append"&&f.allowChildren===false){return false;}if((l=="above"||l=="below")){return false;}if(g&&(f==g||g.contains(f))){return false;}var b=this.dragOverData;b.tree=this.tree;b.target=f;b.data=c;b.point=l;b.source=h;b.rawEvent=d;b.dropNode=g;b.cancel=false;
var k=this.tree.fireEvent("nodedragover",b);return b.cancel===false&&k!==false;}});Ext.override(Ext.form.Checkbox,{getResizeEl:function(){if(!this.resizeEl){this.resizeEl=Ext.isSafari||Ext.isIE?this.wrap:(this.wrap.up(".x-form-element",5)||this.wrap);}return this.resizeEl;}});Ext.override(Ext.form.ComboBox,{setValue:function(a){if(this.store.getCount()==0){this.store.on("load",this.setValue.createDelegate(this,[a]),null,{single:true});
return;}var c=a;if(this.valueField){var b=this.findRecord(this.valueField,a);if(b){c=b.data[this.displayField];}else{if(this.valueNotFoundText!==undefined){c=this.valueNotFoundText;}}}this.lastSelectionText=c;if(this.hiddenField){this.hiddenField.value=a;}Ext.form.ComboBox.superclass.setValue.call(this,c);
this.value=a;}});Ext.apply(Ext.form.VTypes,{daterange:function(f,e){var b=e.parseDate(f);var d=function(g){var h=g.activeDate;g.activeDate=null;g.update(h);};if(e.startDateField){var c=Ext.getCmp(e.startDateField);c.maxValue=b;if(c.menu&&c.menu.picker){c.menu.picker.maxDate=b;d(c.menu.picker);}}else{if(e.endDateField){var a=Ext.getCmp(e.endDateField);
if(b<(new Date()).clearTime()){b=(new Date()).clearTime();}a.minValue=b;if(a.menu&&a.menu.picker){a.menu.picker.minDate=b;d(a.menu.picker);}}}return true;},searchdaterange:function(f,e){var b=e.parseDate(f);var d=function(g){var h=g.activeDate;g.activeDate=null;g.update(h);};if(e.startDateField){var c=Ext.getCmp(e.startDateField);
c.maxValue=b;if(c.menu&&c.menu.picker){c.menu.picker.maxDate=b;d(c.menu.picker);}}else{if(e.endDateField){var a=Ext.getCmp(e.endDateField);a.minValue=b;if(a.menu&&a.menu.picker){a.menu.picker.minDate=b;d(a.menu.picker);}}}return true;},password:function(c,b){if(b.initialPassField){var a=Ext.getCmp(b.initialPassField);
return(c==a.getValue());}return true;},passwordText:window.custom_labels.ht.get("validate.folder.passwordCrosscheck")});}Ext.namespace("Aquent.reviewpad");Aquent.reviewpad.ForgotPassword=Ext.extend(Ext.Window,{labels:null,id:"forgot-password-popup",initComponent:function(){if(!this.labels){this.labels=new Aquent.reviewpad.Properties();}var a=new Ext.FormPanel({id:"forgot-password-form",frame:false,bodyStyle:"padding:5px 5px 0",autoScroll:true,items:[{xtype:"fieldset",id:"forgot-password-fieldset",labelWidth:135,collapsible:false,collapsed:false,autoHeight:true,items:[{html:"<div>"+this.labels.ForgotPassword_messageText+"</div>",cls:"messageText",border:false},{fieldLabel:this.labels.ForgotPassword_email,xtype:"textfield",width:200,id:"forgot-password-email",name:"forgot-password-email",allowBlank:false,vtype:"email"},{layout:"column",border:false,bodyStyle:{padding:"0 0 5 0"},items:[{xtype:"label",width:140,text:this.labels.ForgotPassword_verificationImage,cls:"labelText"},{xtype:"box",id:"forgot-password-verification-image",imageSrc:"randomImage.do",autoEl:{tag:"img",height:50,width:198},refreshImage:function(c){var b;
if(b=this.el){b.dom.src=(c||this.imageSrc)+"?dc="+new Date().getTime();}},listeners:{render:function(){this.refreshImage();}}}]},{fieldLabel:this.labels.ForgotPassword_verificationImageText,id:"forgot-password-verification-image-text",xtype:"textfield",width:100,allowBlank:false}]}]});Ext.apply(this,{title:this.labels.ForgotPassword_pageTitle,closable:true,width:421,height:300,y:175,layout:"fit",draggable:false,resizable:false,modal:true,items:[a],buttonAlign:"center",buttons:[{text:this.labels.ForgotPassword_resetBtn,handler:this.checkForAccounts}]});
Aquent.reviewpad.ForgotPassword.superclass.initComponent.apply(this,arguments);},checkForAccounts:function(){var b=Ext.getCmp("forgot-password-form");var a=Ext.getCmp("forgot-password-popup");var c="."+serverDomainUrl;if(!b.getForm().isValid()){Ext.getCmp("forgot-password-verification-image").refreshImage();
Ext.Msg.alert("Error",custom_labels.ht.get("validate.validationFailure"));Ext.getCmp("forgot-password-verification-image-text").setValue("");return;}if(getSubDomain()==custom_labels.LoginFormPanel_accountUrlPrefix||getSubDomain()==""){var d=new Ext.data.Store({url:"login.do",autoLoad:true,baseParams:{op:2,email:Ext.getCmp("forgot-password-email").getValue()},reader:new Ext.data.XmlReader({record:"Account",id:"id"},[{name:"Id",mapping:">Id"},{name:"AccountUrl",type:"string"},{name:"AccountExpired",type:"string"}]),listeners:{load:function(f,e,g){var h=f.getCount();
if(h==0){document.location.href="login.do?msg=error.user.noAccount";}else{if(h==1){if(checkAccountExpired(f.getAt(0).get("AccountExpired"))){document.location.href="login.do?msg=error.user.discountCodeExpired";}else{a.submitForm(f.getAt(0).get("Id"));}}else{showAccountPopupWindow(f,c,true);}}},loadexception:function(h,g,e,f){Ext.Msg.alert("Error",custom_labels.ht.get("error.app.getAccounts"));
}}});}else{if(dbAccountExpired=="true"){document.location.href="login.do?msg=error.user.discountCodeExpired";}else{a.submitForm(dbAccountId);}}},submitForm:function(b){var a={};a.action="FORGOT-PASSWORD-ACTION";a.email=Ext.getCmp("forgot-password-email").getValue();a.accountId=b;a.dynamicText=Ext.getCmp("forgot-password-verification-image-text").getValue();
handleSignupXHRCalls("login.do?op=1",a);},onRender:function(){Aquent.reviewpad.ForgotPassword.superclass.onRender.apply(this,arguments);}});Ext.namespace("Aquent.Common");Aquent.Common.Hashtable=function(){this.clear=o;this.containsKey=m;this.containsValue=i;this.get=b;this.isEmpty=e;this.keys=n;this.put=g;this.remove=l;this.size=p;this.toString=f;this.values=c;var k={};var h=0;var a={};function o(){k={};h=0;}function m(q){if(a[q]){return false;
}return(k[q]!=null);}function i(s){var q=d();for(var r=0;r<q.length;r++){if(q[r]==s){return true;}}return false;}function b(q){if(q in k){return k[q];}return undefined;}function e(){return(h==0);}function n(){return j();}function g(q,r){if(q==null||r==null){throw"NullPointerException {"+q+"},{"+r+"}";
}else{var s=(q in k);k[q]=r;if(!s){h++;}}}function l(q){if(q in k&&!a[q]){delete k[q];h--;return true;}return false;}function p(){return h;}function f(){var q="";var r=j();for(var s=0;s<r.length;s++){if(TI.Util.isNullOrUndefined(k[r[s]])){q+="{"+r[s]+"},{"+k[r[s]]+"}\n";}}return q;}function c(){return d();
}function d(){var q=[];for(var r in k){if(!a[r]){q.push(k[r]);}}return q;}function j(){var q=[];for(var r in k){if(!a[r]){q.push(r);}}return q;}};Ext.namespace("Aquent.reviewpad");Aquent.reviewpad.LoginForm=Ext.extend(Ext.FormPanel,{id:"login-form",forgotPasswordFocused:false,initComponent:function(){var e;var d=readCookie("remPassword");if(readCookie("remEmailAddress")){e=readCookie("remEmailAddress");}if(d){var c={};c.action="DECRYPTED-PASS";
c.password=d;c.op=4;handleSignupXHRCalls("login.do",c);}var b=document.getElementById("loginErrorCode").value;var a="";if(b!=""){if(b=="error.user.noAccount"){a=getNoAccountFoundMessage();}else{a=this.custom_labels.ht.get(b);}}Ext.apply(this,{url:"j_spring_security_check",standardSubmit:true,bodyStyle:"padding:5px 5px 0",bodyBorder:false,hideMode:"offsets",keys:[{key:[Ext.EventObject.ENTER],fn:function(){if(!Ext.getCmp("login-form").forgotPasswordFocused){rememberLoginDetails();
}}}],items:[{xtype:"box",id:"login-form-msg-area",hidden:true,autoEl:{tag:"div",href:"#",html:a},cls:"loginMessage"},{xtype:"panel",layout:"form",border:false,bodyStyle:"padding:5px 5px 0",id:"login-form-fieldset",labelWidth:110,collapsible:false,width:400,height:162,items:[{fieldLabel:this.custom_labels.LoginFormPanel_username,name:"j_username_dummy",id:"j_username_dummy",xtype:"textfield",width:200,enableKeyEvents:true,vtype:"email",allowBlank:false,autoCreate:{tag:"input",type:"text",autocomplete:"on"},blankText:this.custom_labels.LoginFormPanel_emailEmptyValidation,value:e,listeners:{change:function(h,g,f){Ext.getCmp("j_username").setValue(g);
}}},{hideLabel:true,name:"j_username",id:"j_username",xtype:"textfield",hidden:true,itemCls:{display:"none"},allowBlank:false,value:e},{fieldLabel:this.custom_labels.LoginFormPanel_password,name:"j_password",id:"j_password",xtype:"textfield",inputType:"password",width:200,autoCreate:{tag:"input",type:"password",autocomplete:"on"},allowBlank:false,blankText:this.custom_labels.LoginFormPanel_passwordEmptyValidation},{boxLabel:this.custom_labels.LoginFormPanel_rememberme,hideLabel:false,xtype:"checkbox",id:"_spring_security_remember_me",name:"_spring_security_remember_me",labelSeparator:"",inputValue:"yes",checked:(e)},{boxLabel:this.custom_labels.LoginFormPanel_rememberPassword,hideLabel:false,xtype:"checkbox",id:"_spring_security_remember_password",name:"_spring_security_remember_password",labelSeparator:"",inputValue:"yes",checked:(d)},new Ext.BoxComponent({bodyBorder:false,id:"forgot-pass-link",autoEl:{tag:"a",href:"#",html:this.custom_labels.LoginFormPanel_forgotPassword},cls:"forgot-pass-box",listeners:{render:function(f){f.getEl().on("click",Ext.getCmp("login-form").forgotPassword,f,{stopEvent:true});
f.getEl().on("focus",function(){Ext.getCmp("login-form").forgotPasswordFocused=true;},f,{stopEvent:true});f.getEl().on("blur",function(){Ext.getCmp("login-form").forgotPasswordFocused=false;},f,{stopEvent:true});}}}),new Ext.BoxComponent({bodyBorder:false,style:"padding-top: 10px",autoEl:{tag:"div"}}),new Ext.BoxComponent({bodyBorder:false,id:"signup-new-account-link",autoEl:{tag:"a",href:"/signup.do",html:this.custom_labels.LoginFormPanel_signupForNewAccount},cls:"signup-new-account-box"})],listeners:{render:function(){if(Ext.isIE){this.getEl().addClass("ext-ie");
}if(b!="null"){var f=Ext.getCmp("login-form").getEl().findParent("div.x-panel-body");f.style.height="270px";Ext.getCmp("login-form-msg-area").show();}}}}],buttonAlign:"center",buttons:[{text:this.custom_labels.LoginFormPanel_loginButton,handler:rememberLoginDetails}]});Aquent.reviewpad.LoginForm.superclass.initComponent.apply(this,arguments);
},forgotPassword:function(){var a=new Aquent.reviewpad.ForgotPassword();a.show();},onRender:function(){Aquent.reviewpad.LoginForm.superclass.onRender.apply(this,arguments);}});Ext.reg("loginform",Aquent.reviewpad.LoginForm);function rememberLoginDetails(){var g=Ext.getCmp("login-form").getForm();if(!g.isValid()){Ext.Msg.alert("Error",custom_labels.ht.get("validate.validationFailure"));
return false;}var f=Ext.getCmp("_spring_security_remember_me").getValue();var a=Ext.getCmp("_spring_security_remember_password").getValue();var d=Ext.getCmp("j_username").getValue();var e=Ext.getCmp("j_username_dummy").getValue();var b=Ext.getCmp("j_password").getValue();if(f){createCookie("remEmailAddress",e,lookup_codes.Application_cookieExpireDays);
}else{eraseCookie("remEmailAddress");}if(a){var c={};c.action="ENCRYPTED-PASS";c.password=b;c.op=3;handleSignupXHRCalls("login.do",c);}else{eraseCookie("remPassword");submitLoginForm();}}function submitLoginForm(){var b=Ext.getCmp("login-form").getForm();if(b.isValid()){if(getSubDomain()==custom_labels.LoginFormPanel_accountUrlPrefix||getSubDomain()==""){var a={};
a.action="GET-ACCOUNTS-FROM-EMAIL-ACTION";a.email=Ext.getCmp("j_username").getValue();a.op=2;handleSignupXHRCalls("login.do",a);}else{if(dbAccountExpired=="true"){document.location.href="login.do?msg=error.user.discountCodeExpired";}else{submitLoginFormInfo(dbAccountId,dbAccountUrl,dbEnableSSL);}}}else{Ext.Msg.alert("Error",custom_labels.ht.get("validate.validationFailure"));
return false;}}Ext.namespace("Aquent.reviewpad");Aquent.reviewpad.LookupCodes=function(a){this.labels=a;this.REVIEWPAD_SUPPORT_EMAIL_ADDRESS="reviewpad-support@aquent.com";this.LookupCodes_PackageFreeLite="Free";this.LookupCodes_PackageProfessionalLite="Professional";this.LookupCodes_PackageProfessional="Professional Plus";
this.LookupCodes_PackageTeam="Team";this.LookupCodes_PackageCorporate="Corporate";this.LookupCodes_ColorSchemeExtDefault="Business Blue";this.LookupCodes_ColorSchemeExtSlate="Slammin' Slate";this.LookupCodes_ColorSchemeExtGray="Mostly Gray";this.LookupCodes_ColorSchemeRP="ReviewPad Default";this.Application_timeoutDuration=1800000;
this.Application_cookieExpireDays=7;this.ReviewFile_standardSize_1000=1000;this.ReviewFile_standardSize_700=700;this.ReviewFile_displayMode_autoFit="Auto Fit";this.ReviewFile_displayMode_fullSize="Full Size";this.ReviewFile_viewFileWindowWidth=1030;this.ReviewFile_viewFileWindowHeight=1062;this.ReviewFile_markupWindowWidth=1235;
this.ReviewFile_markupWindowHeight=1062;this.ReviewFile_commentWindowWidth=250;this.ReviewFile_commentWindowHeight=100;this.Default_ScrollBarWidth=19;this.Default_SpaceWidth=100;this.ReviewFile_markupWindow_pagingBarHeight=28;this.ReviewFile_commentButton_padding_top=10;this.ReviewFile_commentButton_padding_left=24;
this.LookupCodes_textBytes=" Bytes";this.LookupCodes_textKB=" KB";this.LookupCodes_textMB=" MB";this.LookupCodes_textGB=" GB";this.HomePage_logoText="ReviewPad";this.NewFileFormPanel_maxFileUploadSize=1048576;this.AccountUpgradeForm_storageVal2GBLbl="2 GB";this.AccountUpgradeForm_storageVal10GBLbl="10 GB";
this.AccountUpgradeForm_storageVal50GBLbl="50 GB";this.Header_height_for_Free_lite="60px";this.Header_height_for_other="50px";this.HeaderLogo_top_for_Free_lite="30px";this.HeaderLogo_top_for_other="13px";this.HeaderRight_top_for_Free_lite="25px";this.HeaderRight_top_for_other="10px";this.AvailableStorageLabel_top_for_Free_lite="54px";
this.AvailableStorageLabel_top_for_other="39px";this.AvailableStorageLabel_paddingLeft_for_Free_lite="69.8%";this.AvailableStorageLabel_paddingLeft_for_Other="63.5%";this.UploadStatusPanel_refreshInterval=5000;this.UploadStatusPanel_closeDelay=1000;this.ROLE_ADMINISTRATOR=1;this.ROLE_USER=2;this.ROLE_REVIEWER=3;
this.ROLE_SUPERUSER=4;this.VIEW_DOWNLOAD_FILES_ONLY=1;this.COMMENTS_AND_FEEDBACK=2;this.REQUEST_APPROVAL=3;this.PADFORM_SHOWRESPONSES=1;this.PADFORM_HIDERESPONSES=2;this.SCREEN_PAD_ADD="Pad_add";this.SCREEN_PAD_VIEW="Pad_view";this.SCREEN_PAD_EDIT="Pad_edit";this.SCREEN_PERSON_ADD="User_add";this.SCREEN_PERSON_VIEW="User_view";
this.SCREEN_PERSON_EDIT="User_edit";this.ENABLE_RH=2;this.DISABLE_RH=1;this.ENABLE_DOWNLOAD_FILE_LINK=1;this.DISABLE_DOWNLOAD_FILE_LINK=0;this.ENABLE_RH=2;this.DISABLE_RH=1;this.APPROVAL_STATUS_IN_PROGRESS=1;this.APPROVAL_STATUS_APPROVED=2;this.APPROVAL_STATUS_APPROVED_WITH_CHANGES=3;this.APPROVAL_STATUS_REJECTED=4;
this.APPROVER_STATUS_NOT_DECIDE=0;this.APPROVER_STATUS_APPROVED=1;this.APPROVER_STATUS_REJECTED=2;this.APPROVER_STATUS_APPROVED_WITH_CHANGES=3;this.PKG_FREE_LITE=1;this.PKG_PROFESSIONAL_LITE=2;this.PKG_AQUENT_TALENT=3;this.PKG_TEAM=4;this.PKG_CORPORATE=5;this.STORAGE_TYPE_1=1;this.STORAGE_TYPE_2=2;this.STORAGE_TYPE_3=3;
this.DISPLAY_SIGNUP_NONE=0;this.DISPLAY_SIGNUP_DISCOUNT_CODE_ENTERED=1;this.DISPLAY_SIGNUP_DISCOUNT_CODE_NOT_ENTERED=2;this.DISPLAY_SIGNUP_ALWAYS=3;this.DELETE_FILES_WITH_PAD_ALWAYS_FALSE=0;this.DELETE_FILES_WITH_PAD_ALWAYS_TRUE=1;this.DELETE_FILES_WITH_PAD_DEFAULT_TO_TRUE=2;this.DELETE_FILES_WITH_PAD_DEFAULT_TO_FALSE=3;
this.ACCSTATUS_ACTIVE=1;this.ACCSTATUS_INACTIVE=2;this.ACCSTATUS_CANCELLED=3;this.ACCSTATUS_SIGNUP_PENDING=4;this.UPLOAD_STATUS_QUEUE=0;this.UPLOAD_STATUS_STARTED=1;this.UPLOAD_STATUS_UPLOADED=2;this.UPLOAD_STATUS_PROCESSED=3;this.UPLOAD_STATUS_COMPLETE=4;this.UPLOAD_STATUS_FAILED=5;this.FILE_STATUS_NONE=1;
this.FILE_STATUS_PENDING=2;this.FILE_STATUS_IN_PROGRESS=3;this.FILE_STATUS_FILE_RETRIEVED=4;this.FILE_STATUS_IMAGES_CREATED=5;this.FILE_STATUS_SUCCESS=6;this.FILE_STATUS_FAILED=7;this.COLOR_SCHEME_EXT_DEFAULT=1;this.COLOR_SCHEME_EXT_SLATE=2;this.COLOR_SCHEME_EXT_GRAY=3;this.COLOR_SCHEME_RP=4;this.ALL_REVIEWERS=1;
this.NEW_REVIEWERS=2;this.NO_REVIEWER=3;this.MAX_PAGESIZE_FILEGRID=100;this.MAX_PAGESIZE_PEOPLEGRID=200;this.MAX_PAGESIZE_PADGRID=5;this.MAX_PAGESIZE_PAD_RESPONSESGRID=10;this.MAX_PAGESIZE_EMAIL_TEMPLATESGRID=10;this.HEIGHT_TIPS_PANEL=180;this.HEIGHT_SETUP_PANEL=70;this.HEIGHT_UPLOAD_PROGRESS_PANEL=200;
this.HEIGHT_FOLDER_TREE_PANEL=200;this.PROC_EMPTY_XML="/sampledata/xml/empty.xml";this.PROC_GET_FILES="/file.do?op=0";this.PROC_SEARCH_PEOPLE="/people.do?op=5";this.PROC_SEARCH_PADS="/pad.do?op=5";this.PROC_GET_PAD_RESPONSES_PERSON="/pad.do";this.PROC_GET_PAD_RESPONSES_PAD="/pad.do?op=9";this.PROC_GET_FOLDERS="/folder.do?includeSubFolders=true";
this.PROC_SWITCH_ACCOUNT="/account.do?op=6";this.PROC_UPLOAD_FILE="/upload.do?op=2";this.PROC_MY_PADS="/pad.do?op=7";this.PROC_REVIEW_URL="/review.do";this.PROC_LICENSE_URL="/license.do";this.DEFAULT_HEADER_LOGO_URL="../images/rp-logo.png";this.PAD_RESPONSE_MARKUP_ICON_URL="../images/post_it3.png";this.PAD_RESPONSE_APPROVAL_ICON_URL="../images/approval-16.gif";
this.PAD_RESPONSE_COMMENT_ICON_URL="../images/comment.png";this.PAD_RESPONSE_DOWNLOAD_ICON_URL="../images/download.png";this.SIGNUP_CONFIRMATION_URL="/signup_confirmation.html";this.FORUM_REVIEWPAD_URL="http://forums.reviewpad.net";this.USER_GUIDE_URL="http://w3.reviewpad.net/docs/ReviewPad+User+Guide.pdf";
this.USER_GUIDE_WITH_RH_URL=" http://w3.reviewpad.net/docs/ReviewPad%20User%20Guide%20RH.pdf";this.PAD_RESPONSE_TYPE_MARKUP=1;this.PAD_RESPONSE_TYPE_APPROVAL=2;this.PAD_RESPONSE_TYPE_COMMENT=3;this.PAD_RESPONSE_TYPE_DOWNLOAD=4;this.NO_PAD_DEFAULT_THUMBNAIL=1;this.PAD_DEFAULT_THUMBNAIL=2;this.PAD_FILE_DEFAULT_CHAR_LENGTH=12;
this.ROOT_FOLDER_ID=-1;this.FEATURE_PADS_MODULE="pads_module";this.FEATURE_FILE_MODULE="file_module";this.FEATURE_REQUEST_MODULE="request_module";this.FEATURE_SSL="ssl";this.FEATURE_BRANDING="branding";this.FEATURE_CUSTOM_URL="custom_url";this.FEATURE_EMAIL_SUPPORT="email_support";this.FEATURE_PHONE_SUPPORT="phone_support";
this.FEATURE_RH_INTEGRATION="rh_integration";this.FEATURE_HIDE_UPGRADE_BANNER="hide_upgrade_banner";this.FEATURE_STORAGE_UPGRADE="storage_upgrade";this.FEATURE_ENHANCED_ANNOTATION="enhanced_annotation";this.REVIEWPAD_FREE="ReviewPad Free";this.REVIEWPAD_PROFESSIONAL="ReviewPad Professional";this.REVIEWPAD_PROFESSIONAL_PLUS="ReviewPad professional plus";
this.REVIEWPAD_TEAM="ReviewPad Team";this.REVIEWPAD_CORPORATE="ReviewPad Corporate";this.REVIEWPAD_FREE_ID=1;this.REVIEWPAD_PROFESSIONAL_ID=2;this.REVIEWPAD_PROFESSIONAL_PLUS_ID=3;this.REVIEWPAD_TEAM_ID=4;this.REVIEWPAD_CORPORATE_ID=5;this.IMAGE_MIME_TYPE="image";this.BROWSER_SUPPORTED_IMAGE_TYPES="gif,jpeg,jpg,png,bmp";
this.EMAIL_MESSAGE_TYPE_PLAINTEXT=1;this.EMAIL_MESSAGE_TYPE_HTML=2;this.FOR_DISCUSSION_ONLY_ID=1;this.CHANGE_REQUESTED_ID=2;this.CHANGE_ACCEPTED_ID=3;this.CHANGE_REJECTED_ID=4;this.REQUIRES_FURTHER_DISCUSSION_ID=5;this.FOR_DISCUSSION_ONLY_TEXT="For discussion only";this.CHANGE_REQUESTED_TEXT="Change requested";
this.CHANGE_ACCEPTED_TEXT="Change accepted ";this.CHANGE_REJECTED_TEXT="Change rejected ";this.REQUIRES_FURTHER_DISCUSSION_TEXT="Requires further discussion";this.PAD_NAME_TITLE_LENGTH=53;this.getColorScheme=function(c){codes=window.lookup_codes;var b=parseInt(c);switch(b){case window.lookup_codes.COLOR_SCHEME_EXT_DEFAULT:return this.LookupCodes_ColorSchemeExtDefault;
case window.lookup_codes.COLOR_SCHEME_EXT_SLATE:return this.LookupCodes_ColorSchemeExtSlate;case window.lookup_codes.COLOR_SCHEME_EXT_GRAY:return this.LookupCodes_ColorSchemeExtGray;case window.lookup_codes.COLOR_SCHEME_RP:return this.LookupCodes_ColorSchemeRP;}};this.getColorSchemes=function(){codes=window.lookup_codes;
var b=[[codes.COLOR_SCHEME_EXT_DEFAULT,codes.getColorScheme(codes.COLOR_SCHEME_EXT_DEFAULT)],[codes.COLOR_SCHEME_EXT_SLATE,codes.getColorScheme(codes.COLOR_SCHEME_EXT_SLATE)],[codes.COLOR_SCHEME_EXT_GRAY,codes.getColorScheme(codes.COLOR_SCHEME_EXT_GRAY)],[codes.COLOR_SCHEME_RP,codes.getColorScheme(codes.COLOR_SCHEME_RP)]];
var c=new Ext.data.SimpleStore({fields:[{name:"id"},{name:"name"}],data:b});return c;};this.getPackageLabel=function(b){var b=parseInt(b);switch(b){case window.lookup_codes.PKG_FREE_LITE:return window.lookup_codes.LookupCodes_PackageFreeLite;case window.lookup_codes.PKG_PROFESSIONAL_LITE:return window.lookup_codes.LookupCodes_PackageProfessionalLite;
case window.lookup_codes.PKG_AQUENT_TALENT:return window.lookup_codes.LookupCodes_PackageProfessional;case window.lookup_codes.PKG_TEAM:return window.lookup_codes.LookupCodes_PackageTeam;case window.lookup_codes.PKG_CORPORATE:return window.lookup_codes.LookupCodes_PackageCorporate;}};this.getFileUploadStatus=function(b){switch(b){case 1:return a.FileUpload_statusPending;
case 2:return a.FileUpload_statusUploading;case 3:return a.FileUpload_statusComplete;case 4:return a.FileUpload_statusCompleteWithErrors;case 5:return a.FileUpload_statusFailed;}};this.getRoleType=function(b){b=parseInt(b);switch(b){case 1:return a.PersonFormPanel_userTypeAdministrator;case 2:return a.PersonFormPanel_userTypeUser;
case 3:return a.PersonFormPanel_userTypeReviewer;case 4:return a.PersonFormPanel_userTypeSuperuser;}};this.getCommentApprovalStatus=function(b){b=parseInt(b);switch(b){case 1:return a.ApprovalForm_approveActionOption;case 2:return a.ApprovalForm_denyActionOption;case 3:return a.ApprovalForm_approveWithChangesActionOption;
}};this.getFileSize=function(b){if(b/1024<1){b+=window.lookup_codes.LookupCodes_textBytes;}else{if((b/(1048756))<1){b=(b/1024).toFixed(2)+window.lookup_codes.LookupCodes_textKB;}else{if(b/1073741824<1){b=(b/1048756).toFixed(2)+window.lookup_codes.LookupCodes_textMB;}else{if(b/1099511627776){b=(b/1073741824).toFixed(2)+window.lookup_codes.LookupCodes_textGB;
}}}}return b;};this.getReviewType=function(b){b=parseInt(b);switch(b){case 1:return a.PadFormPanel_reviewTypeView;case 2:return a.PadFormPanel_reviewTypeComment;case 3:return a.PadFormPanel_reviewTypeApprove;}};this.getResponseApprovalStatus=function(e,b){var c=Ext.DomQuery.selectValue("ResponseType",b);
e=parseInt(e);if(parseInt(c)==lookup_codes.PAD_RESPONSE_TYPE_MARKUP){var d=Ext.DomQuery.selectValue("AnnotationStatus",b);switch(parseInt(d)){case lookup_codes.FOR_DISCUSSION_ONLY_ID:return lookup_codes.FOR_DISCUSSION_ONLY_TEXT;case lookup_codes.CHANGE_REQUESTED_ID:return lookup_codes.CHANGE_REQUESTED_TEXT;
case lookup_codes.CHANGE_ACCEPTED_ID:return lookup_codes.CHANGE_ACCEPTED_TEXT;case lookup_codes.CHANGE_REJECTED_ID:return lookup_codes.CHANGE_REJECTED_TEXT;case lookup_codes.REQUIRES_FURTHER_DISCUSSION_ID:return lookup_codes.REQUIRES_FURTHER_DISCUSSION_TEXT;}}else{switch(e){case 1:return a.PadFormPanel_ApprovalStatus_Approved;
case 2:return a.PadFormPanel_ApprovalStatus_Rejected;case 3:return a.PadFormPanel_ApprovalStatus_ApprovedWithChanges;}}};this.getProgressWidth=function(d,f){var c=parseInt(Ext.DomQuery.selectValue("NumApproved",f));var e=parseInt(Ext.DomQuery.selectValue("NumPending",f));var b=parseInt(Ext.DomQuery.selectValue("ApprovalStatusId",f));
if(b==window.lookup_codes.APPROVAL_STATUS_IN_PROGRESS){return(c/(c+e))*100;}return 0;};this.getAccountURL=function(b){return b;};};Ext.namespace("Aquent.reviewpad");Aquent.reviewpad.Preferences=function(){this.dateFormat="m/d/Y";this.FilesTab_defaultView="file-small-thumb-container";this.AddReviewpadFiles_defaultView="popup-small-thumb-container";this.SignupWizard_defaultCompany="";this.SignupWizard_defaultTimezone="US/Eastern";
};Ext.namespace("Aquent.reviewpad");Aquent.reviewpad.Properties=function(){this.General_RequiredFieldTooltip="This field is required";this.copyright_footer_links='<div align=\'center\' style=\'padding-top:10px;\'><span class=\'footer-panel\'>Powered by <a href="http://www.reviewpad.net" target="_blank"><span class="footer-reviewpad-text">ReviewPad</span></a></span><Br><span class=\'footer-panel-text\'>A service of <a href="http://www.aquent.com" target="_blank"><span class="footer-aquent-text">Aquent</span></a></span></div>',this.LoginFormPanel_username="Email Address";
this.LoginFormPanel_password="Password";this.LoginFormPanel_rememberme="Remember my email address";this.LoginFormPanel_rememberPassword="Remember my password";this.LoginFormPanel_loginInformation="LOGIN INFORMATION";this.LoginFormPanel_loginButton="Login";this.LoginFormPanel_forgotPassword="Forgot your password?";
this.LoginFormPanel_signupForNewAccount="Sign-up for a new account";this.LoginFormPanel_emailEmptyValidation="User name should not be blank";this.LoginFormPanel_passwordEmptyValidation="Password should not be blank";this.LoginFormPanel_accountPopup="Account";this.LoginFormPanel_accountPopup_selectAccount="Select Account";
this.LoginFormPanel_accountUrlPrefix="www";this.LoginFormPanel_accountUrlDDLMsg="You have multiple accounts, please select the correct account to login.";this.LoginPanel_noAccountFoundText='There is no account associated with this url.  Please check that the typed url is correct or try going to <a href="$URL$">$DISPLAY_URL$</a> and login from there.';
this.LoginPanel_loginTitle="LOGIN";this.LoginPanel_signUpTitle="SIGN-UP FOR A NEW ACCOUNT";this.LoginPanel_welcomeTitle="ReviewPad";this.ForgotPassword_pageTitle="Forgot Password";this.ForgotPassword_fieldsetTitle="User Information";this.ForgotPassword_email="Email Address";this.ForgotPassword_verificationImage="Verification Image:";
this.ForgotPassword_verificationImageText="Verification Image Text";this.ForgotPassword_resetBtn="Reset Password";this.ForgotPassword_messageText="Enter your valid login email address and click on Reset Password Button. Your password will be reset and emailed to you.";this.SignupAccount_startNewAccountInformation="Sign-up Information";
this.SignupAccount_email="Email Address";this.SignupAccount_password="Password";this.SignupAccount_confirmPassword="Confirm Password";this.SignupAccount_discountCodeText="Discount Code";this.SignupAccount_discountCodeWarningMsg="Please enter discount code.";this.SignupAccount_discountCodeHelpMsg="We are accepting users with discount code right now. Please enter the discount code to signup.";
this.SignupAccount_verificationImageText="Verification Text";this.signUp_Btn="Sign-up";this.signUp_resetBtn="Reset";this.SignupAccount_minPasswordCharsValidationText="Password should be at least 5 chars long";this.SignupAccount_invalidPasswordText="Password and Confirm Password do not match.";this.SignupAccount_company="Company";
this.SignupAccount_invalidEmailText='Email address like "anything@$SERVERDOMAINURL$" is not allowed.';this.SignupAccount_startNewAccountWizard="Sign-up";this.SignupWizard_accountInfoTitle="ACCOUNT INFORMATION";this.SignupWizard_firstName="First Name";this.SignupWizard_lastName="Last Name";this.SignupWizard_accountName="Account Name";
this.SignupWizard_accountUrl="Account URL";this.SignupWizard_accountUrlTip="This field will default to whatever you entered in the Account Name field but you can change it to whatever you want and create a personalized URL for your account.  For example, if you enter 'acme' in this field you will access your account using the following URL:  https://acme.reviewpad.net";
this.SignupWizard_newAccountWizard="NEW ACCOUNT WIZARD";this.SignupWizard_previousItemLink="<span style='font-weight:bold'>&laquo; Prev</span>";this.SignupWizard_nextItemLink="<span style='font-weight:bold'>Next &raquo;</span>";this.SignupWizard_completeSignup="<span style='font-weight:bold'>Complete Signup</span>";
this.SignupWizard_packageType="Package";this.SignupWizard_accountPreferncesTitle="ACCOUNT PREFERENCES";this.SignupWizard_accountLocale="Locale";this.SignupWizard_accountTimezone="Time Zone";this.SignupWizard_billingInformation="Billing Information";this.SignupWizard_billingFirstName="First Name";this.SignupWizard_billingLastName="Last Name";
this.SignupWizard_creditCardNumber="Credit Card Number";this.SignupWizard_securityCode="Security Code";this.SignupWizard_creditCardExpDate="Credit Card Expiration Date";this.SignupWizard_creditCardExpDateEmptyMonthText="Month";this.SignupWizard_creditCardExpDateEmptyYearText="Year";this.SignupWizard_applyDiscount="Apply";
this.SignupWizard_billingAddressInformation="Billing Address";this.SignupWizard_billingAddress="Address";this.SignupWizard_billingAddressCity="City";this.SignupWizard_billingAddressState="State";this.SignupWizard_billingAddressStateEmptyText="Select State...";this.SignupWizard_billingAddressZip="Zip";
this.SignupWizard_validateBillingAddressZip='This field should be a zip code in the format "12345" or "12345-6789"';this.SignupWizard_billingAddressCountry="Country";this.SignupWizard_billingAddressCountryEmptyText="Select Country...";this.SignupWizard_thankYouHtmlLabel="Please click 'Complete Signup' to create your new ReviewPad account.<br /><br />You will receive an email shortly with your account information.  Please click the link in the email to confirm receipt and you are ready to begin using ReviewPad.  <span style='font-weight:bold'>NOTE:  You will not be able to use your account until clicking on this link.</span><br /><br />After activating your account, if you have any problems logging in, try using the 'Forgot your password' link on the login screen.  If you continue to have problems accessing your account please post a message in the user forum (http://forums.reviewpad.net) and we will try and help you get started. <br><br> By clicking 'Complete Signup' you are agreeing to ReviewPad's  <a href=\"license.html\" target=\"_blank\">Terms of Service</a>.";
this.SignupWizard_accountActivated='Thank you for signing up, your account has been activated.  Please click "ok" and login with the user and password you created.';this.SignupWizard_accountAlreadyActivated='Your account has already been activated.  Please click "ok" and login with the user and password you created.';
this.SignupWizard_termsAndConditions='By clicking \'Complete Signup\' you are agreeing to ReviewPad\'s  <a href="license.html" target="_blank">Terms of Service</a>.';this.SignupWizard_Help_AccountUrlTip='You can choose a personal URL by upgrading to a professional account - for more information click "Upgrade to ReviewPad Professional now" after logging into your account.';
this.Signup_confirmationMessage="You will receive an email shortly with your account information.  Please click the link in the email to confirm receipt and you are ready to begin using ReviewPad.  <span style='font-weight:bold'>NOTE:  You will not be able to use your account until clicking on this link.</span><br /><br />After activating your account, if you have any problems logging in, try using the 'Forgot your password' link on the login screen.  If you continue to have problems accessing your account please post a message in the <a href=\"http://forums.reviewpad.net/register.php\" class=\"webPageContentLink\">user forum</a> and we will try and help you get started.";
this.ErrorDialog_pageTitle="Application Error";this.ErrorDialog_userInfoFieldsetTitle="User Information";this.ErrorDialog_username="Your Name";this.ErrorDialog_phone="Your Phone";this.ErrorDialog_email="Your Email";this.ErrorDialog_errorInfoFieldsetTitle="Error Information";this.ErrorDialog_whathappened="What Happened";
this.ErrorDialog_details="Details";this.ErrorDialog_submitBtn="Submit";this.ErrorDialog_dontSubmitBtn="Don't Submit";this.ErrorDialog_appErrorSubmitted="We're sorry your ran into this problem but thanks for taking the time to help us make ReviewPad better.  The error report has been sent to technical support and we will start working on a fix right away.";
this.PersonFormPanel_fieldsetTitle="Person Information";this.PersonFormPanel_firstName="First Name";this.PersonFormPanel_lastName="Last Name";this.PersonFormPanel_email="Email";this.PersonFormPanel_company="Company";this.PersonFormPanel_userType="User Type";this.PersonFormPanel_userTypeFieldset="User Type";
this.PersonFormPanel_userTypeAdministrator="Administrator";this.PersonFormPanel_userTypeUser="User";this.PersonFormPanel_userTypeReviewer="Reviewer";this.PersonFormPanel_userTypeSuperuser="Super User";this.PersonFormPanel_passwordFieldset="User Information";this.PersonFormPanel_rhUsername="RoboHead Username";
this.PersonFormPanel_password="Password";this.PersonFormPanel_minPasswordCharsValidationText="Password should be at least 5 chars long";this.PersonFormPanel_confirmPassword="Confirm Password";this.PersonFormPanel_saveBtn="Save";this.PersonFormPanel_cancelBtn="Cancel";this.PersonFormPanel_myReviewsFieldset="My Reviews";
this.PersonFormPanel_myPadsFieldset="My Pads";this.PersonFormPanel_editBtn="Edit person";this.PersonFormPanel_modifyDefaultPassword="Please modify the default password";this.PersonFormPanel_confirmUpdateUser="There is already a user with this email address, would you like to update the existing user.";
this.PersonFormPanel_defaultemailSubject="Default Email Subject";this.PersonFormPanel_defaultemailMessage="Default Email Message";this.PersonFormPanel_padsPageSize="Pads per page";this.PersonFormPanel_timezone="Time Zone";this.PersonFormPanel_locale="Locale";this.PersonFormPanel_ValidateEmailAddress="Email Address should not be empty";
this.PersonFormPanel_ValidatePassword="Password should not be empty";this.PersonFormPanel_ValidateConfirmPassword="Confirm Password should not be empty";this.PersonFormPanel_DummyPassword="*****";this.PersonFormPanel_corporate_numUsers="You have reached at account's max user limit. Please, contact Review Pad administrator to increase the number of users.";
this.ViewPersonTab_title="VIEW PERSON";this.EditPersonTab_title="EDIT PERSON";this.PeopleGridPanel_colFirstName="First Name";this.PeopleGridPanel_colLastName="Last Name";this.PeopleGridPanel_colEmailAddress="Email Address";this.PeopleGridPanel_colUserType="User Type";this.PeopleGridPanel_bbarEmptyText="No people matching current search criteria";
this.PeopleGridPanel_bbarStatusMsg="Displaying people {0} - {1} of {2}";this.PeopleGridPanel_peoplePerPage="People per page :";this.PeopleTab_title="PEOPLE";this.PeopleTab_newPersonTabText="NEW PERSON";this.PeopleTab_newPersonButtonText="New Person";this.PeopleTab_newPersonButtonTooltip="Create a new Person";
this.PeopleTab_openPersonButtonText="Open Person";this.PeopleTab_openPersonButtonTooltip="View, Edit or Delete the selected Person";this.PeopleTab_viewPersonButtonText="View Person";this.PeopleTab_viewPersonButtonTooltip="View the selected Person";this.PeopleTab_editPersonButtonText="Edit Person";this.PeopleTab_editPersonButtonTooltip="Edit the selected Person";
this.PeopleTab_deleteMenuTextSingular="Delete Person";this.PeopleTab_deleteMenuTextPlural="Delete People";this.PeopleTab_deletePersonButtonTooltip="Delete the selected Person";this.PeopleTab_createPadButtonText="Send Pad";this.PeopleTab_createPadButtonTooltip="Create a new pad and send it to the selected people";
this.PeopleTab_searchField="search by name or type";this.PeopleSearchPanel_panelTitle="Search People";this.PeopleSearchPanel_firstName="First Name";this.PeopleSearchPanel_lastName="Last Name";this.PeopleSearchPanel_email="Email";this.PeopleSearchPanel_userType="User Type :";this.PeopleSearchPanel_userTypeAdministrator="Administrator";
this.PeopleSearchPanel_userTypeUser="User";this.PeopleSearchPanel_userTypeReviewer="Reviewer";this.PeopleSearchPanel_applyBtn="Apply";this.PeopleSearchPanel_buttonClear="Clear";this.AddReviewpadFiles_popupTitle="Add Previously Uploaded File(s)";this.AddReviewpadFiles_treePanelTitle="Folders";this.AddReviewpadFiles_selectFilesBtn="Select File(s)";
this.AddReviewpadFiles_cancelBtn="Cancel";this.AddReviewpadFiles_fileListTitle="File List";this.ResponseGridPanel_colDate="Response Date";this.ResponseGridPanel_colReviewer="Reviewer";this.ResponseGridPanel_colStatus="Status";this.ResponseGridPanel_colFileName="Filename";this.ResponseGridPanel_colComments="Comments";
this.ResponseGridPanel_commentPopupTitle="Pad Response";this.ResponseGridPanel_colPadName="Pad Name";this.ResponseGridPanel_responseType="Type";this.ResponseGridPanel_responseType_markupComment="Markup comment";this.ResponseGridPanel_responseType_padComment="Pad comment";this.ResponseGridPanel_responseType_approvalComment="Approval Comment";
this.ResponseGridPanel_responseType_fileDownload="File Downloaded";this.ResponseGridPanel_bbarStatusMsg="Displaying pad response {0} - {1} of {2}";this.ResponseGridPanel_bbarEmptyText="No pad response(s) to display";this.ResponseGridPanel_responsesPerPage="Responses per page :";this.NewFileFormPanel_filesFieldset="Upload Files";
this.NewFileFormPanel_keywordselectorFieldset="Keywords";this.NewFileFormPanel_saveBtn="Save";this.NewFileFormPanel_cancelBtn="Cancel";this.NewFileFormPanel_addBtn="Add";this.NewFileFormPanel_addButtonTooltip="Add New Keyword";this.NewFileFormPanel_newKeywordText="New Keyword";this.NewFileFormPanel_uploadDirPath="Upload Directory";
this.NewFileFormPanel_tagpad="Select Keywords";this.NewFileFormPanel_chooseTagsBtn="Keywords";this.NewFileFormPanel_confirmCancelForm="Are you sure you want quit new file operation?";this.NewFileFormPanel_noFilesSelectedMessage="There are no files added to upload. Please add files and submit again.";
this.LookupReviewers_pageTitle="Select Reviewers";this.LookupReviewers_addBtn="Add";this.LookupReviewers_cancelBtn="Cancel";this.PadFormPanel_fieldsetTitle="Pad Information";this.PadFormPanel_padname="Pad Name";this.PadFormPanel_maxPadName="Maximum pad name length is 255";this.PadFormPanel_tagpad="Tag Pad";
this.PadFormPanel_padTags="Tags";this.PadFormPanel_chooseTagsBtn="Choose Tags";this.PadFormPanel_noTagsMessage="There are no tags associated with this account. You can add tags in given text area.";this.PadFormPanel_addTagsHelpText="Separate by commas (ex. client name, project name, keyword)";this.PadFormPanel_reviewers="Reviewers";
this.PadFormPanel_reviewersEmptyText="Comma separated list of email addresses";this.PadFormPanel_emailsubject="Email Subject";this.PadFormPanel_emailmsg="Email Message";this.PadFormPanel_dateRange="Date Range";this.PadFormPanel_dateRangeHelpMsg="These dates determine the period when your reviewers will be able to access the files in this Pad and provide feedback.  If a reviewer should attempt to access the Pad outside of the dates specified, he/she will receive a message telling them the Pad has expired.  Access to the Pad by Users and Administrators is NOT affected.";
this.PadFormPanel_startDate="Start Date";this.PadFormPanel_startDateHelpMsg="This is the date at which reviewers can access your pad and provide feedback.  Note:  the email notification will be sent right away.";this.PadFormPanel_endDate="End Date";this.PadFormPanel_receiveEmailUponResponse="Notify me on response submission";
this.PadFormPanel_showResponse="Display responses to all reviewers";this.PadFormPanel_reviewSettingFieldset="Review Setting";this.PadFormPanel_reviewTypeFieldset="Review Type";this.PadFormPanel_reviewTypeView="View/Download files only";this.PadFormPanel_reviewTypeComment="Comments & Feedback";this.PadFormPanel_reviewTypeApprove="Request Approval";
this.PadFormPanel_filesFieldset="Files";this.PadFormPanel_saveBtn="Save";this.PadFormPanel_createPadBtn="Create Pad";this.PadFormPanel_resetBtn="Reset";this.PadFormPanel_savePadBtn="Save";this.PadFormPanel_cancelBtn="Cancel";this.PadFormPanel_numResponses="Responses";this.PadFormPanel_lastResponse="Last Response";
this.PadFormPanel_status="Approval Status";this.PadFormPanel_responseGridFieldset="Pad Responses";this.PadFormPanel_loadMsg="Loading Pad Information";this.PadFormPanel_filesGridColFileId="File Id";this.PadFormPanel_filesGridColFileName="File Name";this.PadFormPanel_reviewerInfoFieldset="Reviewer Information";
this.PadFormPanel_addFileFromComputer="Add File from Computer";this.PadFormPanel_addFileFromReviewad="Add Previously Uploaded File(s)";this.PadFormPanel_ApprovalStatus_Approved="Approved";this.PadFormPanel_ApprovalStatus_ApprovedWithChanges="Approved with changes";this.PadFormPanel_ApprovalStatus_Rejected="Rejected";
this.PadFormPanel_SelectFolderTitle="Select A Folder";this.PadFormPanel_CreateNewFolderBtn="Create New Folder";this.PadFormPanel_SelectFolderOkBtn="OK";this.PadFormPanel_lookupButtonTooltip="Reviewer Lookup";this.PadFormPanel_approvalStatusImgTooltip="There are $APPROVED$ approved, $PENDING$ pending and $REJECTED$ rejected responses.";
this.PadFormPanel_showResponsesTip="This option only applies if you are requesting feedback or approval.  Checking this box will allow all reviewers to view each other's comments - leave it unchecked if you'd like to keep the feedback to yourself";this.PadFormPanel_reviewTypeViewTip="This option will allow reviewers to view & download the files in this pad.  It is a great way to easily share your work while maintaining control of the files within ReviewPad";
this.PadFormPanel_reviewTypeCommentTip="This option will allow reviewers to look at your files and provide feedback in the form of general comments as well as markup your images.  You can keep this feedback private by unchecking the "+this.PadFormPanel_showResponse+" checkbox or keep it checked to encourage discussion among all your reviewers.";
this.PadFormPanel_reviewTypeApproveTip="This option allows reviewers to look at your files & provide feedback but also asks that they approve the files.  These approval are tracked by ReviewPad making it easy for you to see the status of your pad at any time";this.PadFormPanel_noFilesSelectedMessage="There are no files associated with this pad. Please add files to the Pad, and submit again.";
this.PadFormPanel_AllFilesUploadErrorMessage="Uploading of all files is failed due to server error, Please try later.";this.PadFormPanel_sendReminderButtonText="Send Reminder";this.PadFormPanel_sendReminderButtonTooltip="Send Reminder From ReviewPad or Your Email Account";this.PadFormPanel_goToRoboheadButtonText="Go to RoboHead Project";
this.PadFormPanel_goToRoboheadButtonTooltip="RoboHead Project Link";this.PadFormPanel_menuSendFromReviewpadText="Send From ReviewPad";this.PadFormPanel_menuSendFromEmailAccountText="Send From My Email Account";this.PadFormPanel_clickUrlMessage="Click here to access the files:";this.PadFormPanel_menuSaveSmallImagePDFText="Portrait";
this.PadFormPanel_menuSaveLargeImagePDFText="Landscape";this.PadFormPanel_downloadFiles="Allow download of original file(s)";this.PadFormPanel_commentsPerPage="Comments per page :";this.FileUploadWindow_pagetitle="Creating Pad";this.FileUploadWindow_editingPadtitle="Editing Pad";this.FileUploadWindow_createFiletitle="Creating file";
this.FileUploadWindow_defaultStatusMsg="File Upload In Progress ...";this.FileUploadWindow_newPadStatusMsg="File Upload Complete.  Creating Pad ...";this.FileUploadWindow_editPadStatusMsg="File Upload Complete.  Saving Pad ...";this.ViewPadTab_fileTooltip="Click on the file to open View/Markup Window";
this.EditPadTab_title="EDIT PAD";this.FilesTab_title="FILES";this.FilesTab_newFileTabText="NEW FILE";this.FilesTab_newButtonText="New File";this.FilesTab_newButtonTooltip="Add a new file";this.FilesTab_openButtonText="Open File";this.FilesTab_openButtonTooltip="View, Edit, Delete or Download a file";
this.FilesTab_reviewButtonText="Add to Pad";this.FilesTab_reviewButtonTooltip="Create a review pad for the selected files";this.FilesTab_importButtonText="Import Files";this.FilesTab_importButtonTooltip="Import files from an FTP server";this.FilesTab_listButtonText="";this.FilesTab_listButtonTooltip="Details View";
this.FilesTab_smallthumbButtonText="";this.FilesTab_smallthumbButtonTooltip="Small Thumbnail View";this.FilesTab_largethumbButtonText="";this.FilesTab_largethumbButtonTooltip="Large Thumbnail View";this.FilesTab_piclensButtonText="";this.FilesTab_piclensButtonTooltip="3-D View (requires PicLens plugin)";
this.FilesTab_viewMenuText="View File";this.FilesTab_editMenuText="Edit File";this.FilesTab_downloadMenuText="Download File";this.FilesTab_deleteMenuTextSingular="Delete Files";this.FilesTab_deleteMenuTextPlural="Delete Files";this.FilesTab_confirmNewPadIsActivated="The new pad screen is currently open and you must close that tab before performing this action";
this.FilesTab_searchFiles="Search by keyword.";this.FileGridPanel_colFileName="File Name";this.FileGridPanel_colFileId="ID";this.FileGridPanel_colFileSize="Size";this.FileGridPanel_colUploadedOn="Uploaded on";this.FileGridPanel_colKeywords="Keywords";this.FileGridPanel_colUploadedOn="Uploaded on";this.FileGridPanel_colFolderPath="Folder Path";
this.FileGridPanel_bbarEmptyTextFolder="No files in selected folder";this.FileGridPanel_bbarEmptyTextSearch="No files matching your current search";this.FileGridPanel_bbarStatusMsgFolder="Displaying files {0} - {1} of {2}";this.FileGridPanel_bbarStatusMsgSearch="Displaying files {0} - {1} of {2}";this.FilesTab_openFileSaveBtn="Save";
this.FilesTab_openFileCancelBtn="Cancel";this.FilesTab_openFileEditBtn="Edit File";this.FilesTab_openFileViewTitle="VIEW FILE";this.FilesTab_openFileEditTitle="EDIT FILE";this.FilesTab_openFileInformationFieldset="File Information";this.FilesTab_openFileKeywordInformationFieldset="Keywords Information";
this.FilesTab_previewImageFieldset="Preview Image";this.FilesTab_openFileName="File Name";this.FilesTab_openFileSize="File Size";this.FilesTab_openFileMimeType="Mime Type";this.FilesTab_openFileCreateDate="Create Date";this.FilesTab_editFileConfirmCancelForm="Are you sure you want quit edit file operation?";
this.FilesTab_respFilesPerPage="Files per page :";this.ThumbnailViewPanel_emptyText="No files to display";this.PadGridPanel_colPadName="Pad Name";this.PadGridPanel_colReviewers="Reviewers";this.PadGridPanel_colCreatedBy="Created By";this.PadGridPanel_colFiles="Files";this.PadGridPanel_colStartDate="Create Date";
this.PadGridPanel_colEndDate="End Date";this.PadGridPanel_colReviewType="Review Type";this.PadGridPanel_colResponses="Responses";this.PadGridPanel_colLastResponse="Last Response";this.PadGridPanel_colComments="Comments";this.PadGridPanel_colApprovalStatus="Approval Status";this.PadGridPanel_bbarEmptyText="No pads matching your current search options";
this.PadGridPanel_bbarStatusMsg="Displaying pads {0} - {1} of {2}";this.PadGridPanel_viewPadMenuText="View Pad";this.PadGridPanel_editPadMenuText="Edit Pad";this.PadGridPanel_deletePadMenuTextSingular="Delete Pad";this.PadGridPanel_moreActionMenuText="More Action";this.PadGridPanel_actionSplitBtn_text="Actions";
this.PadGridPanel_deletePadsConfirmationMsg="You have selected <numOfPads> Pads for deletion. Are you sure you want to continue?";this.PadGridPanel_sendReminderConfirmationMsg="You have selected <numOfPads> Pads. Are you sure you want to send reminders for all selected Pads?";this.PadListView_emptyText="No Pads to display";
this.PadListView_colPadName="Name";this.PadListView_colDate="Create Date";this.PadListView_colFiles="Files";this.PadListView_colComments="Comments";this.PadListView_colApprovalStatus="Approval Status";this.PadListView_colStartDate="Start Date";this.PadListView_colEndDate="End Date";this.PadListView_moreActionbtntext="More Actions";
this.PadsListView_searchEmptyText="Search by keyword or tag";this.PadsListView_newPadButtonText="Create New Pad";this.PadsListView_xTemplateResponses="responses";this.PadsListView_advanceSearchButtonText="Advanced Search";this.PadsListView_padsPerPage="Pads per page :";this.PadsListView_refreshBtnText="refresh";
this.GridPanel_loadingMessage="Please Wait...";this.PadsTab_title="PADS";this.PadsTab_newPadButtonText="NEW PAD";this.PadsTab_newPadButtonTooltip="Create a new pad";this.PadsTab_openPadButtonText="Open Pad";this.PadsTab_openPadButtonTooltip="View, Edit or Delete the selected pad";this.PadsTab_deleteMenuTextSingular="Delete Pad";
this.PadsTab_deleteMenuTextPlural="Delete Pads";this.PadsTab_validateMultiEmail='This field should be an e-mail address, or a list of email addresses separated by commas(,) in the format "user@domain.com,test@test.com"';this.PadsTab_confirmCancelNewPadForm="Are you sure you want quit new pad operation?";
this.PadsTab_confirmAddToContact="Would you like to add selected reviewers to the Contacts if they do not exist in your Contacts?";this.PadsTab_editPadConfirmCancelForm="Are you sure you want quit edit pad operation?";this.PadsTab_reviewerDialogAllReviewers="All Reviewers";this.PadsTab_reviewerDialogNewlyAddedReviewers="Newly Added Reviewers";
this.PadsTab_reviewerDialogNone="None";this.PadsTab_reviewerDialogSubmit="Submit";this.PadsTab_reviewerDialog="Reviewer Dialog";this.PadsTab_reviewerNotificationMessage="Do you want to send notification to";this.PadsTab_reviewerDialogLabelYes="Yes";this.PadsTab_reviewerDialogLabelNo="No";this.PadsTab_savePadAsPDFButtonText="Save Pad as PDF";
this.PadsTab_savePadAsPDFButtonTooltip="Save selected pad as PDF document";this.PadsTab_availabelStorageMessage="<currentAvailableStorage>MB of <totalAvailableStorage>MB Used";this.PadsTab_upgradeToSSLMessageWithAddStorageLink='|<a href="#" id="availableStorage" class="availableStorageLink" onclick="openAddStorage()">Add Storage </a>';
this.PadsTab_padSummaryButtonText="View Pad Summary";this.PadsTab_padSummaryButtonTooltip="View summary of all comments and feedback";this.PadsTab_listButtonText="";this.PadsTab_listButtonTooltip="Details View";this.PadsTab_smallthumbButtonText="";this.PadsTab_smallthumbButtonTooltip="List View";this.PadsTab_deleteButtonText="Delete";
this.PadsTab_deleteButtonTooltip="delete multiple pads.";this.PadsTab_uploadFileConfirmCancelForm="You are trying to close the window while upload is in progress. If you close the window, the current uploads that in progress will be cancelled. Do you want to continue?";this.PadsTab_helpMenuBtnTitle="Help";
this.PadsTab_helpMenu_showHelp="Show Help";this.PadsTab_helpMenu_hideHelp="Hide Help";this.PadsTab_helpMenu_downloadUserGuide="Download User Guide";this.PadsTab_helpMenu_userForums="User Forums";this.PadsTab_helpMenu_emailSupport="Email Support";this.PadsTab_yourAccountBtnTitle="Your Account";this.PadsTab_accountSettingMenu="Account Settings";
this.PadsTab_modifyBilingInfoMenu="Modify Billing Information ";this.PadsTab_administrationMenu="Administration";this.PadsTab_upgradeAccountMenu="Upgrade Account";this.PadsTab_cancelAccountMenu="Cancel Account";this.PadsTab_switchAccount="Switch Account";this.PadsTab_managePeopleMenu="Manage People";
this.PadsTab_editPersonMenu="Edit Person";this.PadsTab_viewPersonMenu="View Person";this.SwitchAccountGridPanel_accountId="Id";this.SwitchAccountGridPanel_accountName="Account Name";this.SwitchAccountGridPanel_accountUrl="Account Url";this.SwitchAccountGridPanel_accountCreateDate="Create Date";this.SwitchAccountGridPanel_accountPackageId="Package Id";
this.SwitchAccountGridPanel_accountEmail="Email";this.SwitchAccountGridPanel_Title="Select Account";this.SwitchAccountGridPanel_okButton="Switch";this.SwitchAccountGridPanel_cancelButton="Cancel";this.FolderTree_rootFolderText="My Files";this.FolderTree_expandAllTooltip="Expand all folders";this.FolderTree_collapseAllTooltip="Collapse all folders";
this.FolderTree_newFolderTooltip="Create a new folder underneath the currently selected folder";this.FolderTree_deleteFolderTooltip="Delete selected folder";this.FolderTree_renameFolderTooltip="Rename currently selected folder";this.FolderTree_refreshFolderTooltip="Reload Folders";this.FolderTree_newFolderWindowTitle="Create New Folder";
this.FolderTree_renameFolderWindowTitle="Rename Folder";this.FolderTree_createBtnText="Create";this.FolderTree_renameBtnText="Rename";this.FolderTree_cancelBtnText="Cancel";this.FileSearchPanel_panelTitle="Search Files";this.FileSearchPanel_fileId="File ID";this.FileSearchPanel_filename="Filename";this.FileSearchPanel_startDate="Uploaded After";
this.FileSearchPanel_endDate="Uploaded Before";this.FileSearchPanel_keyWords="Keywords";this.FileSearchPanel_select_keyWords="Select Keywords";this.FileSearchPanel_applyBtn="Apply";this.FileSearchPanel_buttonClear="Clear";this.PadSearchPanel_panelTitle="Search Review Pads";this.PadSearchPanel_reviewer="Reviewer";
this.PadSearchPanel_startDate="Start Date";this.PadSearchPanel_endDate="End Date";this.PadSearchPanel_buttonApply="Apply";this.PadSearchPanel_buttonClear="Clear";this.PadSearchPanel_padName="Pad Name";this.PadSearchPanel_reviewType="Review Type:";this.PadSearchPanel_reviewTypeView="View / download files only";
this.PadSearchPanel_reviewTypeComment="Provide comments & feedback";this.PadSearchPanel_reviewTypeApprove="Request approval";this.Help_startupTip='<div class="helpHeader">Need help getting started?</div><div class="helpBody">All you need to do to start using ReviewPad is create a new pad.  Follow these step by step directions and you\'ll be sharing your files and getting feedback before you know it.</div>';
this.TipsPanel_defaultTip="&nbsp;";this.TipsPanel_padsTabMsg='<div class="helpHeader">Pads List</div><div class="helpSectionHeader">Navigating the list</div><div class="helpBody">You can change the order in which the Pads are displayed by clicking on any of the column headers (click twice to invert the sort order).  To page through the list use the Next <img src="../images/default/s.gif" class="x-tbar-page-next" style="height:12px; width:10px" /> and Previous <img src="../images/default/s.gif" class="x-tbar-page-prev" style="height:12px; width:12px" /> buttons on then bottom of the screen.  You can change the number of Pads that display on each page in the Account Settings screen.</div><div class="helpSectionHeader">Searching for Pads</div><div class="helpBody">You may search by any of the information that you applied to your Pad(s) previously including tags, pad name, reviewers, email subject, email message, file names and file titles. To execute the search enter you search term(s) and click the search <img src="../images/default/s.gif" style="background:url(\'../images/reviewpad-sprites.png\') no-repeat scroll -2px -38px transparent !important; height:19px; width:16px; vertical-align:bottom" /> icon.  To clear your search and reload the complete list of Pads click the clear <img src=\'../images/default/s.gif\' style="background:url(\'../images/rp/form/clear-trigger.gif\') no-repeat scroll -51px 0px transparent !important; height:19px; width:16px; vertical-align:bottom" /> icon.</div><div class="helpSectionHeader">Working with Pads</div><div class="helpBody">For each Pad in the list you can choose from among the following available actions:<br /><img src="../images/default/s.gif" class="icon-pad-view" /><span style="font-weight: bold"> View Pad:</span> Will open your pad so you can see more information about it, individual comments / approval status, and to make your own comments.<br /><img src="../images/default/s.gif" class="icon-pad-edit" /><span style="font-weight: bold"> Edit Pad:</span> Will allow you to change any of the Pad information entered initially when you created the Pad.<br /><img src="../images/default/s.gif" class="icon-pad-delete" /><span style="font-weight: bold"> Delete Pad:</span> Will delete the Pad from the system.<br style="margin-bottom:7px" /><span style="font-weight: bold">More Actions:</span> Will give you options to save the entire Pad as a PDF version, and to send reminders out via email for those reviewers who have not provided feedback yet.</div>';
this.TipsPanel_newPadTabMsg='<div class="helpHeader">Creating a new Pad</div><div class="helpSectionHeader">Help with individual fields</div><div class="helpBody">Required fields are clearly indicated with the <img src="../images/default/s.gif" class="icon-field-required" /> icon.  If you see a help icon <img src="../images/default/s.gif" class="icon-field-help" /> next to a field you can move the mouse over the icon to receive a detailed explanation of how that field is used.</div><div class="helpSectionHeader">Adding Files</div><div class="helpBody">To add a file to the Pad click the "Add New File" button and select the file you want to add.  You can repeat this process for as many files as you want to send out.  The "Default thumbnail" radio button will determine which image is displayed next to the Pad on the Pads screen.</div><div class="helpSectionHeader">Saving the Pad</div><div class="helpBody">When you are done filling out the information click the "Create Pad" button on the bottom of the screen - you will see the progress bar advance as your files are uploaded.  Once all the files in your pad have finished uploading your screen will refresh and you\'ll see your new pad in the list. Your reviewer(s) will be sent an email with a link to access your file(s).  You can then monitor any feedback from your reviewer(s) by opening the "View Pad" screen.</div>';
this.TipsPanel_openPadTabMsg="Open pad page tips.";this.TipsPanel_filesTabMsg='Click the "New File" button to upload a new file.  If you want to request a review select one or more of your files (CTRL-click for multiple files) and click the "Add to Pad" button.';this.TipsPanel_newFileTabMsg="You can upload files from your local computer or select files that you've already uploaded to ReviewPad.";
this.TipsPanel_openFileTabMsg="Open file page tips.";this.TipsPanel_peopleTabMsg='Click the "New Peson" button to create a new person or double click on any item in the list to open a person details.  If you are having trouble finding person try entering in some search criteria to narrow down the list.';
this.TipsPanel_newPersonTabMsg="New person page tips.";this.TipsPanel_openPersonTabMsg="Open person page tips.";this.TipsPanel_accountSettingsTabMsg="Account settings screen tips";this.TipsPanel_fileUploadinProgress="Your files are now uploading in the background.  You can continue working in the application while the upload is going on and check the status of the upload in the Upload Progress component below.";
this.TipsPanel_accountUpgradeTabMsg="Account upgrade screen tips";this.TipsPanel_modifyBillingInformationTabMsg="Billing information screen tips";this.TipsPanel_addStorageInformationTabMsg="Add storage information screen tips";this.AccountSetup_panelTitle="Account Setup";this.UploadProgress_panelTitle="Upload Progress";
this.DownloadFile_link="Download File";this.AddMarkup_link="Add Markup";this.ApprovalForm_title="Approval Form";this.ApprovalForm_approveActionOption="Approve";this.ApprovalForm_denyActionOption="Deny";this.ApprovalForm_approveWithChangesActionOption="Approve with changes";this.ReviewFileForm_saveBtn="Save";
this.CommentWindow_markupCommentTitle="Markup Comment";this.ApprovalForm_validateComments="Please add the comments";this.MarkupWindow_viewMarkupNameTitle="View: ";this.MarkupWindow_notesLabelTitle="Notes";this.MarkupWindow_notesHelpText="This list shows all markup comments associated with the current image.  If this is a multi-page document, you can choose whether to see the comments for only the current page or all pages by changing the value in the select list to the right.";
this.MarkupWindow_sortByTitle="Show: ";this.MarkupWindow_addCommentTitle="Click To Create Markup Note";this.MarkupWindow_addCommentHelpText="To add a comment to the image click the desired annotation tool and move the pointer to the spot where you want to place your feedback.  Click the mouse again (or hold the mouse button down and drag down and to the right to select an area), enter your comments and click 'Save'.";
this.MarkupWindow_pagingMessage="No pages to display";this.MarkupWindow_sortBy_option_all="All";this.MarkupWindow_sortBy_option_currentPage="Current Page";this.MarkupWindow_previewGenerationMessage_failed="We're sorry but file failed for markup.";this.MarkupWindow_previewGenerationMessage_inComplete="We're sorry but it is going to take a few minutes longer to get this file ready for markup. Please come back in fifteen minutes or so and try again.";
this.ReviewPage_errorPageTitle="ReviewPad";this.ReviewFile_addCommentAction="ADD-COMMENT";this.ReviewFile_deleteCommentAction="DELETE-COMMENT";this.ReviewFile_deleteCommentConfirm="Are you sure you want to delete comment ?";this.FileUpload_statusPending="Pending";this.FileUpload_statusUploading="Uploading";
this.FileUpload_statusComplete="Complete";this.FileUpload_statusCompleteWithErrors="Complete With Errors";this.FileUpload_statusFailed="Failed";this.AccountSettingsTab_title="ACCOUNT SETTINGS";this.AccountSettingsTab_upgradeButtonText="Upgrade Account";this.AccountSettingsTab_upgradeButtonTooltip="Upgrade your ReviewPad account to take advatage of increased storage & functionality";
this.AccountSettingsTab_cancelButtonText="Cancel Account";this.AccountSettingsTab_cancelButtonTooltip="Cancel your account";this.AccountSettingsFormPanel_basicFieldsetTitle="Basic Settings";this.AccountSettingsFormPanel_accountName="Account Name";this.AccountSettingsFormPanel_accountUrl="Account URL";
this.AccountSettingsFormPanel_package="Package";this.AccountSettingsFormPanel_preferencesFieldsetTitle="Account Preferences";this.AccountSettingsFormPanel_timeZone="Default Time Zone";this.AccountSettingsFormPanel_timeZoneEmptyText="Select a time zone ...";this.AccountSettingsFormPanel_locale="Default Locale";
this.AccountSettingsFormPanel_localeEmptyText="Select a locale ...";this.AccountSettingsFormPanel_customizationFieldsetTitle="Account Customization";this.AccountSettingsFormPanel_colorScheme="Color Scheme";this.AccountSettingsFormPanel_headerBackgroundColor="Header Background Color";this.AccountSettingsFormPanel_headerTextColor="Header Text Color";
this.AccountSettingsFormPanel_headerLinkColor="Header Link Color";this.AccountSettingsFormPanel_logoUpload="Upload New Logo";this.AccountSettingsFormPanel_logoUploadEmptyText="Select image - 101 x 69 pixels";this.AccountSettingsFormPanel_loginBackgroundColor="Login Background Color";this.AccountSettingsFormPanel_customLabels="Custom Labels";
this.AccountSettingsFormPanel_storageBannerBackground="Storage Banner Background Color";this.AccountSettingsFormPanel_storageBannerBorder="Storage Banner Border Color";this.AccountSettingsFormPanel_currentLogo="Current Logo";this.AccountSettingsFormPanel_currentLogo_width="101px";this.AccountSettingsFormPanel_currentLogo_height="69px";
this.AccountSettingsFormPanel_noLogoText="No current Logo";this.AccountSettingsFormPanel_keywordsFieldset="Keyword Management";this.AccountSettingsFormPanel_customlabelsFieldset="Annotation Panel Custom Label Management";this.AccountSettingsFormPanel_removeLogo="Remove Logo";this.AccountSettingsFormPanel_keywordsSelectLegend=" ";
this.AccountSettingsFormPanel_keywordEmptyText="";this.AccountSettingsFormPanel_newKeywordButton="Add Keyword";this.AccountSettingsFormPanel_newKeywordTooltip="Click here to add a new keyword - keywords will not be saved to your account until you click 'Save'";this.AccountSettingsFormPanel_deleteKeywordButton="Delete Selected Keyword(s)";
this.AccountSettingsFormPanel_deleteKeywordTooltip="Click here to delete the selected keyword(s) - keywords will not be removed from your account until you click 'Save'";this.AccountSettingsFormPanel_confirmDeleteKeyword="Are you sure you want to delete selected keyword(s)?";this.AccountSettingsFormPanel_loadMsg="Please wait, loading account information";
this.AccountSettingsFormPanel_RHIntegrationFieldsetTitle="Robohead Integration";this.AccountSettingsFormPanel_enableRHIntegration="Enable RoboHead Integration";this.AccountSettingsFormPanel_rhUrl="RoboHead URL";this.AccountSettingsFormPanel_rhAccountId="RoboHead Account Id";this.AccountSettingsFormPanel_rhUrlProtocol="https";
this.AccountSettingsFormPanel_deleteFilesOnPadDeletion="Delete files on pad deletion";this.AccountSettingsFormPanel_cancelAccountLink="Cancel Account";this.AccountSettingsFormPanel_cancelAccountLinkTip="Are you no longer interested in ReviewPad?  We're sorry . . .  but click here to cancel";this.AccountSettingsFormPanel_accountUrlHelpTip='You can choose a personal URL by upgrading to a professional account - for more information click "Upgrade to ReviewPad Professional now" at the top of the screen.';
this.AccountSettingsFormPanel_customLabel_labelNameHeader="Label Name";this.AccountSettingsFormPanel_customLabel_labelColorHeader="Label Text Color";this.AccountSettingsFormPanel_customLabel_labelBackgroundColorHeader="Label Background Color";this.AccountSettingsFormPanel_newLabelButton="Add Custom Label";
this.AccountSettingsFormPanel_newLabelTooltip="Click here to add a new custom label";this.AccountSettingsFormPanel_deleteLabelButton="Delete Selected Label";this.AccountSettingsFormPanel_deleteLabelTooltip="Click here to delete the selected custom label";this.AccountSettingsFormPanel_confirmDeleteLabel="Are you sure you want to delete this custom label?";
this.AccountSettingsFormPanel_customStamp_existMessage="Custom label with the same label text already exists.";this.AccountLicenseStatusInfo_noOfLicensedUsersMsg="You have signed up for <licensedNumUsers> users. You must upgrade your account to increase the number of users. Do you want to upgrade your account now?";
this.AccountLicenseStatusInfo_noOfLicensedPadsMsg="You have signed up <licensedNumPads> pads. You must upgrade your account to increase the number of pads. Do you want to upgrade your account now?";this.AccountLicenseStatusInfo_noOfLicensedStorageMsg="You have only <currentAvailableStorage>  MB available from licensedStorage. You must upgrade your account to increase the storage. Do you want to upgrade your account now?";
this.AccountUpgradeTab_title="ACCOUNT UPGRADE";this.AccountUpgradeForm_billingInformation="Billing Information";this.AccountUpgradeForm_packageType="Package";this.AccountUpgradeForm_loadingText="Loading... Please wait.";this.AccountUpgradeForm_storageLbl="Storage";this.AccountUpgradeForm_billingFirstName="First Name";
this.AccountUpgradeForm_billingLastName="Last Name";this.AccountUpgradeForm_creditCardNumber="Credit Card Number";this.AccountUpgradeForm_securityCode="Security Code";this.AccountUpgradeForm_securityCodeHelpTip="The security code (or the CVV2) is a 3- or 4-digit number printed on your credit card. This number is only printed on your card, and is not stored anywhere. The only way to know the number is to physically have the card, making this a valuable security measure.";
this.AccountUpgradeForm_creditCardExpDate="Credit Card Expiration Date";this.AccountUpgradeForm_creditCardExpDateMonthEmptyText="Month";this.AccountUpgradeForm_creditCardExpDateYearEmptyText="Year";this.AccountUpgradeForm_billingAddressInformation="Billing Address";this.AccountUpgradeForm_billingAddress="Address";
this.AccountUpgradeForm_billingAddressCity="City";this.AccountUpgradeForm_billingAddressState="State";this.AccountUpgradeForm_billingAddressStateEmptyText="Select State...";this.AccountUpgradeForm_billingAddressZip="Zip";this.AccountUpgradeForm_validateBillingAddressZip='This field should be a zip code in the format "12345" or "12345-6789 for US, Canada and "AA9A 9AA" or "A9 9AA" for UK"';
this.AccountUpgradeForm_billingAddressCountry="Country";this.AccountUpgradeForm_billingAddressCountryEmptyText="Select Country...";this.AccountUpgradeForm_saveBtn="Submit";this.AccountUpgradeForm_cancelBtn="Cancel";this.AccountUpgradeForm_upgradeSuccessfulMsg="Account updated successfully";this.AccountUpgradeForm_selectedAccountText="You've selected the {0} Package - ${1} / month.";
this.AccountUpgradeForm_selectedAccountFreeTrialText="Free trial - your credit card will not be charged during the first 30 days. You can cancel your account at any time.";this.ModifyBillingInformationTab_title="BILLING INFORMATION";this.ModifyBillingInformationFormPanel_billingInformation="Billing Information";
this.ModifyBillingInformationFormPanel_billingFirstName="First Name";this.ModifyBillingInformationFormPanel_billingLastName="Last Name";this.ModifyBillingInformationFormPanel_creditCardNumber="Credit Card Number";this.ModifyBillingInformationFormPanel_securityCode="Security Code";this.ModifyBillingInformationFormPanel_securityCodeHelpTip="The security code (or the CVV2) is a 3- or 4-digit number printed on your credit card. This number is only printed on your card, and is not stored anywhere. The only way to know the number is to physically have the card, making this a valuable security measure.";
this.ModifyBillingInformationFormPanel_creditCardExpDate="Credit Card Expiration Date";this.ModifyBillingInformationFormPanel_creditCardExpDateMonthEmptyText="Month";this.ModifyBillingInformationFormPanel_creditCardExpDateYearEmptyText="Year";this.ModifyBillingInformationFormPanel_billingAddressInformation="Billing Address";
this.ModifyBillingInformationFormPanel_billingAddress="Address";this.ModifyBillingInformationFormPanel_billingAddressCity="City";this.ModifyBillingInformationFormPanel_billingAddressState="State";this.ModifyBillingInformationFormPanel_billingAddressStateEmptyText="Select State...";this.ModifyBillingInformationFormPanel_billingAddressZip="Zip";
this.ModifyBillingInformationFormPanel_validateBillingAddressZip='This field should be a zip code in the format "12345" or "12345-6789"';this.ModifyBillingInformationFormPanel_billingAddressCountry="Country";this.ModifyBillingInformationFormPanel_billingAddressCountryEmptyText="Select Country...";this.ModifyBillingInformationFormPanel_saveBtn="Submit";
this.ModifyBillingInformationFormPanel_cancelBtn="Cancel";this.ModifyBillingInformationFormPanel_updateSuccessfulMsg="Billing Information updated successfully";this.AddStorageTab_title="ADD STORAGE";this.AddStorageForm_billingInformation="Billing Information";this.AddStorageForm_addStorageInformation="Add Storage";
this.AddStorageForm_storageLbl="<storage> GB - $<price_per_month> per month";this.AddStorageForm_billingFirstName="First Name";this.AddStorageForm_billingLastName="Last Name";this.AddStorageForm_creditCardNumber="Credit Card Number";this.AddStorageForm_securityCode="Security Code";this.AddStorageForm_securityCodeHelpTip="The security code (or the CVV2) is a 3- or 4-digit number printed on your credit card. This number is only printed on your card, and is not stored anywhere. The only way to know the number is to physically have the card, making this a valuable security measure.";
this.AddStorageForm_creditCardExpDate="Credit Card Expiration Date";this.AddStorageForm_creditCardExpDateMonthEmptyText="Month";this.AddStorageForm_creditCardExpDateYearEmptyText="Year";this.AddStorageForm_billingAddressInformation="Billing Address";this.AddStorageForm_billingAddress="Address";this.AddStorageForm_billingAddressCity="City";
this.AddStorageForm_billingAddressState="State";this.AddStorageForm_billingAddressStateEmptyText="Select State...";this.AddStorageForm_billingAddressZip="Zip";this.AddStorageForm_validateBillingAddressZip='This field should be a zip code in the format "12345" or "12345-6789"';this.AddStorageForm_billingAddressCountry="Country";
this.AddStorageForm_billingAddressCountryEmptyText="Select Country...";this.AddStorageForm_saveBtn="Submit";this.AddStorageForm_cancelBtn="Cancel";this.AddStorageForm_addSuccessfulMsg="Storage added successfully";this.CancelAccountTab_title="CANCEL ACCOUNT";this.CancelAccountForm_changeMindMsgBtn="Changed my mind, keep using ReviewPad";
this.CancelAccountForm_cancelBtn="Continue with cancellation";this.UploadStatusPanel_chooseFilebtn="Add New File";this.ViewPadFormPanel_approveRequestedHelpMsg="Approval Requested";this.ViewPadFormPanel_approvalTipMessage_helpText="You can mark the Pad approved, denied, or approved with changes by clicking the appropriate button and entering in your comments.  Please note that this decision is applied to the Pad as a whole and not to individual files within the Pad.";
this.ViewPadFormPanel_approveBtn="Approve";this.ViewPadFormPanel_denyBtn="Deny";this.ViewPadFormPanel_approvWithCommentsBtn="Approve with changes";this.ViewPadFormPanel_padExpiryMessage="expires in ";this.ViewPadFormPanel_padDay=" day.";this.ViewPadFormPanel_padDays=" days.";this.ViewPadFormPanel_padExpiredMessage="Pad expired.";
this.ViewPadFormPanel_padExpiredMessage_helpText="Reviewers are only able to view the files in this pad and enter comments during the dates entered.  If the pad has expired you can edit the start and/or end date to provide your reviewers access to the Pad.";this.PadNotePanel_panelTitle="Pad Notes";this.PadNotePanel_ReviewerTitle="Reviewers";
this.PadNotePanel_ApprovalStatus_Approved="Approved";this.PadNotePanel_ApprovalStatus_ApprovedWithChanges="Approved with changes";this.PadNotePanel_ApprovalStatus_Rejected="Rejected";this.PadNotePanel_ApprovalStatus_Not_Decision="No decision";this.PadNotePanel_Comments="Comments";this.PadCommentsPanel_panelTitle="Pad Comments";
this.PadCommentsPanel_sortBy="Sort by: ";this.PadCommentsPanel_sortBy_newest_to_oldest="Date (newest to oldest)";this.PadCommentsPanel_sortBy_oldest_to_newest="Date (oldest to newest)";this.PadCommentsPanel_addCommentBtn="Add Comments";this.PadCommentsPanel_bbarEmptyText="No pad comments matching current search criteria";
this.PadCommentsPanel_bbarStatusMsg="Displaying pad comments {0} - {1} of {2}";this.ReviewFileForm_finishButtonText="Finish";this.AppInfo_applicationStatus="Application Status";this.Status_databaseStatus="ReviewPad - Database Test";this.Status_memoryStatus="ReviewPad - Memory Test";this.Status_threadStatus="ReviewPad - Thread Test";
this.Status_tomcatStatus="ReviewPad - Tomcat Test";this.Status_ok="PASSED";this.Status_failed="FAILED";this.AppInfo_applicationStatistics="Application Statistics";this.AppInfo_applicationStatistics_numActiveAuths="Number of Active Auths";this.AppInfo_applicationStatistics_numActiveRequests="Number of Active Requests";
this.AppInfo_applicationStatistics_numTotalAuths="Number of Total Auths";this.AppInfo_applicationStatistics_numTotalRequests="Number of Total Requests";this.AppInfo_applicationStatistics_numActiveUsers="Number of Active Users";this.AppInfo_activeHttpSessions="Active Http Sessions";this.AppInfo_activeHttpSessions_accountId="Account Id";
this.AppInfo_activeHttpSessions_accountName="Account Name";this.AppInfo_activeHttpSessions_createdOn="Created On";this.AppInfo_activeHttpSessions_lastAccessedOn="Last Accessed On";this.AppInfo_activeHttpSessions_userId="User Id";this.AppInfo_activeHttpSessions_userEmail="User Email";this.AppInfo_activeHttpSessions_maxInactiveIntervalSecs="Max Inactive Interval (sec)";
this.AppInfo_activeHttpSessions_sessionId="Session Id";this.AppInfo_reloadableProperties="Reloadable Properties";this.AppInfo_reloadableProperties_appVersion="App Version";this.AppInfo_reloadableProperties_bucketAmazonS3="Bucket AmazonS3";this.AppInfo_reloadableProperties_bucketFilesystem="Bucket FileSystem";
this.AppInfo_reloadableProperties_emailErrorFrom="Email Error From";this.AppInfo_reloadableProperties_emailErrorSubject="Email Error Subject";this.AppInfo_reloadableProperties_emailErrorTo="Email Error To";this.AppInfo_reloadableProperties_emailTestFrom="Email Test From";this.AppInfo_reloadableProperties_emailTestSubject="Email Test Subject";
this.AppInfo_reloadableProperties_emailTestTo="Email Test To";this.AppInfo_reloadableProperties_emailHost="Email Host";this.AppInfo_reloadableProperties_tmpDeleteDaysOld="Temp Delete days old";this.AppInfo_reloadableProperties_tmpDir="Temp Directory";this.AppInfo_reloadableProperties_memoryThreshold="Memory Threshold";
this.AppInfo_reloadableProperties_threadThreshold="Thread Threshold";this.AppInfo_reloadableProperties_smallThumbnailWidth="Small Thumbnail Width";this.AppInfo_reloadableProperties_largeThumbnailWidth="Large Thumbnail Width";this.AppInfo_reloadableProperties_previewWidth="Preview Width";this.AppInfo_reloadableProperties_imageMagickPath="Image Magick Path";
this.AppInfo_reloadableProperties_imageMagickFormats="Image Magick Formats";this.AppInfo_reloadableProperties_imageMagickPropertiesCommand="Image Magick Properties Command";this.AppInfo_reloadableProperties_imageMagickThumbnailCommand="Image Magick Thumbnail Command";this.AppInfo_reloadableProperties_imageMagickResizeCommand="Image Magick Resize Command";
this.AppInfo_reloadableProperties_imageMagickConvertCommand="Image Magick Convert Command";this.AppInfo_reloadableProperties_openOfficePath="Open Office Path";this.AppInfo_reloadableProperties_openOfficeFormats="Open Office Formats";this.AppInfo_reloadableProperties_openOfficeRunCommand="Open Office Run Command";
this.AppInfo_reloadableProperties_privateKey="Private Key";this.AppInfo_reloadableProperties_ghostScriptPath="Ghost Script Path";this.AppInfo_reloadableProperties_ghostScriptFormats="Ghost Script Formats";this.AppInfo_reloadableProperties_ghostScriptConvertCommand="Ghost Script Convert Command";this.AppInfo_reloadableProperties_supportedLanguages="Supported Languages";
this.AppInfo_reloadableProperties_supportedCountries="Supported Countries";this.AppInfo_reloadableProperties_supportedTimezones="Supported Time Zones";this.AppInfo_reloadableProperties_timeoutRequest="Timeout Requests";this.AppInfo_reloadableProperties_timeoutJob="Timeout Job";this.AppInfo_reloadableProperties_tsupportUser="Tsupport User";
this.AppInfo_dataSourceInfo="Data Source Info";this.AppInfo_dataSourceInfo_defaultAutoCommit="Is Default Auto Commit";this.AppInfo_dataSourceInfo_defaultCatalog="Default Catalog";this.AppInfo_dataSourceInfo_defaultReadOnly="Is Default Read Only";this.AppInfo_dataSourceInfo_defaultTransactionIsolation="Dafault Transaction Isolation";
this.AppInfo_dataSourceInfo_driverClassName="Driver Class Name";this.AppInfo_dataSourceInfo_initialSize="Initial Size";this.AppInfo_dataSourceInfo_loginTimeout="Login Timeout";this.AppInfo_dataSourceInfo_maxActive="Maximum Active";this.AppInfo_dataSourceInfo_maxIdle="Maximum Idle";this.AppInfo_dataSourceInfo_maxOpenPreparedStatements="Maximum Open Prepared Statements";
this.AppInfo_dataSourceInfo_maxWait="Maximum Wait";this.AppInfo_dataSourceInfo_minEvictableIdleTimeMillis="Minimum Evictable Idle Time (ms)";this.AppInfo_dataSourceInfo_minIdle="Minimum Idle";this.AppInfo_dataSourceInfo_numActive="Number of Active";this.AppInfo_dataSourceInfo_numIdle="Number of Idle";
this.AppInfo_dataSourceInfo_numTestsPerEvictionRun="Number of Tests per Eviction run";this.AppInfo_dataSourceInfo_password="Password";this.AppInfo_dataSourceInfo_timeBetweenEvictionRunsMillis="Time Between Eviction Runs (ms)";this.AppInfo_dataSourceInfo_url="Url";this.AppInfo_dataSourceInfo_username="User Name";
this.AppInfo_dataSourceInfo_validationQuery="Is Validate Query";this.AppInfo_databaseMetaData="Database Meta Data";this.AppInfo_databaseMetaData_databaseMajorVersion="Database Major Version";this.AppInfo_databaseMetaData_databaseMinorVersion="Database Minor version";this.AppInfo_databaseMetaData_databaseProductName="Database Product Name";
this.AppInfo_databaseMetaData_databaseProductVersion="Database Product version";this.AppInfo_databaseMetaData_defaultTransactionIsolation="Default Transaction Isolation";this.AppInfo_databaseMetaData_driverMajorVersion="Driver Major Version";this.AppInfo_databaseMetaData_driverMinorVersion="Driver Minor version";
this.AppInfo_databaseMetaData_driverName="Driver Name";this.AppInfo_databaseMetaData_driverVersion="Driver Version";this.AppInfo_databaseMetaData_extraNameCharacters="Extra Name Characters";this.AppInfo_databaseMetaData_identifierQuoteString="Identifier Quote String";this.AppInfo_databaseMetaData_JDBCMajorVersion="JDBC Major version";
this.AppInfo_databaseMetaData_JDBCMinorVersion="JDBC Minor version";this.AppInfo_databaseMetaData_maxBinaryLiteralLength="Max Binary Literal length";this.AppInfo_databaseMetaData_maxCatalogNameLength="Max Catalog name length";this.AppInfo_databaseMetaData_maxCharLiteralLength="Max Chars Literal length";
this.AppInfo_databaseMetaData_maxColumnNameLength="Max Columns name length";this.AppInfo_databaseMetaData_maxColumnsInGroupBy="Max Column In Group By";this.AppInfo_databaseMetaData_maxColumnsInIndex="Max Columns In Index";this.AppInfo_databaseMetaData_maxColumnsInOrderBy="Max Columns In Order By";this.AppInfo_databaseMetaData_maxColumnsInSelect="Max Columns In Select";
this.AppInfo_databaseMetaData_maxColumnsInTable="Max Columns in Table";this.AppInfo_databaseMetaData_maxConnections="Max Connections";this.AppInfo_databaseMetaData_maxCursorNameLength="Max Cursor Name length";this.AppInfo_databaseMetaData_maxIndexLength="Max Index length";this.AppInfo_databaseMetaData_maxProcedureNameLength="Max Procedure Name length";
this.AppInfo_databaseMetaData_maxRowSize="Max Row size";this.AppInfo_databaseMetaData_maxSchemaNameLength="Max Schema Name length";this.AppInfo_databaseMetaData_maxStatementLength="Max Statement length";this.AppInfo_databaseMetaData_maxStatements="Max Statements";this.AppInfo_databaseMetaData_maxTableNameLength="Max Table Name length";
this.AppInfo_databaseMetaData_maxTablesInSelect="Max Tables in Select";this.AppInfo_databaseMetaData_maxUserNameLength="Max UserName length";this.AppInfo_databaseMetaData_numericFunctions="Numeric Functions";this.AppInfo_databaseMetaData_procedureTerm="Procedure Term";this.AppInfo_databaseMetaData_schemaTerm="Schema Term";
this.AppInfo_databaseMetaData_searchStringEscape="Search String Escape";this.AppInfo_databaseMetaData_SQLKeywords="SQL Keywords";this.AppInfo_databaseMetaData_SQLStateType="SQL State Type";this.AppInfo_databaseMetaData_stringFunctions="String Functions";this.AppInfo_databaseMetaData_systemFunctions="System Functions";
this.AppInfo_databaseMetaData_timeDateFunctions="Timedate Functions";this.AppInfo_databaseMetaData_URL="Url";this.AppInfo_databaseMetaData_userName="User Name";this.AppInfo_applicationFiles="Application Files";this.AppInfo_applicationFiles_logFile="Log File";this.AppInfo_applicationFiles_log4jPropertiesFile="Log4j Properties File";
this.AppInfo_applicationFiles_reviewpadPropertiesFile="ReviewPad Properties File";this.AppInfo_memoryInfo="Memory Info";this.AppInfo_memoryInfo_heapMemoryInit="Heap Memory Initialized";this.AppInfo_memoryInfo_heapMemoryUsed="Heap Memory Used";this.AppInfo_memoryInfo_heapMemoryFree="Heap Memory Free";
this.AppInfo_memoryInfo_heapMemoryCommitted="Heap Memory Committed";this.AppInfo_memoryInfo_heapMemoryMax="Heap Memory - Max";this.AppInfo_memoryInfo_nonHeapMemoryInit="Non Heap Memory Initialized";this.AppInfo_memoryInfo_nonHeapMemoryUsed="Non Heap Memory Used";this.AppInfo_memoryInfo_nonHeapMemoryFree="Non Heap Memory Free";
this.AppInfo_memoryInfo_nonHeapMemoryCommitted="Non Heap Memory Committed";this.AppInfo_memoryInfo_nonHeapMemoryMax="Non Heap Memory Max";this.AppInfo_threadInfo="Thread Info";this.AppInfo_threadInfo_totalThreadCount="Total Thread Count";this.AppInfo_threadInfo_totalStartedThreadCount="Total Started Thread Count";
this.AppInfo_threadInfo_totalPeakThreadCount="Total Peak Thread Count";this.AppInfo_threadInfo_totalDaemonThreadCount="Total Daemon Thread Count";this.AppInfo_threadInfo_appThreadCount="Application Thread Count";this.AppInfo_threadInfo_appActiveRequestsThreadCount="Application Active Requests Thread Count";
this.AppInfo_threadInfo_appDeamonThreadCount="Application Ceamon Thread Count";this.AppInfo_threadInfo_appDeadThreadCount="Application Dead Thread Count";this.AppInfo_threadInfo_appInterruptedThreadCount="Application Interrupted Thread Count";this.AppInfo_systemInfo="System Info";this.AppInfo_systemInfo_loadedClassCount="Loaded Class Count";
this.AppInfo_systemInfo_unloadedClassCount="Unloaded Class Count";this.AppInfo_systemInfo_totalLoadedClassCount="Total Loaded Class Count";this.AppInfo_systemInfo_osName="OS Name";this.AppInfo_systemInfo_arch="System Architecture";this.AppInfo_systemInfo_availableProcessors="Available Processors";this.AppInfo_systemInfo_osVersion="OS Version";
this.AppInfo_systemInfo_managementSpecVersion="Management Interface Specification Version";this.AppInfo_systemInfo_specName="JVM Specification Name";this.AppInfo_systemInfo_specVendor="JVM Specification Vendor";this.AppInfo_systemInfo_specVersion="JVM Specification Version";this.AppInfo_systemInfo_vmStartTime="JVM Start Time";
this.AppInfo_systemInfo_vmUptime="JVM Uptime";this.AppInfo_systemInfo_vmName="JVM Implementation name";this.AppInfo_systemInfo_vmVendor="JVM Vendor";this.AppInfo_systemInfo_vmVersion="JVM Version";this.AppInfo_systemInfo_rtName="JVM Name";this.AppInfo_systemInfo_bootClassPath="Boot Classpath";this.AppInfo_systemInfo_classPath="Classpath";
this.AppInfo_systemInfo_vmArguments="VM Arguments";this.AppInfo_systemInfo_libraryPath="Library Path";this.AppInfo_systemInfo_systemProperties="System Properties";this.APPSession_timeoutMessage="Your session is expired. Please login again.";this.LoadingMessage="Please Wait...";this.QueryTab_title="QUERIES";
this.QueryTab_fieldsetTitle="Query";this.QueryTab_selectQueryText="Select Query";this.QueryTab_queryName_emptyText="Query Name";this.QueryTab_textareaText="Sql Query";this.QueryTab_queryDescription="Description";this.QueryTab_saveBtnText="Save";this.QueryTab_deleteBtnText="Delete";this.QueryTab_ExecutebtnText="Execute";
this.QueryTab_ExecutecsvbtnText="Execute as CSV";this.QueryTab_CancelbtnText="Cancel";this.QueryTab_newQuery="[New Query]";this.QueryTab_confirmDeleteQuery="Are you sure you want delete this query?";this.QueryTab_selectQuery_emptyText="Select";this.QueryResultsTab_title="QUERY RESULTS";this.EmailTemplatesTab_title="EMAIL TEMPLATES";
this.EmailTemplatesTab_newButtonText="New Email Template";this.EmailTemplatesTab_openButtonText="Open Email Template";this.EmailTemplatesTab_viewButtonText="View Email Template";this.EmailTemplatesTab_editButtonText="Edit Email Template";this.EmailTemplatesTab_deleteButtonText="Delete Email Template";
this.EmailTemplatesGridPanel_colTemplateId="ID";this.EmailTemplatesGridPanel_colTemplateType="Template";this.EmailTemplatesGridPanel_colTemplateLocale="Locale";this.EmailTemplates_newEmailTemplate_title="NEW EMAIL TEMPLATE";this.EmailTemplates_viewEmailTemplate_title="VIEW EMAIL TEMPLATE";this.EmailTemplates_editEmailTemplate_title="EDIT EMAIL TEMPLATE";
this.EmailTemplates_newEmailTemplate_fieldset="New Template";this.EmailTemplates_newEmailTemplate_templateType="Template";this.EmailTemplates_newEmailTemplate_subject="Subject";this.EmailTemplates_newEmailTemplate_emailText="Email Template";this.EmailTemplates_newEmailTemplate_saveBtn="Save";this.EmailTemplates_newEmailTemplate_cancelBtn="Cancel";
this.EmailTemplates_templateType="Template Name";this.EmailTemplates_newEmailTemplate_localeEmptyText="Select a locale ...";this.EmailTemplates_newEmailTemplate_locale="Locale";this.EmailTemplates_openEmailTemplate_fieldset="Template";this.EmailTemplates_openEmailTemplate_templateType="Template Name";
this.EmailTemplates_openEmailTemplate_localList="Locale";this.EmailTemplates_openEmailTemplate_localListEmptyText="Select";this.EmailTemplates_openEmailTemplate_subject="Subject";this.EmailTemplates_openEmailTemplate_editBtn="Edit";this.EmailTemplates_openEmailTemplate_saveBtn="Save";this.EmailTemplates_openEmailTemplate_cancelBtn="Cancel";
this.validateTemplateConfirmDelete="Are you sure want to delete selected template(s)?";this.NewEmailTemplatePanel_confirmCancelForm="Are you sure want to quit new template operation?";this.OpenEmailTemplatePanel_confirmCancelForm="Are you sure want to quit edit template operation?";this.ThumbnailViewEmailTemplatesPanel_emptyText="No Templates to display";
this.AdminHomeScreen_helpText="ReviewPad Help";this.AdminPage_quickTip="Click to view help";this.TipsPanel_newTemplateTabMsg='<div class="helpHeader">Creating a Email Template</div><div class="helpSectionHeader">Help with individual fields</div><div class="helpBody">Required fields are clearly indicated with the <img src="../images/default/s.gif" class="icon-field-required" /> icon.  If you see a help icon <img src="../images/default/s.gif" class="icon-field-help" /> next to a field you can move the mouse over the icon to receive a detailed explanation of how that field is used.</div><div class="helpSectionHeader">Saving the Template</div><div class="helpBody">When you are done filling out the information click the "Save" button on the bottom of the screen </div>';
this.EmailTab_title="EMAIL";this.EmailFormPanel_queryFieldset="Query";this.EmailFormPanel_selectQueryText="Select Query";this.EmailFormPanel_selectQuery_emptyText="Select";this.EmailFormPanel_queryTextareaText="Sql Query";this.EmailFormPanel_executeBtn="Execute";this.EmailFormPanel_emailFieldset="Email";
this.EmailFormPanel_fromText="From";this.EmailFormPanel_toText="To";this.EmailFormPanel_ccText="CC";this.EmailFormPanel_bccText="BCC";this.EmailFormPanel_subjectText="Subject";this.EmailFormPanel_templateText="Template";this.EmailFormPanel_messageTypeText="Message Type";this.EmailFormPanel_messageType_plainText="Plain Text";
this.EmailFormPanel_messageType_html="HTML";this.EmailFormPanel_messageText="Message";this.EmailFormPanel_sendBtn="Send";this.EmailFormPanel_cancelBtn="Cancel";this.EmailFormPanel_EmailSuccessfulMsg="Email has been sent successfully";this.ht=new Aquent.Common.Hashtable();this.ht.put("success.folderAddSuccess","Folder added successfully.");
this.ht.put("success.folderDeleteSuccess","Folder deleted successfully.");this.ht.put("user.success.folderRenameSuccess","Folder renamed successfully.");this.ht.put("success.folderMoveSuccess","Folder moved successfully.");this.ht.put("user.success.personAddSuccess","Person added successfully.");this.ht.put("success.personDeleteSuccess","Person deleted successfully.");
this.ht.put("success.peopleDeleteSuccess","People deleted successfully.");this.ht.put("success.noPeopleFound","No results found for the requested search criteria.");this.ht.put("success.tagDeleteSuccess","Tag deleted successfully.");this.ht.put("success.fileUpdateSuccess","File updated successfully.");
this.ht.put("success.fileDeleteSuccess","Files deleted successfully.");this.ht.put("success.fileMoveSuccess","File moved successfully");this.ht.put("user.success.noFilesFound","Files not found for given search criteria.");this.ht.put("success.padDeleteSuccess","Pad(s) deleted successfully.");this.ht.put("success.padAddSuccess","Pad added successfully.");
this.ht.put("success.padUpdateSuccess","Pad updated successfully.");this.ht.put("user.success.noPadsFound","Pads not found.");this.ht.put("success.resetPassword","Password reset successfully.");this.ht.put("user.success.accountUpdateSuccess","Account updated successfully.");this.ht.put("success.loggedOutSuccessful","Logged out successfully.");
this.ht.put("success.querySavedSuccess","Query saved successfully.");this.ht.put("success.emailToAllReviewersSuccess","Sent email to all reviewers successfully.");this.ht.put("success.emailTemplateSavedSuccess","Email Template saved successfully.");this.ht.put("success.emailTemplateDeletedSuccess","Email Template deleted successfully.");
this.ht.put("error.user.folderNotFound","Folder not found.");this.ht.put("error.user.folderExists","Folder already exists.");this.ht.put("error.user.personExists","User already exists.");this.ht.put("error.user.personNotExists","The user with this email address not exists in the database.");this.ht.put("error.user.fileExists","File with this name already exists.");
this.ht.put("error.user.tagNotFound","Tag not found.");this.ht.put("error.user.filesNotReady","Files are being uploaded. Are you sure you want to cancel?");this.ht.put("error.user.filesReady","Files are uploaded.");this.ht.put("error.user.fileNotFound","File not found.");this.ht.put("error.user.padExists","Pad already exists with this Pad name.");
this.ht.put("error.user.padNotFound","Pad not found.");this.ht.put("error.user.userNotFound","User not found.");this.ht.put("error.user.accountExists","This url is already in use for another account, please choose a new url.");this.ht.put("error.user.dynamicTextMismatch","Dynamic text does not match.");
this.ht.put("error.user.emailExists","Email address already exists");this.ht.put("error.user.loginFailed","Failed to login.");this.ht.put("error.user.permissionDenied","You do not have permissions to perform this operation.");this.ht.put("error.user.logoutUnsuccessful","Logout unsuccessful.");this.ht.put("error.user.padNotFoundForReviewer","Pad not found for reviewer.");
this.ht.put("error.user.personNotFound","Email address does not exists.");this.ht.put("error.user.loginFailed.badCredentials","Invalid Login Name or Password.");this.ht.put("error.user.noAccount","There is no account associated with this URL. Please check the URL again or go to http://www.reviewpad.net/login.do.");
this.ht.put("error.user.reviewError","Error occured while loading the review page. Please make sure that the link sent in an email is not cut-off.");this.ht.put("error.user.reviewCurrentDateIsLower","The files will be ready for review on $START_DATE$. Please return at that time and leave feedback.");
this.ht.put("error.user.reviewCurrentDateIsGreater","The deadline for providing feedback has passed.");this.ht.put("error.user.discountCodeNotFound","Discount code is not valid.");this.ht.put("error.user.discountCodeExpired","Discount code has been expired.");this.ht.put("error.user.discountCodeAccountsInUsed","All discount accounts are in use");
this.ht.put("error.user.accountUrlExists","This url is already in use for another account, please choose a new url.");this.ht.put("error.app.addComment","Failed to add comments.");this.ht.put("error.app.addAccount","Failed to create account.");this.ht.put("error.app.addFolder","Failed to add folder.");
this.ht.put("error.app.renameFolder","Failed to rename folder.");this.ht.put("error.app.deleteFolder","Failed to delete folder.");this.ht.put("error.app.getFolders","Failed to load the folders.");this.ht.put("error.app.moveFolder","Failed to move folder tree.");this.ht.put("error.app.serverConnectionFailure","Failed to connect to the server.");
this.ht.put("error.app.addPerson","Failed to add person");this.ht.put("error.app.getPeople","Failed to load the people");this.ht.put("error.app.deletePerson","Failed to delete the person");this.ht.put("error.app.editPerson","Failed to edit the person");this.ht.put("error.app.getReviews","Failed to load Reviews.");
this.ht.put("error.app.getPads","Failed to load Pads");this.ht.put("error.app.searchPeople","Failed to search people");this.ht.put("error.app.getFiles","Failed to load files for the folder");this.ht.put("error.app.addFile","Failed to add file.");this.ht.put("error.app.getAllTags","Failed to load tags.");
this.ht.put("error.app.addTag","Failed to add tag.");this.ht.put("error.app.deleteTag","Failed to delete tag.");this.ht.put("error.app.deleteFile","Failed to delete the file.");this.ht.put("error.app.moveFile","Failed to move file.");this.ht.put("error.app.addPad","Failed to add pad.");this.ht.put("error.app.deletePad","Failed to delete pad.");
this.ht.put("error.app.searchFiles","Failed to search files");this.ht.put("error.app.updatePad","Failed to update pad.");this.ht.put("error.app.signupFailed","Failed to sign up.");this.ht.put("error.app.addCommentFailed","Add comment failed.");this.ht.put("error.app.deleteCommentFailed","Delete comment failed.");
this.ht.put("error.app.getMultipageFilesFailed","Get multipage files failed.");this.ht.put("error.app.loginFailed.badCredentials","Your login was unsuccessful. Please try again.");this.ht.put("error.user.loginFailed.concurrentLogin","You have exceeded the maximum the number of simultaneous logins allowed for this email address. Please try closing your browser to clear out any extraneous session cookies and then try logging in again.");
this.ht.put("error.app.editAccount","There was a problem updating your account.");this.ht.put("error.app.upgradeAccount","There was a problem upgrade your account.");this.ht.put("error.app.accountNotFound","There was a problem updating your account (account not found)");this.ht.put("error.app.getAccounts","Get accounts failed.");
this.ht.put("error.app.forgetPassword","Forgot your password failed.");this.ht.put("error.app.getLicenseStatusInfo","Get license status information failed.");this.ht.put("error.app.encryptPassword","Failed to encrypt.");this.ht.put("error.app.decryptPassword","Failed to decrypt.");this.ht.put("validate.folder.confirmDelete","Are you sure you want to delete this folder?");
this.ht.put("validate.people.confirmDelete","Are you sure you want to delete this user?");this.ht.put("validate.file.confirmDelete","Are you sure you want to delete this file?");this.ht.put("validate.pad.confirmDelete","Are you sure you want to delete this pad?");this.ht.put("validate.folder.select","Please select folder to delete.");
this.ht.put("validate.rootfolder.delete","Root folder can not be deleted.");this.ht.put("validate.folder.selectForRaname","Please select folder to rename.");this.ht.put("validate.folder.selectForAdd","Please select folder to add new folder.");this.ht.put("validate.folder.nameBlank","Folder Name should be non blank.");
this.ht.put("validate.folder.alreadyExist","This destination already contains folder with this name.");this.ht.put("validate.folder.passwordCrosscheck","Password does not match.");this.ht.put("validate.file.validateFolderSelect","You must select a folder to add files.");this.ht.put("validate.file.validateDuplicateKeyword","This keyword already exists - no need to create it again.");
this.ht.put("validate.file.validateEmptyKeyword","Please enter keyword.");this.ht.put("validate.account.validateDuplicateKeyword","This keyword already exists - no need to create it again.");this.ht.put("validate.account.validateEmptyKeyword","It looks like you didn't enter any text in the new keyword field.  We'll go ahead and place the cursor where it needs to be so just start typing after you click 'OK'");
this.ht.put("validate.account.validateNoKeywordSelected","You didn't have any keywords selected.  Just click on the keyword you want to delete and then press the button.  If you want to select multiple keywords hold down the CTRL key (Windows) or Command Key (Mac) and then click on the files you want to delete.");
this.ht.put("validate.account.validateNoLabelKeywordSelected","You didn't have any custom label selected. Just click on the custom label you want to delete and then press the button");this.ht.put("validate.account.roboheadUrl","Please enter valid RoboHead Url.");this.ht.put("validate.account.confirmCancel","Are you sure you want to cancel your account? All files will be lost and cannot be recovered.");
this.ht.put("validate.validationFailure","Either there's some information missing or perhaps the information you entered needs to be tweaked but we'll help you get it fixed. The fields that are causing the problem are highlighted with red squiggly lines - if you move your mouse over the highlighted fields you can see an explanation of what went wrong and how to correct it.");
this.ht.put("validate.validationFailure.MsgBoxTitle","A Little Help");this.ht.put("validate.people.deleteNoPermission","You do not have permission to delete the selected person.");this.ht.put("validate.people.canNotDelete","You can not delete the selected person.");this.ht.put("validate.people.editAdmin","Please assign Administrator role to another user, before you perform this operation as you are the only administrator for this account.");
this.ht.put("validate.people.deleteAdmin","Please assign Administrator role to another user, before you perform this operation as you are trying to delete only administrator for this account.");this.ht.put("validate.review.confirmFinish","You are about to leave the review screen. Are you sure you want exit?");
this.ht.put("error.user.addToPDFFailed","Failed to add Pad contents in PDF.");this.ht.put("error.app.pdf.document.failed","Failed to generate PDF.");this.ht.put("validate.pad.validateEmptyPad","You didn't have any pad selected.  Just check the pad you want to delete and then press the Archive button.");
this.ht.put("HomePage_adv_upgradeText_1",'Send files securely with 128-bit SSL encryption -<a href="javascript:openAccountUpgrade()" class="headerLink">Upgrade now</a>');this.ht.put("HomePage_adv_upgradeText_2",'Give your reviewers the ability to annotate hi-res images with extended tools -<a href="javascript:openAccountUpgrade()" class="headerLink">Upgrade now</a>');
this.ht.put("HomePage_adv_upgradeText_3",'Make ReviewPad your own - use a custom URL and brand the app with your company colors & logo -<a href="javascript:openAccountUpgrade()" class="headerLink">Upgrade now</a>');this.ht.put("HomePage_adv_upgradeText_4",'Share your ReviewPad account with the rest of your creative team -<a href="javascript:openAccountUpgrade()" class="headerLink">Upgrade to a team or corporate account now</a>');
this.ht.put("success.queryDeleteSuccess","Query deleted successfully.");this.ht.put("error.user.accountCancelSuccess","Account cancelled successfully.");this.ht.put("error.app.accountCancel","Account cancellation failed.");this.ht.put("validate.pad.confirmEdit","This will close the current Pad from Edit Pad tab, and you will lose the data that you entered. Do you want to continue?");
};Ext.namespace("Aquent.reviewpad");Ext.BLANK_IMAGE_URL="../../images/default/s.gif";var custom_labels;var custom_prefs;var lookup_codes;Ext.onReady(function(){Ext.QuickTips.init();custom_labels=new Aquent.reviewpad.Properties();custom_prefs=new Aquent.reviewpad.Preferences();lookup_codes=new Aquent.reviewpad.LookupCodes(custom_labels);
initExtensions();loginInit(custom_labels);var h=new Ext.TabPanel({id:"login-tabs-panel",activeItem:0,layoutOnTabChange:true,region:"center",items:[{title:custom_labels.LoginPanel_loginTitle,layout:"fit",id:"login-tab",items:[{xtype:"loginform",custom_labels:window.custom_labels,id:"login-form"}]}]});
var n=" ";if(dbLogoUrl==""&&dbColorScheme!=lookup_codes.COLOR_SCHEME_RP&&dbColorScheme!=0){n="<span style='color:"+dbHeaderTextColor+";'>"+custom_labels.LoginPanel_welcomeTitle+"</span>";}if(Ext.getCmp("tab-container")&&dbLogoUrl){Ext.getCmp("tab-container").setIconClass("headerlogo");}var b=new Ext.BoxComponent({id:"login-header-logo",hidden:(dbLogoUrl==""||dbLogoUrl==null)?true:false,autoEl:{tag:"img",src:dbLogoUrl},width:custom_labels.AccountSettingsFormPanel_currentLogo_width,height:custom_labels.AccountSettingsFormPanel_currentLogo_height,cls:"login-header-logo"});
var g=(typeof window.innerHeight!="undefined"?window.innerHeight:window.screen.height);var r=(typeof window.innerWidth!="undefined"?window.innerWidth:window.screen.width);var q=(r>1475?1475:r);var c=(g>1154?1154:g);var d=(r>1475?(r-1475)/2:0);var m=(g>1154?(g-1154)/2:0);var k=q;var a=c;if(Ext.isIE){k=window.screen.availWidth>1475?1475:window.screen.availWidth;
a=(window.screen.availHeight>1154?1154:window.screen.availHeight);}var f=(k/2)-216;var e=(a/2)-175;var o=new Ext.Panel({layout:"form",title:n,id:"tab-container",style:{"margin-left":Ext.isIE?f+"px":"0px","margin-top":Ext.isIE?e+"px":"0px"},width:416,height:335,x:f,y:e,cls:"loginPanel",items:[{xtype:"loginform",custom_labels:window.custom_labels,id:"login-form"}]});
var j=new Ext.Panel({title:custom_labels.LoginPanel_welcomeTitle,id:"no-account-panel",width:416,height:335,style:{"margin-left":Ext.isIE?f+"px":"0px","margin-top":Ext.isIE?e+"px":"0px"},x:f,y:e,items:[{bodyStyle:"padding: 5 5 5 5; border:none;",html:'<div class="noAccountBorder">'+getNoAccountFoundMessage()+"</div>",cls:"messageText",border:false}]});
var i=null;if(isAccountFound=="true"||getSubDomain()==custom_labels.LoginFormPanel_accountUrlPrefix||getSubDomain()==""){i=o;}else{i=j;}var l=new Ext.Panel({layout:Ext.isIE?"form":"absolute",border:false,frame:false,resizable:false,style:{"position":Ext.isIE?"relative":"absolute"},x:d+"px",y:m+"px",id:"login-page-panel",cls:"login-page-panel",width:q,height:c,items:[i,b]});
var p=new Ext.Viewport({layout:"absolute",id:"page-container",frame:false,items:[l],listeners:{afterrender:function(){if(dbLogoUrl!=""||dbLogoUrl!=null){b.setPosition((i.getPosition()[0]+2),(i.getPosition()[1]+2));}},render:function(){if(Ext.isIE){var s=(k/2)-216;var t=(Ext.getCmp("page-container").getHeight()/2)-175;
if(Ext.getCmp("tab-container")){Ext.getCmp("tab-container").style={"margin-top":t+"px","margin-left":s+"px"};}else{if(Ext.getCmp("no-account-panel")){Ext.getCmp("no-account-panel").style={"margin-top":t+"px","margin-left":s+"px"};}}}},resize:function(){var v=(typeof window.innerHeight!="undefined"?window.innerHeight:window.screen.height);
var t=(typeof window.innerWidth!="undefined"?window.innerWidth:window.screen.width);var s=(t>1475?1475:t);var u=(v>1154?1154:v);if(s!=q||u!=c){window.location.href=window.location.href;}}},renderTo:Ext.getBody()});Ext.getCmp("j_username_dummy").focus();});Ext.apply(Ext.form.VTypes,{password:function(c,b){if(b.initialPassField){var a=Ext.getCmp(b.initialPassField);
return(c==a.getValue());}return true;}});function showAccountPopupWindow(e,a,b){var d=new Ext.FormPanel({frame:false,items:[{xtype:"fieldset",id:"account-url-popup-fieldset",labelWidth:100,collapsible:false,collapsed:false,autoHeight:true,bodyStyle:"padding:5px 5px 0",cls:"labelText",items:[{xtype:"box",id:"account-popup-msg",hidden:false,autoEl:{tag:"div",href:"#",html:this.custom_labels.LoginFormPanel_accountUrlDDLMsg},cls:"messageText"},{layout:"column",anchor:"0",border:false,items:[{text:this.custom_labels.LoginFormPanel_accountPopup_selectAccount,xtype:"label",width:90},{id:"account-urls-id",store:e,displayField:"AccountUrl",valueField:"AccountUrl",mode:"local",xtype:"combo",allowBlank:false,width:200,height:100,triggerAction:"all",forceSelection:true,listeners:{select:function(h,f,g){if(checkAccountExpired(f.data.AccountExpired)){if(b){Ext.getCmp("forgot-password-popup").submitForm(f.data.Id);
}else{submitLoginFormInfo(f.data.Id,f.data.AccountUrl,f.data.EnableSSL);}}}}},{width:100,layout:"form",border:false,items:{xtype:"label",ctCls:"acct-url-suffix",text:a}}]}]}]});var c=new Ext.Window({title:custom_labels.LoginFormPanel_accountPopup,closable:true,modal:true,width:450,height:130,resizable:false,draggable:false,items:[d]});
c.show();}function submitLoginFormInfo(e,a,b){var d=Ext.getCmp("login-form").getForm();var c=getHomeUrl(a,b);Ext.getCmp("j_username").setValue(Ext.getCmp("j_username").getValue()+":"+e);d.getEl().dom.action=c+"/j_spring_security_check";d.getEl().dom.method="POST";d.getEl().dom.submit();}function getHomeUrl(a,c){var b=getSubDomain();
var e=urlProtocolHttps;var f=urlHttpsPort;if(!dbEnableSSL||!c){e=urlProtocolHttp;f=urlHttpPort;}else{e=urlProtocolHttps;f=urlHttpsPort;}var d=e+"://"+window.location.host;if(urlHttpsPort!=80&&urlHttpsPort!=443&&urlHttpPort!=80&&urlHttpPort!=443){d=replaceText(d,window.location.port,f);}if(b==custom_labels.LoginFormPanel_accountUrlPrefix){d=replaceText(d,custom_labels.LoginFormPanel_accountUrlPrefix,a);
}if(b==""){d=e+"://"+a+"."+window.location.host;d=replaceText(d,window.location.port,f);}return d;}function checkAccountExpired(a){if(a=="true"){document.location.href="login.do?msg=error.user.discountCodeExpired";}else{return true;}}function getNoAccountFoundMessage(){var a=custom_labels.LoginPanel_noAccountFoundText;
a=replaceText(a,"$URL$",getReviewpadGeneralUrlWithProtocol());a=replaceText(a,"$DISPLAY_URL$",getReviewpadGeneralUrlWithoutProtocol());return a;}function handleSignupXHRCalls(a,d,c){var b=new Ext.data.Connection();b.timeout=lookup_codes.Application_timeoutDuration;b.request({url:a,params:d,callback:function(m,l,g){if(l){switch(d.action){case"FORGOT-PASSWORD-ACTION":if(parseXMLResult(g.responseXML)){var k=Ext.DomQuery.selectValue("MessageKey",g.responseXML);
document.location.href="login.do?msg="+k;}else{Ext.getCmp("forgot-password-verification-image").refreshImage();Ext.getCmp("forgot-password-verification-image-text").setValue("");}break;case"GET-ACCOUNTS-FROM-EMAIL-ACTION":if(parseXMLResult(g.responseXML)){var h="."+serverDomainUrl;var i=new Ext.data.XmlReader({record:"Feature",fields:[{name:"Id"},{name:"Name"}]});
var e=new Ext.data.Store({data:g.responseXML,autoLoad:true,reader:new Ext.data.XmlReader({record:"Account",id:"id"},[{name:"Id",mapping:">Id"},{name:"AccountUrl",type:"string"},{name:"AccountExpired"},{name:"EnableSSL",mappings:"Features",convert:(function(){return function(q,t){var p=i.readRecords(t).records;
var s=false;for(var r=0,o=p.length;r<o;r++){if(p[r].data.Name==lookup_codes.FEATURE_SSL){s=true;}}return s;};})()}]),listeners:{load:function(o,n,p){var q=o.getCount();if(q==0){document.location.href="login.do?msg=error.user.loginFailed.badCredentials";}else{if(q==1){if(checkAccountExpired(o.getAt(0).get("AccountExpired"))){submitLoginFormInfo(o.getAt(0).get("Id"),o.getAt(0).get("AccountUrl"),o.getAt(0).get("EnableSSL"));
}}else{if(q>1){showAccountPopupWindow(o,h,false);}}}},loadexception:function(q,p,n,o){Ext.Msg.alert("Error",custom_labels.ht.get("error.app.getAccounts"));}}});}break;case"ENCRYPTED-PASS":if(parseXMLResult(g.responseXML)){var j=g.responseXML.getElementsByTagName("Root")[0].firstChild.nodeValue;createCookie("remPassword",j,lookup_codes.Application_cookieExpireDays);
submitLoginForm();}break;case"DECRYPTED-PASS":if(parseXMLResult(g.responseXML)){var f=g.responseXML.getElementsByTagName("Root")[0].firstChild.nodeValue;Ext.getCmp("j_password").setValue(f);break;}}}}});}
