Greasy Fork is available in English.

WME URCom

This script is for replying to user requests the goal is to speed up and simplify the process. Thanks to Chat Jumper and URO+!

Pasang skrip ini?
Sugesti pemilik skrip

Kamu mungkin juga suka WME Send to Slack.

Pasang skrip ini
// ==UserScript==
// @name           WME URCom
// @description    This script is for replying to user requests the goal is to speed up and simplify the process. Thanks to Chat Jumper and URO+!
// @namespace      https://gitlab.com/WMEScripts
// @grant          none
// @grant          GM_info
// @version        2020.08.07.01
// @match          https://editor-beta.waze.com/*editor*
// @match          https://beta.waze.com/*editor*
// @match          https://www.waze.com/*editor*
// @author         tunisiano187 based on Rick Zabel '2014
// @license        MIT/BSD/X11
// @compatible     chrome firefox
// @supportURL      mailto:incoming+WMEScripts/URComments-French@incoming.gitlab.com
// @contributionURL https://ko-fi.com/tunisiano
// @icon			data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAOWtJREFUeNrtfQuQVNW19j7dM8yAvAURJIQZ3gJDlDijAxlQLCSCMSpEENDwG/+6lTj8QlVIJVZiMFX3llpFBPLfVAmWgBqJQQUVAQ1PBR2IXB0eKgwzgDwFBgaQYWa6+9yzOt3jmT37dc7e5/Tp7r2qTvX7cR7ft7619tprG0hbUM0I2HeZCv+PqU9v5l1k2lJzLoJ0Dk2fP6dNE0DWHH8jgOfU9ADcmgw0AWT98TY8eE30/SoBayoAuiYETQBZC3pDwXtVnGs3QHbyvCYDTQBZd1wNhc+pJgTTBRBNRe/xKrTQpgkg5cfTDZgNl695dX55wDYFAW+6+G5NBJoAMh70vPuG4G8bkudcVvbL3HeiFjQRaAJIC+CLgJ71HI9IDAe/zfr/orJcxuubmgw0AWQb6EXAbXC+x8nnnBKCG8CLgNtkfJ8X5KCJQBOAr8fKC9DbnzM4zzklA1kCcHJLu88iD1OQcERyCpoINAGkFPj4c4bA6wbnMe012m/4SQCs+7zHImQgqwo0EWgC8BX4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GQ2AkgypH8IUJikgYY3oy5GOJ3yI0h5w01YwIeXkbua+BrAkiZCmAlBO2vxxB7iC5kI4KYjQDsJca0IUckqExMhyTAA7TTfnsa+NpaecdM+e+koUHeKsGsAqIQ4/0G4/d4IYAoETghCdkuulrqawWQMUZTAjRQhrBbexhgJ4eYC/CzFABSSAhum2nSPL4Gv1YAaa0CRJQAokh6kudnfV7kOJqSigAhZ15eRt5r4GsCyGgSQIJEILI5OYamAwIQeQ4huYaaGvjaMmZtQIPy2HT4PaYD0HtBAAg5r7v3qqGmBr5WABmlBBBHDfBeNxjf5YQAVMh1L7voavBrAsio/eERARKI6w3K99CIxxQkABp4kQKga9BryzoCcEICPEJgeXlD8HedNMNwsrClyuYbGviaALJmvwwFpCB77ERXtvGymaYGvraMJgBREhAlBd5rpOdNlyTg5rEGvTZNAJJE4IQA3Bw/0yUZOPmsBr02TQAu9lMF2A2F4FQx1VYDX5smAAVA9vJYqUzQacBrc2z/CweYTRik6QkqAAAAAElFTkSuQmCC

// ==/UserScript==
//URO+ in order for the URO pop up not to be over the ur pin change the URO+ script find all 4 uroPopupX = markerXY.x + popupXOffset; and change it to uroPopupX = markerXY.x + popupXOffset + 40;
//to make this script find open URs faster change the number 1000 to something smaller this is in milliseconds 1000 = 1 second
//line 892 it looks like this setTimeout(URComments.LookForOpenedUR, 1000);  // 1 second search
//line 892 it looks like this setTimeout(URComments.LookForOpenedUR, 500);   // .5 second search
var URCommentVersion = GM_info.script.version;//var URCommentVersion = "1.5.4"; //branched from 0.9.3
var URCommentUpdateMessage = "yes"; // yes alert the user, no has a silent update.

/* Changelog
1.9.2 - Sizing Signature field
1.9.3 - Details about the Signature and the refresh need
1.9.4 - Relocate Signature settings
1.9.5 - Auto email errors
1.9.6 - Pictures in pills
1.9.7 - Pills corrections
1.9.8 - Title and pills updates
1.9.9 - Credits et corrections
1.9.10 - Bug closure text correction
1.9.11 - Design and some corrections
1.9.12 - icons before comments in the comments tab
1.9.13 - Don't complete comments, disable textarea and hide send button id the UR is locked (Out of editing area) or closed
1.9.14 - Adding Francais Belgique à la liste
2018.07.18.01 - New versionning numbers to ease the checks for last update
2018.08.04.01 - Adding the NL version
2018.08.08.01 - Signature even if no predefined answer found
2018.08.12.01 - Local version update
2018.08.15.01 - Adding the ability to add Titles in the comments part
2018.08.15.02 - Translator's name
2018.08.15.03 - Removing the open database option for now
2018.08.15.04 - Bad comment break the script
2018.08.15.05 - Title spaces
2018.08.15.06 - Test text moved
2018.08.16.01-03 - Design changes
2018.08.16.04 - Bug correction
2018.08.17.01 - Handling the ending dot on comments title that breaks the autocomplete
2018.08.18.01-03 - Change URCom logo + Design
2018.08.21.01
2018.09.02.01 - undefined mask
2019.05.19.01 - Adapt timeout to avoid useless messages
2019.08.15.01 - Adapt to the new WME version
2019.11.24.01 - Yellow Background if message from the user
2020.01.18.01 - Support of unknown reports
2020.01.18.02 - remove alert
2020.01.13.01 - Solving signature's return problem
2020.02.15.01 - Error version number
2020.04.12.01 - Add user's message in the (..) answer
2020.08.07.01 - Remove the line that hide the textarea
*/

//here is my todo; remove ur count, instruction link in new window

var URCommentVersionUpdateNotes = "UR Comments has been updated to " + URCommentVersion;
URCommentVersionUpdateNotes = URCommentVersionUpdateNotes + "\n" + "Allowing user send message even if it's not in their area.";

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////
////// Define items that need to be at the root level so they can be used inside functions
//////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////

//use this for counting how many times we waited for waze to finish a task..
//currently used to write to the console so the code is easier to debug
//in the future we might do actions if we waited to long
var PauseCount = "1";

//these are the names of the comments lists built into the script and will show up in the comment list drop down
var BoilerPlateCreatorsArray = [
	"URComDefault",
  "Custom",
    "Luxembourg",

//    "FRNL_Belgique", // Bilingue FR/NL maintainer Acidoxy
	"Francais_Belgique", //maintained tiniebongoetc https://greasyfork.org/fr/scripts/370207-wme-urcom-francais-belgique
	"Nederlands", //maintainer WimVandierendonck


];

//get the SelectedBoilerPlateCreator
var SelectedBoilerPlateCreator = localStorage.getItem('BoilerPlateCreators');
//console.log( SelectedBoilerPlateCreator);

//if the comment list hasn't been chosen default to the URComDefault's list
if (SelectedBoilerPlateCreator === "" || SelectedBoilerPlateCreator === null || SelectedBoilerPlateCreator === "rickzabel") {
    SelectedBoilerPlateCreator = "URComDefault";
    localStorage.setItem('BoilerPlateCreators', SelectedBoilerPlateCreator);
    //localStorage.setItem('BoilerPlateCreators', 'URComDefault');
}

//array that holds the comments
var URCommentsArray = [];

//these are the holders for the position in the comments list that the reminder and close messages are at
var ReminderPosistion = "";
var CloseNotIdentifiedPosistion = "";


var def_names = []; //default waze message array
var URC_Text = []; //URC text
var URC_URL = []; //URC text
var URC_Text_tooltip = []; //URC tool-tip text
var URC_USER_PROMPT = []; //URC Alerts, Confirmations, and orange box messages

//waze swaps out the close button on the UR window after you click send. we use this to grab the close and compare to the new one
var CloseButtonHolder = "";
//since we are scanning for open UR I need to keep track of the current urID so the comments can be overridden
var UrCommentLasturID = "";

//this is used to hold the info about the previous tab, before we auto switched tabs
var PreviousTab = null;
var PreviousTabPosistion = null;


//used to track if we are switching languages
var ChangeLanguage = false;

//return to zoom instead of zoom 0
var ReturnToCurrentZoom = "";

var UrCommentsIcon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAACyCAMAAAADO4efAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAApdQTFRFi87eP52+QZq6QZ6/Qpi2Qp+/RJWxRKDARZKtRaHARp68RqLBR6LBSI2lSKLCSKPCSaPCSaTCSoqgSqTDS6XDTIicTKXDTKXETYWYTabET4KUT6fET6fFUH+PUKjFUajFUajGUn2LUqnGU3qHU6rGVKvHVXeDVavHVnV+VqzIV63IWHJ6WXN7WXZ/WXeAWa3JWa7JWnR7WneAWnuFWq7JWq/JW3R8W3eAW3iAW3uFW3yFW3+KW67JXHV9XHyGXLDKXXZ9XYSQXbDKXbDLXbHKXnd+Xn6HXoWQXrHLX3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7eQSYJnT6hfrBHnTcVrWjfUrs15fdIbOwPDbAxMZDIAeEDQSTBYuGSwgG0Ff5MoyAB7F+Al4yYhd4QmMh0AcBTsPUSc4sR3idavYgD8RPyfJVd8Yv9Lou9rGYBEEgASSQBIJAEgkQSARBIAEkkASCQBIJFdJv8PUE5p9+y9SygAAAAASUVORK5CYII=";
var UrCommentsTextPic = "<img style=\"margin-bottom: 1px;\" height=\"12px;\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADh9JREFUeNrs3Vt24koQRNEWy/Ofstqf/bAxxiBUefYewV1CmRFV0L7bvu+/AICWi0cAAAoAAKAAAAAKAACgAAAAa3rzCICjbdt2+D8/2vd98+Thjzn0zwCBFQNdYQAFABDwCgIoAICQVwxAAQCEvVIACgAIe5QCUABA2KMQoAAAAh+FAAUAEPooBCgAgMBHIUABAAQ+ygAKACD0UQZQAAChjzKAAgAIfZQBFAAQ+qAMoACA4AdFAAUAhD4oAygAIPRBEUABAMEPigAKAAh+UAZQAEDogyKAAgCCHxQBFAAQ/KAIoACA4AdFQAEAwQ8oAgoACH5AEVAAQPADioACAIIfUAQUABD8gCKgAIDgB5QABQAEP6AIKAAg+AFF4NUuHgHCHzC3bgDAAgHcBigAIPgBRWAiXwEg/AHz7QYALAbAbYAbABD+gLl3AwAWAOA2QAEAwQ8oAQoACH9AEViF3wAg/AF7wg0AGGjATYACAMIfUAQUABD8gBKgAIDw57SL2/vlXUIBQPhjCXsnvYMoAFiyWK7eW+8pCgCWKBaod9o7rACARWlR4l33bisAYBlaiJgD77wCAJae5YfZMAsKAFhwlhxmxXwoAGChWWqYH/OiAGB5YYlhnsyPAoBFhaWFGTNPCgAWE5YUZs58KQBYRFhKmD/zpgBg+VhCYB7NnwKAZWPxgNk0iwoAFoxFA2bVbCoAWCiWC5hbc6oAYIlYKGCGzawCgMVhgYB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QPwh/cACD8QfCDGwAA4Q9uAHD6R/ADCgDCH8EPrMJXAMIfhD+4AQAQ/KAA4PSP4AcUAIQ/gh9QABD+CH5AAQAEP6AA4PSP4AcUAIQ/Qh9QABD+CH5AAQAEP6AA4PSP4AcUAOEPQh9QAIQ/CH5AARD+CH0ABQAEP4AC4PSP0AdQAIQ/Qh9AARD+CH1AAQAEP6AA4PSP0AcUAIQ/Qh9QABD+CH1AAUD4C32hDygAIPQBFACc/gU+gAIg/BH6AAqA8EfoAygAIPQBFACnfwQ+gAIg/BH6AAqA8EfgAygAIPQBFACnf4EPgAKAwAdAAUDgAygAIPQBFAAQ+AAKAAh8AAUAhD2AAgACH0ABQOADoAAg8AFQABD2ALzc9r7gPYVnPdzF/hywsAdQABheAoQ9QJuvAAKEPQBuAIbfAgh7ABSA4SVA2AOgAAwuAoIeAAUAAPixi0cAAAoAAKAAAAAKAACgAAAACgAAoAAAAAoAAKAAAAAKAACgAAAACgAAoAAAAAoAAKAAAAAKAACgAAAACgAAKAAAgAIAACgAAIACAAAoAACAAgAAKAAAgAIAACgAAIACAAAoAACAAgAAKAAAgAIAACgAAIACAAAoAACgAAAACgAAoAAAAAoAAKAAAAAKAACgAAAACgAAoAAAAAoAAKAAAAAKAACgAAAACgAAoAAAAAoAAKAAAIACAAAoAACAAgAAKAAAgAIAACgAAIACAAAoAACAAgAAKAAAgAIAACgAAIACAAAoAACAAgAAKAAAgAIAAAoAAKAAAAAKAACgAAAACgAAoAAAAAoAAKAAAAAKAACgAAAACgAAoAAAAAoAAKAAAAAKAABw1W8BBgCUZ6/RdwcXNwAAAABJRU5ErkJggg==\" />"; // Picture of the number of comments
var UrCommentsTimePic = "<img style=\"margin-bottom: 1px;\" height=\"12px;\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAACZlJREFUeNrs3eFqFEsUhVGP9Pu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ommentscommentsicon = "<img style=\"margin-bottom: 1px;\" height=\"12px;\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAQnNJREFUeNrsfQuUFNWd963unqdK/ABRHjNogjASVEAUlEd0QxbFbxnMxo0BNMfokcQYdUMC7sma3XOye5bH8SwmHkU2hkQUJWoEotGE0fDxWEckPBQjg4nCzAAqj/Bynt1dX92ia7xz+3/v/d+q6kdV1z2nTtf0vLqr6/e7v//bINHyaxkefs7v53ReD2aZGs/7/Zybn4mWzzdttLxdQwxwdb428kgCWPCbyO9hvo7IICKAkgO9l3MvSsHLzq4Cv+55RAYRAQT6eqmAp3OO2fF1yMFPAjA1gWwin1P9TQzQIyKICKCgoNcBq6FBBobL39X9vHXkuil5VJGE6ZEcIjKICKBogY8BuyH4GwYC+IYGufihAFTAxRKBqUEgXs2GiAQiAvD9mvgNehHgRWBXfc+tz0DXpjeRIMd8j//7uSKDiAgiAnB9PTDAdwN6GQHw34tpqgS3KkAEKBNJAmkByGUE4JYMIiKICKCogK8iAb8Pt/4BNwoAK+/9PHRNjogIIgIoOPB1QB/TfF7192WvR/S+VPY+BvBYEkgjn1OphogIIgLIOfB1bHoZKGOS52IeyCCmoQwwakAm/TEg1wF3GjhPaxADQSoFjM+gpInAiN6zdMfX2e1VQI0BgI8piEH1qONE1FUAupI/LXlMS4ANfT+NJBAdVeBXwlFEACWw62OBH5PsyhDwYwpQxxRf65oKur4AU2IGuNn50wCg0xKQpwXEkdYwGXSIoOTVgFHC79Mt8GUAFAEY2vlVh6FBHBjwG4rPHNohMTu+qQCtCPzOkRL8fEpBCipCkKkDDBGYEQGU7q6vA/yYBNgywMe5R52/gSGAmIDEVEsW2lORQBqx67PPp7hHN39D12cQqYESIQDDJfAJwXnteUDGFaCNA6CXEQNWIWCVgEoFiECRBlRAGrHDmwCwUwol4DymFESQEpgYuSICMyK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/>";
var URC_img_waze_editor = '<img height="15px;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAMAAADDpiTIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAXRQTFRF////P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+P52+WHJ6Z36E////k4eBRQAAAHl0Uk5TAAECAwQFBgcICQoLDA0ODxAREhMVFhcYGRobHB0eHyAhIiMkJSYnKCorLC0uLzAxMjM0NTY3ODk6Ozw+P0BBQkNERUZHSElKS0xNTk9QUVNUVVZXWFlaW1xdXl9gYWJjZGVnaGlqa2xtbm9wcXJzdHV2d3h5e3x9fioXu6UAABvwSURBVHja7V27q34xVs3OvYJvFF+Mik9EREREEUSwmspKsLS3srQ5f8HX2E1nK3ZqZzU2FjKgoCiCiA/GGUUdZ0ZHxZnqxOJ+jzx2cnbOSXKSk7Xv/d3v8bvfPUnWyto7++ShFAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWCw1kZoAtcW9t0bCDAf6BG7gQCTIn9NIhCgP2Q3EGBa7K/BAgL4c5OAAP7cJCCAPzcJCOjPzQEC+nOTgID+3BwgoD83Bwjoz00BAv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jgNUBMABLPC2UZ4GXcuF1omBjQ9wLsnhFP5JnNZtrsG9WEAAkeOEQIz6d2HD+vADEGeBtISBTAMD7AS++y/T8SADw/xY8A3EMcGnb60wjA8cDCkqx7DCwBIhLAbNXouhg2BnDf4LeItvp1OMuO3S+Gp4AbACrfyQd/tD0aSp13YQrVPLxFvNGvKXajMnAAGfMBbFj9M1cid4t9rTDuYiETSSGq03YJPJEAfgncjhpuAOSuU2E3JvF9gOMttg8MYA4J8GB1p9pFJMDH39/0STF/5Pzm78H8TYaZ9J4KenXYvb1Tr3JCQD4VxC2w9XKFtrewXzOJgk5w75EATJTgdnJXGJxIwiVBgH/mrGD7fmDAgPBuoQ2rMeHnT/TwgxIgLJ4fMbiJXW7LYGLwzyWA068Nv1A+HDjG1tP33cIjWGRqHx/cU8z95xwX9IrWIlOuDDt67BzzYQkQL/bm/lF7qun0bbO9V7W5QktewIiLJPab4TKEV2yuCWzH4nAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8G6sP8HyiYI89Zg0I4AAAAASUVORK5CYII=" />';

// Configure signature
var URComSignatures = localStorage.getItem('Signature');
if (URComSignatures !== "" && URComSignatures !== null && URComSignatures !=="undefined") {
    var URComSignature = "\r\
" + URComSignatures;
} else {
    URComSignatures='';
}

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////
////// bootstrap
//////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////


function urcToConsole(logtext) {
   //console.log('URComments: '+logtext);
}

//setup keyboard shortcut's header and add a keyboard shortcuts
function WMEKSRegisterKeyboardShortcut(ScriptName, ShortcutsHeader, NewShortcut, ShortcutDescription, FunctionToCall, ShortcutKeysObj) {
	//check for and add keyboard shourt group to WME
	try {
		var x = I18n.translations[I18n.currentLocale()].keyboard_shortcuts.groups[ScriptName].members.length;
	} catch (e) {
		//setup keyboard shortcut's header
		W.accelerators.Groups[ScriptName] = []; //setup your shortcut group
		W.accelerators.Groups[ScriptName].members = []; //set up the members of your group
		I18n.translations[I18n.currentLocale()].keyboard_shortcuts.groups[ScriptName] = []; //setup the shortcuts text
		I18n.translations[I18n.currentLocale()].keyboard_shortcuts.groups[ScriptName].description = ShortcutsHeader; //Scripts header
		I18n.translations[I18n.currentLocale()].keyboard_shortcuts.groups[ScriptName].members = []; //setup the shortcuts text
	}
	//check if the function we plan on calling exists
	if (FunctionToCall && (typeof FunctionToCall == "function")) {
		I18n.translations[I18n.currentLocale()].keyboard_shortcuts.groups[ScriptName].members[NewShortcut] = ShortcutDescription; //shortcut's text
		W.accelerators.addAction(NewShortcut, {
			group: ScriptName
		}); //add shortcut one to the group
		//clear the short cut other wise the previous shortcut will be reset MWE seems to keep it stored
		var ClearShortcut = '-1';
		var ShortcutRegisterObj = {};
		ShortcutRegisterObj[ClearShortcut] = NewShortcut;
		W.accelerators._registerShortcuts(ShortcutRegisterObj);

		if (ShortcutKeysObj !== null) {
		//add the new shortcut
		ShortcutRegisterObj = {};
		ShortcutRegisterObj[ShortcutKeysObj] = NewShortcut;
		W.accelerators._registerShortcuts(ShortcutRegisterObj);
		}
		//listen for the shortcut to happen and run a function
		W.accelerators.events.register(NewShortcut, null, function() {
			FunctionToCall();
		});
	} else {
		alert('The function ' + FunctionToCall + ' has not been declared');
	}

}

//if saved load and set the shortcuts
function WMEKSLoadKeyboardShortcuts(ScriptName) {
	if (localStorage[ScriptName + 'KBS']) {
		var LoadedKBS = JSON.parse(localStorage[ScriptName + 'KBS']); //JSON.parse(localStorage['WMEAwesomeKBS']);
		for (var i = 0; i < LoadedKBS.length; i++) {
			W.accelerators._registerShortcuts(LoadedKBS[i]);
		}
	}
}

function WMEKSSaveKeyboardShortcuts(ScriptName) {
	//return function() {
	var TempToSave = [];
	for (var name in W.accelerators.Actions) {
		//console.log(name);
		var TempKeys = "";
		if (W.accelerators.Actions[name].group == ScriptName) {
			if (W.accelerators.Actions[name].shortcut) {
				if (W.accelerators.Actions[name].shortcut.altKey === true) {
					TempKeys += 'A';
				}
				if (W.accelerators.Actions[name].shortcut.shiftKey === true) {
					TempKeys += 'S';
				}
				if (W.accelerators.Actions[name].shortcut.ctrlKey === true) {
					TempKeys += 'C';
				}
				if (TempKeys !== "") {
					TempKeys += '+';
				}
				if (W.accelerators.Actions[name].shortcut.keyCode) {
					TempKeys += W.accelerators.Actions[name].shortcut.keyCode;
				}
			} else {
				TempKeys = "-1";
			}
			var ShortcutRegisterObj = {};
			ShortcutRegisterObj[TempKeys] = W.accelerators.Actions[name].id;
			TempToSave[TempToSave.length] = ShortcutRegisterObj;
		}
	}
	localStorage[ScriptName + 'KBS'] = JSON.stringify(TempToSave);
	//}
}

//now we use this to load the arrays, but we wait till the me tab &loads, this gives the custom comments file a chance to also load
function URComments_bootstrap() {
    var SelectedBoilerPlateCreator = localStorage.getItem('BoilerPlateCreators');

    /////////////////////////////////////////////////////////////////////////////////////////////////////////////
    // these is the array used to store the ur comments
    // comment arrays should follow the format
    // "Title",     * is what will show up in the ur comment tab
    // "comment",   * is the comment that will be sent to the user currently
    // "URStatus"   * this is action to take when the option "Auto Click Open, Solved, Not Identified" is on.
    //					after clicking send it will click one of those choices. usage is. "Open", or "Solved",or "NotIdentified",
    /////////////////////////////////////////////////////////////////////////////////////////////////////////////

    if (SelectedBoilerPlateCreator === "URComDefault") {

        URCommentsArray = [
			"No further communication",
			"No further information was received and the request is being closed. As you travel, please feel welcome to report any map issues you encounter. Thanks!",
			"Solved", //t0cableguy 12/8/14 //rickzabel 12/8/14 , karlcr9911 12/8/14

			"Fixed",
			"Thanks to your report we have found and fixed a problem with the map. The fix should reach mobile devices within a few days. On rare occasions it can take closer to a week.", //GizmoGuy 4/13/15
			"Solved",

			"Address Adjustments",
			"Thanks! The address has been adjusted. This should reach mobile devices within a few days. On rare occasions it can take closer to a week.", //GizmoGuy, t0cableguy, rickzabel 1/14/2015
			"Solved",

			"Address in correct spot",
			"The live map is currently showing your address in the correct spot. Please remove any instance of this address from your history and favorites by tapping the 'i' within the blue circle and then 'remove from history'. Then search for the address. If you don't remove the old results from your navigation or favorites, you will continue to be routed to the old coordinates. Please submit another report if this does not resolve your issue. Thanks!",
			"Solved", //karlcr9911 rickzabel 4/3/2015

			"The road has been closed",
			"Volunteer responding - Thank you for your report. The road has been closed.", //GizmoGuy, t0cableguy, rickzabel 1/14/2015
			"Solved", //requested by SkiDooGuy //changed to NotIdentified by karlcr9911 4/3/2015 //7/22/2015 changed to Solved by karlcr9911

			"Fixed Speed Limit",
			"The missing/incorrect speed limit you reported has been updated. Thank you!",
			"Solved", //karlcr9911 rickzabel

			"Address fishing",
			"Waze does not tell us your starting or ending destinations. Would you tell us your destination as you entered it into Waze? Thanks!", //rickzabel i use this one after i sent a message with Volunteer responding 1
			"Open",

			"Errors with no text",
			"Volunteer responding - Waze did not send us enough information to fix your request. Would you please let us know what went wrong with the route Waze gave you? Would you tell us your destination as you entered it into Waze? Thanks!", //rickzabel 12/8/14
			"Open",

			"Reminder message", //do not change (rickzabel)
			"Just a reminder: We have not received a response on your report. If we don't hear back from you soon, we will infer everything is okay and close the report. Thanks!", //GizmoGuy, t0cableguy, rickzabel 1/14/2015
			"Open",

			"No reply close message",
			"The problem was unclear and volunteers didn't receive a response, so we are closing this report. As you travel, please feel welcome to report any map issues you encounter. Thanks!", //GizmoGuy, t0cableguy, rickzabel 1/14/2015
			"NotIdentified",

			"Speed Limit Already Set",
			"Volunteer responding; The speed limit here is already set correctly. In the future, please submit speed limit requests near the point where the speed limit changes. If the speed limit change is temporary due to construction, please advise and provide additional details. If you would like to see speed limits at all times while using the app, please go to Settings > Speedometer > Show speed limit.  Thank you!",
			"NotIdentified", //rickzabel karlcr9911 8/31/2016

			"App Bug",
			"Unfortunately, In this situation, there is nothing wrong with the map that we can adjust to prevent issues with the app. Please report this to https://support.google.com/waze/answer/6276841",
			"NotIdentified", //twintiggrz, t0cableguy, rickzabel 12/27/2015

			"Bad GPS",
			"Volunteer responding - It appears that your device was having GPS trouble. GPS signals do not travel through vehicles or tall buildings. Please make sure your device is somewhere with a clear view of the sky.", //rickzabel 12/18/2014
			"NotIdentified",

			"Valid Route",
			"Volunteer responding - We reviewed the issue and did not find any map errors. It looks like Waze provided you with a valid route. Try the Waze suggested route a few times, as it may turn out to actually be faster. If not you'll be teaching Waze that that route is slower, and the faster route will become preferred.", //GizmoGuy, t0cableguy, rickzabel 1/14/2015
			"NotIdentified",

			"Valid Left turns",
			"Volunteer responding - If you wait and complete the left turn, it may actually be faster than the alternative. If it’s not faster, your wait time will contribute to Waze’s database, thus helping to discourage the routing server from suggesting left turns at that intersection. We also suggest if you do not feel comfortable making such left turns, you can always go another route and let Waze recalculate.", //karlcr9911 4/4/15 //rickzabel 4/5/15
			"NotIdentified",

			"Valid Left turns 2",
			"Volunteer responding – We cannot disable legal turns only because they are difficult. If you wait and complete the left turn, it may actually be faster than the alternative. If it’s not faster, your wait time will contribute to Waze’s database, thus helping to discourage the routing server from suggesting left turns at that intersection. We also suggest if you do not feel comfortable making such left turns, you can always go another route and let Waze recalculate.", //karlcr9911 4/4/15 //rickzabel 4/5/15
			"NotIdentified",

			"Valid but Difficult Route",
			"Volunteer responding – We cannot disable legal routes only because they are difficult. If you wait and complete the route, it may actually be faster than the alternative. If it’s not faster, your wait time will contribute to Waze’s database, thus helping to discourage the routing server from suggesting the route. We also suggest if you do not feel comfortable, you can always go another route and let Waze recalculate.", //karlcr9911 4/4/15 //rickzabel 4/5/15
			"NotIdentified",

			"Missing place",
			"Volunteer responding - Thank you for reporting a missing place.  Anytime you find a a place that is missing from the waze app you can add it from the app by tapping the Pin icon > Place. After taking a picture of the place please add as many details as you can. Thanks!",
			"NotIdentified",


			"California double yellow",
			"Volunteer responding, In California it is perfectly legal to make a left turn across one double yellow line. Turning across two double yellow lines, spaced apart 2 feet or more, is considered a barrier, and is illegal to cross. Thanks!", //rz 2/26/15 //karlcr9911 4/4/15
			"NotIdentified",

			"Detours / Odd-Routing",
			"Volunteer responding - We can't find anything on the map to explain the route Waze gave you. Waze will route complex detours to save a few seconds. We are very sorry to say that map editors cannot be helpful in this situation. Thanks!", //rickzabel 4/18/20115
			"NotIdentified",

			"Overall Waze complaint",
			"Volunteer responding - You can help make Waze better by reporting problems as you find them. Please include as many details as possible? Thanks!",
			"NotIdentified", //rickzabel Pesach 12/22/14

			"Report to local municipality",
			"Volunteer responding - We are only able to help with map issues. This should be reported to the local municipality. Please feel welcome to report any map issues you encounter. Thanks!", //GizmoGuy, t0cableguy, rickzabel 1/14/2015
			"NotIdentified",

			"No user transponder (avoid tolls)",
			"Volunteer responding -  While Waze attempts to route you to your destination efficiently, it does not know if you have a toll transponder. To avoid tolls, there is an option under Settings > Navigation or after clicking GO tap Routes and select one without the toll icon. Thanks!", //rickzabel 11/24/2016
			"NotIdentified",

			"No user transponder",
			"Volunteer responding - While Waze attempts to route you to your destination efficiently, it does not know if you have a toll transponder.  We are very sorry to say that the volunteer map editors cannot be much help here. As you travel, please feel welcome to report any map issues you encounter. Thanks!", //rickzabel karlcr9911 4/18/2015
			"NotIdentified",

			"Not Using HOV",
			"Waze does not have the ability to know you meet the HOV criteria. Driving into the HOV lane should force Waze to recalculate your route. Afterwards you should be allowed to stay in the HOV lane. Thanks!", //rickzabel 12/14/14
			"NotIdentified",

			"U-turns",
			"Volunteer responding - Currently Waze will not tell you to make a \"U-turn\". It will route you in several left/right turns to effectively create a U-turn. This is a programming issue that cannot be changed by the volunteer map editors. We understand that Waze is working on a fix. Thanks!", //GizmoGuy, t0cableguy, rickzabel 1/14/2015
			"NotIdentified",

			"Traffic - Stale Information",
			"Map editors are unable to remove traffic jams. You can help clear traffic reports by tapping \"not there\" when prompted or by traveling through the intersection at normal speed.", // rickzabel 7/22/2015 //t0cableguy 7/22/2015
			"NotIdentified",

			"Traffic - Jams",
			"To report a traffic jams please use the Waze app by clicking the pin in the lower right and then clicking Traffic Jam. Traffic Jam reports can help route you and other Wazers around traffic problems in real-time. Thanks!", // reworded - rickzabel 12/7/2014, karlcr9911 12/8/14
			"NotIdentified",

			"Signal Avoidance Bug",
			"There are no issues with the intersection’s turn restrictions. Waze's developers are working on a fix for this issue. We do not have an ETA. Please feel free to use the turn until the issue is resolved. Thanks!", //GizmoGuy, t0cableguy, rickzabel 1/14/2015
			"NotIdentified",

			"Already included restrictions",
			"This restriction is already included in the map, Waze should not route through this illegal turn. If Waze ever gives you a route through a restricted turn, please send another Map Issue report at that time. Thanks!",
			"NotIdentified", //rickzabel Pesach 12/27/14

			"1000 mile limit",
			"The search and navigation capabilities of Waze are limited to 1000 miles. When driving further than that distance you will need to select a destination less than 1000 miles as your temporary destination.", //karlcr9911 4/5/15 //rickzabel 4/5/15
			"NotIdentified",

			"Temporary road blockage",
			"Volunteer responding - If the road is completely blocked, use the Report > Closure feature for you and others to be rerouted around it. Otherwise please use Report > Traffic. At a minimum Waze is learning that that route is slower, and a faster route will become preferred.", //GizmoGuy, t0cableguy, rickzabel 1/14/2015
			"NotIdentified",

			"Temporary Road Closure",
			"Volunteer responding - For closures that last only a few days, the volunteer map editors cannot be much help. It takes at least that long for our edits to make it to the live map! When you encounter road closures in the future, please use the Report > Closure feature built into the Waze app. Thanks!",
			"NotIdentified",

			"Temporary Road Closure",
			"Do you know how long the road is going to be closed? For closures that last only a few days, the volunteer map editors cannot be much help. It takes at least that long for our edits to make it to the live map! When you encounter short-term road closures in the future, please use the Report > Closure feature built into the Waze app. If this is a long-term closure please respond and let us know as much as you can. Thanks!", // reworded - rickzabel 12/7/2014, karlcr9911 12/8/14
			"Open",

			"Closure clean-up",
			"Due to daily changing closures we are closing out the old requests to concentrate on the newest ones. For closures that last only a few days, the volunteer map editors cannot be much help. It takes at least that long for our edits to make it to the live map! When you encounter short-term road closures in the future, please use the Report > Closure feature built into the Waze app. Thanks!", //rickzabel 12/28/14
			"NotIdentified",

			"Thanks for the reply",
			"Thank you for the reply! This request will be closed. As you travel, please feel welcome to report any map issues you encounter.",
			"NotIdentified", //rickzabel 12/27/14

			"No further communication",
			"No further information was received and the request is being closed. As you travel, please feel welcome to report any map issues you encounter. Thanks!", //t0cableguy 12/8/14 //rickzabel 12/8/14 , karlcr9911 12/8/14
			"NotIdentified", // same comment different action based off UR status rickzabel 12/7/14, karlcr9911 12/7/14 // one sentence? rickzabel 12/7/14 t0cableguy 12/8/14

			"water non-editable",
			"This particular water feature is not editable by the volunteer editors, feel free to report this to support at https://support.google.com/waze/",
			"NotIdentified",

			"Clear TTS Cache",
			"Please clear your Text-to-Speech cache. In the navigate search box type cc@tts in the search field and press search. You will get a message that the TTS file has been cleared. Your TTS cache will be re-populated as you use routing.. Thanks!", //GizmoGuy411  t0cableguy rickzabel 2015-04-04
			"NotIdentified", //t0cableguy This should be a last chance option for fixing the issue.04-04-2015  //rickzabel 04-04-2015

			"<br>",
			"",
			"",

			"Problem appears corrected",
			"Just a reminder: The problem appears to be corrected. Please let us know if you are continuing to have the issue. If we do not hear from you in a few days we will close this report. Thanks!",
			"Open", //karlcr9911 12/7/14 t0cableguy 12/8/14 //rickzabel 12/8/14

			"Clears comment & sets UR status to Open",
			"",
			"Open",

			"Include Users Description",
			"Volunteer responding - You reported \"$URD\" and Waze did not send us enough information to fix your request. Would you please let us know what went wrong with the route Waze gave you? Would you tell us your destination as you entered it into Waze? Thanks!",
			"Open",

			//selected segments requires the use of https://greasyfork.org/en/scripts/9232-wme-panel-swap
			"Include selected segments names",
			"Volunteer responding - You reported a problem near $SELSEGS, Waze did not send us enough information to fix your request. Would you please let us know what went wrong with the route Waze gave you? Would you tell us your destination as you entered it into Waze? Thanks!",
			"Open",

			"Wrong Street Name",
			"Volunteer responding - Waze did not send us enough information to fix your request. Would you please let us know which street name you think is wrong and what it should be? Thanks",
			"Open", //rickzabel Pesach 12/22/14


			"<br>",
			"",
			"",

			//Default URs  6 through 22 are all the different types of UR that a user can submit do not change them thanks
			"Incorrect turn", //6
			"Volunteer responding - Would you please let us know what turn you are having a problem with? Would you tell us your destination as you entered it into Waze? Thanks!", //rickzabel 12/9/14
			"Open",

			"Incorrect address", //7
			"Volunteer responding - Waze did not send us enough information to fix your request. Would you tell us your destination as you entered it into Waze? What is the problem you are having with this address? Thanks!", //rickzabel 12/8/14
			"Open",

			"Incorrect route", //8
			"Volunteer responding - Waze did not send us enough information to fix your request. Would you please let us know what went wrong with the route Waze gave you? Would you tell us your destination as you entered it into Waze? Thanks!", //rickzabel 12/9/14
			"Open",

			"Missing roundabout", //9
			"Volunteer responding - Would you tell us as much as possible about the roundabout you believe is missing? Thanks!",
			"Open",

			"General error", //10
			"Volunteer responding - Waze did not send us enough information to fix your request. Would you please let us know what went wrong? Would you tell us your destination as you entered it into Waze? Thanks!", //rickzabel 12/9/14
			"Open",

			"Turn not allowed", //11
			"Volunteer responding - Would you please let us know which turn was or should not be allowed and why? Please specify the street names at the intersection. Thanks!", //rickzabel 2/26/15
			"Open",

			"Incorrect junction", //12
			"Volunteer responding - Waze did not send us enough information to fix your request. Would you please let us know what went wrong with the route Waze gave you? Would you tell us your destination as you entered it into Waze? Thanks!", //rickzabel 12/9/14
			"Open",

			"Missing bridge overpass", //13
			"Volunteer responding - Would you please let us know what overpass you believe is missing? When moving at highway speeds, Waze deliberately chooses not to display some nearby features to avoid cluttering the screen. Would you tell us as much as possible about the missing overpass. Thanks!", //rickzabel 12/9/14
			"Open",

			"Wrong driving direction", //14
			"Volunteer responding - Waze did not send us enough information to fix your request. Would you please let us know what went wrong with the route Waze gave you? Would you tell us your destination as you entered it into Waze? Thanks!", //rickzabel 12/9/14
			"Open",


			"Missing Exit", //15
			"Volunteer responding - Waze did not send us enough information to fix your request. Would you please let us know as much as possible about the missing exit? Thanks!", //rickzabel 12/9/14
			"Open",

			"Missing Road", //16
			"Volunteer responding - Would you tell us as much as possible about the road you believe is missing? Thanks!", //rickzabel 12/9/14
			"Open",


			"Missing Landmark", //18
			"Volunteer responding - Would you tell us as much as possible about the landmark you believe is missing? Thanks!",
			"Open",

			/*
			"Blocked Road", //19
			"Volunteer responding -",
			"Open",

			"Missing Street Name", //21
			"Volunteer responding -",
			"Open",

			"Incorrect Street Prefix or Suffix", ///22
			"Volunteer responding -",
			"Open",



			*/

			"Speed Limit", //23
			"Waze did not send us enough information to fix your request. Would you please tell us as much as possible about the issue regarding the speed limit? In the future please submit requests near the point where the speed limit changes. If the speed limit change is temporary due to construction, please advise and provide additional details. If you would like to see speed limits at all times while using the app, please go to Settings > Speedometer > Show speed limit. Thanks!",
			"Open", //rickzabel


			"<br>",
			"",
			"",
			//End of Default URs

			"User Followed Waze's route",
			"Volunteer responding - It appears that you followed the route Waze suggested. Would you please let us know what went wrong with the route Waze gave you? Would you tell us your destination as you entered it into Waze? Thanks!", //reworded rickzabel 12/7/2014
			"Open",

			"Alley Interference",
			"Volunteer responding - Waze does not let the us know where you were going, although it was probably adjacent to the alley. Would you tell us your destination as you entered it into Waze? Thanks!", //rickzabel 12/9/14
			"Open",

			"Road Closed",
			"Volunteer responding - Would you please let us know the following; What road is closed?; between which intersections is this road closed; Do you know how long this road is scheduled to be closed? Thanks!", //rickzabel 12/9/14
			"Open",

			"Area Entrances",
			"We have had problems with Google pins being placed in the center of large landmarks. Delete your previous search and do a new search for the location. Go to the bottom of the auto fill list to see more results and make sure you pick the Waze search engine.",
			"Open",

			"48 Hour Reply",
			//"Please allow 48 hours for changes to be reflected in the live map.",
			"We made some changes to the map, please allow up to 48 hours for the changes to be reflected on the live map.", //rickzabel 12/7/14 //t0cableguy 12/8/14, karlcr9911 12/8/14
			"Open",

			"Clear Saved Locations",
			"To get an updated result, remove the location from your navigation history and then search for the location again.", //t0cableguy 12/8/14, karlcr9911 12/8/14
			"Open",

			"Address - Incorrect Position",
			"Can you tell us the address or if you can revisit visit the location, please show us the correct position by using the Report > Places feature. Before you save move as close as possible to the entrance. Please do not submit pictures containing faces, license plates, or personal details. Thanks!", //rickzabel t0cableguy 04-04-2015
			"Open",

			"Address - Missing from Map",
			"Volunteer responding - Would you let us know the address that is missing? The available resources do not have the address available for your location. You can use the Report > Places feature in Waze to mark the location. Before you save move close as possible to the entrance. Do not submit pictures containing faces, license plates, or personal details. Thanks!", //rickzabel 4/5/2015 //t0cableguy 4/5/2015
			"Open",

			"Address - Bad Results",
			"Search results in Waze are retrieved from numerous sources. After tapping search, Scroll to the bottom and you will see options for other search engines. Please try a different option as another search engine might have the address you are looking for", //rickzabel 12/9/14
			"Open",

			"House Number Adjustment",
			"I've forced Waze to re-register the house number for your destination. I believe this should correct your issue. Please allow up to 48 hours for changes to be reflected in the live map. If you have the location in your saved searches or favorites, please remove them and re-add the destination. Please let me know if you continue to experience this problem by submitting another error report. Thanks!", //rickzabel 12/7/14 //karlcr9911 12/8/14
			"Open",

			"Missing Bridges or Roads",
			"The roads for this area are thoroughly mapped and the volunteer editors cannot find anything missing from the map. When you are moving, Waze deliberately chooses not to display some nearby features to avoid cluttering the screen. If you are certain a feature is missing from the map, please reply and tell us as much as possible about it. Thanks!", //rickzabel karlcr9911 4/18/2015
			"Open",

			"Manual Refresh",
			"Please try doing these options. Tap the Search Icon > Settings gear icon > Display & Map > Data Transfer > Refresh map of my area. Secondly, you can try clearing Waze's app cache in your phone’s app manager. The final option is to reset the app by going to the navigation screen and type ##@resetapp in search field and hit search.", // rickzabel 11/24/16
			"Open",

			"Pave Road",
			"Volunteer responding - You can pave the road from the app by tapping the Pin icon > Map Issue > Pave Road tab. After leaving the paved road, tap Start paving. Once done, tap the Steamroller > Stop paving. You can provide information about the new road such as its name by tapping on the Pin icon > Map Issue > Missing Road. Thanks!", //karlcr9911 4/5/15 //rickzabel 4/5/15 removed single quotes
			"Open",

			"Unlock request",
			"I have started the process to get this issue fixed. Thanks for your report!", //GizmoGuy, t0cableguy, rickzabel 1/14/2015
			"Open"
        ];

        //auto insertion config:
        //the position in the list that the reminder message is at. (counting titles, comments, and ur status)
        ReminderPosistion = 24;

        //the position of the close as Not Identified message that you have in the list (the first comment is the list is 0)
        CloseNotIdentifiedPosistion = 27;

        //Waze's default URs number to name conversion array
        //Thanks to SuperMedic

        def_names[6] = "Incorrect turn";
        def_names[7] = "Incorrect address";
        def_names[8] = "Incorrect route";
        def_names[9] = "Missing roundabout";
        def_names[10] = "General error";
        def_names[11] = "Turn not allowed";
        def_names[12] = "Incorrect junction";
        def_names[13] = "Missing bridge overpass";
        def_names[14] = "Wrong driving direction";
        def_names[15] = "Missing Exit";
        def_names[16] = "Missing Road";
        def_names[18] = "Missing Landmark";
        def_names[19] = "Blocked Road";
        def_names[21] = "Missing Street Name";
        def_names[22] = "Incorrect Street Prefix or Suffix";
		def_names[23] = "Speed Limit";  //speed limit ur type is number 23

        //zoom out links
        URC_Text[0] = "Zoom Out 0 & Close UR";
        URC_Text_tooltip[0] = "Zooms all the way out and closes the UR window";

        URC_Text[1] = "Zoom Out 2 & Close UR";
        URC_Text_tooltip[1] = "Zooms out to level 2 and closes the UR window (this is where I found most of the toolbox highlighting works)";

        URC_Text[2] = "Zoom Out 3 & Close UR";
        URC_Text_tooltip[2] = "Zooms out to level 3 and closes the UR window (this is where I found most of the toolbox highlighting works)";

        URC_Text_tooltip[3] = "Reload the map";

        URC_Text[4] = "UR count : ";
        URC_Text_tooltip[4] = "Number of URs Shown on screen";

        //tab names
        URC_Text[5] = "Comments";
        URC_Text[6] = "UR Filtering";
        URC_Text[7] = "Settings";

        //UR Filtering Tab
        URC_Text[8] = "Click here for Instructions";
		URC_Text_tooltip[8] = "Instructions for UR filtering";
		URC_URL[8] = "https://docs.google.com/presentation/d/1zwdKAejRbnkUll5YBfFNrlI2I3Owmb5XDIbRAf47TVU/";

        URC_Text[9] = "Enable URComments UR filtering";
        URC_Text_tooltip[9] = "Enable or disable URComments filtering";

        URC_Text[10] = "Enable UR pill counts";
        URC_Text_tooltip[10] = "Enable or disable the pill with UR counts";

        URC_Text[12] = "Hide Waiting";
        URC_Text_tooltip[12] = "Only show URs that need work (hide in-between states)";

        URC_Text[13] = "Only show my URs";
        //URC_Text_tooltip[13] = "Hide UR where there are zero comments from the logged in editor";
        URC_Text_tooltip[13] = "Hide URs where you have no comments";

        URC_Text[14] = "Show others URs past reminder + close";
        URC_Text_tooltip[14] = "Show URs that other commented on that have gone past the reminder and close day settings added together";

        URC_Text[15] = "Hide URs Reminder needed";
        URC_Text_tooltip[15] = "Hide URs where reminders are needed";

        URC_Text[16] = "Hide URs user replies";
        URC_Text_tooltip[16] = "Hide UR with user replies";

        URC_Text[17] = "Hide URs close needed";
        URC_Text_tooltip[17] = "Hide URs that need closing";

        URC_Text[18] = "Hide URs no comments";
        URC_Text_tooltip[18] = "Hide URs that have zero comments";

        URC_Text[19] = "hide 0 comments without descriptions";
        URC_Text_tooltip[19] = "Hide URs that do not have descriptions or comments";

        URC_Text[20] = "hide 0 comments with descriptions";
        URC_Text_tooltip[20] = "Hide URs that have descriptions and zero comments";

        URC_Text[21] = "Hide Closed URs";
        URC_Text_tooltip[21] = "Hide closed URs";

        URC_Text[22] = "Hide Tagged URs";
        URC_Text_tooltip[22] = "Hide URs that are tagged with URO+ style tags ex. [NOTE]";

        URC_Text[23] = "Reminder days: ";
        //URC_Text_tooltip[23] = "";

        URC_Text[24] = "Close days: ";
        //URC_Text_tooltip[] = "";

        //settings tab
        URC_Text[25] = "Auto set new UR comment";
        URC_Text_tooltip[25] = "Auto set the UR comment on new URs that do not already have comments";

        URC_Text[26] = "Auto set reminder UR comment";
        URC_Text_tooltip[26] = "Auto set the UR reminder comment for URs that are older than reminder days setting and have only one comment";

        URC_Text[27] = "Auto zoom in on new UR";
        URC_Text_tooltip[27] = "Auto zoom in when opening URs with no comments and when sending UR reminders";

        URC_Text[28] = "Auto center on UR";
        URC_Text_tooltip[28] = "Auto Center the map at the current map zoom when UR has comments and the zoom is less than 3";

        URC_Text[29] = "Auto click open, solved, not identified";
        URC_Text_tooltip[29] = "Suppress the message about recent pending questions to the reporter and then depending on the choice set for that comment Clicks Open, Solved, Not Identified";

        URC_Text[30] = "Auto save after a solved or not identified comment";
        URC_Text_tooltip[30] = "If Auto Click Open, Solved, Not Identified is also checked, this option will click the save button after clicking on a UR-Comment and then the send button";

        URC_Text[31] = "Auto close comment window";
        URC_Text_tooltip[31] = "For the user requests that do not require saving this will close the user request after clicking on a UR-Comment and then the send button";

        URC_Text[32] = "Auto reload map after comment";
        URC_Text_tooltip[32] = "Reloads the map after clicking on a UR-Comment and then send button. This does not apply to any messages that needs to be saved, since saving automatically reloads the map. Currently this is not needed but I am leaving it in encase Waze makes changes";

        URC_Text[33] = "Auto zoom out after comment";
        URC_Text_tooltip[33] = "After clicking on a UR-Comment in the list and clicking send on the UR the map zoom will be set back to your previous zoom";

        URC_Text[34] = "Auto switch to the UrComments tab";
        URC_Text_tooltip[34] = "Auto switch to the URComments tab when opening a UR, when the UR window is closed you will be switched to your previous tab";

        URC_Text[35] = "Close message - double click link (auto send)";
        URC_Text_tooltip[35] = "Add an extra link to the close comment when double clicked will auto send the comment to the UR windows and click send, and then will launch all of the other options that are enabled";

        URC_Text[36] = "All comments - double click link (auto send)";
        URC_Text_tooltip[36] = "Add an extra link to each comment in the list that when double clicked will auto send the comment to the UR windows and click send, and then will launch all of the other options that are enabled";

        URC_Text[37] = "Comment List";
        URC_Text_tooltip[37] = "This shows the selected comment list. There is support for a custom list. If you would like your comment list built into this script or have suggestions on the Comments team’s list, please contact me at rickzabel @waze or @gmail";

        URC_Text[38] = "Disable done / next buttons";
        URC_Text_tooltip[38] = "Disable the done / next buttons at the bottom of the new UR window";

        URC_Text[39] = "Unfollow UR after send";
        URC_Text_tooltip[39] = "Unfollow UR after sending comment";

        URC_Text[40] = "Auto send reminders";
        URC_Text_tooltip[40] = "Auto send reminders to my UR as they are on screen";

        URC_Text[41] = "Replace tag name with editor name";
        URC_Text_tooltip[41] = "When a UR has the logged in editors name in the description or any of the comments of the UR (not the name Waze automatically adds when commenting) replace the tag type with the editors name";

        URC_Text[42] = "(Double Click)"; //double click to close links
        URC_Text_tooltip[42] = "Double click here to auto send - ";

		URC_Text[43] = "Dont show tag name on pill";
        URC_Text_tooltip[43] = "Dont show tag name on pill where there is a URO tag";

        URC_Text[44] = "Your signature";
        URC_Text_tooltip[44] = "Here you can set your signature, after making a change, please refresh your page to update the texts";

        URC_Text[45] = "c"; // Comment initial
        URC_Text_tooltip[45] = "Comments";

        URC_Text[46] = "d"; // Day initial
        URC_Text_tooltip[46] = "Days";

        URC_Text[47] = "Credits";
        URC_Text_tooltip[47] = "Credits/Contacts";

        URC_Text[48] = "Developper";
        URC_Text_tooltip[48] = "Developper's nickname";

        URC_Text[49] = "Traduction and comments";
        URC_Text_tooltip[49] = "Translator's nickname";

        URC_Text[50] = "Include the PS";
        URC_Text_tooltip[50] = "Include the PS in the text";

        URC_Text[51] = "Post scriptum";
        URC_Text_tooltip[51] = "Post scriptum";

        URC_Text[52] = "These options are still in test";

        URC_USER_PROMPT[0] = "URComments - You either have a older version of the custom comments file or a syntax error either will keep the custom list from loading. Missing: ";

        URC_USER_PROMPT[1] = "URComments - You are missing the following items from your custom comment list: ";

        URC_USER_PROMPT[2] = "List can not be found. You can find the list and instructions at https://wiki.waze.com/wiki/User:Rickzabel/UrComments/";

        URC_USER_PROMPT[3] = "URComments you can not set close days to zero";

        URC_USER_PROMPT[4] = "URComments - To use the double click links you must have the Auto click open, solved, not identified option enabled";

        URC_USER_PROMPT[5] = "URComments - Aborting FilterURs2 because both filtering, counts, and auto reminders are disabled";

        URC_USER_PROMPT[6] = "URComments: Loading UR data has timed out, retrying."; //this message is shown across the top of the map in a orange box, length must be kept short

        URC_USER_PROMPT[7] = "URComments: Adding reminder message to UR: "; //this message is shown across the top of the map in a orange box, length must be kept short

        URC_USER_PROMPT[8] = "URComment's UR Filtering has been disabled because URO+\'s UR filters are active."; //this message is shown across the top of the map in a orange box, length must be kept short

        URC_USER_PROMPT[9] = "UrComments has detected that you have unsaved edits!\n\nWith the Auto Save option enabled and with unsaved edits you cannot send comments that would require the script to save. Please save your edits and then re-click the comment you wish to send.";

        URC_USER_PROMPT[10] = "URComments: Can not find the comment box! In order for this script to work you need to have a UR open."; //this message is shown across the top of the map in a orange box, length must be kept short

        URC_USER_PROMPT[11] = "URComments - This will send reminders at the reminder days setting. This only happens when they are visible on your screen. NOTE: when using this feature you should not leave any UR open unless you had a question that needed an answer from the wazer as this script will send those reminders."; //conformation message/ question

        TranslatorsName = "@tunisiano187";

        //end URComDefault's list

    //custom other languages lists from external list
    } else {

        try {

            var CustomListError = false;
            var CustomErrorListText = "";
            var CustomErrorListCount = 0;

            //custom list
            URCommentsArray = eval("window.Urcomments" + SelectedBoilerPlateCreator + "Array2");

            //the position in the list that the reminder message is at. (starting at 0 counting titles, comments, and ur status)
            ReminderPosistion = eval("window.Urcomments" + SelectedBoilerPlateCreator + "ReminderPosistion");

            //the position of the close as Not Identified message (starting at 0 counting titles, comments, and ur status)
            CloseNotIdentifiedPosistion = eval("window.Urcomments" + SelectedBoilerPlateCreator + "CloseNotIdentifiedPosistion");

            //copy the waze default titles into the active ?
            //Waze's default URs number to name conversion array
            //Thanks to SuperMedic

            def_names[6] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "def_names[6]"); //"Incorrect turn";
             //console.log("URC: comment list error ");
            def_names[7] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "def_names[7]"); //"Incorrect address";
            def_names[8] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "def_names[8]"); //"Incorrect route";
            def_names[9] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "def_names[9]"); //"Missing roundabout";
            def_names[10] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "def_names[10]"); //"General error";
            def_names[11] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "def_names[11]"); //"Turn not allowed";
            def_names[12] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "def_names[12]"); //"Incorrect junction";
            def_names[13] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "def_names[13]"); //"Missing bridge overpass";
            def_names[14] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "def_names[14]"); //"Wrong driving direction";
            def_names[15] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "def_names[15]"); //"Missing Exit";
            def_names[16] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "def_names[16]"); //"Missing Road";
            def_names[18] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "def_names[18]"); //"Missing Landmark";
            def_names[19] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "def_names[19]"); //"Blocked Road";
            def_names[21] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "def_names[21]"); //"Missing Street Name";
            def_names[22] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "def_names[22]"); //"Incorrect Street Prefix or Suffix";
			def_names[23] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "def_names[23]"); //"Speed limits";


            //try {
            URC_Text[0] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[0]");
            URC_Text_tooltip[0] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[0]");

            URC_Text[1] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[1]");
            URC_Text_tooltip[1] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[1]");

            URC_Text[2] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[2]");
            URC_Text_tooltip[2] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[2]");

            URC_Text[3] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[3]");
            URC_Text_tooltip[3] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[3]");

            URC_Text[4] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[4]");
            URC_Text_tooltip[4] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[4]");

            URC_Text[5] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[5]");
            URC_Text_tooltip[5] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[5]");

            URC_Text[6] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[6]");
            URC_Text_tooltip[6] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[6]");

            URC_Text[7] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[7]");
            URC_Text_tooltip[7] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[7]");

            URC_Text[8] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[8]");
            URC_Text_tooltip[8] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[8]");
			URC_URL[8] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_URL[8]");

            URC_Text[9] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[9]");
            URC_Text_tooltip[9] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[9]");

            URC_Text[10] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[10]");
            URC_Text_tooltip[10] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[10]");

            URC_Text[11] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[11]");
            URC_Text_tooltip[11] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[11]");

            URC_Text[12] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[12]");
            URC_Text_tooltip[12] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[12]");

            URC_Text[13] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[13]");
            URC_Text_tooltip[13] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[13]");

            URC_Text[14] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[14]");
            URC_Text_tooltip[14] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[14]");

            URC_Text[15] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[15]");
            URC_Text_tooltip[15] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[15]");

            URC_Text[16] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[16]");
            URC_Text_tooltip[16] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[16]");

            URC_Text[17] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[17]");
            URC_Text_tooltip[17] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[17]");

            URC_Text[18] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[18]");
            URC_Text_tooltip[18] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[18]");

            URC_Text[19] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[19]");
            URC_Text_tooltip[19] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[19]");

            URC_Text[20] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[20]");
            URC_Text_tooltip[20] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[20]");

            URC_Text[21] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[21]");
            URC_Text_tooltip[21] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[21]");

            URC_Text[22] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[22]");
            URC_Text_tooltip[22] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[22]");

            URC_Text[23] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[23]");
            URC_Text_tooltip[23] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[23]");

            URC_Text[24] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[24]");
            URC_Text_tooltip[24] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[24]");

            URC_Text[25] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[25]");
            URC_Text_tooltip[25] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[25]");

            URC_Text[26] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[26]");
            URC_Text_tooltip[26] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[26]");

            URC_Text[27] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[27]");
            URC_Text_tooltip[27] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[27]");

            URC_Text[28] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[28]");
            URC_Text_tooltip[28] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[28]");

            URC_Text[29] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[29]");
            URC_Text_tooltip[29] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[29]");

            URC_Text[30] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[30]");
            URC_Text_tooltip[30] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[30]");

            URC_Text[31] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[31]");
            URC_Text_tooltip[31] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[31]");

            URC_Text[32] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[32]");
            URC_Text_tooltip[32] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[32]");

            URC_Text[33] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[33]");
            URC_Text_tooltip[33] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[33]");

            URC_Text[34] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[34]");
            URC_Text_tooltip[34] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[34]");

            URC_Text[35] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[35]");
            URC_Text_tooltip[35] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[35]");

            URC_Text[36] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[36]");
            URC_Text_tooltip[36] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[36]");

            URC_Text[37] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[37]");
            URC_Text_tooltip[37] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[37]");

            URC_Text[38] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[38]");
            URC_Text_tooltip[38] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[38]");

            URC_Text[39] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[39]");
            URC_Text_tooltip[39] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[39]");

            URC_Text[40] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[40]");
            URC_Text_tooltip[40] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[40]");

            URC_Text[41] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[41]");
            URC_Text_tooltip[41] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[41]");

            URC_Text[42] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[42]");
            URC_Text_tooltip[42] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[42]");

			URC_Text[43] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[43]");
			URC_Text_tooltip[43] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[43]");

			URC_Text[44] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[44]");
			URC_Text_tooltip[44] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[44]");

            URC_Text[45] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[45]");
			URC_Text_tooltip[45] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[45]");

            URC_Text[46] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[46]");
			URC_Text_tooltip[46] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[46]");

            URC_Text[47] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[47]");
			URC_Text_tooltip[47] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[47]");

            URC_Text[48] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[48]");
			URC_Text_tooltip[48] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[48]");

			URC_Text[49] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[49]");
			URC_Text_tooltip[49] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[49]");

            URC_Text[50] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[50]");
			URC_Text_tooltip[50] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[50]");

            URC_Text[51] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[51]");
			URC_Text_tooltip[51] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text_tooltip[51]");

			URC_Text[52] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_Text[52]");

            URC_USER_PROMPT[0] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_USER_PROMPT[0]");
            URC_USER_PROMPT[1] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_USER_PROMPT[1]");
            URC_USER_PROMPT[2] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_USER_PROMPT[2]");
            URC_USER_PROMPT[3] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_USER_PROMPT[3]");
            URC_USER_PROMPT[4] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_USER_PROMPT[4]");
            URC_USER_PROMPT[5] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_USER_PROMPT[5]");
            URC_USER_PROMPT[6] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_USER_PROMPT[6]");
            URC_USER_PROMPT[7] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_USER_PROMPT[7]");
            URC_USER_PROMPT[8] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_USER_PROMPT[8]");
            URC_USER_PROMPT[9] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_USER_PROMPT[9]");
            URC_USER_PROMPT[10] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_USER_PROMPT[10]");
            URC_USER_PROMPT[11] = eval("window.Urcomments" + SelectedBoilerPlateCreator + "URC_USER_PROMPT[11]");

            TranslatorsName = eval("window.Urcomments" + SelectedBoilerPlateCreator + "TranslatorsName");

        } catch (err) {
            alert("URC: All of the text in URC is now configurable within the custom comments file. Your comments file " + SelectedBoilerPlateCreator + " is outdated, has errors, or your language file is not installed please back up your comments. Then force update the comments file from greasyfork and paste your comments back into the custom comments file. Since there is an error the comments team's list will be chosen.");
            //console.log("URC: comment list error " + err);
            parent.location='mailto:incoming+WMEScripts/URComments-French@incoming.gitlab.com?subject=BEFR%20error&body=' + SelectedBoilerPlateCreator + " err : " + err;
            localStorage.setItem('BoilerPlateCreators', 'URComDefault');
            $("#sidepanel-Comments").html('');
            //reload the content
            ChangeLanguage = true;
            URComments_bootstrap();
            return false;
        }
    }
	/*var db = openDatabase("URCom" // actual database name.  Opens existing or creates.
		, "1" // version number.  *Must* be correct.
		, "Database to collect URs and call them back later" //
		, 10 * 1024*1024); // Size of the DB

	db.transaction(function(tx){
		tx.executeSql("CREATE TABLE IF NOT EXISTS `UR_List` (`id` int NOT NULL, `timetocheck` int NOT NULL, `inmyzone` int NOT NULL, `link` VARCHAR(255) NOT NULL )");
		tx.executeSql("ALTER TABLE `UR_List` ADD UNIQUE (id)");
	});*/
    URComments_init();
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////
////// init
//////
////////////////////////////////////////////////////////////////////////////////////////////////////////////

function URComments_init() {
    //urcToConsole("Start init 1");

    //create the URComments object
    var URComments = {};


    URComments.init = function() {
        //if we are changing the language do not redraw the tab
		//alert(ChangeLanguage)
        if (ChangeLanguage === false) {

            //CSS
            //expand the UR textarea so we can verfiy what comment we clicked on. special thanks to SeekingSerenity
            var g = '.ur-comment-list .comment-list { bottom: 200px !important; } .ur-comment-list .new-comment-form textarea { height: 140px !important; } .ur-comment-list .new-comment-form { height: 200px !important; }';

            var wazeheight = $(".view-area").height();
            if (wazeheight > 500) {
                //betaeditor commetn textarea
                g = g + '.new-comment-form .new-comment-text { height: 140px !important; }';
            }

            //css for items in my tab that are in a label (uro presets)
            g = g + '#sidepanel-Comments label { cursor:pointer; margin:0px 0px 0px; vertical-align: middle;font-size: 10px;}';

            //css for checkboxes
            g = g + '#sidepanel-Comments .URCommentsCheckbox { text-decoration:none; cursor:pointer; color: #000000; margin:0px 0px 0px; vertical-align: middle; font-size: 12px;}';

            //css for our comments,
            g = g + '#sidepanel-Comments .URComments { text-decoration:none; cursor:pointer; color: #000000; font-size: 12px;}'; // margin-top: 5px;

            //css for our uro presets,
            g = g + '#sidepanel-Comments .URCommentsPresets { text-decoration:none; cursor:pointer; color: #000000; font-size: 10px;}';

            //css for our nav tabs,
            g = g + '#comments-tab22 ul { font-size: 12px; padding: 0px;}';

            //css for our nav tabs links,
            g = g + '#comments-tab22 a { padding: 3px !important ; margin-right: 0px !important;}';

            // keep the padding on our nav tabs
            g = g + '#comments-tab22 nav-tabs { padding: 0px !important;}';

            //css for non selected UR opacity
            g = g + ".olMap.problem-selected .map-problem:not(.selected) { opacity: .5 !important;}";

            //css to fix the beta editors UR window
            g = g + '.problem-edit .section .title { line-height: 15px !important;  }';

            g = g + '.problem-edit .header { line-height: 15px !important; padding: 0px 15px!important; }';
            g = g + '.problem-edit .section .content { padding: 5px !important;}';

            //css to undo some of the changes from maximizer
            if ($("#sidebar").width() < 300) {
                g = g + '#sidebar { max-width: 290px !important;}';
                g = g + '.show-sidebar .row-fluid .fluid-fixed {margin-left: 290px !important;}';
            }

            //move description up a div
            g = g + '.problem-edit .description { background-color: white; overflow-x: hidden;  overflow-y: auto;  max-height: 80px; border-bottom: 2px solid #e9e9e9;}';


            //append our css to the head
            $("head").append($('<style type="text/css">' + g + '</style>'));

            //urcToConsole("Start adding the URComments's tab");
            //add comments tab
            var b = $('<li><a href="#sidepanel-Comments" data-toggle="tab" id="CommentsTab"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAOWtJREFUeNrtfQuQVNW19j7dM8yAvAURJIQZ3gJDlDijAxlQLCSCMSpEENDwG/+6lTj8QlVIJVZiMFX3llpFBPLfVAmWgBqJQQUVAQ1PBR2IXB0eKgwzgDwFBgaQYWa6+9yzOt3jmT37dc7e5/Tp7r2qTvX7cR7ft7619tprG0hbUM0I2HeZCv+PqU9v5l1k2lJzLoJ0Dk2fP6dNE0DWHH8jgOfU9ADcmgw0AWT98TY8eE30/SoBayoAuiYETQBZC3pDwXtVnGs3QHbyvCYDTQBZd1wNhc+pJgTTBRBNRe/xKrTQpgkg5cfTDZgNl695dX55wDYFAW+6+G5NBJoAMh70vPuG4G8bkudcVvbL3HeiFjQRaAJIC+CLgJ71HI9IDAe/zfr/orJcxuubmgw0AWQb6EXAbXC+x8nnnBKCG8CLgNtkfJ8X5KCJQBOAr8fKC9DbnzM4zzklA1kCcHJLu88iD1OQcERyCpoINAGkFPj4c4bA6wbnMe012m/4SQCs+7zHImQgqwo0EWgC8BX4op6aBX7R5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H8IUJikgYY3oy5GOJ3yI0h5w01YwIeXkbua+BrAkiZCmAlBO2vxxB7iC5kI4KYjQDsJca0IUckqExMhyTAA7TTfnsa+NpaecdM+e+koUHeKsGsAqIQ4/0G4/d4IYAoETghCdkuulrqawWQMUZTAjRQhrBbexhgJ4eYC/CzFABSSAhum2nSPL4Gv1YAaa0CRJQAokh6kudnfV7kOJqSigAhZ15eRt5r4GsCyGgSQIJEILI5OYamAwIQeQ4huYaaGvjaMmZtQIPy2HT4PaYD0HtBAAg5r7v3qqGmBr5WABmlBBBHDfBeNxjf5YQAVMh1L7voavBrAsio/eERARKI6w3K99CIxxQkABp4kQKga9BryzoCcEICPEJgeXlD8HedNMNwsrClyuYbGviaALJmvwwFpCB77ERXtvGymaYGvraMJgBREhAlBd5rpOdNlyTg5rEGvTZNAJJE4IQA3Bw/0yUZOPmsBr02TQAu9lMF2A2F4FQx1VYDX5smAAVA9vJYqUzQacBrc2z/CweYTRik6QkqAAAAAElFTkSuQmCC\" height=\"16px\" title="URCom" alt="URCom"/> URCom</li>');
            //i had to switch to first() becuase someone was reusing the nav tabs in another script and this would cause my tab to go inside theirs!
            //$("h2 + ul.nav-tabs").first().append(b);
			$("#user-info ul.nav-tabs").first().append(b);//production 10/29/2015
			$("#user-tabs ul.nav-tabs").first().append(b);//beta 10/29/2015

			var c = "";
			c = c + '<div class="tab-pane" id="sidepanel-Comments" >';
			$("#user-info div.tab-content").first().append(c);//production 10/29/2015
			$("#user-tabs div.tab-content").first().append(c);//beta 10/29/2015



        }
        //reset the var to change the language
        ChangeLanguage = false;

		//add the content to the comments tab
		//Comment tab header and zoom out button
		var c = "";
		c = c + '<div class="URComments"></div></div>';
		//$("#sidepanel-Comments").first().append(c);//production 10/29/2015
		$("#sidepanel-Comments").first().append(c);//beta 10/29/2015


        var c = "";
		c = c + '<div class="row middle-xs" style="margin-right: auto; margin-left: auto;">';
		c = c + '<div class="colxs-6" style= " width: auto;"><div style="text-align:center;"><img width="100%" src="' + UrCommentsIcon + '" title="URCom" alt="URCom" style="cursor:default;" /><br /><div id="URCWazeReloadMap" title="' + URC_Text_tooltip[3] + '" data-original-title="" class="fa fa-repeat reload-button reload-button URComments" content="" style="font-size: 25px; position: relative; top: 10px; opacity:.5;"></div>'// position: relative !important; left: 64px !important;
		c = c + '<div class="box">';
		c = c + '<br>';
		c = c + '<a id="URCommentZoomOutButton" class="URComments" Title="' + URC_Text_tooltip[0] + '">' + URC_Text[0] + '</a>';
		c = c + '<br>';
		c = c + '<a id="URCommentZoomOutButton2" class="URComments" Title="' + URC_Text_tooltip[1] + '">' + URC_Text[1] + '</a>';
		c = c + '<br>';
		c = c + '<a id="URCommentZoomOutButton3" class="URComments" Title="' + URC_Text_tooltip[2] + '">' + URC_Text[2] + '</a>';
		c = c + '<br>';
		c = c + '<span Title="' + URC_Text_tooltip[4] + '" id="URCount" style="margin-top:10px; font-weight: bold;"></div>';
		c = c + '<br>';
		c = c + '</div>';
		c = c + '</div>';
		c = c + '</div>	';
        $(".URComments").append(c);

        //add the map zoom out handlers
        $("#URCommentZoomOutButton").click(URComments.SetZoomCloseUR(0, "CloseUR"));
        //$("#URCommentZoomOutButton").click(URComments.SetZoomCloseUR(1, "CloseUR"));
        $("#URCommentZoomOutButton2").click(URComments.SetZoomCloseUR(2, "CloseUR"));
        $("#URCommentZoomOutButton3").click(URComments.SetZoomCloseUR(3, "CloseUR"));

        //add the map reload handler
        $("#URCWazeReloadMap").click(URComments.AutoReloadMapOnComment);

        c = '<div id="comments-tab22" class="active" style="padding-top: 0px;">';
        c = c + '	<ul class="nav nav-tabs">';
        c = c + '		<li class="active"><a data-toggle="tab" href="#sidepanel-URComments-list">' + URC_Text[5] + '</a></li>';
        c = c + '		<li><a data-toggle="tab" href="#sidepanel-URComments-URO-Presets">' + URC_Text[6] + '</a></li>';
        c = c + '		<li><a data-toggle="tab" href="#sidepanel-URComments-settings">' + URC_Text[7] + '</a></li>';
        c = c + '	</ul>';
        c = c + '	<div class="tab-content">'; // style="padding: 10px 1px 1px 10px !important;"
        c = c + '		<div class="tab-pane active" id="sidepanel-URComments-list">';
        c = c + '		</div>';
        c = c + '		<div class="tab-pane" id="sidepanel-URComments-URO-Presets">';
        c = c + '		</div>';
        c = c + '		<div class="tab-pane" id="sidepanel-URComments-settings" style="line-height: 22px;">';
        c = c + '		</div>';
        c = c + '	</div>';
        c = c + '</div>';

        //add the sub tabs to the scripts main tab
        $("#sidepanel-Comments").append(c);

        ////////////////////////////////////////////////////////////////////////////////////////////////////////////
        //////
        ////// Comments
        //////
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////

        d = $('<label>' + URC_Text[52] + '</label><br><br>');
        $("#sidepanel-URComments-URO-Presets").append(d);

        d = $('<a target="_blank" Title="' + URC_Text_tooltip[8] + '" href="' + URC_URL[8] + '">' + URC_Text[8] + '</a><br><br>');
        $("#sidepanel-URComments-URO-Presets").append(d);

        //enable or disable urc filtering URCommentsFilterEnabled
        d = $('<label Title="' + URC_Text_tooltip[9] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentsFilterEnabled" class="URCommentsCheckbox"> ' + URC_Text[9] + '</input></label><br>');
        //$("#sidepanel-URComments-list").append(d);
        $("#sidepanel-URComments-URO-Presets").append(d);
        $("#URCommentsFilterEnabled").click(function() {
            $(localStorage.setItem('URCommentsFilterEnabled', URCommentsFilterEnabled.checked));

            //if(URCommentsFilterEnabled.checked == true){
            setTimeout(URComments.FilterURs('filterenabled'), 0);
            //}
        });

        var avdd = localStorage.getItem('URCommentsFilterEnabled');
        if (avdd === null) {
            avdd = true;
        }
        $("#URCommentsFilterEnabled").prop('checked', eval(avdd));

        //enable or disable ur pill counts
        d = $('<label Title="' + URC_Text_tooltip[10] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentsPillEnabled" class="URCommentsCheckbox"> ' + URC_Text[10] + '</input></label><br>');
        //$("#sidepanel-URComments-list").append(d);
        $("#sidepanel-URComments-URO-Presets").append(d);
        $("#URCommentsPillEnabled").click(function() {
            $(localStorage.setItem('URCommentsPillEnabled', URCommentsPillEnabled.checked));

            //if(URCommentsPillEnabled.checked == true){
            setTimeout(URComments.FilterURs('filterenabled'), 0);
            //}
        });

        var avdd = localStorage.getItem('URCommentsPillEnabled');
        if (avdd === null) {
            avdd = true;
        }
        $("#URCommentsPillEnabled").prop('checked', eval(avdd));


        //hide UR that are not "mine"
        d = $('<label Title="' + URC_Text_tooltip[13] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentsHideNotMyUR" class="URCommentsCheckbox"> ' + URC_Text[13] + '</input></label><br>');
        //$("#sidepanel-URComments-list").append(d);
        $("#sidepanel-URComments-URO-Presets").append(d);
        $("#URCommentsHideNotMyUR").click(function() {
            $(localStorage.setItem('URCommentsHideNotMyUR', URCommentsHideNotMyUR.checked));
            setTimeout(URComments.FilterURs('URCommentsHideNotMyUR'), 0);
        });

        var avdd = localStorage.getItem('URCommentsHideNotMyUR');
        if (avdd === null) {
            avdd = true;
        }
        $("#URCommentsHideNotMyUR").prop('checked', eval(avdd));

        //show UR that have gone past the close day setting
        d = $('<label Title="' + URC_Text_tooltip[14] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentsShowPastClose" class="URCommentsCheckbox"> ' + URC_Text[14] + '</input></label><br>');
        //$("#sidepanel-URComments-list").append(d);
        $("#sidepanel-URComments-URO-Presets").append(d);
        $("#URCommentsShowPastClose").click(function() {
            $(localStorage.setItem('URCommentsShowPastClose', URCommentsShowPastClose.checked));
            setTimeout(URComments.FilterURs('URCommentsShowPastClose'), 0);
        });

        var avdd = localStorage.getItem('URCommentsShowPastClose');
        if (avdd === null) {
            avdd = true;
        }
        $("#URCommentsShowPastClose").prop('checked', eval(avdd));

        //hide inbetween ur
        d = $('<label Title="' + URC_Text_tooltip[12] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentsHideInbetween" class="URCommentsCheckbox"> ' + URC_Text[12] + '</input></label><br>');
        //$("#sidepanel-URComments-list").append(d);
        $("#sidepanel-URComments-URO-Presets").append(d);
        $("#URCommentsHideInbetween").click(function() {
            $(localStorage.setItem('URCommentsHideInbetween', URCommentsHideInbetween.checked));
            setTimeout(URComments.FilterURs('hideInbetween'), 0);
        });

        var avdd = localStorage.getItem('URCommentsHideInbetween');
        if (avdd === null) {
            avdd = true;
        }
        $("#URCommentsHideInbetween").prop('checked', eval(avdd));

        //hide reminders
        d = $('<label Title="' + URC_Text_tooltip[15] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentsHideReminderNeeded" class="URCommentsCheckbox"> ' + URC_Text[15] + '</input></label><br>');
        //$("#sidepanel-URComments-list").append(d);
        $("#sidepanel-URComments-URO-Presets").append(d);
        $("#URCommentsHideReminderNeeded").click(function() {
            $(localStorage.setItem('URCommentsHideReminderNeeded', URCommentsHideReminderNeeded.checked));
            setTimeout(URComments.FilterURs('URCommentsHideReminderNeeded'), 0);
        });

        var avdd = localStorage.getItem('URCommentsHideReminderNeeded');
        if (avdd === null) {
            avdd = false;
        }
        $("#URCommentsHideReminderNeeded").prop('checked', eval(avdd));

        //hide replies
        d = $('<label Title="' + URC_Text_tooltip[16] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentsHideReplies" class="URCommentsCheckbox"> ' + URC_Text[16] + '</input></label><br>');
        //$("#sidepanel-URComments-list").append(d);
        $("#sidepanel-URComments-URO-Presets").append(d);
        $("#URCommentsHideReplies").click(function() {
            $(localStorage.setItem('URCommentsHideReplies', URCommentsHideReplies.checked));
            setTimeout(URComments.FilterURs('URCommentsHideReplies'), 0);
        });

        var avdd = localStorage.getItem('URCommentsHideReplies');
        if (avdd === null) {
            avdd = false;
        }
        $("#URCommentsHideReplies").prop('checked', eval(avdd));

        //hide older than 7 day
        d = $('<label Title="' + URC_Text_tooltip[17] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentsHideCloseNeeded" class="URCommentsCheckbox"> ' + URC_Text[17] + '</input></label><br>');
        //$("#sidepanel-URComments-list").append(d);
        $("#sidepanel-URComments-URO-Presets").append(d);
        $("#URCommentsHideCloseNeeded").click(function() {
            $(localStorage.setItem('URCommentsHideCloseNeeded', URCommentsHideCloseNeeded.checked));
            setTimeout(URComments.FilterURs('URCommentsHideCloseNeeded'), 0);
        });

        var avdd = localStorage.getItem('URCommentsHideCloseNeeded');
        if (avdd === null) {
            avdd = false;
        }
        $("#URCommentsHideCloseNeeded").prop('checked', eval(avdd));

        //hide initial (zero comments)
        d = $('<label Title="' + URC_Text_tooltip[18] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentsHideInital" class="URCommentsCheckbox"> ' + URC_Text[18] + '</input></label><br>');
        //$("#sidepanel-URComments-list").append(d);
        $("#sidepanel-URComments-URO-Presets").append(d);
        $("#URCommentsHideInital").click(function() {
            $(localStorage.setItem('URCommentsHideInital', URCommentsHideInital.checked));
            setTimeout(URComments.FilterURs('URCommentsHideInital'), 0);
        });

        var avdd = localStorage.getItem('URCommentsHideInital');
        if (avdd === null) {
            avdd = false;
        }
        $("#URCommentsHideInital").prop('checked', eval(avdd));

        //Hide UR that do not have descriptions
        d = $('<label Title="' + URC_Text_tooltip[19] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentsHideWithoutDescript" class="URCommentsCheckbox"> ' + URC_Text[19] + '</input></label><br>');
        //$("#sidepanel-URComments-list").append(d);
        $("#sidepanel-URComments-URO-Presets").append(d);
        $("#URCommentsHideWithoutDescript").click(function() {
            $(localStorage.setItem('URCommentsHideWithoutDescript', URCommentsHideWithoutDescript.checked));
            setTimeout(URComments.FilterURs('HideWithoutDescript'), 0);
        });

        var avdd = localStorage.getItem('URCommentsHideWithoutDescript');
        if (avdd === null) {
            avdd = false;
        }
        $("#URCommentsHideWithoutDescript").prop('checked', eval(avdd));

        //Hide UR that have descriptions
        d = $('<label Title="' + URC_Text_tooltip[20] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentsHideWithDescript" class="URCommentsCheckbox"> ' + URC_Text[20] + '</input></label><br>');
        //$("#sidepanel-URComments-list").append(d);
        $("#sidepanel-URComments-URO-Presets").append(d);
        $("#URCommentsHideWithDescript").click(function() {
            $(localStorage.setItem('URCommentsHideWithDescript', URCommentsHideWithDescript.checked));
            setTimeout(URComments.FilterURs('HideWithDescript'), 0);
        });

        var avdd = localStorage.getItem('URCommentsHideWithDescript');
        if (avdd === null) {
            avdd = false;
        }
        $("#URCommentsHideWithDescript").prop('checked', eval(avdd));

        //hide closed
        d = $('<label Title="' + URC_Text_tooltip[21] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentsHideClosed" class="URCommentsCheckbox"> ' + URC_Text[21] + '</input></label><br>');
        //$("#sidepanel-URComments-list").append(d);
        $("#sidepanel-URComments-URO-Presets").append(d);
        $("#URCommentsHideClosed").click(function() {
            $(localStorage.setItem('URCommentsHideClosed', URCommentsHideClosed.checked));
            setTimeout(URComments.FilterURs('URCommentsHideClosed'), 0);
        });

        var avdd = localStorage.getItem('URCommentsHideClosed');
        if (avdd === null) {
            avdd = true;
        }
        $("#URCommentsHideClosed").prop('checked', eval(avdd));

        //hide notes
        d = $('<label Title="' + URC_Text_tooltip[22] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentsHideNotes" class="URCommentsCheckbox"> ' + URC_Text[22] + '</input></label><br>');
        //$("#sidepanel-URComments-list").append(d);
        $("#sidepanel-URComments-URO-Presets").append(d);
        $("#URCommentsHideNotes").click(function() {
            $(localStorage.setItem('URCommentsHideNotes', URCommentsHideNotes.checked));
            setTimeout(URComments.FilterURs('URCommentsHideNotes'), 0);
        });

        var avdd = localStorage.getItem('URCommentsHideNotes');
        if (avdd === null) {
            avdd = false;
        }
        $("#URCommentsHideNotes").prop('checked', eval(avdd));

        //days used to filter UR (reminder days / close days)
        var d = $('<br /><br /><form><table><tr><td align="right">' + URC_Text[23] + '</td><td><input type="text" id="ReminderDays" style="width: 35px;"></td></tr><tr><td align="right">' + URC_Text[24] + '</td><td><input type="text" id="CloseDays" style="width: 35px;"></td></tr></table></form><br><br><br><br><br><br>');
        $("#sidepanel-URComments-URO-Presets").append(d);

        //load reminder days
        if('ReminderDays' in localStorage) {
            $('#ReminderDays').val(localStorage.getItem('ReminderDays'));
        } else {
            $('#ReminderDays').val(4);
            $(localStorage.setItem('ReminderDays', $('#ReminderDays').val()));
        }


        //load close days
        if('CloseDays' in localStorage) {
            $('#CloseDays').val(localStorage.getItem('CloseDays'));
        } else {
            $('#CloseDays').val(3);
            $(localStorage.setItem('CloseDays', $('#CloseDays').val()));
        }
        //on load validation
        if ($('#ReminderDays').val() < 0) { //|| $('#ReminderDays').val() >= $('#CloseDays').val()
            $('#ReminderDays').val('0');
            $(localStorage.setItem('ReminderDays', $('#ReminderDays').val()));
        }
        if ($('#CloseDays').val() < 1) { // || $('#CloseDays').val() <= $('#ReminderDays').val()
            $('#CloseDays').val('7');
            $(localStorage.setItem('CloseDays', $('#CloseDays').val()));
        }

        //reminder days verification
        $("#ReminderDays").change(function() {
            $(localStorage.setItem('ReminderDays', $('#ReminderDays').val()));
            setTimeout(URComments.FilterURs('ReminderDaysChange'), 0);
        });

        //close days verification
        $("#CloseDays").change(function() {
            if ($('#CloseDays').val() < 1) { //|| $('#CloseDays').val() <= $('#ReminderDays').val()
                $('#CloseDays').val('7');
                alert(URC_USER_PROMPT[3]); //"URComments you can not set close days to zero days";
            } else {
                //save
                $(localStorage.setItem('CloseDays', $('#CloseDays').val()));
                setTimeout(URComments.FilterURs('CloseDaysChange'), 0);
            }
        });

        //start generating the comment list and mouse click handlers
        //urcToConsole("Start adding comments to the comment tab");
        //comments setup
        d = "";

        //CurrentIndex is used to keep count of total arrays pairs which is used on the div's id tags
        var CurrentIndex = 1;
        //urcToConsole("Create Div 1");

        //setup the comment color var
        var colorrr = "CC0000";
        var Title = "";
        var URCommentURLNote = "";
		var SelectedBoilerPlateCreator = localStorage.getItem('BoilerPlateCreators');
        //go over the array and generate comment divs
        for (var i = 0; i < URCommentsArray.length; i = i + 3) {
            //urcToConsole("Create div for - " + URCommentsArray[i] + " " + URCommentsArray[i + 2]);

            // make the URStatus lower case
            var URStatus = (URCommentsArray[i + 2]).toLowerCase();

            if (URStatus === "open") {
                //black
                colorrr = "#000000";
            } else if (URStatus === "solved") {
                //green
                colorrr = "#008F00";
            } else if (URStatus === "notidentified") {
                //orange
                colorrr = "#E68A00";
            } else {
                //red - not defined and that is a problem
                colorrr = "#CC0000";

            }
            //escaping titles and comments with escapeHtml(Comment) so we can display items with special char as html;
            //generate the comment links

            Title = URCommentsArray[i];
            var Comment = URComments.escapeHtml(URCommentsArray[i + 1]);

            //normal comment link
            d = '<div>';
            if(Title != "<br>" && Comment!="#Title") {
                d = d + URCommentscommentsicon;
            }
            if(Comment=="#Title"){
                d = d + '<center><h5 id="URComments-comment' + CurrentIndex + '" style="color:' + colorrr + '; text-decoration: underline; margin-top:15px;" Title="Title: ' + Title + ' Action: ' + URStatus + '; Comment: ' + Comment + ' ">' + Title + '</h5></center>';
            }
            else
            {
                d = d + '<a id="URComments-comment' + CurrentIndex + '" class="URComments" style="color:' + colorrr + '" Title="Title: ' + Title + ' Action: ' + URStatus + '; Comment: ' + Comment + ' ">' + Title + '</a>';
            }
            //$("#sidepanel-Comments").append(d);

            if (URCommentsArray[i] === URCommentsArray[CloseNotIdentifiedPosistion] && localStorage.getItem('DBLClk7DCAutoSend') == "yes" || localStorage.getItem('DBLClkAll') == "yes") {
                if (URCommentsArray[i] !== "<br>") {
                    d = d + '<a id="URComments-commentDBLCLK' + CurrentIndex + '" class="URComments" style="color:' + colorrr + '" Title="' + URC_Text_tooltip[42] + Title + '"> ' + URC_Text[42] + '</a>'; //double click links

                }
            }

            d = d + '</div>';

            //add comment to list
            $("#sidepanel-URComments-list").append(d);

            //set urID to zero so we don't freak out the functions expecting a UR ID
            urID = 0;

            //create the click function for each comment
            $("#URComments-comment" + CurrentIndex).click(URComments.AutoZoomIN(URCommentsArray[i], URCommentsArray[i + 1], URStatus, urID));

            //create the double click function for each comment
            if (URCommentsArray[i] !== "<br>" && URCommentsArray[i] === URCommentsArray[CloseNotIdentifiedPosistion] && localStorage.getItem('DBLClk7DCAutoSend') == "yes" || localStorage.getItem('DBLClkAll') == "yes") {
                //use this to click send automatically
                if (URCommentsArray[i] !== "<br>") {
                    $("#URComments-commentDBLCLK" + CurrentIndex).dblclick(URComments.AutoZoomIN(URCommentsArray[i], URCommentsArray[i + 1], URStatus, urID, "AutoSendComment"));
                }

            }

			//add a keyboardshortcut for each comment
			if (URCommentsArray[i] !== "<br>") {
				//WMEKSRegisterKeyboardShortcut('URC' + SelectedBoilerPlateCreator, 'URComments ' + SelectedBoilerPlateCreator, 'URC' + SelectedBoilerPlateCreator + 'Shortcut'+i, URCommentsArray[i], URComments.AutoZoomIN(URCommentsArray[i], URCommentsArray[i + 1], URStatus, urID), '-1'); //shortcut1
			}

            //inc the CurrentIndex
            CurrentIndex++;
        }

        //add 2 br to the end of the list for lower resolution monitors
        d = '<br><br>';
        $("#sidepanel-URComments-list").append(d);

		//load the saved keyboard shortcuts
		WMEKSLoadKeyboardShortcuts('URC' + SelectedBoilerPlateCreator);
		//before unloading WME save the keyboard shortcuts
		window.addEventListener("beforeunload", function() {
		WMEKSSaveKeyboardShortcuts('URC' + SelectedBoilerPlateCreator);
		}, false);











        ////////////////////////////////////////////////////////////////////////////////////////////////////////////
        //////
        ////// URO+ Preset filters
        //////
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////

        //urcToConsole("Start adding URO preset filters to the comment tab");

        /*
        //URO+ new ur with no description
        var d = $('<div><a id="URONewNoDescription" class="URCommentsPresets" Title="Use URO+ to only show new requests without descriptions">URO+ New UR without descriptions</a></div>');
        $("#sidepanel-URComments-URO-Presets").append(d);
        $("#URONewNoDescription").click(URComments.UROClearClicked('URONewNoDescription'));

        //URO+ new ur
        d = $('<div><a id="URCommentURONEW" class="URCommentsPresets" Title="Use URO+ to only show new requests or ones that have replies from the requestor">URO+ New requests / UR replies</a></div>');
        $("#sidepanel-URComments-URO-Presets").append(d);
        $("#URCommentURONEW").click(URComments.UROClearClicked('UroShowNew'));

        //show no responses for reminders
        d = $('<div><a id="URCommentURO4DayFollowUp" class="URCommentsPresets" Title="Use URO+ to only show URs that need a reminders message sent to them">URO+ Reminder message</a></div>');
        $("#sidepanel-URComments-URO-Presets").append(d);
        //create the callback function
        $("#URCommentURO4DayFollowUp").click(URComments.UROClearClicked('URO4DayFollowUp'));

        //show no responses for 7 days needs closing
        d = $('<div><a id="URCommentURO7Day" class="URCommentsPresets" Title="Use URO+ to only show URs that are older than 7 days and need to be closed">URO+ 7 Day</a></div>');
        $("#sidepanel-URComments-URO-Presets").append(d);
        //create the callback function
        $("#URCommentURO7Day").click(URComments.UROClearClicked('URO7Day'));

        //show no responses for 8 days needs closing
        d = $('<div><a id="URCommentURO8Day" class="URCommentsPresets" Title="Use URO+ to only show URs that are older than 8 days and need to be closed">URO+ 8 Day</a></div>');
        $("#sidepanel-URComments-URO-Presets").append(d);
        //create the callback function
        $("#URCommentURO8Day").click(URComments.UROClearClicked('URO8Day'));

        //show no responses for 10 days needs closing
        d = $('<div><a id="URCommentURO10Day" class="URCommentsPresets" Title="Use URO+ to only show URs that are older than 10 days and need to be closed">URO+ 10 Day</a></div>');
        $("#sidepanel-URComments-URO-Presets").append(d);
        //create the callback function
        $("#URCommentURO10Day").click(URComments.UROClearClicked('URO10Day'));

        //show no responses for 24 Hour Notice now needs closing
        d = $('<div><a id="URCommentURO24Hr" class="URCommentsPresets" Title="URO+ 8 day 24 Hour Notice. the idea behind this one is that on day 7 you will send 24 hour notices and then 24 hours later come back with this preset to find the ones that need closing">24 Hour Notice expermintal</a></div>');
        $("#sidepanel-URComments-URO-Presets").append(d);
        //create the callback function
        $("#URCommentURO24Hr").click(URComments.UROClearClicked('URO24Hr'));
		*/
        //URO+ clear
        //var d = $('<div><a id="URCommentUROclearUROFiltrs" class="URCommentsPresets" Title="Clears all of the checks boxes in URO’s URs tab, except for Do not apply state/age filters to tagged URs and if you have Only My URs enabled in URComments">URO+ Clear UR Filters</a></div>');
        //$("#sidepanel-URComments-URO-Presets").append(d);
        //create the callback function
        //$("#URCommentUROclearUROFiltrs").click(URComments.UROClearClicked('UROclearUROFiltrs'));

        /*
        //the predefined presets only show comments that the current user has commented on
        d = $('<label Title="Use URO+ to only Show URs with comments from me"><input type="checkbox" id="URCommentUROOnlyMyUR" class="URCommentsCheckbox"> Only My URs</input></label><br>');
        $("#sidepanel-URComments-URO-Presets").append(d);
        //create the callback function
        $("#URCommentUROOnlyMyUR").click(URComments.OnlyMyUR);

        //the predefined presets only show comments that the current user has commented on
        d = $('<label Title="Use URO+ to hide tagged pins. This setting will not be saved."><input type="checkbox" id="URCommentUROHideTagged" class="URCommentsCheckbox"> Temporarily hide tagged pins</input></label><br><br>');
        $("#sidepanel-URComments-URO-Presets").append(d);
        //create the callback function
        $("#URCommentUROHideTagged").click(URComments.HideTagged("trash"));
		*/

        ////////////////////////////////////////////////////////////////////////////////////////////////////////////
        //////
        ////// Draw Options
        //////
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////

        //Auto Set ur comment on new URs
        d = $('<label Title="' + URC_Text_tooltip[25] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="UrCommentAutoSetNewComment" class="URCommentsCheckbox"> ' + URC_Text[25] + '</input></label><br>');
        $("#sidepanel-URComments-settings").append(d);
        //create the callback function
        $("#UrCommentAutoSetNewComment").click(URComments.AutoSetNewComment);

        //Auto Set ur reminder on new URs
        d = $('<label Title="' + URC_Text_tooltip[26] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="UrCommentAutoSet4dayComment" class="URCommentsCheckbox"> ' + URC_Text[26] + '</input></label><br>');
        $("#sidepanel-URComments-settings").append(d);
        //create the callback function
        $("#UrCommentAutoSet4dayComment").click(URComments.UrCommentAutoSet4dayComment);

        //auto zoom in for new with no comments
        d = $('<label Title="' + URC_Text_tooltip[27] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="UrCommentNewZoomIn" class="URCommentsCheckbox"> ' + URC_Text[27] + '</input></label><br>');
        $("#sidepanel-URComments-settings").append(d);
        //create the callback function
        $("#UrCommentNewZoomIn").click(URComments.NewZoomIn);

        //auto center at current zoom for UR with comments
        d = $('<label Title="' + URC_Text_tooltip[28] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="UrCommentWithCommentRecenter" class="URCommentsCheckbox"> ' + URC_Text[28] + '</input></label><br>');
        $("#sidepanel-URComments-settings").append(d);
        //create the callback function
        $("#UrCommentWithCommentRecenter").click(URComments.WithCommentRecenter);

        //Auto Click open solved not Identified
        d = $('<label Title="' + URC_Text_tooltip[29] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentAutoClickURStatus" class="URCommentsCheckbox"> ' + URC_Text[29] + '</input></label><br>');
        $("#sidepanel-URComments-settings").append(d);
        //create the callback function
        $("#URCommentAutoClickURStatus").click(URComments.AutoClickURStatus);

        //UrCommentSaveAfterComment
        d = $('<label Title="' + URC_Text_tooltip[30] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="UrCommentSaveAfterComment" class="URCommentsCheckbox"> ' + URC_Text[30] + '</input></label><br>');
        $("#sidepanel-URComments-settings").append(d);
        //create the callback function
        $("#UrCommentSaveAfterComment").click(URComments.SaveAfterComment);

        //auto close after sending comment replies
        d = $('<label Title="' + URC_Text_tooltip[31] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="UrCommentAutoCloseComment" class="URCommentsCheckbox"> ' + URC_Text[31] + '</input></label><br>');
        $("#sidepanel-URComments-settings").append(d);
        //create the callback function
        $("#UrCommentAutoCloseComment").click(URComments.AutoCloseComment);

        //auto reload map after sending comment replies
        //d = $('<label Title="' + URC_Text_tooltip[32] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="UrCommentAutoReloadAfterComment" class="URCommentsCheckbox"> ' + URC_Text[32] + '</input></label><br>');
        //$("#sidepanel-URComments-settings").append(d);
        //create the callback function
        //$("#UrCommentAutoReloadAfterComment").click(URComments.AutoReloadAfterComment);

        //zoom out map after sending comment replies
        d = $('<label Title="' + URC_Text_tooltip[33] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="UrCommentZoomOutAfterComment" class="URCommentsCheckbox"> ' + URC_Text[33] + '</input></label><br>');
        $("#sidepanel-URComments-settings").append(d);
        //create the callback function
        $("#UrCommentZoomOutAfterComment").click(URComments.ZoomOutAfterComment);

        //Auto switch to the URComments tab after page load
        d = $('<label Title="' + URC_Text_tooltip[34] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="UrCommentAutoSwitchToURCommentsTab" class="URCommentsCheckbox"> ' + URC_Text[34] + '</input></label><br>');
        $("#sidepanel-URComments-settings").append(d);
        //create the callback function
        $("#UrCommentAutoSwitchToURCommentsTab").click(URComments.AutoSwitchToURCommentsTab);

        //Double clicking the 7 day close comment will auto send the 7day close comment
        d = $('<label Title="' + URC_Text_tooltip[35] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="UrCommentDBLClk7DCAutoSend" class="URCommentsCheckbox"> ' + URC_Text[35] + '</input></label><br>');
        $("#sidepanel-URComments-settings").append(d);
        //create the callback function
        $("#UrCommentDBLClk7DCAutoSend").click(URComments.DBLClk7DCAutoSend);

        //Double clicking comments will auto send comments
        d = $('<label Title="' + URC_Text_tooltip[36] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="UrCommentDBLClkAll" class="URCommentsCheckbox"> ' + URC_Text[36] + '</input></label><br>');
        $("#sidepanel-URComments-settings").append(d);
        //create the callback function
        $("#UrCommentDBLClkAll").click(URComments.DBLClkAll);

        //go over  BoilerPlateCreatorsArray and generate the select
        d = '<font style="font-size: 12px;">' + URC_Text[37] + ' <select id="BoilerPlateCreators" style="font-size: 12px; margin-top: 5px;" title="' + URC_Text_tooltip[37] + '">';
        for (i = 0; i < BoilerPlateCreatorsArray.length; i = i + 1) {
            //urcToConsole("BoilerPlateCreatorsArray " + BoilerPlateCreatorsArray[i]);
            d = d + '<option style="font-size 12px;" value="' + BoilerPlateCreatorsArray[i] + '">' + BoilerPlateCreatorsArray[i] + '</option>';
        }
        d = d + "</select> </font><br><br>";
        $("#sidepanel-URComments-settings").append(d);
        //create call back for the select
        $("#BoilerPlateCreators").change(URComments.BoilerPlateCreatorsFunction);

        //UrCommentDisableURDoneBtn
        d = $('<label Title="' + URC_Text_tooltip[38] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="UrCommentDisableURDoneBtn" class="URCommentsCheckbox"> ' + URC_Text[38] + '</input></label><br>');
        //$("#sidepanel-URComments-list").append(d);
        $("#sidepanel-URComments-settings").append(d);
        $("#UrCommentDisableURDoneBtn").click(function() {
            $(localStorage.setItem('UrCommentDisableURDoneBtn', UrCommentDisableURDoneBtn.checked));
        });

        var avdd = localStorage.getItem('UrCommentDisableURDoneBtn');
        if (avdd === null) {
            avdd = true;
        }
        $("#UrCommentDisableURDoneBtn").prop('checked', eval(avdd));

        //URCommentURUnfollow
        d = $('<label Title="' + URC_Text_tooltip[39] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentURUnfollow" class="URCommentsCheckbox"> ' + URC_Text[39] + '</input></label><br>');
        $("#sidepanel-URComments-settings").append(d);
        $("#URCommentURUnfollow").click(function() {
            $(localStorage.setItem('URCommentURUnfollow', URCommentURUnfollow.checked));
        });

        var avdd = localStorage.getItem('URCommentURUnfollow');
        if (avdd === null) {
            avdd = false;
        }
        $("#URCommentURUnfollow").prop('checked', eval(avdd));

        //when on screen auto send my own reminders
        d = $('<label Title="' + URC_Text_tooltip[40] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentsAutoSendMyReminders" class="URCommentsCheckbox"> ' + URC_Text[40] + '</input></label><br>');
        $("#sidepanel-URComments-settings").append(d);
        $("#URCommentsAutoSendMyReminders").click(function() {

            if (URCommentsAutoSendMyReminders.checked == true) {
                var r = confirm(URC_USER_PROMPT[11]); //"URComments This will send reminders at the reminder days setting. This only happens when they are in your visible area. NOTE: when using this feature you should not leave any UR open unless you had a question that needed an answer from the wazer as this script will send those reminders. "

                //this is where we reuse the r var this makes the nested ifs much more simple
                if (r === true) {
                    setTimeout(URComments.FilterURs('URCommentsAutoSendMyReminders'), 0);
                } else {
                    $("#URCommentsAutoSendMyReminders").prop('checked', false);

                }
            }
            $(localStorage.setItem('URCommentsAutoSendMyReminders', URCommentsAutoSendMyReminders.checked));
        });

        var avdd = localStorage.getItem('URCommentsAutoSendMyReminders');
        if (avdd === null) {
            avdd = false;
        }
        $("#URCommentsAutoSendMyReminders").prop('checked', eval(avdd));

        d = $('<label Title="' + URC_Text_tooltip[41] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentsReplaceTagWithEditorName" class="URCommentsCheckbox"> ' + URC_Text[41] + '</input></label><br>');
        $("#sidepanel-URComments-settings").append(d);
        $("#URCommentsReplaceTagWithEditorName").click(function() {
            $(localStorage.setItem('URCommentsReplaceTagWithEditorName', URCommentsReplaceTagWithEditorName.checked));
            setTimeout(URComments.FilterURs('URCommentsReplaceTagWithEditorName'), 0);
        });

        var avdd = localStorage.getItem('URCommentsReplaceTagWithEditorName');
        if (avdd === null) {
            avdd = false;
        }
        $("#URCommentsReplaceTagWithEditorName").prop('checked', eval(avdd));





		d = $('<label Title="' + URC_Text_tooltip[43] + '" style="padding-bottom: 10px; line-height: 15px;"><input type="checkbox" id="URCommentsDontShowTaggedText" class="URCommentsCheckbox"> ' + URC_Text[43] + '</input></label><br>');
        $("#sidepanel-URComments-settings").append(d);
        $("#URCommentsDontShowTaggedText").click(function() {
            $(localStorage.setItem('URCommentsDontShowTaggedText', URCommentsDontShowTaggedText.checked));
            setTimeout(URComments.FilterURs(URCommentsDontShowTaggedText), 0);
        });

        var avdd = localStorage.getItem('URCommentsDontShowTaggedText');
        if (avdd === null) {
            avdd = false;
        }
        $("#URCommentsDontShowTaggedText").prop('checked', eval(avdd));

        d = $('<label Title="' + URC_Text_tooltip[44] + '" style="padding-bottom: 10px; line-height: 15px;"><br>' + URC_Text[44] + ' <textarea id="Signature" style="height: 130px; width: 270px;"></textarea></label><br>');
        $("#sidepanel-URComments-settings").append(d);

        //load Signature
        $('#Signature').val(localStorage.getItem('Signature'));

        //Signature saving
        $("#Signature").change(function() {
            $(localStorage.setItem('Signature', $('#Signature').val()));
            setTimeout(URComments.FilterURs('SignatureChange'), 0);
        });


        //Afficher le PS
        d = $('<label Title="' + URC_Text_tooltip[50] + '" style="padding-bottom: 10px; line-height: 15px;"><br><input type="checkbox" id="URCommentsShowPS" class="URCommentsCheckbox"> ' + URC_Text[50] + '</input></label><br>');
        $("#sidepanel-URComments-settings").append(d);
        $("#URCommentsShowPS").click(function() {
            $(localStorage.setItem('URComShowPS', URCommentsShowPS.checked));
        });

        var avdd = localStorage.getItem('URComShowPS');
        if (avdd === null) {
            avdd = false;
        }
        $("#URCommentsShowPS").prop('checked', eval(avdd));

        // TextArea PS
        d = $('<label Title="' + URC_Text_tooltip[51] + '" style="padding-bottom: 10px; line-height: 15px;"><textarea id="PostScriptum" style="height: 130px; width: 270px;"></textarea></label><br>');
        $("#sidepanel-URComments-settings").append(d);

        //load PS
        $('#PostScriptum').val(localStorage.getItem('URCommentsPS'));

        //PS saving
        $("#PostScriptum").change(function() {
            $(localStorage.setItem('URCommentsPS', $('#PostScriptum').val()));
            setTimeout(URComments.FilterURs('PostScriptumChange'), 0);
        });

        d = $('<label Title="' + URC_Text_tooltip[47] + '" style="padding-bottom: 10px; line-height: 15px;"><br>' + URC_Text[47] + ' :</label><br>');
        $("#sidepanel-URComments-settings").append(d);
        d = $('<label Title="' + URC_Text_tooltip[48] + '" style="line-height: 15px;">' + URC_img_waze_editor + URC_Text[48] + ' : <a href="mailto:incoming+WMEScripts/WME-language-forcer@incoming.gitlab.com" target="_blank">@tunisiano187</a></label><br />'); // Dev
        $("#sidepanel-URComments-settings").append(d);
        d = $('<label Title="' + URC_Text_tooltip[49] + '" style="line-height: 15px;">' + URC_img_waze_editor + URC_Text[49] + ' : ' + TranslatorsName + '</label><br />'); // Translator
        $("#sidepanel-URComments-settings").append(d);




















        //urcToConsole("Tab Complete");

        ////////////////////////////////////////////////////////////////////////////////////////////////////////////
        //////
        ////// Load and set saved options
        //////
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////

        //URComments tab is loaded load options to last state
        //here we also check to see if the options have ever been set (new user) if not we enable them all on script load
        //enabling them will trigger a click of the option which will cause the option to be saved

        //OnlyMyUR have the predefined pre-sets only show comments that the current user has commented on
        if (localStorage.getItem('OnlyMyUR') == "yes") {
            $("#URCommentUROOnlyMyUR").trigger('click');
        }

        //auto set new urs comment
        if (localStorage.getItem('AutoSetNewComment') == "yes" || !localStorage.getItem('AutoSetNewComment')) {
            $("#UrCommentAutoSetNewComment").trigger('click');
        }

        //auto set 4day urs comment
        if (localStorage.getItem('UrCommentAutoSet4dayComment') == "yes" || !localStorage.getItem('UrCommentAutoSet4dayComment')) {
            $("#UrCommentAutoSet4dayComment").trigger('click');
        }

        //UrCommentAutoCloseComment
        if (localStorage.getItem('UrCommentAutoCloseComment') == "yes" || !localStorage.getItem('UrCommentAutoCloseComment')) {
            $("#UrCommentAutoCloseComment").trigger('click');
        }

        //AutoReloadAfterComment
        //if (localStorage.getItem('AutoReloadAfterComment') == "yes") {
        //    $("#UrCommentAutoReloadAfterComment").trigger('click');
        //}

        //NewZoomIn
        if (localStorage.getItem('NewZoomIn') == "yes" || !localStorage.getItem('NewZoomIn')) {
            $("#UrCommentNewZoomIn").trigger('click');
        }

        //auto recenter ur without comments
        if (localStorage.getItem('WithCommentRecenter') == "yes" || !localStorage.getItem('WithCommentRecenter')) {
            $("#UrCommentWithCommentRecenter").trigger('click');
        }

        // URComments load and set settings and check boxes
        if (localStorage.getItem('AutoClickURStatus') == "yes" || !localStorage.getItem('AutoClickURStatus')) {
            $("#URCommentAutoClickURStatus").trigger('click');
            if (localStorage.getItem('DBLClk7DCAutoSend') == "yes" || localStorage.getItem('DBLClkAll') == "yes") {
                $('#URCommentAutoClickURStatus').prop('checked', true);
                localStorage.setItem('AutoClickURStatus', 'yes');
            }
        }

        //UrCommentSaveAfterComment
        if (localStorage.getItem('SaveAfterComment') == "yes" || !localStorage.getItem('SaveAfterComment')) {
            $("#UrCommentSaveAfterComment").trigger('click');
        }

        //AutoZoomOutAfterComment
        if (localStorage.getItem('ZoomOutAfterComment') == "yes" || !localStorage.getItem('ZoomOutAfterComment')) {
            $("#UrCommentZoomOutAfterComment").trigger('click');
        }

        //AutoSwitchToURCommentsTab
        if (localStorage.getItem('AutoSwitchToURCommentsTab') == "yes" || !localStorage.getItem('AutoSwitchToURCommentsTab')) {
            $("#UrCommentAutoSwitchToURCommentsTab").trigger('click');
        }

        //UrCommentDBLClk7DCAutoSend
        if (localStorage.getItem('DBLClk7DCAutoSend') == "yes") {
            $("#UrCommentDBLClk7DCAutoSend").prop('checked', true);
            $("#AutoClickURStatus").prop('checked', true);
            localStorage.setItem('AutoClickURStatus', 'yes');
        }

        //UrCommentDBLClkAll
        if (localStorage.getItem('DBLClkAll') == "yes") {
            $("#UrCommentDBLClkAll").prop('checked', true);
            $("#AutoClickURStatus").prop('checked', true);
            localStorage.setItem('AutoClickURStatus', 'yes');
        }

        //set the users BoilerPlateCreators choice in the select
        var SelectedBoilerPlateCreator = localStorage.getItem('BoilerPlateCreators');
        $("#BoilerPlateCreators").val(SelectedBoilerPlateCreator);
        //end getting boilerplatecreators

        //check to see if the option to auto switch to the URComments tab is enabled
        //if (UrCommentAutoSwitchToURCommentsTab.checked) {
        //    //make UR Comments tab active
        //    $('#CommentsTab').trigger('click');
        //}

        if (URCommentUpdateMessage === "yes") {
            //alert the user in  URComment version updates
            if (localStorage.getItem('URComVersion') === URCommentVersion) {
                urcToConsole("Version - " + URCommentVersion);
            } else {
                alert(URCommentVersionUpdateNotes);
                localStorage.setItem('URComVersion', URCommentVersion);
            }
        }

        //set the background of the last used URO preset
        //URComments.UROPresetHighlight(localStorage.getItem('UROCurrentPeset'));

        ////////////////////////////////////////////////////////////////////////////////////////////////////////////
        //////
        ////// Launch background task(s)
        //////
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////

        //start looking for opened UR's window
        setTimeout(URComments.LookForOpenedUR, 1000);

        //reset URO the hiding of tagged pin
        //setTimeout(URComments.HideTagged("startup"), 10000);

        setTimeout(URComments.URCLoadUpdateRequestsEvents, 0);

        //enable exp road $( ".toggler label span:contains('Roads experimental')" ).click();// turn on experimental roads layer
        //$(".toggler label span:contains('Me!')").click(); //auto enable wme me!
        //end of URCommentsinit
    };

    ///////////////////////////////////////////////////////////////////////////////////
    //////
    ////// Background task(s)
    //////
    ///////////////////////////////////////////////////////////////////////////////////

    //look for the UR window to be open
    URComments.LookForOpenedUR = function() {
        //urcToConsole("look for open UR window " + (new Date()).getTime());
        //check for an open UR and that the UR's text area is shown

		//test urc messages
		//var dateNow = new Date();
		//TrickRemove = dateNow.getTime();
		//URComments.ShowWMEMessage("test " + TrickRemove , 10000);

		//relaunch checking for open ur - moved this up here so the script would keep trying if I had an error
        setTimeout(URComments.LookForOpenedUR, 500); //line 892

        var urID = 0;

        urID = $(".update-requests .selected").data("id");

		/*
		768		807
		900		974
		1050	1156
		1080	941
		*/

/*
		//try to resize the ur window to the browser size
		if(urID > 0 && typeof urID !== 'undefined') {

			if(window.innerHeight <= 810){  			//*768
					$('.problem-edit .conversation.section .comment-list').css('max-height', '110px');


			} else { 									//default wme setting
					//$('.problem-edit .conversation.section .comment-list').css('max-height', '500px');
						$('.problem-edit .conversation.section .comment-list').css('max-height', window.innerHeight - 700 +'px');
				}
		}

			//comment area
			$('.problem-edit .conversation.section .comment-list').css('max-height', '100%');

		}
		*/

        if (urID > 0 && typeof urID !== 'undefined') {

            //new or same ur (re))open(ed) so now we can do stuff; this prevents this function to continuously applying settings to a ur
            if (UrCommentLasturID !== urID && $(".new-comment-text").length !== 0) {
                //urcToConsole("Found open UR - " + urID);

                //grab the current UR ID for next time
                UrCommentLasturID = urID;

                //url to open a UR
                //https://www.waze.com/editor/?zoom=5&lat=34.024522&lon=-118.297005&mapUpdateRequest=3710607&env=usa
                //https://www.waze.com/editor/?zoom=5&mapUpdateRequest=4271288&env=usa

                //auto expand ur comments list and text area (verify that this is not for the old WME)
                if ($('#edit-request .comment-view-shown').length === 0) {
                    setTimeout(function() {
                        $('#edit-request .toggle-comment-view').trigger('click');
                    }, 0);
                }

                //beta editor auto expand ur comments list and text area
                if ($("#panel-container .problem-edit .conversation").length !== 0) {
                    $("#panel-container .problem-edit .conversation").removeClass('collapsed'); //beta editor auto expand UR Comment box
                }

                //beta editor auto expand ur comments more info
                if ($("#panel-container .problem-edit .more-info").length !== 0) {
                    $("#panel-container .problem-edit .more-info").removeClass('collapsed'); //beta editor auto expand UR Comment box
                }

                /*
				//disable the stupid new done button
                if ($("#panel-container .content .done").length > 0 && UrCommentDisableURDoneBtn.checked === true) {
                    $("#panel-container .content .done").attr('disabled', true);
                    $("#panel-container .content .done").html('(Done) Disabled by URComments');
                }

				//is the done/next disabled box checked
				if(UrCommentDisableURDoneBtn.checked === true) {
					if ($("#panel-container .content .next").length > 0) {
						//disable the stupid new next button
						$("#panel-container .content .next").attr('disabled', true);
						$("#panel-container .content .next").html('(Next) Disabled by URComments');
					} else if ($("#panel-container .content .done").length > 0) {
						//disable the stupid new done button
						$("#panel-container .content .done").attr('disabled', true);
						$("#panel-container .content .done").html('(Done) Disabled by URComments');
					}

				}*/


				//disable the stupid buttons at the bottom of the UR window done / next
				if ($("#panel-container .content .navigation .btn-block").length > 0 && UrCommentDisableURDoneBtn.checked === true) {
                    $("#panel-container .content .navigation .btn-block").attr('disabled', true);
                    $("#panel-container .content .navigation .btn-block").html('Disabled by URComments');
				}

                //complaints about editors not reading the description so I am moving the description up a div
                var desc = $(".body .description").html();
                if (desc != undefined) {
                    //move the description up a div
                    $(".problem-edit .header").after('<div class="description section">' + desc + '</div>');
                    $(".problem-edit .body .description").remove();
                }

                //jump to bottom
                //$('.problem-edit .comment-list').scrollTop($('.conversation-view .comment-list')[0].scrollHeight);
               // $('.problem-edit .problem-data').scrollTop($('.conversation-view .comment-list')[0].scrollHeight);
				$('.top-section').scrollTop($('.top-section')[0].scrollHeight);


				//attach an even listener to the UR center button to take us to the UR
				$('#panel-container > div > div > div.header > a.focus > i').click(URComments.CrossHairsClicked(urID, 5));







				//auto fill  in comment
                //check what type of message to insert into the ur
                reporter_comment = W.model.updateRequestSessions.objects[urID].comments;
                i = reporter_comment.length;

                //urcToConsole("LookForOpenedUR number of comments: " + i);

                //if number of comment is zero assume this is a new ur
                if (i === 0) {
                    //initial, zero comments

                    //urcToConsole("LookForOpenedUR no comments");

                    if (UrCommentAutoSetNewComment.checked === true && !$(".no-permissions-alert")[0]) {
                        //urcToConsole("LookForOpenedUR no comments2");
                        //this will be on of the types of UR that a user can choose from when submitting a UR

                        var urType = W.model.mapUpdateRequests.objects[urID].attributes.type;

                        //urcToConsole("LookForOpenedUR Found open UR - " + urID + " " + def_names[urType]);

                        //loop trough the comment array for a comment that matches the request type.
                        for (var ii = 0; ii < URCommentsArray.length; ii = ii + 3) {
                            if (URCommentsArray[ii].toLowerCase().replace('.', '') === def_names[urType].toLowerCase()) {
                                urcToConsole("LookForOpenedUR Matched Comment: " + def_names[urType]);
                                setTimeout(URComments.AutoZoomIN(URCommentsArray[ii], URCommentsArray[ii + 1], URCommentsArray[ii + 2], urID), 0);
                            }
                        }
                        var inmyzone = 1;
                    } else if ($(".no-permissions-alert")[0]){
                        //$(".new-comment-text").prop('disabled', true);
                        //$(".send-button").hide();
                        var inmyzone = 0;
                    }
                    /*
                    var db = openDatabase("URCom" // actual database name.  Opens existing or creates.
                              , "1" // version number.  *Must* be correct.
                              , "Database to collect URs and call them back later" //
                              , 10 * 1024*1024);
                        db.transaction(function(tx){
                            var timetocheck=0;
                            var ReminderDays = $('#ReminderDays').val();
                            if(W.model.updateRequestSessions.objects[urID].comments[0])
                            {
                                timetocheck = URComments.uroGetCommentAge(W.model.updateRequestSessions.objects[urID].comments[0]);
                            } else {
                                timetocheck = 0;
                            }
                            timetocheck = timetocheck - ReminderDays;
                            if (timetocheck <1) {
								timetocheck = 1;
							}
                            var today = new Date();
							var dd = today.getDate();
							dd=dd+timetocheck;
							var mm = today.getMonth()+1;
							var yyyy = today.getFullYear();
							var datum = new Date(Date.UTC(yyyy,mm,dd,0,0,0));
							W.map.center.transform(W.map.projection, W.map.displayProjection); // The map is in 900913 projection, converting to EPSG:4326 to get "normal" GPS coordinates
							var URlink = "https://www.waze.com/fr/editor/?env=row&lon=" + W.map.center.lon + "&lat=" + W.map.center.lat +"&mapUpdateRequest="+urID;
							tx.executeSql("INSERT INTO `UR_List` (id, timetocheck, inmyzone, link) VALUES (?,?,?,?)", [urID, timetocheck, inmyzone, URlink]);
                        });*/
                } else {
                    //4DAY OR 7DAY section

                    LastCommentorUserID = reporter_comment[reporter_comment.length - 1].userID;
                    //urcToConsole("LookForOpenedUR LastCommentorUserID: " + LastCommentorUserID);

                    //uro days old
                    var commentDaysOld = URComments.uroGetCommentAge(W.model.updateRequestSessions.objects[urID].comments[i - 1]);
                    //urcToConsole("LookForOpenedUR Days old: " + commentDaysOld);

                    //if (i === 1 && commentDaysOld >= 4 && LastCommentorUserID > 1 && UrCommentAutoSet4dayComment.checked === true) {
                    var ReminderDays = $('#ReminderDays').val();
                    //urcToConsole("LookForOpenedUR ReminderDays: " + ReminderDays);

                    if (i === 1 && ReminderDays > 0 && commentDaysOld >= ReminderDays && LastCommentorUserID > 1 && UrCommentAutoSet4dayComment.checked === true) {
                        //4day - 1 comment, last comment less than 4 days, last comment is not from reporter
                        urcToConsole("LookForOpenedUR 4day");

                        //4 day ur 1 comment
                        setTimeout(URComments.AutoZoomIN(URCommentsArray[ReminderPosistion], URCommentsArray[ReminderPosistion + 1], URCommentsArray[ReminderPosistion + 2], urID), 0);
                    }
                    if($(".comment-list li").length >1 && $('#CloseDays').val() > 0 && commentDaysOld >= $('#CloseDays').val() && LastCommentorUserID > 1 && UrCommentAutoSet4dayComment.checked === true) {
                        setTimeout(URComments.AutoZoomIN(URCommentsArray[CloseNotIdentifiedPosistion], URCommentsArray[CloseNotIdentifiedPosistion + 1], URCommentsArray[CloseNotIdentifiedPosistion + 2], urID), 0);
                    }

                    //don't allow auto filling of the close message because it clicks the not identified option and causes trouble when the Ur window is shut/closed the next save will mark it as not identified, without a comment.

                }
                /*if ($(".no-permissions-alert")[0] || $(".close-details")[0]){
                    $(".new-comment-text").prop('disabled', true);
                    $(".new-comment-text").hide();
                    $(".send-button").hide();
                }*/
                /*if($(".new-comment-text").val()==="" && URComSignatures.trim()!=="")
                {
                    $(".new-comment-text").val("\n\n" + URComSignatures);
                }*/

                var WazeCurrentZoom = "";
                WazeCurrentZoom = URComments.GetWazeMapZoomLevel();

				//urcToConsole("zoomD " + WazeCurrentZoom + " " + UrCommentNewZoomIn.checked);

                if (i === 0 && UrCommentNewZoomIn.checked === true) {
                    //zoom in new
                    //predefined zoom threshold for auto zoom
                    var zoom = 4;

                    //do not zoom back out if we are already zoomed in and just happen to be re-clicking on a UR.
                    if (WazeCurrentZoom < zoom) {
						//urcToConsole("zoom in 1");
                        URComments.gotoURById(urID, 5);
                    }
                } else if (UrCommentWithCommentRecenter.checked === true) {
                    //re-center on urs that are not zoom in
                    if (WazeCurrentZoom < 3) {
                        //alert(WazeCurrentZoom);
						//urcToConsole("Auto center 1");
                        URComments.gotoURById(urID, WazeCurrentZoom);
                    }

                }

                //auto switch to ur comments tab
                if (UrCommentAutoSwitchToURCommentsTab.checked) {
                    //grab the active tab
                    PreviousTab = $("#user-tabs > ul > li.active > a");
					//grab the active tabs scroll posistion
					PreviousTabPosistion = $('#sidebar').scrollTop();
					$('#sidebar').scrollTop( 0 ); //set scoll pos


                    //make UR Comments tab active
                    $('#CommentsTab').trigger('click');
                }
            }


        } else {
            //reset the id if a ur is not open so we can set the tab for the same ur
            UrCommentLasturID = "";
            urID = "";
            //switch tab back
            if (UrCommentAutoSwitchToURCommentsTab.checked) {
                //verify that we had found a tab
                if (PreviousTab !== null) {
                    //click back on the previous tab
                    $(PreviousTab).trigger('click');
					$('#sidebar').scrollTop( PreviousTabPosistion ); //set scoll pos
                    //clear out the previous tab holder
                    PreviousTab = null;
					PreviousTabPosistion = null;
                }
            }
            //urcToConsole("LookForOpenedUR Looking for ur...");
        }

    };

    ////////////////////////////////////////////////////////////////////////////
    //////
    ////// Save Options on click
    //////
    ////////////////////////////////////////////////////////////////////////////

    //use uro to only show urs that I have commented on
    URComments.OnlyMyUR = function() {

        //try to save the state of the check box
        if (URCommentUROOnlyMyUR.checked) {
            localStorage.setItem('OnlyMyUR', 'yes');
        } else {
            localStorage.setItem('OnlyMyUR', 'no');
        }

        //only show my ur 'OnlyMyUR'
        if (URCommentUROOnlyMyUR.checked && !_cbHideAnyComments.checked) {
            $("#_cbHideAnyComments").trigger('click');

        } else if (!URCommentUROOnlyMyUR.checked && _cbHideAnyComments.checked) {
            $("#_cbHideAnyComments").trigger('click');
        }

    };
    /*
        //URCommentUROHideTagged
        //use uro to Hide Tagged pins
        URComments.HideTagged = function(when) {
            return function() {
                //urcToConsole("URCommentUROHideTagged");
                URComments.TaggedPinsAray = [
                    "_cbFilterRoadworks",	//
                    "_cbFilterConstruction",//
                    "_cbFilterClosure",		//
                    "_cbFilterEvent",		//
                    "_cbFilterNote"		//
                ];

                //go over the array and clear all of the URO+ check boxes
                for (var URComments_URO_Index = 0; URComments_URO_Index < URComments.TaggedPinsAray.length; URComments_URO_Index = URComments_URO_Index + 1) {
                    if(when==="startup") {
                        if ($('#' + URComments.TaggedPinsAray[URComments_URO_Index]).is(":checked")) {
                            $('#URCommentUROHideTagged').prop('checked', true);
                        }


                    } else {
                        //urcToConsole("URCommentUROHideTagged " + URComments.TaggedPinsAray[URComments_URO_Index]);

                        if ($('#' + URComments.TaggedPinsAray[URComments_URO_Index]).length <= 0) {
                            alert("there was an error finding URO's hide tagged pins setting please verify these settings are in the correct state");
                            return false;
                        }


                        if (URCommentUROHideTagged.checked && !$('#' + URComments.TaggedPinsAray[URComments_URO_Index]).is(":checked")) {
                            $('#' + URComments.TaggedPinsAray[URComments_URO_Index]).trigger('click');
                        } else if (!URCommentUROHideTagged.checked && $('#' + URComments.TaggedPinsAray[URComments_URO_Index]).is(":checked")) {
                            $('#' + URComments.TaggedPinsAray[URComments_URO_Index]).trigger('click');
                        }
                    }
                }
            };
        };
    */

    URComments.AutoClickURStatus = function() {
        //try to save the state of the check box
        if (URCommentAutoClickURStatus.checked) {
            localStorage.setItem('AutoClickURStatus', 'yes');
            //alert("yes");
        } else {
            localStorage.setItem('AutoClickURStatus', 'no');
            //alert("no");
            //turn off save after send
            if (!URCommentAutoClickURStatus.checked && UrCommentSaveAfterComment.checked) {
                $('#UrCommentSaveAfterComment').prop('checked', false);
                localStorage.setItem('SaveAfterComment', 'no');
            }

            if (UrCommentDBLClk7DCAutoSend.checked == true || UrCommentDBLClkAll.checked == true) {
                $('#URCommentAutoClickURStatus').prop('checked', true);
                alert(URC_USER_PROMPT[4]); //"URComments to use the double click links you must have the autoset UR status option enabled"
                localStorage.setItem('AutoClickURStatus', 'yes');
            }
        }
    };

    URComments.SaveAfterComment = function() {
        //try to save the state of the check box
        if (UrCommentSaveAfterComment.checked) {
            localStorage.setItem('SaveAfterComment', 'yes');
            //alert("yes");
        } else {
            localStorage.setItem('SaveAfterComment', 'no');
            //alert("no");
        }
        //when save if on turn on auto click status
        if (UrCommentSaveAfterComment.checked && !URCommentAutoClickURStatus.checked) {
            $('#URCommentAutoClickURStatus').prop('checked', true);
            localStorage.setItem('AutoClickURStatus', 'yes');
        }
    };

    URComments.AutoCloseComment = function() {
        //try to save the state of the check box
        if (UrCommentAutoCloseComment.checked) {
            localStorage.setItem('UrCommentAutoCloseComment', 'yes');
            //alert("yes");
        } else {
            localStorage.setItem('UrCommentAutoCloseComment', 'no');
            //alert("no");
        }
        //alert ( localStorage.getItem('UrCommentAutoCloseComment') );
    };

    // UrCommentAutoReloadAfterComment
    //URComments.AutoReloadAfterComment = function() {
        // UrCommentAutoReloadAfterComment
        //try to save the state of the check box
    //    if (UrCommentAutoReloadAfterComment.checked) {
    //        localStorage.setItem('AutoReloadAfterComment', 'yes');
            //alert("yes");
     //   } else {
     //       localStorage.setItem('AutoReloadAfterComment', 'no');
            //alert("no");
      //  }
    //};

    URComments.ZoomOutAfterComment = function() {
        if (UrCommentZoomOutAfterComment.checked) {
            localStorage.setItem('ZoomOutAfterComment', 'yes');
            //alert("yes");
        } else {
            localStorage.setItem('ZoomOutAfterComment', 'no');
            //alert("no");
        }
    };

    URComments.AutoSetNewComment = function() {
        //add reply instructions to replies
        //try to save the state of the check box
        if (UrCommentAutoSetNewComment.checked) {
            localStorage.setItem('AutoSetNewComment', 'yes');
            //alert(" AutoSetNewComment yes");
        } else {
            localStorage.setItem('AutoSetNewComment', 'no');
            //alert("AutoSetNewComment no");
        }
    };

    URComments.UrCommentAutoSet4dayComment = function() {
        //add reply instructions to replies
        //try to save the state of the check box
        if (UrCommentAutoSet4dayComment.checked) {
            localStorage.setItem('UrCommentAutoSet4dayComment', 'yes');
            //alert(" UrCommentAutoSet4dayComment yes");
        } else {
            localStorage.setItem('UrCommentAutoSet4dayComment', 'no');
            //alert("UrCommentAutoSet4dayComment no");
        }
    };

    URComments.NewZoomIn = function() {
        //add reply instructions to replies
        //try to save the state of the check box
        if (UrCommentNewZoomIn.checked) {
            localStorage.setItem('NewZoomIn', 'yes');
            //alert(" NewZoomIn yes");
        } else {
            localStorage.setItem('NewZoomIn', 'no');
            //alert("NewZoomIn no");
        }

    };

    URComments.WithCommentRecenter = function() {
        //add reply instructions to replies
        //try to save the state of the check box
        if (UrCommentWithCommentRecenter.checked) {
            localStorage.setItem('WithCommentRecenter', 'yes');
            //alert(" WithCommentRecenter yes");
        } else {
            localStorage.setItem('WithCommentRecenter', 'no');
            //alert("WithCommentRecenter no");
        }

    };

    URComments.AutoSwitchToURCommentsTab = function() {
        // AutoSwitchToURCommentsTab
        //try to save the state of the check box
        if (UrCommentAutoSwitchToURCommentsTab.checked) {
            localStorage.setItem('AutoSwitchToURCommentsTab', 'yes');
            //alert("yes");
        } else {
            localStorage.setItem('AutoSwitchToURCommentsTab', 'no');
            //alert("no");
        }
    };

    //UrCommentDBLClk7DCAutoSend
    URComments.DBLClk7DCAutoSend = function() {
        if (UrCommentDBLClk7DCAutoSend.checked) {
            //save the selection
            localStorage.setItem('DBLClk7DCAutoSend', 'yes');

            $('#URCommentAutoClickURStatus').prop('checked', true);
            localStorage.setItem('AutoClickURStatus', 'yes');

        } else {
            localStorage.setItem('DBLClk7DCAutoSend', 'no');
        }

        //clear the html from the tabs
        $("#sidepanel-Comments").html('');
        //reload the content
        ChangeLanguage = true;

        //setTimeout(URComments_bootstrap, 20);
        URComments_bootstrap();

    };

    //UrCommentDBLClkAll
    URComments.DBLClkAll = function() {
        if (UrCommentDBLClkAll.checked) {
            localStorage.setItem('DBLClkAll', 'yes');

            $('#URCommentAutoClickURStatus').prop('checked', true);
            localStorage.setItem('AutoClickURStatus', 'yes');
        } else {
            localStorage.setItem('DBLClkAll', 'no');
        }

        //clear the html from the tabs
        $("#sidepanel-Comments").html('');
        //reload the content
        ChangeLanguage = true;

        //setTimeout(URComments_bootstrap, 20);
        URComments_bootstrap();
    };

    ///////////////////////////////////////////////////////////////////////
    //////
    //////  UR Comment functions
    //////
    ///////////////////////////////////////////////////////////////////////

    URComments.escapeHtml = function(a) {
        a = a.replace(/&/g, "&amp;");
        a = a.replace(/</g, "&lt;");
        a = a.replace(/>/g, "&gt;");
        a = a.replace(/"/g, "&quot;");
        a = a.replace(/'/g, "&#039;");
        return a;
    };

    //$( "#update-request-panel .solution p").html()
    URComments.StringSwap = function(a) {
        urID = $(".update-requests .selected").data("id")
        if (urID > 0) {
            a = a.replace("$URD", W.model.mapUpdateRequests.objects[urID].attributes.typeText + ' : ' + W.model.mapUpdateRequests.objects[urID].attributes.description);
            //remove stupid waze spaces
            //a = $(".new-comment-text").val()
            a = a.replace(/          /g, "");
            a = a.replace(/        /g, "");
            a = a.replace(/(\r\n|\n)/gm, "");
        } else if ($(".description .content").length > 0) {
            a = a.replace("$URD", $(".description .content").html());
            a = a.replace(/          /g, "");
            a = a.replace(/        /g, "");
            a = a.replace(/(\r\n|\n)/gm, "");
			a = a.replace("$USERNAME", W.model.loginManager.user.userName);
        } else if (a.indexOf("$URD") >= 0) {
            //a = "";
			a = a.replace(" \"$URD\"", "");
        }
        a = a.replace('$SIGNATURE',URComSignature);

        //selected segments
		var streetName = "";
		//console.log("urc string swap");
        if (W.selectionManager.getSelectedFeatures().length >= 1 && W.selectionManager.getSelectedFeatures().length <= 2) {
            for (var i = 0; i < W.selectionManager.getSelectedFeatures().length; i++) {
                if (W.selectionManager.getSelectedFeatures()[i].model.CLASS_NAME == "W.Feature.Vector.Segment") {
                    var primaryStreetID = W.selectionManager.getSelectedFeatures()[i].model.attributes.primaryStreetID;
                    if (i == 0) {
                        streetName = W.model.streets.objects[primaryStreetID].name;
                    } else {
                        streetName = "the intersection of " + streetName + " and " + W.model.streets.objects[primaryStreetID].name;
                    }
                }
            }
            //console.log(streetName);
            a = a.replace("$SELSEGS", streetName);
        }

        return a;
    };

    //gets the total number of comments on a ur
    TotalNumberOfComments = function(urID) {
        //urcToConsole("reporterComments");
        return ($(wazeModel.updateRequestSessions.objects[urID].comments).length);
    };

    //sorry URO if i was going to use you to sort Urs i needed to use the same dates you do! Thanks! ;)
    URComments.uroGetCommentAge = function(commentObj) {
        if (commentObj.createdOn === null) return -1;
        return URComments.uroDateToDays(commentObj.createdOn);
    };

    URComments.uroDateToDays = function(dateToConvert) {
        var dateNow = new Date();
        var elapsedSinceEpoch = dateNow.getTime();
        var elapsedSinceEvent = elapsedSinceEpoch - dateToConvert;
        dateNow.setHours(0);
        dateNow.setMinutes(0);
        dateNow.setSeconds(0);
        dateNow.setMilliseconds(0);
        var elapsedSinceMidnight = elapsedSinceEpoch - dateNow.getTime();
        if (elapsedSinceEvent < elapsedSinceMidnight) {
            // event occurred today...
            return 0;
        } else {
            // event occurred at some point prior to midnight this morning, so return a minimum value of 1...
            return 1 + Math.floor((elapsedSinceEvent - elapsedSinceMidnight) / 86400000);
        }
    };

    URComments.onScreen = function(obj) {

        //geometry was removed from W.model.mapUpdateRequests.objects[id]
        //but can be found in W.model.mapUpdateRequests.objects[id].geometry

        if (obj.geometry) {
            return (W.map.getExtent().intersectsBounds(obj.geometry.getBounds()));
        }
        return false;
    };

    URComments.URCLoadUpdateRequestsEvents = function() {
        /*
				W.model.mapUpdateRequests.events.register("objectschanged", null, uroFilterURs_onObjectsChanged);
         W.model.mapUpdateRequests.events.register("objectsadded", null, uroFilterURs_onObjectsAdded);
         W.model.mapUpdateRequests.events.register("objectsremoved", null, uroFilterURs_onObjectsRemoved);

         W.model.updateRequestSessions.events.register("objectschanged", null, uroUREvent_onObjectsChanged);
         W.model.updateRequestSessions.events.register("objectsadded", null, uroUREvent_onObjectsAdded);
         W.model.updateRequestSessions.events.register("objectsremoved", null, uroUREvent_onObjectsRemoved);
				*/

        window.HideUR = "stopped";
        //W.model.mapUpdateRequests.events.register("objectschanged", null, URComments.urcUREvent_onObjectsAdded('mapUpdateRequests objectschanged')); //needed
		//W.model.updateRequestSessions.events.register("objectsadded", null, URComments.urcUREvent_onObjectsAdded('updateRequestSessions objectsadded'));

		//from Cardyin 5/26/2016
        W.model.mapUpdateRequests.on("objectschanged", URComments.urcUREvent_onObjectsAdded('mapUpdateRequests objectschanged')); //needed
        W.model.updateRequestSessions.on("objectsadded", URComments.urcUREvent_onObjectsAdded('updateRequestSessions objectsadded')); //needed













        //W.model.updateRequestSessions.events.register("objectschanged", null, URComments.urcUREvent_onObjectsAdded('updateRequestSessions objectschanged')); // this launches every time a UR is opened
         //needed


        W.map.events.register("moveend", null, URComments.urcUREvent_onObjectsAdded('moveend')); //needed
        W.map.events.register("zoomend", null, URComments.urcUREvent_onObjectsAdded('zoomend')); //needed
        //W.map.events.register("mouseup", null,  URComments.urcUREvent_onObjectsAdded('mouseup'));

        //urcToConsole("UR events added");

        //setTimeout(URComments.urcUREvent_onObjectsAdded('pageload'), 1000);
        setTimeout(URComments.urcUREvent_onObjectsAdded('pageload'), 500);
    };


    URComments.urcUREvent_onObjectsAdded = function(a) {
        return function() {

            //check if filtering or the pill count are enabled other wise abort this function
            //URCommentsFilterEnabled URCommentsPillEnabled
            if (URCommentsFilterEnabled.checked === false && URCommentsPillEnabled.checked === false && URCommentsAutoSendMyReminders.checked === false) {
                //urcToConsole(URC_USER_PROMPT[5]); //"aborting FilterURs2 becasue both filtering, counts, and auto reminders are disabled"
                return;
            }

            //urcToConsole("urcUREvent_onObjectsAdded " + a + " " + window.HideUR);

            if (a == "timedout" && window.HideUR == "running") { //|| a === "list is empty retry"){
                window.HideUR = "stopped";
                a = "timedout";
                //URComments.ShowWMEMessage(URC_USER_PROMPT[6], 5000); //"URComments: Loading UR data has timed out, retrying."
            }

            if (window.HideUR === "stopped" && a !== "timedout") {
                clearTimeout(window.buffertedtimeout);
                clearTimeout(window.buffertedtimeout2);

                //urcToConsole("set time-out to filter UR and time-out check " + a + " " + window.HideUR);

                //certain events need to be launched a bit later then others
                if (a == "moveend" || a == "zoomend") {
                    window.buffertedtimeout = setTimeout(URComments.FilterURs(a), 2000);
                } else {
                    window.buffertedtimeout = setTimeout(URComments.FilterURs(a), 500);
                }

                window.HideUR = "running";
                window.BufferFillterURCommand = false;
                window.buffertedtimeout2 = setTimeout(URComments.urcUREvent_onObjectsAdded("timedout"), 30000);
            } else {
                //urcToConsole("aborted: " + a + " " + window.HideUR);
            }

        };
    };

    URComments.FilterURs = function(a, b) {
        return function() {

            //urcToConsole("Start Filtering URs - " + a);
            for (var i = 0; i < W.map.layers.length; i++) {
                if (W.map.layers[i].uniqueName == 'update_requests') window.uroURLayerIdx = i;
                //if(W.map.layers[i].uniqueName == 'problems') uroProblemLayerIdx = i;
                //if(W.map.layers[i].name == 'Spotlight') uroMaskLayer = i;
                //if(W.map.layers[i].uniqueName == 'speed_cameras') uroCamLayer = i;
                //if(W.map.layers[i].name.indexOf('W.Control.SelectHighlightFeature') !== -1) uroRootContainer = W.map.layers[i].div.id;
                //if(W.map.layers[i].uniqueName == 'area_managers') uroAMLayerIdx = i;
                //if(W.map.layers[i].uniqueName == 'landmarks') uroPlacesRoot = W.map.layers[i].id + '_vroot';
                //if(W.map.layers[i].name == 'Node Connections') uroTurnsLayerIdx = i;
            }

            var CloseDays = $('#CloseDays').val();
            //check that all visible urs are loaded
            var idList = [];
            var allID = "";
            var PushNeededCount = 0;

            for (var urID in W.model.mapUpdateRequests.objects) {

                if (W.model.updateRequestSessions.objects[urID] == null) {
                    idList.push(urID);
                    PushNeededCount = PushNeededCount + 1;
                }

                if (PushNeededCount > 500) {
                    //urcToConsole('trash grabbing updateRequestSessions with IDs ' + idList);
                    W.model.updateRequestSessions.get(idList);
                    idList = [];
                    PushNeededCount = 0;
                    //urcToConsole('over 1k ur');
                }
            }

            if (idList.length > 0) {
                //urcToConsole('trash grabbing updateRequestSessions with IDs ' + idList);
                W.model.updateRequestSessions.get(idList);
            }

            //abort filtering URs if the list is empty
            if (Object.keys(W.model.updateRequestSessions.objects).length === 0) {
                window.HideUR = "stopped";
                //urcToConsole("no Ur in active sessions");
                setTimeout(URComments.urcUREvent_onObjectsAdded("list is empty retry"), 5000);
                return;
            }

            var urdescription = "";
            var EditorID = W.model.loginManager.user.id; //editor's id number
            var ReminderReload = false;
            var TotalVisibleURCount = 0;
            var CountOfIdInList = 0;
            var DelayTimeoutCountOfIdInList = 0;

            for (var id1 in W.model.mapUpdateRequests.objects) {
                TotalVisibleURCount = TotalVisibleURCount + 1;
                if (URComments.onScreen(W.model.mapUpdateRequests.objects[id1])) {
                    allID = allID + id1 + ",";
                    CountOfIdInList = CountOfIdInList + 1;
                }

                if (CountOfIdInList >= 500) {
                    //urcToConsole("reached 500 UR requesting list: " + DelayTimeoutCountOfIdInList);
                    //play with putting a timeout between each group requested
                    setTimeout(URComments.FilterURs2(a, allID, TotalVisibleURCount), DelayTimeoutCountOfIdInList);

                    CountOfIdInList = 0;
                    allID = "";
                    DelayTimeoutCountOfIdInList = DelayTimeoutCountOfIdInList + 1000;
                }
            }

            //urcToConsole("reached end of UR list requesting list: " + DelayTimeoutCountOfIdInList);
            $("#URCount").html(URC_Text[4] + TotalVisibleURCount);
            $("#URCount").css("margin-top:10px; font-weight: bold; opacity:.5;");
            setTimeout(URComments.FilterURs2(a, allID, TotalVisibleURCount), 0);
        };
    };


    URComments.FilterURs2 = function(a, allID, TotalVisibleURCount) {
        return function() {
            urcToConsole("FilterURs2 TotalVisibleURCount: " + TotalVisibleURCount);

            var CloseDays = ($('#CloseDays').val() * 1);
            var ReminderDays = ($('#ReminderDays').val() * 1);
            var ClosePlussReminderDays = CloseDays + ReminderDays;
            var urdescription = "";
            var EditorID = W.model.loginManager.user.id; //editor's id number
            var ReminderReload = false;
            var LoggedInEditor = W.model.loginManager.user.userName;
            var openingUR;
            //r = require("Waze/Feature/Vector/ProblemResolution");

            if (allID !== "") {
                //this is the link that works but I think it is grabbing a cached version of the page var urSessionURL = 'https://www.waze.com/2tes-live/app/MapProblems/UpdateRequests?ids=' + allID;

                //https://www.waze.com/Descartes-live/app/MapProblems/UpdateRequests?ids=4284449
				var urSessionURL = 'https://' + window.location.host + W.Config.api_base + '/MapProblems/UpdateRequests?ids=' + allID + "&time=" + (new Date()).getTime();

                urcToConsole("urSessionURL: " + a + " " + urSessionURL);

                // https://www.waze.com/Descartes-live/app/MapProblems/UpdateRequests?ids=3678676
                var LastCommentorUserID = "0";

                //urcToConsole("trash36");
                $.ajax({
                    dataType: "json",
                    //dataType: 'jsonp',
                    url: urSessionURL,

                    success: function(json) {
                        try {

                            for (jsnObj = 0; jsnObj < $(json.updateRequestSessions.objects).length; jsnObj++) {
                                var urDetail = json.updateRequestSessions.objects[jsnObj];
                                var id = urDetail.id;
                                var skip = false;
                                var urStyle = 'shown';
                                var i = 0;
                                var Marked = "";
                                var UrcURType = "";
                                var urdescription = W.model.mapUpdateRequests.objects[id].attributes.description;

                               // if (urDetail.comments.length === 0) {
									//type 14 is a UR
                                    var InitialurType = W.model.mapUpdateRequests.objects[id].attributes.type;
                                //}

								urcToConsole("InitialurType: " + InitialurType + " " + id);

                                var NumberOfComments = urDetail.comments.length;
                                var CountsBGColor = "#FFFF99"; //light yellow

                                if (NumberOfComments > 0) {
                                    var reporterResponse = false;
                                    var lastCommentDateTime = 0;
                                    var LastComment = "";

                                    for (i = 0; i < urDetail.comments.length; i++) {
                                        if (urDetail.comments[i].userID == -1) {
                                            reporterResponse = true;
                                        }
                                        lastCommentDateTime = urDetail.comments[i].createdOn;
                                        LastCommentorUserID = urDetail.comments[i].userID;
                                        LastComment = urDetail.comments[i].text;
                                        //only white if logged in editor has the last editor comment
                                        if (LastCommentorUserID > 1) {
                                            if (LastCommentorUserID === EditorID) {
                                                CountsBGColor = "white";
                                            } else {
                                                CountsBGColor = "#FFFF99"; //light yellow
                                            }
                                        }
//NOTE, ROADWORKS, CONSTRUCTION, CLOSURE, EVENT,

                                        var Commenttext = urDetail.comments[i].text;
                                        //urcToConsole(Commenttext + " " + id);
                                        if (Commenttext.indexOf("NOTE]") >= 0 || Commenttext.indexOf("ROADWORKS]") >= 0 || Commenttext.indexOf("CONSTRUCTION]") >= 0 || Commenttext.indexOf("CLOSURE]") >= 0 || Commenttext.indexOf("EVENT]") >= 0 || Commenttext.indexOf(LoggedInEditor) >= 0) {
                                            //urcToConsole("skipped1 URO+ tagged in comments urid: " + id + "with comment text " + Commenttext);
                                            skip = true;
                                        }

                                        if (Commenttext.indexOf(LoggedInEditor) >= 0 && URCommentsReplaceTagWithEditorName.checked === true) {
                                            Marked = LoggedInEditor;
                                        } else if (Commenttext.indexOf("NOTE]") >= 0) {
                                            Marked = "Note";
                                        } else if (Commenttext.indexOf("ROADWORKS]") >= 0) {
                                            Marked = "Roadworks";
                                        } else if (Commenttext.indexOf("CONSTRUCTION]") >= 0) {
                                            Marked = "Construction";
                                        } else if (Commenttext.indexOf("CLOSURE]") >= 0) {
                                            Marked = "Closure";
                                        } else if (Commenttext.indexOf("EVENT]") >= 0) {
                                            Marked = "Event";
                                        }

										if(URCommentsDontShowTaggedText.checked === true && Marked !== ""){
											Marked = "DontShowTaggedText";
										}


                                        //urcToConsole("Marked " + Marked);

                                    }

                                    //if (LastCommentorUserID === EditorID) {
                                    //	CountsBGColor = "white";
                                    //}

                                    //urcToConsole("LastComment: " + LastComment + " " + id);
                                }

                                var lastCommentAge = URComments.uroDateToDays(lastCommentDateTime);
                                //urcToConsole('Responder: reporter response for ' + id + ' = ' + reporterResponse + ', last comment on ' + lastCommentDateTime + ', comment age in days = ' + lastCommentAge + ' number of comments = ' + i);

                                //urdescription = W.model.mapUpdateRequests.objects[id].attributes.description;
                                //urcToConsole("urdescription: " + urdescription + " " + id);

                                if (urdescription) {
                                    //urcToConsole("urdescription present: " + urdescription + " " + id);
                                    //skip tagged URs
                                    if (urdescription.indexOf("NOTE]") >= 0 || urdescription.indexOf("ROADWORKS]") >= 0 || urdescription.indexOf("CONSTRUCTION]") >= 0 || urdescription.indexOf("CLOSURE]") >= 0 || urdescription.indexOf("EVENT]") >= 0 || urdescription.indexOf(LoggedInEditor) >= 0) {
                                        //urcToConsole("skipped2 URO+ tagged in description urid: " + id + "with comment text " + urdescription);
                                        skip = true;
                                    }

                                    if (urdescription.indexOf(LoggedInEditor) >= 0 && URCommentsReplaceTagWithEditorName.checked === true) {
                                        Marked = LoggedInEditor;
									} else if (urdescription.indexOf("NOTE]") >= 0) {
                                        Marked = "Note";
                                    } else if (urdescription.indexOf("ROADWORKS]") >= 0) {
                                        Marked = "Roadworks";
                                    } else if (urdescription.indexOf("CONSTRUCTION]") >= 0) {
                                        Marked = "Construction";
                                    } else if (urdescription.indexOf("CLOSURE]") >= 0) {
                                        Marked = "Closure";
                                    } else if (urdescription.indexOf("EVENT]") >= 0) {
                                        Marked = "Event";
                                    } else if (urdescription.indexOf("WSLM]") >= 0) {
                                        Marked = "WSLM";
                                    }


									if(URCommentsDontShowTaggedText.checked === true && Marked !== ""){
										Marked = "DontShowTaggedText";
									}

                                    if (URCommentsHideWithDescript.checked == true && NumberOfComments <= 0) {
                                        UrcURType = UrcURType + " WithDescription";
                                        //urcToConsole("UrcURType WithDescription: " + id);
                                    }
                                    //urcToConsole("skipped2 tagged in description urid: " + id + "with comment text " + Commenttext);
                                } else {
                                    if (URCommentsHideWithoutDescript.checked == true && NumberOfComments <= 0) {
                                        UrcURType = UrcURType + " WithoutDescription";
                                        //urcToConsole("UrcURType WithoutDescription: " + id);
                                    }
                                }

                                if (W.model.mapUpdateRequests.objects[id].attributes.open === false) {
                                    skip = true;
                                    //  UrcURType = "IsClosed";

                                }

                                //urcToConsole("just before skipping, skip is " + skip + " " + id);
                                //W.model.mapUpdateRequests.objects[id].type == "mapUpdateRequest"
                                if (skip === false && W.model.mapUpdateRequests.objects[id].type == "mapUpdateRequest") {

                                    // && URComments.onScreen(W.model.mapUpdateRequests.objects[id])

                                    if (NumberOfComments > 0) {

                                        //4 day UR if there is only one comment, if the comment is less or equal to the editors setting, and if the last comment was not made by the driver
                                        if (NumberOfComments === 1 && ReminderDays > 0 && lastCommentAge >= ReminderDays && LastCommentorUserID > 1) {
                                            //urcToConsole("URComments2 - 4day URID: " + id);
                                            //direct link to a UR https://www.waze.com/editor/?zoom=5&lat=41.586201000000024&lon=-88.060863&layers=1957&mapUpdateRequest=4048801

                                            if (URCommentsHideReminderNeeded.checked == true) {
                                                UrcURType = UrcURType + " NeedsReminder";
                                            }

                                            if (LastCommentorUserID === EditorID && URCommentsAutoSendMyReminders.checked == true && $('[data-id="' + id + '"]').hasClass('ReminderSent') === false && EditorID > 0) {
                                                //urcToConsole("reminder needed UR: " + LastComment + " " + id);

                                                W.model.updateRequestSessions.objects[id].addComment(URCommentsArray[ReminderPosistion + 1]);

                                                //toggleFollowConversation true or false
                                                if ($("#URCommentURUnfollow").is(":checked")) {
                                                    setTimeout(URComments.toggleFollowConversation(id), 0);
                                                }

                                                URComments.ShowWMEMessage(URC_USER_PROMPT[7] + id, 2500); //"URComments: Adding reminder message to UR: "

                                                //attempting to stop double reminders from being sent by adding a class that we can check for before sending the reminder
                                                $('[data-id="' + id + '"]').addClass('ReminderSent');

                                                //set to hide if hide in between states is checked
                                                if (URCommentsHideInbetween.checked == true) {
                                                    UrcURType = UrcURType + " InBetweenStates";
                                                }

                                            }


                                            //7 day if the number of comments are greater than or equal to 1, days past are more then 7, the last comment was not from the driver, and number of comments are less than 2

                                        } else if ((NumberOfComments >= 2 && lastCommentAge >= CloseDays && LastCommentorUserID > 1) || (NumberOfComments >= 1 && ReminderDays == 0 && lastCommentAge >= CloseDays && LastCommentorUserID > 1)) {
                                            //urcToConsole("close needed UR: " + LastComment + " " + id);

                                            //hide or show UR that need closing
                                            if (URCommentsHideCloseNeeded.checked == true && UrcURType === "") {
                                                UrcURType = UrcURType + " NeedsClose";
                                            }

											//everyones stale 2 comment URS


                                        } else if (LastCommentorUserID > 0) {
                                            //in between states waiting for replies or time to elapse
                                            //urcToConsole("hiding ur 2: " + id);
                                            if (URCommentsHideInbetween.checked == true) {
                                                UrcURType = UrcURType + " InBetweenStates";
                                            }
                                        }

                                        //last comment was a user reply; change the pin color to blue or peach
                                        if (LastCommentorUserID < 1) {
                                            if (CountsBGColor == "white") {
                                                CountsBGColor = "#79B5C7"; //light blue
                                            } else {
                                                CountsBGColor = "#FFCC99"; //peach
                                            }

                                            if (URCommentsHideReplies.checked == true) {
                                                UrcURType = UrcURType + " HasUserReplies";
                                            }

                                        } else if (lastCommentAge > ClosePlussReminderDays && CountsBGColor !== "white") {
                                            CountsBGColor = "#FF8B8B"; //light red
                                        }

                                        //yellow at close days workaround
                                        //urcToConsole("yellow at close days workaround " + CountsBGColor + " NumberOfComments: " +NumberOfComments + "lastCommentAge: " +lastCommentAge + " CloseDays" + CloseDays + " LastCommentorUserID: " + LastCommentorUserID + "urid: " + id);
                                        //alert("yellow at close days workaround " + CountsBGColor + " NumberOfComments: " +NumberOfComments + "lastCommentAge: " +lastCommentAge + " CloseDays" + CloseDays + " ReminderDays: " + ReminderDays + " LastCommentorUserID: " + LastCommentorUserID + "urid: " + id);

                                        if (CountsBGColor == "#FFFF99" && NumberOfComments >= 1 && lastCommentAge >= ClosePlussReminderDays && LastCommentorUserID > 1) {
                                            CountsBGColor = "#FF8B8B"; //light red
                                        }
                                        /*
                                        if (CountsBGColor == "#FFFF99") {
                                        	if (ReminderDays === 0 && NumberOfComments >= 1 && lastCommentAge >= CloseDays && LastCommentorUserID > 1) {
                                        		CountsBGColor = "#FF8B8B"; //light red
                                        	} else if (ReminderDays > 0 && NumberOfComments >= 1 && lastCommentAge >= CloseDays && LastCommentorUserID > 1) {
                                        		CountsBGColor = "#CC00FF"; //light red
                                        	}
                                        }
                                        */




                                    }
                                    //zero comments
                                } else {
                                    //urcToConsole("skipped UR: " + id);
                                }
                                //skipped
                                //urcToConsole("check for urcounts class; comment count " + i );
                                //urcToConsole("trash58");

                                if (lastCommentAge === undefined) {
                                    lastCommentAge = "?";
                                }

                                var Message = "";

								if (Marked == "DontShowTaggedText" ){
									Message = i + UrCommentsTextPic + " " + lastCommentAge + UrCommentsTimePic;
                                    CountsBGColor = "#CCCCCC"; //light grey
								} else if (Marked !== "") {
                                    Message = Marked + " " + i + UrCommentsTextPic;
                                    CountsBGColor = "#CCCCCC"; //light grey
                                } else {
                                    Message = i + UrCommentsTextPic + " " + lastCommentAge + UrCommentsTimePic;
                                }

                                //urcToConsole("message " + Message);
                                //urcToConsole("Marked " + Marked);


                                //if the ur is tagged or has more than 0 comments reorder the ur stacking
                                if (Marked !== "" || i > 0) {

                                    var MessageOffset = Message.length;
                                    MessageOffset = MessageOffset - (UrCommentsTextPic.length-3 )
                                    MessageOffset = MessageOffset - (UrCommentsTimePic.length-4 )
                                    if (MessageOffset < 10) {
                                        MessageOffset = MessageOffset * 1.4;
                                    } else {
                                        MessageOffset = MessageOffset * 2.3;
                                    }
                                    MessageOffset = "-" + MessageOffset + "px";
                                    //urcToConsole("message " + Message);
                                    if (CountsBGColor == "#CCCCCC") { //light grey
                                        $('[data-id="' + id + '"]').css({
                                            'z-index': '999'
                                        });
                                    } else if (CountsBGColor == "white" || CountsBGColor == "#79B5C7") {
                                        $('[data-id="' + id + '"]').css({
                                            'z-index': '998'
                                        });
                                        //).style.visibility
                                    } else if (CountsBGColor == "#FF8B8B") { //light red
                                        $('[data-id="' + id + '"]').css({
                                            'z-index': '997'
                                        });
                                    }
                                    if (URCommentsPillEnabled.checked === true) {
                                        //add URC bubble
                                        if ($('[data-id="' + id + '"] .URCounts').hasClass('URCounts') === false) {
                                            $('[data-id="' + id + '"]').append($("<div>").css("clear", "both")
                                                .css("margin-bottom", "10px")

                                                .append($("<div>").html(Message)
                                                    .css("color", "black")
                                                    .css("background", CountsBGColor)
                                                    .css("position", "absolute")
                                                    .css("top", "30px")
                                                    .css("height", "18px")
                                                    .css("right", MessageOffset)

                                                    .css("display", "block")
                                                    .css("width", "auto")
                                                    .css("white-space", "nowrap")
                                                    .css("padding-left", "5px")
                                                    .css("padding-right", "5px")

                                                    .css("border", "1px solid")
                                                    .css("border-radius", "25px")

                                                    .addClass('URCounts')
                                                )
                                            );

                                        } else {
                                            $('[data-id="' + id + '"] .URCounts').html(Message);
                                            $('[data-id="' + id + '"] .URCounts').css("background", CountsBGColor);
                                            $('[data-id="' + id + '"] .URCounts').css("right", MessageOffset);
                                        }

                                        //end of URC bubble
                                    }
                                }


                                //console.log(a);

                                //URC UR Filtering

                                var uroURFiltersActive = false; // var used to keep track if we actually need to show / hide the UR pins

                                if (sessionStorage.UROverview_hasActiveURFilters == undefined) {
                                    //condsole.log("old version of URO, need to use existing UI-parsing test...");

                                    //these are all of the tags that URO uses to filter URs. If any of the settings are enabled set a var to let URO do the filterenabled
                                    if ($("#_cbFilterWazeAuto").is(":checked") || $("#_cbFilterIncorrectTurn").is(":checked") || $("#_cbFilterIncorrectAddress").is(":checked") || $("#_cbFilterIncorrectRoute").is(":checked") || $("#_cbFilterMissingRoundabout").is(":checked") || $("#_cbFilterGeneralError").is(":checked") || $("#_cbFilterTurnNotAllowed").is(":checked") || $("#_cbFilterIncorrectJunction").is(":checked") || $("#_cbFilterMissingBridgeOverpass").is(":checked") || $("#_cbFilterWrongDrivingDirection").is(":checked") || $("#_cbFilterMissingExit").is(":checked") || $("#_cbFilterMissingRoad").is(":checked") || $("#_cbFilterBlockedRoad").is(":checked") || $("#_cbFilterMissingLandmark").is(":checked") || $("#_cbFilterUndefined").is(":checked") || $("#_cbFilterRoadworks").is(":checked") || $("#_cbFilterConstruction").is(":checked") || $("#_cbFilterClosure").is(":checked") || $("#_cbFilterEvent").is(":checked") || $("#_cbFilterNote").is(":checked") || $("#_cbInvertURFilter").is(":checked") || $("#_cbFilterOpenUR").is(":checked") || $("#_cbFilterClosedUR").is(":checked") || $("#_cbFilterSolved").is(":checked") || $("#_cbFilterUnidentified").is(":checked") || $("#_cbEnableMinAgeFilter").is(":checked") || $("#_cbEnableMaxAgeFilter").is(":checked") || $("#_cbURDescriptionMustBePresent").is(":checked") || $("#_cbURDescriptionMustBeAbsent").is(":checked") || $("#_cbEnableKeywordMustBePresent").is(":checked") || $("#_cbEnableKeywordMustBeAbsent").is(":checked") || $("#_cbCaseInsensitive").is(":checked") || $("#_cbHideMyComments").is(":checked") || $("#_cbHideAnyComments").is(":checked") || $("#_cbHideIfLastCommenter").is(":checked") || $("#_cbHideIfNotLastCommenter").is(":checked") || $("#_cbHideIfReporterLastCommenter").is(":checked") || $("#_cbHideIfReporterNotLastCommenter").is(":checked") || $("#_cbEnableMinCommentsFilter").is(":checked") || $("#_cbEnableMaxCommentsFilter").is(":checked") || $("#_cbHideMyFollowed").is(":checked") || $("#_cbHideMyUnfollowed").is(":checked") || $("#_cbEnableCommentAgeFilter2").is(":checked") || $("#_cbEnableCommentAgeFilter").is(":checked") || $("#_cbURUserIDFilter").is(":checked") || $("#_cbURResolverIDFilter").is(":checked")) {
                                        uroURFiltersActive = true; //at least one of URO's UR checkboxes were enabledPlugin
                                    }
                                } else if (sessionStorage.UROverview_hasActiveURFilters == "true") {
                                    //console.log("new version of URO is actively filtering UR markers...");
                                    uroURFiltersActive = true; //twisters URO active filter bit is set to true
                                }


                                if (uroURFiltersActive === true && URCommentsFilterEnabled.checked === true) {
                                    URComments.ShowWMEMessage(URC_USER_PROMPT[8], 5000); //"URComment's UR Filtering has been disabled because URO\'s UR filters are active."
                                    $('#URCommentsFilterEnabled').prop('checked', false);
									$(localStorage.setItem('URCommentsFilterEnabled', URCommentsFilterEnabled.checked));
                                }

                                if (URCommentsFilterEnabled.checked == true && uroURFiltersActive === false) {
                                    //check if we should hide URO stype tagged UR
                                    if (URCommentsHideNotes.checked == true && Marked !== "") {
                                        UrcURType = UrcURType + " IsTagged";
                                    } else if (Marked !== "" && UrcURType !== "IsClosed") {
                                        UrcURType = UrcURType + " 1";
                                    }

                                    //check if not "my" ur
                                    //if(URCommentsHideNotMyUR.checked == true && NumberOfComments > 0 && lastCommentAge <= CloseDays ){
                                    if (URCommentsHideNotMyUR.checked == true && NumberOfComments > 0) {
                                        //light red, peach, light yellow
                                        //if(CountsBGColor == "#FF8B8B" || CountsBGColor == "#FFCC99" || CountsBGColor == "#FFFF99"){
                                        if (CountsBGColor == "#FFCC99" || CountsBGColor == "#FFFF99" || CountsBGColor == "#FF8B8B") {
											UrcURType = UrcURType + " NotMyUR";
										}
                                    }
                                    //URCommentsShowPastClose
                                    //check if not "my" ur
                                    if (URCommentsShowPastClose.checked == true && NumberOfComments > 0 && lastCommentAge > ClosePlussReminderDays) {
                                        //light red, peach, light yellow
										//if(CountsBGColor == "#FF8B8B" || CountsBGColor == "#FFCC99" || CountsBGColor == "#FFFF99"){
                                        if (CountsBGColor == "#FFCC99" || CountsBGColor == "#FFFF99" || CountsBGColor == "#FF8B8B") {
											if(UrcURType.indexOf("HasUserReplies") < 0){
												UrcURType = " ShowPastClose";
											}
										}
                                    }

                                    //initial UR no comments
                                    if (urDetail.comments.length === 0 && URCommentsHideInital.checked == true) {
                                        UrcURType = UrcURType + " initial";
                                    }


                                    //urcToConsole('UrcURType: ' + UrcURType);

                                    //show or hide URs|| NumberOfComments > 3 || NumberOfComments < 3

                                    if (W.model.mapUpdateRequests.objects[id].attributes.open === false) {
                                        if (URCommentsHideClosed.checked == true) {
                                            UrcURType = UrcURType + " IsClosed";
                                        } else {
                                            UrcURType = UrcURType + " ClosedNotHiden";
                                        }
                                    }

                                    if (UrcURType.indexOf("IsTagged") > 0) { //|| NumberOfComments > 2
                                        //urcToConsole('UR is tagged and set to be hidden');
                                        urStyle = 'hidden';

                                    } else if (UrcURType.indexOf("InBetweenStates") > 0 || UrcURType.indexOf("NeedsReminder") > 0 || UrcURType.indexOf("NeedsClose") > 0 || UrcURType.indexOf("initial") > 0 || UrcURType.indexOf("HasUserReplies") > 0 || UrcURType.indexOf("IsClosed") > 0 || UrcURType.indexOf("NotMyUR") > 0 || UrcURType.indexOf("WithoutDescription") > 0 || UrcURType.indexOf("WithDescription") > 0 ) {
                                        urStyle = 'hidden';
                                    } else {
                                        urStyle = 'visible';
                                    }
									//console.log("id: " + id + " UrcURType: " + UrcURType + " urStyle: " + urStyle + " Marked: " + Marked);

                                    //W.map.layers[uroURLayerIdx].markers[id].icon.imageDiv.style.visibility = urStyle;
                                    $('[data-id="' + id + '"]').css("visibility", urStyle);
                                    //urcToConsole('next ur ' + id);

                                    //when filtering is disable and URO filters are disabled reshow all the UR
                                } else if (URCommentsFilterEnabled.checked == false && uroURFiltersActive === false) {
                                    //urcToConsole('UR filtering is disabled showing all ur ' + id);
                                    urStyle = 'visible';
                                    // W.map.layers[uroURLayerIdx].markers[id].icon.imageDiv.style.visibility = urStyle;
                                    $('[data-id="' + id + '"]').css("visibility", urStyle);
                                }


                            }
                            window.HideUR = "stopped";
                            //urcToConsole('rem done filtering UR, Total UR: ' + TotalVisibleURCount);

                            //URComments.ShowWMEMessage("URComments: Machete808Count: " + window.Machete808Count,600000);
                            //alert(CountsBGColor);

                        } catch (e) {

                            setTimeout(URComments.FilterURs('error retry'), 1000);
                            //urcToConsole('Responder: error obtaining UR response = ' + e);
                            //window.HideUR = "stopped";
                        }
                    }
                });
                urcToConsole("" + a + " total visible: " + TotalVisibleURCount); // + " allID " + allID);
                //window.HideUR = "stopped";

            } else {
                //urcToConsole("no UR aborting");
                window.HideUR = "stopped";
            }

        };
    };

    URComments.OpenNextUR = function(message, delay) {
        return function() {
            setTimeout(URComments.OpenNextUR(a, allID, TotalVisibleURCount), 0);

        };
    };

    URComments.ShowWMEMessage = function(message, delay) {
        //if ($("#URCMapNote").length <= 0){

		//delay = 10000;

		var dateNow = new Date();
        TrickRemove = dateNow.getTime();

        //var message = "URComments UR Filtering has been disabled because URO\'s UR filters are active.";
        //var message = "URComments: Can not find the comment box! In order for this script to work you need to have a user request open."
        //var message = "URComments: Adding reminder message to UR: 4239896"
        //delay = 10000;
		//message = "test";
        var width = message.length * 10;

		//message holder div
        var c = '<div id="URCMessage" style="width: 100%; font-size: 15px; font-weight: bold; margin-left: auto; margin-right: auto; position: absolute; top: 0px; left: 10px; z-index: 1000;"></div>';
        $("#map").append(c);

		//message div
		var d = '<div id="URCMapNote' + TrickRemove + '" style="width: ' + width + 'px; font-size: 15px; font-weight: bold; margin-left: auto; margin-right: auto; background-color: orange;"><center><b>' + message + '</b></center></div>';
		$("#URCMessage").append(d);

		//remove messages after the duration has passed
        $("#URCMapNote" + TrickRemove).show().delay(delay).queue(function(n) {
            $(this).remove();
            n();
        });
        //}
    };



    /*
    CountsBGColor = "#FFFF99"; //light yellow = UR that are waiting for the last editor but still has time before the Close days setting ex 7 days
    CountsBGColor = "#CCCCCC"; //light grey = URO styled notes ex [NOTE]
    CountsBGColor = "#FFCC99"; //peach = another editor before the close days has gone by has user reply
    CountsBGColor = "#FF8B8B"; //light red = past the close days setting and is now able to be taken over by another editor
    CountsBGColor = "white"; = UR that "belong to the editor logged in that need work
    CountsBGColor = "#79B5C7"; //light blue = UR that "belong to the editor logged in that have user replies


    White = The editor logged in has comments on the UR and the UR needs work
    light blue = The editor logged in has comments on the UR and the UR's last comment was a user reply
    light red = past the close days setting and is now able to be taken over by another editor

    light yellow = UR that are waiting for the another editor to send a reminder or to be closed but still has time before the Close days setting (ex 7 days)
    peach = UR that another editor had commented on but the last comment is a user reply

    light grey = URO styled notes ex [NOTE]

    */



    //save what comment list is selected and then build the tab
    URComments.BoilerPlateCreatorsFunction = function() {

		if (BoilerPlateCreators.value !== "---User's Lists---") {

			//unset all the previuos lists kb shortcuts
			var ScriptName = 'URC' + localStorage.getItem('BoilerPlateCreators');
			for (var name in W.accelerators.Actions) {
				if (W.accelerators.Actions[name].group == ScriptName) {
					W.accelerators.Actions[name].enabled = false;
				}
			}


            //save the selection
            localStorage.setItem('BoilerPlateCreators', BoilerPlateCreators.value);

            //clear the html from the tabs
            $("#sidepanel-Comments").html('');
            //reload the content
            ChangeLanguage = true;

            //setTimeout(URComments_bootstrap, 20);
            URComments_bootstrap();
        } else {
            $("#BoilerPlateCreators").val(localStorage.getItem('BoilerPlateCreators'));
        }
    };


    URComments.URCommentZoomOutcheck = function(Title, URStatus) {
        return function() {
            //urcToConsole("zoom out URCommentZoomOutcheck");

            //this is the new place for zooming out and will still be happening while the comment is sending
            //zoom out option - if the user option is set to reload map after posting a comment reply
            if (UrCommentZoomOutAfterComment.checked === true) {
                //urcToConsole("zoom out ZoomOutAfterComment enabled");
                setTimeout(URComments.SetZoomCloseUR(ReturnToCurrentZoom, "LeaveOpen"), 0);
            } else {
                //alert("autozoomout not checked");
            }
            setTimeout(URComments.URCommentSendBtnClicked(Title, URStatus), 20);
        };
    };

    URComments.URCommentSendBtnClicked = function(Title, URStatus) {

        //waze is weird and after clicking send button the close button had to be refound, which takes a few seconds for the new close button to be drawn
        // so we wait 1500 milliseconds before looking for the close button
        //since we are passing vars to the next function we have to pass this to handler function so it doesn't happen on click

        //the above is still true but what i have found is that it sometimes takes a while from clicking send to the comment actually posting. there was time when i closed the comment before it actually posted and it would have to be redone. so added a check and a timeout and recheck if the textarea isn't empty. afterwards we can re-grab and click the close button
        return function() {
            //grab the close button to compare to later
            CloseButtonHolder = $(".problem-panel-navigation button.close-button");

            //check to see if the comments went through before saving or closing the comment
            if ($(".new-comment-text").val() !== "" && $(".new-comment-text").val() !== undefined) {
                //urcToConsole('the send button was clicked, Waiting for the comment to send. ' + PauseCount);
                //urcToConsole("current comment = " + $(".new-comment-text").val());
                //urcToConsole("current comment = ");
                PauseCount++;
                setTimeout(URComments.URCommentSendBtnClicked(Title, URStatus), 20);
            } else {
                //urcToConsole('The comment went through, jumping to CloseDelayHack2');
                PauseCount = "1";

                //check if we want to unfollow
                if ($("#URCommentURUnfollow").is(":checked") && (!$("#follow-on-10").is(":checked"))) {
                    $('#follow-on-10').trigger('click');
                    //setTimeout(URComments.URCommentSendBtnClicked(Title, URStatus), 20);
                    var urID = $(".update-requests .selected").data("id");
                    //urcToConsole("toggleFollowConversation id " + urID);
                    //W.model.updateRequestSessions.objects[urID].toggleFollowConversation('false');
                    setTimeout(URComments.toggleFollowConversation(urID), 500);
                }
                //delay this command for uro not to freakout on refreshing uro bubble ur count
                setTimeout(URComments.CloseDelayHack2(Title, URStatus), 100);

            }
        };
    };


    URComments.toggleFollowConversation = function(urID) {
        return function() {
            //urcToConsole("toggleFollowConversation id " + urID);
            W.model.updateRequestSessions.objects[urID].toggleFollowConversation('false');
        };
    };


    //this checks to see if the Waze's save button is waiting to be clicked.
    //currently unused
    URComments.WazeSaveWaiting = function() {
        if ($(".WazeControlSave").hasClass('ItemInactive')) {
            return true;
        } else {
            return false;
        }
    };

    URComments.CloseDelayHack2 = function(Title, URStatus) {
        return function() {
            //urcToConsole("CloseDelayhack2 " + Title + " " + URStatus);

            PauseCount = "1";
            //urcToConsole("New close button");
            //wrap the code in the finding of the new close button

            //now that we found the new close button and send was clicked

            //lets check if we should click close or save
            //when clicking save you dint need to click close

            //this checks to see if the Waze's save button is waiting to be clicked.
            //URComments.WazeSaveWaiting()

            if (URStatus.toLowerCase() === "solved" || URStatus.toLowerCase() === "notidentified") {
                //urcToConsole("CloseDelayhack2 Solved or NotIdentified- Clicking Save");
                //this clicks the waze save btn
                if (URCommentAutoClickURStatus.checked === true && UrCommentSaveAfterComment.checked === true) {
                    //click save
                    //$('#toolbar #edit-buttons .WazeControlSave').trigger('click');

					//from Cardyin 5/26/2016
					$('.toolbar-button.waze-icon-save').trigger('click');
                } else if (UrCommentAutoCloseComment.checked) {
                    //$(".problem-panel-navigation button.close-button").trigger('click');
					$("#panel-container > div > div > div.top-section > a").trigger('click');
				}

            } else {
                //when not saving you have to click close.
                //urcToConsole("CloseDelayhack2 since we are not saving click the close button");
                if (UrCommentAutoCloseComment.checked) {
                    //urcToConsole("CloseDelayhack2 auto close option checked");


                    //normal editor
                    if ($("#panel-container > div > div > div.top-section > a").length !== 0) {
						$("#panel-container > div > div > div.top-section > a").trigger('click');
                    }

                    //beta editor
                    if ($(".problem-edit .header .close-panel").length !== 0) {
                        //urcToConsole("zoom out CloseDelayHack2 beta editor");
                        $(".problem-edit .header .close-panel").trigger('click');
                        //setTimeout(function() {
                        //    $('a .close-popover').trigger('click');
                        // }, 2000);
                    }

                    //since saving above reloads the map we need this reload only to happen when we dont click save
                    //auto reload map for non save urs
                    //if (UrCommentAutoReloadAfterComment.checked) {
                    //    setTimeout(URComments.AutoReloadMapOnComment, 500);
                    //}
                }
            }

            //urcToConsole("end of saving or closing comment");
            //}

            //this is the new place for zooming out and will still be happening while the comment is sending
            //zoom out option - if the user option is set to reload map after posting a comment reply
            if (UrCommentZoomOutAfterComment.checked === true) {
                //urcToConsole("zoom out CloseDelayHack2");
                setTimeout(URComments.SetZoomCloseUR(ReturnToCurrentZoom, "LeaveOpen"), 0);
            } else {
                //alert("autozoomout not checked");
            }

            setTimeout(URComments.urcUREvent_onObjectsAdded('URCommentsReload'), 0);

        };
    };

    URComments.SetZoomCloseUR = function(a, b) {
        //this sets the map zoom; 0 is all the way out; 10 is all the way in but next to useless (the map and sat views disappear);
        //the closest zoom that shows the sat and map is zoom 9
        return function() {
            //urcToConsole("Setting map zoom to: " + a + " with flag: " + b);
            //alert(a + " " + b);
            W.map.setCenter(W.map.getCenter(), a);
            //close ur if zooming out to
            if (b === "CloseUR") {
                //alert(b);

                //normal editor
                /*                if ($(".problem-panel-navigation button.close-button").length !== 0) {
                                    $(".problem-panel-navigation button.close-button").trigger('click');
                                }
                */
                //beta editor
                if ($(".problem-edit .header .close-panel").length !== 0) {
                    $(".problem-edit .header .close-panel").trigger('click');
                    // setTimeout(function() {
                    //    $('a .close-popover').trigger('click');
                    // }, 2000);
                }
            }
        };
    };

    URComments.AutoReloadMapOnComment = function() {
        //waze together with URO is buggy i have to close the comment window before reloading the map or the pin ends up getting stuck on for all URO filters and it takes a page reload to fix it.
        // to get URO to rescan urs that have been commented on you have to reload the map this also causes URO to hide the ones that no longer fit the current URO filters like when using my pre-sets
        //click the reload button for the map
		$(".controls-container .fa-repeat.reload-button").trigger('click');
    };

    URComments.ConfirmToConsole = function() {
        //over ride the default action of the standard confirm by writing confirm to a new function nconfirm, making a 'fake' confirm and then restoring confirm by copying the nconfirm back over confirm!
        nconfirm = confirm;
        confirm = function(msg) {
            //if ((I18n.translations[I18n.locale].update_requests.panel.confirm == msg) && (uroGetCBChecked('_cbDisablePendingQuestions') == true)) {
            //urcToConsole('URComment confirm redirected to console: ' + msg);
            return true;
        };
    };

    URComments.RestoreConfirmToConfirm = function() {
        //restore the normal action of confirm by writing nconfirm to back over confirm, so the site is able to send user messages outside of my script!
        confirm = nconfirm;
    };

    URComments.AutoZoomIN = function(Title, Comment, URStatus, urID, AutoSendComment) {
        return function() {
            urcToConsole("AutoZoomIN");
            var URCommentsUnsavedDetected = false;
            var URCommentsUnsaveCount = $(".WazeControlSave .counter").html();

            //detect unsaved changed if there are and the auto save option is on abort adding comments to the UR
            if (URCommentsUnsaveCount > 0 && $("#UrCommentSaveAfterComment").is(":checked") && URStatus.toLowerCase() !== "open") {
                URCommentsUnsavedDetected = true;
                alert(URC_USER_PROMPT[9]); //"UrComments has detected that you have unsaved changes!\n\nWith the Auto Save option enabled and with unsaved changes you cannot send comments that would require the script to save. Please save your changes and then re-click the comment you wish to send."
            }
            //URCommentsUnsavedDetected = true;

            //get urid for manually clicked comments
            if (urID === 0 || urID === "" || urID === undefined) {
                urID = $(".update-requests .selected").data("id");
            }

            //check to see if the auto zoom in option in enabled if it is start the zooming in process
            //urcToConsole("AutoZoomIN checking if we should zoom in based of if the Title is the same as the reminder title: " + Title + " pointer title: " + URCommentsArray[ReminderPosistion] + " urID: " + urID);
            //having OneOrTheOTher first is a hack to make the logic work
            var OneOrTheOTher = "no";

            if (UrCommentNewZoomIn.checked === true && Title !== URCommentsArray[ReminderPosistion] && Title !== URCommentsArray[CloseNotIdentifiedPosistion] && AutoSendComment !== "AutoSendComment") {
                OneOrTheOTher = "yes";
            }

            //alert(OneOrTheOTher);
            if (OneOrTheOTher === "yes" && URCommentsUnsavedDetected === false) {

                //urcToConsole("AutoZoomIN zooming to location");

                //predefined zoom threshold for auto zoom
                var zoom = 4;

                //do not zoom back out if we are already zoomed in and just happen to be re-clicking on a UR.
                //or we have the map set good for a 4-day reminder
                var WazeCurrentZoom = URComments.GetWazeMapZoomLevel();

                if (WazeCurrentZoom < zoom) {
                    URComments.gotoURById(urID, 5);
                }

                //setTimeout(URComments.AutoZoomIN2(Title, Comment, URStatus), 2500);
                setTimeout(URComments.PostURComment(Title, Comment, URStatus, AutoSendComment, urID), 1);

            } else if (URCommentsUnsavedDetected === false) {

                //auto zoom in is disabled jump to postURComment
                //alert("else");
                //urcToConsole("AutoZoomIN disabled to PostURComment id - " + urID);
                //we have to use set timeout here because we need the  return function() in PostURComment
                //for when we are zooming in and out for the reminder
                //since we are not zooming here jump rigth to PostURComment
                setTimeout(URComments.PostURComment(Title, Comment, URStatus, AutoSendComment, urID), 1);
            }

        };
    };


	URComments.CrossHairsClicked = function(urID, zoom) {
		return function() {
			setTimeout(URComments.gotoURById(urID, 5), 500);
		};
	};


    URComments.gotoURById = function(urID, zoom) {
        //alert(urID);
        //$('span[id="WME_AutoUR_Count"]').html((WMEAutoUR.Auto.index+1)+"/"+WMEAutoUR.Auto.UR_len);
        //save zoom so we can return this the current zoom level
        ReturnToCurrentZoom = URComments.GetWazeMapZoomLevel();

		var x;
		if(W.model.mapUpdateRequests.objects[urID].attributes.geometry.realX === undefined){ //uro fix
		   x = W.model.mapUpdateRequests.objects[urID].attributes.geometry.x;
		} else {
		   x = W.model.mapUpdateRequests.objects[urID].attributes.geometry.realX; //uro fix
		}
		//var x = W.model.mapUpdateRequests.objects[urID].attributes.geometry.x;
        var y = W.model.mapUpdateRequests.objects[urID].attributes.geometry.y;

        //urcToConsole("gotoURById: " + "x: " + x + "y: " + y + "zoom: " + zoom);

        W.map.setCenter([x, y], zoom);
        return;
    };

    URComments.GetWazeMapZoomLevel = function(Title, Comment, URStatus) {
        zoom = W.map.mapState.mapLocation.zoom;
        urcToConsole("Current Zoom: " + zoom);
        return zoom;
    };


    URComments.WaitForURtoOpen = function(Title, Comment, URStatus, urID, AutoSendComment) {
        return function() {
			urcToConsole("WaitForURtoOpen");
            if ($(".new-comment-text")[0]) {
                setTimeout(URComments.AutoZoomIN(Title, Comment, URStatus, urID, AutoSendComment), 500);
            } else {
                setTimeout(URComments.WaitForURtoOpen(Title, Comment, URStatus, urID, AutoSendComment), 200);
            }
        };
    };


    URComments.PostURComment = function(Title, Comment, URStatus, AutoSendComment, urID) {
        // the user clicked on a comment link
        return function() {
            //Swap out special text
            Comment = URComments.StringSwap(Comment);
            urcToConsole("attaching to send button " + Title + " - " + Comment + " - " + URStatus);

            //add event listener that runs most of the options = URCommentZoomOutcheck
            //$('.new-comment-form .new-comment-text + .btn-default').click(URComments.URCommentZoomOutcheck(Title, URStatus));

			$('.new-comment-form .send-button').click(URComments.URCommentZoomOutcheck(Title, URStatus));

            //check if the comment text area is present if not alert the user to open a UR
            if ($(".new-comment-text")[0]) {
                //urcToConsole('found comment box ' + Title + ' - ' + Comment);
                $(".new-comment-text").val(Comment).change();
                $('.new-comment-text').keyup();
                if(!$('.no-comments')) {
                    $(".new-comment-text").css("backgroundColor","Yellow");
                }
               // $($('textarea.new-comment-text').get(0)).change();
                //click the Ur status
                setTimeout(URComments.CheckIfClickStatus(URStatus, AutoSendComment), 100);
            } else {
                //we were unable to find an open UR
                URComments.ShowWMEMessage(URC_USER_PROMPT[10], 5000); //"URComments: Can not find the comment box! In order for this script to work you need to have a user request open."
            }
        };
    };

    //this is part of the script that gets the maps position for the 4 day reminder map link
    getQueryString = function(link, name) {
        var pos = link.indexOf(name + '=') + name.length + 1;
        var len = link.substr(pos).indexOf('&');
        if (-1 == len) len = link.substr(pos).length;
        return link.substr(pos, len);
    };

    URComments.CheckIfClickStatus = function(URStatus, AutoSendComment) {
        return function() {
            urcToConsole("checking ur status function: " + URStatus + " " + AutoSendComment);

            if (URCommentAutoClickURStatus.checked === true) {
				urcToConsole("URCommentAutoClickURStatus = true");
                //bypass the confirm function so other site messages do not come up!
                URComments.ConfirmToConsole();

                //click the ur status options (Not identified solved, open)
                if ($("input[value='open']").length !== 0) {
					urcToConsole("open !== 0");

                    $(".problem-edit .body").scrollTop($(".problem-edit .body")[0].scrollHeight);

					urcToConsole("scrollTop");

					if (URStatus.toLowerCase() == "notidentified") {
						urcToConsole("notidentified click");
                        //click Not identified
                        //$("#state-not-identified-9").trigger('click');
						$("input[value='not-identified']").trigger('click');
					} else if (URStatus.toLowerCase() == "solved") {
						urcToConsole("solved click");
                        //click solved
                        //$("#state-solved-8").trigger('click');
						$("input[value='solved']").trigger('click');
					} else {
						urcToConsole("open click");
                        //click back on open just encase the wrong reply was clicked previously
                        //$("#state-open-7").trigger('click');
						$("input[value='open']").trigger('click');
                    }
                }

                //restores confirm function so other site messages come up!
                URComments.RestoreConfirmToConfirm();
                //wait for the status to change
            }

            if (AutoSendComment === "AutoSendComment") {
				urcToConsole("AutoSendComment");
                setTimeout(URComments.URVerfiyStatusSet(URStatus, AutoSendComment), 1);
            }
        };
		urcToConsole("end of CheckIfClickStatus");
    };

    URComments.URVerfiyStatusSet = function(URStatus, AutoSendComment) {
        return function() {
            urcToConsole("URVerfiyStatusSet function: " + URStatus + " " + AutoSendComment);
            var URStatusOk = true;

            if (URCommentAutoClickURStatus.checked === true) {

                if (URStatus.toLowerCase() == "notidentified") {
                    //click Not identified
                    if ($("input[value='not-identified']").is(":checked") == false) {
                        URStatusOk = false;
                    }
                } else if (URStatus.toLowerCase() == "solved") {
                    //click solved
                    if ($("input[value='solved']").is(":checked") == false) {
                        URStatusOk = false;
                    }
                } else {
                    //click back on open just encase the wrong reply was clicked previously
                    if ($("input[value='open']").is(":checked") == false) {
                        URStatusOk = false;
                    }
                }

            }

            if (URStatusOk == true) {
                setTimeout(URComments.AutoClickSend(URStatus, AutoSendComment), 10);
            } else {
                //urcToConsole("UR Status has yet to change waiting 250ms");
                setTimeout(URComments.URVerfiyStatusSet(URStatus, AutoSendComment), 150);
            }

        };
    };

    URComments.AutoClickSend = function(URStatus, AutoSendComment) {
        return function() {
            //urcToConsole("checking if we are auto clicking the send button");
            if (AutoSendComment === "AutoSendComment") {
                //urcToConsole("Auto clicking the send button");
                //$('.new-comment-form .new-comment-text + .btn-default').trigger('click');
				$('.new-comment-form .send-button').trigger('click');


            }
        };
    };

    ////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ////
    //// on start-up keep checking the site to see if the me tab is loaded
    ////
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////

    URComments.startcode = function() {
        // Check if WME is loaded, if not, waiting a moment and checks again. if yes init URComments
        //try {
		//look for the me tab instead if the buggy chat room!



			if($("#user-tabs").length){
				//urcToConsole("Found user-details window");
				URComments.init();
			} else {
				//console.log("not def");
				urcToConsole("Could not find user-details window");
				setTimeout(URComments.startcode, 2000);
			}



           /* var element = $("#user-details");
            //urcToConsole("Found user-details window");
            if (typeof element !== "undefined" && element.value !== '') {
                //urcToConsole("Test2");
                URComments.init();
                //urcToConsole("Test3");
            } else {
                setTimeout(URComments.startcode, 2000);
            }*/


        /* catch (err) {
            //urcToConsole(err);
            if (err === "TypeError: element is null" || err === "TypeError: element is null") {
                setTimeout(URComments.startcode, 2000);
            }
            setTimeout(URComments.startcode, 2000);
			*/
       // }
    };


    /*
    //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ////    URO Preset Filters
    ////
    //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    //URO+ these are the tags of all of the items URO uses to filter URs
    URComments.UROCheckboxesArray = ["_cbFilterWazeAuto",
                                     "_cbFilterIncorrectTurn",				//
                                     "_cbFilterIncorrectAddress",			//
                                     "_cbFilterIncorrectRoute",				//
                                     "_cbFilterMissingRoundabout",			//
                                     "_cbFilterGeneralError", 				//
                                     "_cbFilterTurnNotAllowed",				//
                                     "_cbFilterIncorrectJunction",			//
                                     "_cbFilterMissingBridgeOverpass",		//
                                     "_cbFilterWrongDrivingDirection",		//
                                     "_cbFilterMissingExit",				//
                                     "_cbFilterMissingRoad",				//
                                     "_cbFilterBlockedRoad",				//
                                     "_cbFilterMissingLandmark",			//
                                     "_cbFilterUndefined",					//
                                     //"_cbFilterCryosphere",				//
                                     "_cbFilterRoadworks",					//
                                     "_cbFilterConstruction",				//
                                     "_cbFilterClosure",					//
                                     "_cbFilterEvent",						//
                                     "_cbFilterNote",						//
                                     "_cbInvertURFilter",					//
                                     "_cbFilterOpenUR", 					//
                                     "_cbFilterClosedUR",					//
                                     "_cbFilterSolved",						//
                                     "_cbFilterUnidentified",				//
                                     "_cbEnableMinAgeFilter",				//
                                     "_cbEnableMaxAgeFilter",				//
                                     "_cbURDescriptionMustBePresent",		//
                                     "_cbURDescriptionMustBeAbsent", 		//
                                     "_cbEnableKeywordMustBePresent", 		//
                                     "_cbEnableKeywordMustBeAbsent", 		//
                                     "_cbCaseInsensitive", 					//
                                     "_cbHideMyComments", 					//
                                     "_cbHideAnyComments", 					//
                                     "_cbHideIfLastCommenter", 				//
                                     "_cbHideIfNotLastCommenter", 			//
                                     "_cbHideIfReporterLastCommenter",		//
                                     "_cbHideIfReporterNotLastCommenter",	//
                                     "_cbEnableMinCommentsFilter", 			//
                                     "_cbEnableMaxCommentsFilter", 			//
                                     "_cbHideMyFollowed", 					//
                                     "_cbHideMyUnfollowed", 				//
                                     "_cbEnableCommentAgeFilter2", 			//
                                     "_cbEnableCommentAgeFilter", 			//
                                     "_cbNoFilterForTaggedURs",				//
                                     "_cbURUserIDFilter",					//Without comments from user
                                     "_cbURResolverIDFilter"				//Not resolved by user
                                    ];

    URComments.UROPresetHighlight = function(a) {
        if (a === "URONewNoDescription") {
            $('#URONewNoDescription').css('background-color', '#FFFF66');
            $('#URCommentURONEW').css('background-color', '');
            $('#URCommentURO4DayFollowUp').css('background-color', '');
            $('#URCommentURO7Day').css('background-color', '');
            $('#URCommentURO8Day').css('background-color', '');
            $('#URCommentURO10Day').css('background-color', '');
            $('#URCommentURO24Hr').css('background-color', '');
        }

        if (a === "UroShowNew") {
            $('#URONewNoDescription').css('background-color', '');
            $('#URCommentURONEW').css('background-color', '#FFFF66');
            $('#URCommentURO4DayFollowUp').css('background-color', '');
            $('#URCommentURO7Day').css('background-color', '');
            $('#URCommentURO8Day').css('background-color', '');
            $('#URCommentURO10Day').css('background-color', '');
            $('#URCommentURO24Hr').css('background-color', '');
        }
        if (a === "URO4DayFollowUp") {
            $('#URONewNoDescription').css('background-color', '');
            $('#URCommentURONEW').css('background-color', '');
            $('#URCommentURO4DayFollowUp').css('background-color', '#FFFF66');
            $('#URCommentURO7Day').css('background-color', '');
            $('#URCommentURO8Day').css('background-color', '');
            $('#URCommentURO10Day').css('background-color', '');
            $('#URCommentURO24Hr').css('background-color', '');
        }
        if (a === "URO7Day") {
            $('#URONewNoDescription').css('background-color', '');
            $('#URCommentURONEW').css('background-color', '');
            $('#URCommentURO4DayFollowUp').css('background-color', '');
            $('#URCommentURO7Day').css('background-color', '#FFFF66');
            $('#URCommentURO8Day').css('background-color', '');
            $('#URCommentURO10Day').css('background-color', '');
            $('#URCommentURO24Hr').css('background-color', '');
        }
        if (a === "URO8Day") {
            $('#URONewNoDescription').css('background-color', '');
            $('#URCommentURONEW').css('background-color', '');
            $('#URCommentURO4DayFollowUp').css('background-color', '');
            $('#URCommentURO7Day').css('background-color', '');
            $('#URCommentURO8Day').css('background-color', '#FFFF66');
            $('#URCommentURO10Day').css('background-color', '');
            $('#URCommentURO24Hr').css('background-color', '');
        }
        if (a === "URO10Day") {
            $('#URONewNoDescription').css('background-color', '');
            $('#URCommentURONEW').css('background-color', '');
            $('#URCommentURO4DayFollowUp').css('background-color', '');
            $('#URCommentURO7Day').css('background-color', '');
            $('#URCommentURO8Day').css('background-color', '');
            $('#URCommentURO10Day').css('background-color', '#FFFF66');
            $('#URCommentURO24Hr').css('background-color', '');
        }
        if (a === "URO24Hr") {
            $('#URONewNoDescription').css('background-color', '');
            $('#URCommentURONEW').css('background-color', '');
            $('#URCommentURO4DayFollowUp').css('background-color', '');
            $('#URCommentURO7Day').css('background-color', '');
            $('#URCommentURO8Day').css('background-color', '');
            $('#URCommentURO10Day').css('background-color', '');
            $('#URCommentURO24Hr').css('background-color', '#FFFF66');
        }
        if (a === "UROclearUROFiltrs") {
            $('#URONewNoDescription').css('background-color', '');
            $('#URCommentURONEW').css('background-color', '');
            $('#URCommentURO4DayFollowUp').css('background-color', '');
            $('#URCommentURO7Day').css('background-color', '');
            $('#URCommentURO8Day').css('background-color', '');
            $('#URCommentURO10Day').css('background-color', '');
            $('#URCommentURO24Hr').css('background-color', '');
        }

    };

    URComments.UROClearClicked = function(a) {
        return function() {

            URComments.UROPresetHighlight(a);

            //save the current preset so we can reaply the highlighting on startup
            localStorage.setItem('UROCurrentPeset', a);

            if ($("#sidepanel-uroverview").length) {
                //alert("test");
                //urcToConsole("URO clear");
                //this is the array used to store the URO id tags

                //go over the array and clear all of the URO+ check boxes
                for (var URComments_URO_Index = 0; URComments_URO_Index < URComments.UROCheckboxesArray.length; URComments_URO_Index = URComments_URO_Index + 1) {

                    if ($('#' + URComments.UROCheckboxesArray[URComments_URO_Index]).length <= 0) {
                        alert("there was an error finding URO's tag " + URComments.UROCheckboxesArray[URComments_URO_Index]);
                        return false;
                    }

                    if ($('#' + URComments.UROCheckboxesArray[URComments_URO_Index]).is(":checked")) {
                        //clicks the checkbox by if the checkbox is checked
                        $('#' + URComments.UROCheckboxesArray[URComments_URO_Index]).trigger('click');
                    } else {
                        //click check box if checkbox in unchecked
                        //$(document.getElementById(URComments.UROCheckboxesArray[ URComments_URO_Index ])).trigger('click');
                    }
                }

                // make it so uro+ doesnt filter tagged urs [NOTE]...
                $('#_cbNoFilterForTaggedURs').trigger('click');
                if (a === "UroShowNew") {
                    //urcToConsole("URO show new");
                    //If last comment made by UR reporter? chose no
                    $('#_cbHideIfReporterNotLastCommenter').trigger('click');
                }
                if (a === "URONewNoDescription") {
                    //only show no user description
                    $('#_cbURDescriptionMustBeAbsent').trigger('click');

                    //hide reporter did not leave the last comment
                    $('#_cbHideIfReporterNotLastCommenter').trigger('click');

                    //Hide With more than 1 comments
                    $('#_cbEnableMaxCommentsFilter').trigger('click');
                    $('#_inputFilterMaxComments').val(1);
                }
                if (a === "URO4DayFollowUp") {
                    //urcToConsole("URO 4 day");

                    //hide With less than 1 comments
                    $('#_inputFilterMinComments').val(1);
                    $('#_cbEnableMinCommentsFilter').trigger('click');

                    //Hide With more than 1 comments
                    $('#_inputFilterMaxComments').val(1);
                    $('#_cbEnableMaxCommentsFilter').trigger('click');

                    //Hide Last comment less than 4 days ago
                    $('#_inputFilterCommentDays2').val(4);
                    $('#_cbEnableCommentAgeFilter2').trigger('click');

                }
                if (a === "URO7Day") {
                    //urcToConsole("URO 7 day");

                    //hide With less than 1 comments
                    $('#_inputFilterMinComments').val(1); //1
                    $('#_cbEnableMinCommentsFilter').trigger('click');

                    //hide Last comment less than 7 days ago
                    $('#_inputFilterCommentDays2').val(7);//7
                    $('#_cbEnableCommentAgeFilter2').trigger('click');

                    //hide If last comment made by UR reporter?
                    $('#_cbHideIfReporterLastCommenter').trigger('click');
                }
                if (a === "URO8Day") {
                    //urcToConsole("URO 7 day");

                    //hide With less than 1 comments
                    $('#_inputFilterMinComments').val(1); //1
                    $('#_cbEnableMinCommentsFilter').trigger('click');

                    //hide Last comment less than 8 days ago
                    $('#_inputFilterCommentDays2').val(8);//8
                    $('#_cbEnableCommentAgeFilter2').trigger('click');

                    //hide If last comment made by UR reporter?
                    $('#_cbHideIfReporterLastCommenter').trigger('click');
                }
                if (a === "URO10Day") {
                    //urcToConsole("URO 10 day");

                    //hide With less than 1 comments
                    $('#_inputFilterMinComments').val(1); //1
                    $('#_cbEnableMinCommentsFilter').trigger('click');

                    //hide Last comment less than 8 days ago
                    $('#_inputFilterCommentDays2').val(10);//10
                    $('#_cbEnableCommentAgeFilter2').trigger('click');

                    //hide If last comment made by UR reporter?
                    $('#_cbHideIfReporterLastCommenter').trigger('click');
                }
                if (a === "URO24Hr") {

                    //alanoftheberg

                    //check "Hide URs less than days old" "8" days old
                    $('#_inputFilterMinDays').val(8);//8
                    $('#_cbEnableMinAgeFilter').trigger('click');


                    //check "yes" on "If last comment made by UR reporter?"
                    $('#_cbHideIfReporterLastCommenter').trigger('click');

                    //check "With less than" and put in "1" comments
                    $('#_inputFilterMinComments').val(1);//1
                    $('#_cbEnableMinCommentsFilter').trigger('click');

                    //check "Last comment more than"  "1" days ago
                    $('#_inputFilterCommentDays').val(1);//1
                    $('#_cbEnableCommentAgeFilter').trigger('click');

                }
                if (a === "UROclearUROFiltrs") {}

                //shared URO settings except clear
                if (a !== "UROclearUROFiltrs") {
                    $('#_cbFilterUnidentified').trigger('click');
                }

            } else {
                alert("UR Overview Plus (URO+) needs to be installed to use these URO Presets.");
            }
        };
    };
	*/

    URComments.startcode();
}
//URComments_bootstrap();
setTimeout(URComments_bootstrap, 3000);