﻿var SMARTFOCUS_SEARCHBOX = "Search";
var MSG_SHOW_TITLE_CONTENT = "Show Title & Content";
var MSG_SHOW_CONTENT = "Show content";
var MSG_SHOW_TITLE_ONLY = "Show Title Only";
var MSG_HIDE_CONTENT = "Hide content";
var MSG_DELETEFAILED = "The record(s) can not be deleted. You may have no permission to the selected record(s) or the associated record(s) that will be deleted or updated accordingly.";
var MSG_DELETEFAILED_SOME = "Some record(s) can not be deleted. You may have no permission to the selected record(s) or the associated record(s) that will be deleted or updated accordingly.";

var MSG_AUTOFILL_TITLE = "Auto Fill";
var MSG_INFO_TITLE = "Information";


var MSG_SELECTPHOTO = "Select a photo";
var MSG_SELECTVIDEO = "Select a video";
var MSG_SELECTMUSIC = "Select a music";
var BTNS_SELECTPHOTO = { "Select": function () { InsertPhotoToHTMLEditor(_ename + "-" + _aname); } };
var BTNS_SELECTVIDEO = { "Select": function () { InsertVideoToHTMLEditor(_ename + "-" + _aname); } };
var BTNS_SELECTMUSIC = { "Select": function () { InsertMusicToHTMLEditor(_ename + "-" + _aname); } };


var MSG_CONFIRMDELETE_TITLE = "Delete Record(s)";
var MSG_CONFIRMDELETE_CONTENT = "Are you sure you want to delete the selected record(s)?";
var MSG_DELETERECORD_TITLE = "Delete Record(s)";
var MSG_DELETEFROMGRID_WAIT = "Deleting the selected record(s) ...";
var MSG_WARNING_INPUT_TITLE = "Invalid value";
var MSG_INVALIDDATETIME = "Invalid date and time. Correct format is 'MM/DD/YYYY HH:mm:ss";
var MSG_INVALIDINPUTLEN = "The max length of the input is {0} charactors.";
var MSG_INVALIDINT = "Invalid integer number.";
var MSG_INVALIDPHONENUMBER = "Invalid phone number, please start with the country code followed by a dash charactor. i.e. 1.604.7632828 or 86-10-64291363.";
var MSG_INVALIDPERCENT = "Invalid percentage.";
var MSG_INVALIDCURRENCY = "Invalid currency.";
var MSG_INVALIDDECIMAL = "Invalid decimal number.";
var MSG_INVALIDURL = "The url has to start with http:// , https:// , wap:// or ftp:// .";
var MSG_INVALIDEMAIL = "Invalid email address.";
var MSG_INVALIDCOLOR = "Invalid color.";
var MSG_CONFIRMHTMLSAVE_TITLE = "HTML Editor";
var MSG_CONFIRMHTMLSAVE_RECORD = "Do you want to save the record before switch back to preview mode?";
var MSG_CONFIRMHTMLSAVE_CONTENT = "Do you want to save the content before switch back to preview mode?";
var MSG_CONFIRMJUMPSAVE_TITLE = "Jump to another record";
var MSG_CONFIRMJUMPSAVE_CONTENT = "Do you want to save the current record before jumping to another record?";
var MSG_WARNING_REQFIELD_TITLE = "Please provide value to required fields.";
var MSG_WARNING_REQFIELD = "The following fields are required fields. <br> {0}";

var MSG_AUTOFILLLINKNAME_WAIT = "Automatically sync the name of the link ...";
var MSG_SELECTRECORD = "Please select a record.";
var MSG_LISTREFRESH_TITLE = "Refresh";
var MSG_LISTREFRESH = "Refresh is in progress ...";
var MSG_LISTREFRESHERROR = "Sorry, the refresh is failed.";
var MSG_ERROR_AUTHENTICATION_TITLE = 'Authentication Failed';
var MSG_ERROR_AUTHENTICATION = 'Your request was failed because of authentication error. It may be caused by the expiration of the login session.';
var MSG_SAVECONTENT_WAIT = "Saving the content ...";
var MSG_SAVECONTENT_TITLE = "Save the content";
var MSG_SAVERECORD_WAIT = "Saving the record ...";
var MSG_SAVERECORD_TITLE = "Save the record";
var MSG_CLONERECORD_WAIT = "Cloning the current record ...";
var MSG_CLONERECORD_CONFIRM = "Are you sure you want to clone the current record?";
var MSG_CLONERECORD_TITLE = "Clone the current record";
var MSG_SAVECONTENT_TITLE = "Save the content"
var MSG_SAVECONTENT_SUCCESS = "The content has been saved successfully."
var MSG_DEACTIVATERECORD_TITLE = "Deactivate the record";
var MSG_DEACTIVATERECORD_SELECTSTATUS = "Record Deactivation - Select a status";
var MSG_DEACTIVATERECORD_WAIT = "Deactivating the record ...";
var MSG_ACTIVATERECORD_TITLE = "Activate the record";
var MSG_ACTIVATERECORD_WAIT = "Activating the record ...";
var MSG_ACTIVATERECORD_SELECTSTATUS = "Record Activation - Please select a status";
var MSG_BLOGITEM_SYNCCONTENT = "The content of the article is not editable because it synchronized with the content of the regarding record.";
var MSG_SAVINGQUERY_TITLE = "Save the custom query.";
var MSG_SAVINGQUERY_WAIT = "Saving the custom query ...";
var MSG_CREATEQUERYRSSFEED_TITLE = "Create the RSS Feed of the current query.";
var MSG_CREATEQUERYRSSFEED_WAIT = "Creating the RSS Feed of the current query ...";
var MSG_CREATEQUERYRSSFEED_ERROR = "System error. The RSS Feed of the current query can not be created. Please try again later.";


var MSG_EXPORTQUERY_TITLE = "Export data from the current query";
var MSG_EXPORTQUERY_WAIT = "Exporting data from the current query";
var MSG_EXPORTQUERY_ERROR = "System error. The data of the current query can not be exported. Please try again later.";
var TITLE_ADMINFORM = "System/Admin Information";
var MSG_RANK_TITLE = "Rank the record";
var MSG_RANK_WAIT = "Ranking the record ...";
var MSG_PUBLISH_TITLE = "Publish the record";
var MSG_PUBLISH_WAIT = "Publishing the record ...";
var MSG_PUBLISH_DONE = "The record has been published successfully. It can be read by everybody now.";
var MSG_UNPUBLISH_TITLE = "Unpublish the record";
var MSG_UNPUBLISH_WAIT = "Unpublishing the record ...";
var MSG_PUBLISH_DONE = "The record has been unpublished successfully.";
var MSG_FILEUPLOAD_SAVING = "Saving file to the database ...";
var MSG_FILEUPLOAD_UPLOADING = "Uploading file to the server ...";
var MSG_FILEUPLOAD_SUCCESS = "The file was uploaded successfully ...";
var MSG_FILEUPLOAD_FAIL = "The file failed to upload ...";
var MSG_AUTOFILLLINKNAME_TITLE = "Auto fill the page title";
var MSG_AUTOFILLLINKNAME_WAIT = "Loading the title of the web page ...";

var MSG_NEEDFLASH = "This feature requires the Adobe Flash Player. <a href='http://www.adobe.com/go/getflash/' target='_blank'>Get Flash</a> <br/><a href='http://www.adobe.com/go/getflash/' target='_blank'><img src='/Images/GetFlashPlayer.gif'/></a>";
var MSG_DELETEFILE_TITLE = "Delete the selected file(s)";
var MSG_DELETEFILE_WAIT = "Deleting the selected file(s) ...";
var MSG_APPLYTEMPLATE_TITLE = "Merge the reocrd to the template.";
var MSG_APPLYTEMPLATE_CONTENT = "This operation will save your current record first before doign the content merge.";
var MSG_APPLYTEMPLATE_WAIT = "Content merge is in progress ...";
var MSG_ASSIGN_TITLE = "Assignment";
var MSG_ASSIGN_WAIT = "Assigning the record to a new owner ...";
var MSG_TAG_TITLE = "Tagging";
var MSG_TAG_WAIT = "Tagging the current record ...";
var MSG_ROLE_SAVEFIRSTTITLE = "Role Customization";
var MSG_ROLE_SAVEFIRST = "Please save the role first before managing privileges.";
var MSG_ROLE_SAVEPRIVILEGETITLE = "Privilege Customization";
var MSG_ROLE_SAVEPRIVILEGE = "Updating the privileges of the role ...";
var MSG_ROLE_SAVEPRIVILEGEDONE = "The privileges have been updated successfully.";
var MSG_SHARE_TITLE = "Share the record";
var MSG_SHARE_WAIT = "Sharing the record ...";
var MSG_LOAD_MORE = "Load More ...";
var BTNS_SHARE = { "Share it": function () { ShareIt(); }, "Cancel": function () { OnShareItClose(); } };
var MSG_SHARE_COMPLETE = "The record have been shared successfully.";
var MSG_FEATURE_NOTREADY = "The feature is under construction.";
var MSG_DELETEQUERY_TITLE = "Delete Query";
var MSG_DELETEQUERY_CONTENT = "Are you sure you want to delete the current query?";
var MSG_DOCPREVIEW_SAVEFIRST = "Please save the document first before using preview function.";
var MSG_HIDENAV_TITLE = "Hide Navigation Treeview Item";
var MSG_DATABASEUPDATE_WAIT = "Updating the database ...";
var MSG_SHOWNAV_TITLE = "Show Navigation Treeview Item";
var MSG_MOVENAV_TITLE = "Move Navigation Treeview Item";
var MSG_LOOKUP_ENTERKEY = "Press 'Enter' key to submit the search.";
var MSG_LOOKUP_CREATEINLINE = "To create a new record.";
var MSG_LOADRSSFEED_TITLE = "RSS Feed Title";
var MSG_LOADRSSFEED_WAIT = "Loading the title of the RSS Feed.";
var MSG_CREATEEMAIL_TITLE = "Create Email";
var MSG_CREATEEMAIL_WAIT = "Creating email for the selected recipients.";
var MSG_SAVELIST_TITLE = "Save List/Query Customization";
var MSG_SAVEFIRST = "Please save the record first before using this function.";
var MSG_CREATEBLOGFROMFORM_TITLE = "Create blog article";
var MSG_CREATEBLOGFROMFORM_WAIT = "Creating a blog article based on the current record ...";
var MSG_SETDEFAULTQUERY_TITLE = "Default Query";
var MSG_SETDEFAULTQUERY_WAIT = "Setting the default query";
var MSG_SETDEFAULTQUERY_SUCCESS = "The default query has been set successfully.";
var MSG_ERROR_ORGNAMENEEDED = "Please provide the name of your organization ";
var MSG_QUOTEPRODUCT_SELECTPRODUCT = "Please select a product.";
var MSG_QUOTEPRODUCT_AUTOFILLPRODPRICE = "Automatically fill the product price";
var MSG_QUOTEPRODUCT_UPDATEPRICE = "Loading and updating prices";
var TITLE_JUMPRECORD = "Jump to another record";

var BTNS_JUMPRECORD = { "Jump": function () { JumpTo(); } };
var MSG_NORECORDRETURNED = "There's no record returned.";
var MSG_UPDATERECORDIDFAILED = "Note: Only the ID of a record that was not lookuped by any other record can be updated.";
var MSG_UPDATERECORDID = "Please provide a new ID.";
var TITLE_UPDATERECORDID = "Update ID";
var BTNS_UPDATERECORDID = { "Update": function () { UpdateRecordID($('#po_newid').val()); }, "Cancel": function () { HideDialog(); } };

var MSG_LEARNINGPLAN_ERROR_TITLE = "Error";
var MSG_LEARNINGPLAN_PLEASE_WAIT_TITLE = "Please wait";
var MSG_LEARNINGPLAN_OPTIONAL_ACCEPT_CONTENT = "Accepting...";
var MSG_LEARNINGPLAN_OPTIONAL_REFUSE_CONTENT = "Refusing...";
var MSG_LEARNINGPLAN_SUCCEED_TITLE = "Succeed";
var MSG_LEARNINGPLAN_OPTIONAL_ACCEPT_SUCCEED_CONTENT = "Accept success";
var MSG_LEARNINGPLAN_OPTIONAL_REFUSE_SUCCEED_CONTENT = "Refuse success";
var MSG_LEARNINGPLAN_UPDATE_ELEMENT_ACTIVITY_CONTENT = "Updating element state...";
var TITLE_HTMLEDITIMG = "Insert/Edit an image";
var MSG_LEARNINGPLAN_ACTIVITY_RECORD_DELETE_CONTENT = "Deleting...";
var MSG_LEARNINGPLAN_ACTIVITY_RECORD_DELETE_SUCCEED_CONTENT = "Delete success";
var MSG_LEARNINGPLAN_CREATE_LEARNINGPLANACTIVITY_TITLE = "Create learning plan acticity";
var MSG_LEARNINGPLAN_CREATE_LEARNINGPLANACTIVITY_CONTENT = "Do you want create new Learning Plan Acticity? ";
var MSG_LEARNINGPLAN_CREATELEARNINGPLANACTIVITY_WAIT = "Creating learning plan acticity ...";
var MSG_OPENLEARNINGPLANACTIVITY_TITLE = "Open learning plan acticity";
var MSG_OPENLEARNINGPLANACTIVITY_CONTENT = "The new Learning Plan Acticity is created successfully . Do you want to open the page ? ";
var BTNS_OKHIDEMSGDLG = { "OK": function () { HideMessageDialog(); } };
var BTNS_CONTENTAUDIT = { "Cancel": function () { $("#po_caudit").remove(); HideMessageDialog(); return; }, "Save": function () {
    HideMessageDialog();
    if ($("#_dchkattr").val() != "") {
        CheckDuplicationOnSave();
    }
    else {
        ToSaveRecord();
    }
}
};

var MSG_CONTENTAUDIT_TITLE = "Content Audit";
var MSG_CONTENTAUDIT_REMIND = "Click 'Save' button you will save the record anyway or click 'Cancel' to modify the content.";
var MSG_AUDITSUBMIT_TITLE = "Audit Record";
var MSG_AUDITSUBMIT_WAIT = "Submitting the record to the auditor ...";
var MSG_AUDIT_C = "Are you going to apporve the record?";
var MSG_AUDIT_WAIT = "Submitting the audit result ...";
var BTNS_AUDIT = { "Approve": function () { HideMessageDialog(); AuditRecord($("#_ename").val(), _lpbtn.attr("iid"), true); }, "Reject": function () { HideMessageDialog(); AuditRecord($("#_ename").val(), _lpbtn.attr("iid"), false); } };
var MSG_AUDIT_APPROVED = '<div class="ui-state-highlight ui-corner-all" style="padding:2px;"><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span>The record has been approved.</div>';
var MSG_AUDIT_REJECTED = '<div class="ui-state-error ui-corner-all" style="padding:2px;"><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>The record has been rejected.</div>';
var MSG_AUDIT_SUBMITTED = '<div class="ui-state-highlight ui-corner-all" style="padding:2px;"><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span>The record is waiting for audit.</div>';



//-------LP ---------------------------------------------------------------------------------------------------------

var MSG_SALESORDERPRODUCT_SELECTPRODUCT = "Please select a product.";
var MSG_SALESORDERPRODUCT_AUTOFILLPRODPRICE = "Automatically fill the product price";
var MSG_SALESORDERPRODUCT_UPDATEPRICE = "Loading and updating prices";
var TTIP_SELALL = "Click here to select all records";
var TTIP_UNSELALL = "Click here to unselect all records";
var MSG_CALENDAR_UPDATING = "Please try again later, the calendar update is in progress ...";
var MSG_SAVECALGRP_TITLE = "Create/Update Calendar Group";
var MSG_SAVINGCALGRP_WAIT = "Saving calendar group ...";
var MSG_LIST_SCHEDULEHIDDEN = "<p><b>Any change to the schedule on this tab will be ignored.</b><br/>The current list was defined for the alert. The schedule settings will be automatically synchronized and updated by the schedule defined in the alert.</p>";
var TTIP_LIST_BTN_INLINEEDIT = "Save the current record";
var MSG_LIST_INLINEEDIT_RESIZING = "Resizing ...";
var MSG_CONFIRMDEL_TITLE = "Delete Confirmation";
var MSG_CONFIRMDELCALGRP_CONTENT = "Are you sure you want to delete the selected calendar group?";
var MSG_DELETECALGRP_TITLE = "Delete Calendar Group";
var MSG_DELETECALGRP_WAIT = "Deleting the calendar group ...";
var MSG_SETDEFAULTCALGRP_TITLE = "Set the default calendar group";
var MSG_SETDEFAULTCALGRP_WAIT = "Updating the default calendar group ...";
var MSG_SETDEFAULTCALGRP_DONE = "The current calendar group has become your default group.";
var MSG_FORMATCURRENCY = "Updating ...";
var MSG_REPORTSNAPSHOT_SELREPORT = "Please select a report first.";
var MSG_REPORTCREATESNAPSHOT_TITLE = "Generate Report Snapshot";
var MSG_REPORTCREATESNAPSHOT_WAIT = "Generating the report snapshot.";
var MSG_REPORT_RUNREPORTFIRST = "Please run the current report first.";
var MSG_REPORT_SAVEFIRST = "Please save the report first.";
var MSG_FORM_INLINEEDITTITLE = 'Inline display/edit the current lookup record.'

var MSG_MMCREATE_TITLE = "Create Many-Many Records";
var MSG_MMCREATE_WAIT = "Creating many-many records ...";

var MSG_CAL_LOADINGACTIVITIES = "Loading activities";
var MSG_CAL_LOADINGACTIVITY = "Loading activity";
var MSG_CAL_LOADINGCALENDAR = "Loading calendar";
var MSG_CHANGECURRENTROLE = "Changing menu profile ...";
var MSG_TASKSUBMIT_CONTENT = "Task has been submitted successfully, do you want to view your task list now?";

var MSG_DUPLICATION_TITLE = "Duplication Warnning";
var MSG_DUPLICATION_C = "There's already a record with the same value in the '{0}' field. Click 'Save' button you will save the record anyway or click 'Cancel' to modify the duplicated value.";
var BTNS_DUPLICATION = { "Cancel": function () { HideMessageDialog(); return; }, "Save": function () { OnCheckDuplicationOnSave("00000000-0000-0000-0000-000000000000"); } };
var MSG_NEWALERT_SAVEQUERYFIRST = "To create business alert on a customized query, please save your query first.";
var MSG_NEWALERT_TITLE = "New Business Alert";
var MSG_NEWALERT_WAIT = "Creating a new business alert based on the current query ...";
var MSG_CONFIRMNEWALERT_C = "Do you want to create a new business alert based on the current query with a new associated business list?";
var MSG_NEWALERT_ERROR = "Sorry, The new business alert can not be created at the moment, please try again later.";

var MSG_NEWBIZLIST_SAVEQUERYFIRST = "To create business list on a customized query, please save your query first.";
var MSG_NEWBIZLIST_TITLE = "New Business List";
var MSG_NEWBIZLIST_WAIT = "Creating a new business list based on the current query ...";
var MSG_CONFIRMNEWBIZLIST_C = "Do you want to create a new business list based on the current query?";
var MSG_NEWBIZLIST_ERROR = "Sorry, The new business list can not be created at the moment, please try again later.";

var MSG_CALENDARMOVEWITEM_TITLE = "Update multi-day activity";
var MSG_CALENDARMOVEWITEM_WAIT = "Changing the selected multi-day activity to be an intra-day activity";
var MSG_CALENDARMOVEWITEM_C = "Do you want to change the selected multi-day activity to be an intra-day activity?";

var MSG_CAL_ATLEASTONETYPE = "At least one type of activity should be selected.";
var MSG_CAL_NOPERMISSIONTONEW = "You have no permission to create new activity.";
var MSG_CAL_ATLEASTONECAL = "At least one calendar should be selected.";


var MSG_CONFIRMDELETE_TITLE = "Delete Record(s)";
var MSG_CONFIRMDELETE_CONTENT = "Are you sure you want to delete the selected record(s)?";
var MSG_DELETERECORD_TITLE = "Delete Record(s)";
var MSG_DELETEFROMGRID_WAIT = "Deleting the selected record(s) ...";

var MSG_CONFIRMDELETEACTIVITY_CONTENT = "Are you sure you want to delete the selected activity?";
var MSG_DELETEACTIVITY_TITLE = "Delete Activity";
var MSG_DELETEACTIVITY_WAIT = "Deleting the selected activity ...";
var MSG_CAL_CALLISTNOCHANGE = "There's no change to the current list.";
var MSG_CALACTIVITYUPDATE_TITLE = "Calendar Activity";
var MSG_CALACTIVITYUPDATE_WAIT = "Updating calendars to the current activity.";

var MSG_CONFIRMRESTOREDELETEDRECORD_TITLE = "Restore the deleted record(s)";
var MSG_CONFIRMRESTOREDELETEDRECORD_CONTENT = "Are you sure you want to restore the selected record(s)?";
var MSG_CONFIRMRESTOREDELETEDRECORD_WAIT = "Restoring the selected record(s)";
var MSG_RESTOREDELETEDRECORD_FAILED = "Some records were not restored successfully.";

var MSG_CONFIRMEMPTYDELETEDRECORD_TITLE = "Empty the list of selected records";
var MSG_CONFIRMEMPTYDELETEDRECORD_CONTENT = "Are you sure you want to empty the list of selected records?";
var MSG_CONFIRMEMPTYDELETEDRECORD_WAIT = "Deleting all deleted records";
var MSG_EMPTYDELETEDRECORD_FAILED = "Failed to empty the list of deleted records.";

var MSG_PRIVILEGECHECK_TITLE = "Checking Privilege";
var MSG_PRIVILEGECHECK_FAILED = "You have no privilege to finish this operation.";

var MSG_WARNING_EDITNOTSAVED = "There's already an inline form opened. Please cancel or save your changes first.";

var MSG_SPELLCHECK_DONE = "The spell check was completed";
var MSG_SPELLCHECK_TITLE = "Spell Check";

var MSG_ADMININFONOTREADY = "Please check the system/admin information after creating the record.";

var MSG_WARNING_OPNOTAVAILABLE = "No permission to the operation.";
var MSG_OPNOTAVAILABLE = "Sorry, you do not have permission to do this operation. You may need to contact your system administrator for more privileges or purchase other products/services to have this operation available.";
var MSG_PRINT_TITLE = "Print";
var MSG_PRINTLIST_WAIT = "Printing the current query ...";
var MSG_PRINTLISTALL_WAIT = "Printing the records in all pages is an expensive operation, it may take several minutes. In the case of more than 1000 records, the browser may stop responding because of processing big volume of data and the returned pdf file may be up to 100M in the size.";
var MSG_PRINTLISTCONFIRMATION_CONTENT = "<div style='width:260px'><div  style='float:left;width:250px;padding-top:3px;'><input id='Print-Format' value='PDF' type='hidden' class='po-v'/><div style='float:left;' class='po-radio ui-widget-content ui-corner-all' onclick='SelectRadio(this);' code='PDF' id='Print-Format_PDF'><img src='/CSS/Themes/[THEME]/Images/po-btn_radio_on.gif'/></div><div class='po-radio-t'>&nbsp;PDF Format&nbsp;</div><div style='float:left;' class='po-radio ui-widget-content ui-corner-all' onclick='SelectRadio(this);' code='Excel' id='Print-Format_Excel'><img src='/CSS/Themes/[THEME]/Images/po-btn_radio_off.gif'/></div><div class='po-radio-t'>&nbsp;Excel Format&nbsp;</div></div>";
MSG_PRINTLISTCONFIRMATION_CONTENT = MSG_PRINTLISTCONFIRMATION_CONTENT + "<div class='po-islabel po-form-lbl' style='float:left;width:250px;padding-top:5px;'>Please provide a title. (Leave it empty if you <br/>want to print without title)</div>";
MSG_PRINTLISTCONFIRMATION_CONTENT = MSG_PRINTLISTCONFIRMATION_CONTENT + "<div style='float:left;width:250px;padding-top:3px;'><input type='text' id='po_list_printtitle' style='width:220px;' class='po-tb po-c2 ui-widget-content ui-corner-all' value='[TITLE]'/></div></div>";
var BTNS_PRINTLIST = { "Cancel": function () { HideMessageDialog(); return; }, "Print All": function () { PrintCurrentListAll(); }, "Print Current Page": function () { PrintCurrentListCurrent(); } };
var BTNS_EXPORTLIST = { "Cancel": function () { HideDialog(); return; }, "Export": function () { ExportQuery(); } };
var BTNS_CHANGEOWNER = { "Change Owner": function () { AssignNewOwner(); } };
var TITLE_CHANGEOWNER = "Select a user to be the new owner of the record";
var MSG_DELETEQUERY_WAIT = "Deleting the current query ...";
var MSG_SINGLEROLEPROFILE = "You have only one role profile.";
var MSG_SELECTROLEPROFILE_WARNING = "Please select one role profile.";
var TITLE_TAG = "Manage Tags";
var BTNS_TAG = { "Update Tags": function () { TagIt(_tagEName, _tagInstanceId, _tagFunc); } };
var BTNS_LPTAG = { "Tag it": function () { OnListPlayerTag(_lpEntityName, _lpInstanceId); } };
var BTNS_UPLOADDOCFROMFORM = { "Upload Next One": function () { ReadyForAnotherDocument(); } };
var TITLE_UPLOADDOC = "Upload";
var MSG_QUERYPLAN_TITLE = "Query Plan";
var MSG_CREATEQUERYPLAN_WAIT = "Creating query plan ...";
var MSG_DELETEQUERYPLAN_CONTENT = "Are you sure you want to delete the current query plan ?";
var MSG_DELETEQUERYPLAN_WAIT = "Deleting query plan ...";
var MSG_DELETEQUERYPLAN_SUCCESS = "The query plan was deleted successfully .";
var MSG_LOADQUERYPLAN_WAIT = "Loading query plan ...";
var MSG_SAVEQUERYPLAN_WAIT = "Saving query plan ...";
var MSG_SAVEQUERYPLAN_SUCCESS = "The query plan was saved successfully .";
var MSG_SAVEQUERYPLAN_FAIL = "There's no query plan to save .";

var MSG_MYPROFILE_TITLE = "My Profile";
var MSG_MYORG_TITLE = "My Organization";

var BTNS_SAVEUSRPROFILE = {
    "Save": function () { SaveUserProfile(false); },
    "Save & Close": function () { SaveUserProfile(true); },
    "Cancel": function () { $("#dlguserprofile").dialog("close"); }
};

var BTNS_SAVEORGPROFILE = {
    "Save": function () { SaveOrgProfile(false); },
    "Save & Close": function () { SaveOrgProfile(true); },
    "Cancel": function () { $("#dlgorgprofile").dialog("close"); }
};

var MSG_FOLLOW_TITLE = "Follow";
var MSG_FOLLOW_WAIT = "Following the selected user ...";
var MSG_FOLLOW_DONE = "You are now following {0}.";

var MSG_UNFOLLOW_TITLE = "Stop Following";
var MSG_UNFOLLOW_WAIT = "Stop following the selected user ...";
var MSG_UNFOLLOW_DONE = "You stopped following {0}.";

var DEFAULT_FONTNAME = "Times New Roman";

var MSG_SETCATEGORY_TITLE = "Set Category";
var MSG_SETCATEGORY_WAIT = "Set category...";
var MSG_SETCATEGORY_SUCCESS = "Set category successfully .";

var MSG_DISPLAY_TITLE = "Display ";
var MSG_DISPLAYLIST_TITLE = " List";


var MSG_CREATENEWUSER = "Create New User";
var MSG_SIGNUP = "Sign Up";



var LBL_QUICKSEARCH = "Quick Search";
var LBL_SAVECUST = "Save Customization";
var LBL_CANCELCUST = "Cancel Customization";

var BTNS_APPLYFILTER = { "Submit": function () { SubmitListQuery(); ShowList(); }, "GROUP OR": function () { Group('GROUP OR'); }, "GROUP AND": function () { Group('GROUP AND'); } };
var LBL_APPLYFILTER = "Apply Filter";

var LBL_EQ = "Equal To (=)";
var LBL_CONTAINS = "Contains";

var LBL_OR = "OR";
var LBL_AND = "AND";
var LBL_GRPOR = "GROUP OR";
var LBL_GRPAND = "GROUP AND";
var MSG_NOLISTRECORD = "No Record"
var LBL_CANCEL = "Cancel";
var LBL_SAVE = "Save";
var LBL_SELECT = "Select";
var LBL_NEWRECORD = "New Record";
var BTNS_TREEVIEWLOOKUPACT = { "Select": function (e) { _LoadTreeViewLookupSelectAction(_LoadTreeViewLookupControlId, $(e.target)); }, "New Record": function (e) { CreateFromTreeViewLookup($(e.target)); } };
var BTNS_TREEVIEWLOOKUP = { "Select": function (e) { SelectTreeViewLookup(_LoadTreeViewLookupControlId, $(e.target)); }, "New Record": function (e) { CreateFromTreeViewLookup($(e.target)); } }
var TITLE_LOOKUPRECORD = "Lookup Record";


/*Grid Start*/
var LBL_GRIDPAGEINFO = "Displaying {from} to {to} of {total} items";
var LBL_GRIDPROCESSING = "Processing, please wait ...";
var LBL_GRIDPAGE = "Page ";
var LBL_GRIDPAGEOF = " of ";
var LBL_GRIDPAGEOFEND = "";
/*Grid End*/

var BTNS_LOOKUPRECORD = { "Select": function () { SelectLookup(_LoadLookupId); $("#po_lookupdialog").dialog("close"); } };
var BTNS_LOOKUPRECORDACT = { "Select": function () { _LoadLookupDialogAction(_LoadLookupId); $("#po_lookupdialog").dialog("close"); } };
var TITLE_NEWACT = "Create a new activity";
var BTNS_SAVENEWADDRESS = { "Save New Address": function () { SaveAndPutToAddressOwner("win_po_quick_Address"); } };
var TITLE_NEWADDRESSDLG = "<img src='Images/EntityIcons/ico_Address.gif' align='left' style='margin-right:5px;'></img>New Address";
var BTNS_SAVEACTS = { "Save Activity": function () { OnSaveNewActivity(); }, "Cancel": function () { OnCloseNewActivityDialog(true, false); } };

var MSG_EXPORTEXCEL_TITLE = "Export";
var MSG_EXPORTEXCEL_WAIT = "Exporting to a Excel file ...";
var TITLE_MYEMAILACCT = "My Email Account";

var TITLE_UPDATEACT = "Update Activity";
var BTNS_UPDATEACT = { "Update Activity": function () { OnQuickEditActivity(); }, "Cancel": function () { OnCloseActivityQuickEditDialog(true, false); } };
var MSG_ALLACTSOFDAY = "All Activities of the day";

var MSG_EDITOR_APPLY_TEMPLATE_TITLE = "Apply the selected template";
var MSG_EDITOR_APPLY_TEMPLATE_WARNING = "The feature is available after saving the current record.";
var LBL_VIDEOSIZE = "Size (Width x Height):";
var LBL_PHOTOSIZE = "Size (Width x Height):";
var LBL_MUSICSETTINGS = "Player Settings:";
var LBL_VIDEOSETTINGS_SIMPLEPLAYER = "Simple Player";
var LBL_VIDEOSETTINGS_FULLPLAYER = "Full Player";
var LBL_VIDEOSETTINGS_HIDETITLE = "Hide Title";
var LBL_VIDEOSETTINGS_SHOWTITLE = "Show Title";
var LBL_PHOTOORISIZE = "Original Size";
var LBL_PHOTOCUSTSIZE = "Custom Size";

var MSG_CHANGETHEME = "Changing the current theme ...";
var TITLE_MYEMAILS = "My Emails";
var TITLE_MYNOTES = "My Notes";
var TITLE_MYQUESTIONS = "My Questions";
var TITLE_MYCALENDARS = "My Calendars";
var MSG_SELECTMENUPROFILE = "Select Menu Profile";
var MSG_TITLE_MULTILOOKUP = "Multi-Lookup";
var BTNS_SUBMITMULTILOOKUPS = { "Submit": function () {
    SubmitMultiLookup();
}
};

var TITLE_PICKCOLOR = "Pick a color";
var BTNS_COLORPICKERSEL = { "Select": function () { _colorPickerFunc() } };
var BTNS_SAVEQUERY = { "Save": function () { SaveQuery(); ShowList(); } };

var BTN_LP_SELCAT = { "Select": function () { OnListPlayerFilterByCategory(false); } };
var MSG_PLCAT_TITLE = "Assign Category";
var MSG_PLCAT_WAIT = "Assign category to the current record ...";
var MSG_PLCAT_SELECT = "Please select at least one category.";
var MSG_EDITRECORD = "Edit Record";

var MSG_LIKE_TITLE = "I like it";
var MSG_FTLIKE_WAIT = "{0} like this forum topic.";
var MSG_FTSHARE_TITLE = "Share this forum topic by email";
var MSG_FTSHARE_DONE = "this forum topic has been shared to the selected recipients by email.";

var MSG_APPLYSUCCESS = "Your application has been submitted successfully, please wait for the approval.";
var MSG_WAITUNTILLPREREQUESTDONE = "Please wait untill the previous request is finished.";

var LBL_SAVERECORD = "Save Record";

var TITLE_FORUM_BTNAPPROVE = "Approve the applications";
var TITLE_FORUM_BTNEDIT = "Edit the forum";
var TITLE_FORUM_BTNWAITAPPROVAL = "Waiting for the approval";
var TITLE_FORUM_BTNENTER = "Enter the forum";
var TITLE_FORUM_BTNAPPLY = "Apply to join the forum";


var BTNS_SAVEROLE = {
    "Save": function () { SaveRole(false); },
    "Save & Close": function () { SaveRole(true); },
    "Cancel": function () { $("#dlgrole").dialog("close"); }
};

var MSG_RANKRESULT = "<p>The rank of the current record is <span style='color:#006699;'><b>{0}</b></span>.</p><p><b>Note:</b><br/>1. Guest can only vote once.<br/>2. The valid user can vote once per hour.</p>";
var TITLE_RUNTIMEENVIRONMENT = "Runtime Environment Information";
var MSG_CONTENTURLNOTPROVIDED = "The url of the content page is not provided";

var TITLE_TOOLTIPDLG = "Tooltip";
