custombutton://%3C%3Fxml%20version%3D%221.0%22%3F%3E%0A%3Ccustombutton%20xmlns%3Acb%3D%22http%3A//xsms.nm.ru/custombuttons/%22%3E%0A%20%20%3Cname%3EButton%20Archive%20TIDY%20test%3C/name%3E%0A%20%20%3Cimage%3E%3C%21%5BCDATA%5Bdata%3Aimage/gif%3Bbase64%2CR0lGODlhEAAQAPcAAAD3QgD/MQD/QgD/Sgj3KQj/QhDnORDvORD3Sin3Y0Lve0L/Wkrna0rnc1Lne2P3jGv3jGv/a3PnlITnlITvlIT3lIzvraX3rbX/1t731t7/597/7/f/9////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////ywAAAAAEAAQAAAIVwA7RBhIsGDBDggTKlyY0KBDggwjLnz4UKJFgRQNXtzYsCJHhRkmXFhgASHFDhIeYFAAoKTFBgkgIBhwAKPDDhQIAAiAwMBFDQwM9Cx5koOGCQ4saLgYEAA7%5D%5D%3E%3C/image%3E%0A%20%20%3Cmode%3E0%3C/mode%3E%0A%20%20%3Cinitcode%3E%3C%21%5BCDATA%5B/*Initialization%20code*/%0A%0A/*%20+%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20%20Start%20of%20user%20options%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D+%20*/%0A%0A//%0A//%20If%20all%20your%20buttons%20are%20not%20listed%20on%20startup%20you%20may%20need%20more%20than%20a%20four%0A//%20second%20delay%20before%20the%20button%20list%20is%20built.%20Try%20adding%20a%20couple%20of%20seconds.%0A%0Avar%20mywait%20%3D%204%3B%0A%0A//%0A//%20When%20checking%20for%20possible%20duplicate%20button%20versions%20the%20button%0A//%20looks%20at%20the%20first%20nn%25%20of%20button%20names.%20%28see%20%22Help%22%20tab%20for%20more%29%0A%0Athis.dupcheckpercent%20%3D%2070%3B%0A%0A//%0A//%20Menus%20should%20automatically%20refresh%20after%20being%20clicked%20on.%20If%20they%20don%27t%0A//%20and%20you%20have%20to%20click%20the%20archive%20button%20again%20to%20see%20a%20menu%20try%20%0A//%20increasing%20the%20time.%20First%20to%20any%20small%20non-zero%20single%20digit%2C%20and%20if%20that%0A//%20doesn%27t%20work%20start%20delay%20from%20100%20to%20perhaps%20250%20or%20even%20500%0A%0Avar%20showmenudelay%20%3D%20100%0A%0A//%0A//%20You%20can%20see%20the%20icons%20at%20real%20size%20or%20at%20a%20standard%20size...%0A%0Avar%20realsize%20%3D%20true%3B%20//%20set%20to%20false%20for%20a%20standard%2016x16%0A%0A//%0A//%20You%20can%20see%20either%20colours%2C%20or%20ticks%2C%20or%20both%0A//%20just%20set%20one%20or%20both%20to%20true%20or%20false%0A%0Avar%20ticks%20%3D%20true%3B%0Avar%20colours%20%3D%20false%3B%0A%0A%0A//%0A//%20set%20a%20standard%20folder%20to%20save%20your%20backips%20into.%0A//%20NOTE%20THAT%20you%20need%20TWO%20backslashes%20between%20folder%20steps%20in%20the%20path%0A//%20and%20the%20path%20must%20end%20with%20a%20double%20backslash.%0A%0Avar%20filepath%20%3D%20%22c%3A%5C%5CRichardsDocs%5C%5CCustomButtonsBackup%22%0A%0A%0A/*%20+%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20%20End%20of%20user%20options%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D+%20*/%0A%0A%0A//this.setAttribute%28%20%27onclick%27%2C%20%27gQuot%28%20event%2C%20this%20%29%27%20%29%3B%20%0A%0A%0A//%20MANY%20thanks%20to%20nicholas%20for%20help%20with%20this%20attribute%0A//this.setAttribute%28%22style%22%2C%20%22padding-left%3A%202px%20%21important%3B%20padding-right%3A%202px%20%21important%3B%20padding-top%3A%200px%20%21important%3B%20padding-bottom%3A%200px%20%21important%3B%20%20margin-top%3A%204px%20%21important%3B%20margin-bottom%3A%204px%20%21important%3B%22%29%3B%0A%0A%0Avar%20nextlist%20%3D%20%22data%3Aimage/gif%3Bbase64%2CR0lGODlhGAAYAIcAAAF4tAN5tQR5tQR6tQV6tQd8tgh8tgl8twt+twx+tw1+txCAuBCAuRGBuRKBuRKBuhiEuxiFuxmFvBqFvByGvB2HvSOKviOKvySKvieMvyOMwCuOwSuQwy2Qwi6QwTCRwzKTxTSUxTeVxTaXyDuXxTqYxzyYxz2Yxj+Zxj6ayEWdykadyEedyUaey0eeykieyUify0qfyU6hy0yhzEuk0F2pz1ao0Vup0Vuq0luq01yu1mGr0GGt1GWt0Wau02Wv1Wqv02Sx12qw02qx1mqy12yx022z1m2z126012643Xa32nm623q62nq93n683H+83H7C5X/D5fpU+IC72YC93IG93YjA3InA3IvB3YvE343C3Y/D3pDE3pPF35PG34DD5YHD5YLD5YLE5YPE5YPF5YXD4oTF5YXF5YXG5obG5YfG5YbG5ojG5YjH5YnH5YjH54nH5orH5YrH5ovI5ozI5o3J547J54/J547K54/K543K6I7K6I/K6JDJ55DK55HK55HL55LK55LL55XI4JfI4JTL55XM6JbM6JfN6JnN55jN6JnN6JjO6JnO6JrO6JvP6JvP6ZzP6Z3P6ZrQ6pzQ6pzQ657Q6Z/Q6aLO46fQ5aDR6qLR6qPS6qLT7KTS6aTS6qXS6qXT6qbV7KrS5q7U56jU6qrV66zW7K7W7K7X7K/X7K/a7rDU57DV6LDX7LDa7rLY7LLb77bY6crj78Pj88Xj88Xk88/p9dPr9tjs9tjt9tzu9+bz+ef0+e/2+u/3+u/3+/D3+vD3+/H3+/D4+/H4+vH4+/L4+/P4+/P5+/T5+/X5/PX6/Pb6/Pb7/Pf7/Pj7/Pj8/fn8/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAMAAFIALAAAAAAYABgAAAj/AKUIHCjFygoFABICYCDDC8GHA7UsAGChRxdSo7bUoACAAiaIA18AOCHrGDJlKJUhO5bJA4AdIDMQmOLrV7Bix3IeM8bTVxEAKB7GIMDKmDBhw4zl5MkTWTJmhAAIGcgFABZmKE9mXWlSGbNmz4AAaCWQ4bOzCZs1w4qs7UlmzqAtw5BByhUCs6DpVQiAbc6TYJsZGwQgCwsS0hJH45vQrVdlxHrpsvWgRAK9mBkrxCqMVy5bqyiNKAAA817NCnPVelVJDxoaCaEdU/ZsMWq+e9aYMaMjNq5dvYDdZmwGTp0gCcuIikXr1vCEX4rnOZQDgIEkb/hM6jQcSpQwaegUy4qU4gAHDXjmsDmjOYr7L2DMsLmDSFMDEzYCNPFTRw7fMGGIMQYZu6kxhyCREAGAEokgAAIjhgCSUBxsqGFhG264AcccfiBiiQQVCMQDADhYAokihgTShx0s5uGHH38IcogkLQBAxUAhCLBEKJtcEokjiyjSiCOOPPJIJJf8AMAMD1UgwA2nmFJKKJxU+QkooYTiCQwAdACSCABc8AQsrqSCypmpqILEBAC4AJJARjAAQAQzHFGFE0Oo4AAAEDDxJkE+bMDYAB8YAVJAADs%3D%22%3B%0A%0Avar%20listred%20%3D%20%22data%3Aimage/gif%3Bbase64%2CR0lGODlhEAAQAPcAAN5KUucQGOdSUudaUud7c+eEjO8QEO9SQu+EjO+UjPcIAPcIGPcYEPcxKfdrY/dra/eEhPelrffn1v8ACP8IAP8ICP9CUv+Ua/+9tf/e3v/n3v/3/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////ywAAAAAEAAQAAAIVwA5XBhIsGBBDggTKlyY0KBDggwjLnz4UKJFgRQNXtzYsCJHhRIKRLBQACFFDgQcYDigoKRFAQ0eMFBQAaNDDggC0FwQ4GIGAAEqBCh5ckOGAgMSaLgYEAA7%22%3B%0A%0Avar%20listgreen%20%3D%20%22data%3Aimage/gif%3Bbase64%2CR0lGODlhEAAQAPcAAAD3QgD/MQD/QgD/Sgj3KQj/QhDnORDvORD3Sin3Y0Lve0L/Wkrna0rnc1Lne2P3jGv3jGv/a3PnlITnlITvlIT3lIzvraX3rbX/1t731t7/597/7/f/9////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////ywAAAAAEAAQAAAIVwA7RBhIsGDBDggTKlyY0KBDggwjLnz4UKJFgRQNXtzYsCJHhRkmXFhgASHFDhIeYFAAoKTFBgkgIBhwAKPDDhQIAAiAwMBFDQwM9Cx5koOGCQ4saLgYEAA7%22%3B%0A%0Avar%20clipcopy%20%3D%20%22data%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABgAAAAXCAMAAAAm/38fAAAAK3RFWHRDcmVhdGlvbiBUaW1lAFRodSAyIEp1biAyMDExIDAwOjQ4OjE0IC0wMDAwYjfkswAAAAd0SU1FB9sGARczE+ptRZIAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAEZ0FNQQAAsY8L/GEFAAAC+lBMVEX///+fn6KEhISHh4iAfoF8fH1yc3V3eXdwb3N2d3lqaW6Vk5iMi4zNzMzZ2dnd3d3NztDJx8fDw8O+v7y2tbK3uLW7vLu1trWwsLC5ur2urbKZmJ3d3+ClpamZmpemqKOkpKKqqaWgn5q0sayjoZ2ysrSLj5Di4uOSlI+eoZuqrqmssKuwrqq9ubWopaHBvbmvq6i5urqvsLSIh4uUlZKmq6udnJqqqqmrrK7l5ebFycK+xL/Ey8i4v769wcK+u7m4tLB1eHrq6Ozp6Ojd3trh4t3b4NrZ3tzc4uPW3uHX4ebW3ObW2+PW1tnW1dLc2tXg3Nja1tLZ3eDk4+Lm5uPU2tTH0NTU3uzN1uPDzd7X5PPJ0tza4urV0tDT0c3V1tW5t7vQ2eHF0eKTnbVKXXSfscO9yNTR1NrSz8qtra7l5+jw7+7T2tpdaodqgZ1Zcoqtv9LFytLS1NOZmpjz8/TR0NHn6OOkscpbaYlyhqpxjbJdep+yxNrM0Nfd29n09fXu8Om6zeZSa4xgf6tScqY4ZKBfiMBZgLF5lbjG2/XK2OnY3ubw8e/f6vFce6VWeqw2YJw1Z6pfhrxbfKmNpsTO3/Px8fHKysfs6+vm6u12hJluhqdvjLZMdKtCcbI9aqhjg65gd5Sot8fz9fh/iJVfb4mIn8Fxj7p9ntBojsVch8NkjMOEqNmIpcuEmbVdanu7wsri5uXAxM56got/jJl2h55heJloh7hylcpcg7l1m81zhZeDkqR4foWdoqmhpa+yucjEzda9zdiyx92TqcNqiblyk8Rukb+AoMlYcpapvMW5x9fByM24vMOcnJ7LzNDs7O3P0NLQ0dZOaZV0kLt/nslwj7V0jKrAwsjGx8pucn3t7vCQq9B4ka3FyM1wdodibIOwtsKWoLJpfp6Qp8aKosKPqMaEmrJtfZDn6et2gJSEkKd0haCImbSUqMOXrciYsMuKoblvgJDY2dxlc4qQobqSp794jqRjeIqyuMJUaoVjd45eeI7FzNHJAr4BAAAAAXRSTlMAQObYZgAAAgFJREFUeNpjYACBCz9//f7z9wIDOvj8ZevXbx+//8hCE/d99frN23fvP3z8JIMiLnP/wcMLjx4/efrs+YuXyBI3b3kDydvVdzqm3L2HLHH+gszF85c2Xb5y9VrH9RsXBQTqoBL1AvsPHDx0+MjRY8dPnDx1+szZc3xQGcb0TZu3bN22fcfOXQt279m7z1ACIq6eubhwydJly1esXLV6zdp16zdsNFEHS4hPnzEzetbsOe1z582fu2DhouiZhuIg8R6tsrLg3q6mvv4JEydOmjxlaoxnkco0oASfsGuDu1dUY1NzS2tbe0dnV7evqznQ+pLM0pAy95zo8PKKyqrqvJqI2vi6ACvGeoYsxux4F4+csIjI5Ny8/IK0Qt+ijMC4YneGBCEnl7hQd8/EiKTklNSktPS4uAw/10xTBm6n4BD/0FAPz7DwiMio6Bi+WP+4gJB4NQZjJ2cXV1c3dw9PTy9vHw9fP/+AQFe/ICYGHkshXisgsLaxtZW0E7LX19d1EJEQcmQw5jOU0zDRVJHX0tI2NTNQUVZRMTAzt2BjUFMXV2PSkNOU19LW1lHR1dM30BNRMDTiYGCWEZeVk1eQV5SXl1dUUlYSUVARYVSVZWPg4eXjF+AV4OUVFBISFhEWFROXkJSQkmZlYGRiYmZmZmJiYWFhZWVjZ+dgY+fk4OLgBgABaazyU/cipAAAAABJRU5ErkJggg%3D%3D%22%3B%0A%0Avar%20backlist%20%3D%20%22data%3Aimage/gif%3Bbase64%2CR0lGODlhGAAYAIcAAAF4tAN5tQR5tQR6tQV6tQd8tgh8tgl8twt+twx+tw1+txCAuBCAuRGBuRKBuRKBuhiEuxiFuxmFvBqFvByGvB2HvSOKviOKvySKvieMvyOMwCuOwSuQwy2Qwi6QwTCRwzKTxTSUxTeVxTaXyDuXxTqYxzyYxz2Yxj+Zxj6ayEWdykadyEedyUaey0eeykieyUify0qfyU6hy0yhzEuk0F2pz1ao0Vup0Vuq0luq01yu1mGr0GGt1GWt0Wau02Wv1Wqv02Sx12qw02qx1mqy12yx022z1m2z126012643Xa32nm623q62nq93n683H+83H7C5X/D5fpU+IC72YC93IG93YjA3InA3IvB3YvE343C3Y/D3pDE3pPF35PG34DD5YHD5YLD5YLE5YPE5YPF5YXD4oTF5YXF5YXG5obG5YfG5YbG5ojG5YjH5YnH5YjH54nH5orH5YrH5ovI5ozI5o3J547J54/J547K54/K543K6I7K6I/K6JDJ55DK55HK55HL55LK55LL55XI4JfI4JTL55XM6JbM6JfN6JnN55jN6JnN6JjO6JnO6JrO6JvP6JvP6ZzP6Z3P6ZrQ6pzQ6pzQ657Q6Z/Q6aLO46fQ5aDR6qLR6qPS6qLT7KTS6aTS6qXS6qXT6qbV7KrS5q7U56jU6qrV66zW7K7W7K7X7K/X7K/a7rDU57DV6LDX7LDa7rLY7LLb77bY6crj78Pj88Xj88Xk88/p9dPr9tjs9tjt9tzu9+bz+ef0+e/2+u/3+u/3+/D3+vD3+/H3+/D4+/H4+vH4+/L4+/P4+/P5+/T5+/X5/PX6/Pb6/Pb7/Pf7/Pj7/Pj8/fn8/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAMAAFIALAAAAAAYABgAAAj/AKUIHCjFiwwGABICULDCCsGHAzFRAEChxpZRpLr0sABggRaIA3cA8JDpGDJlKJUhOybrBIAXIFEAKOLLmM1jOI8VC/bL1xQCGR4KAUCIWTJkNm8eMzZMmDBjrAjEGNgKAJBnzZipxInsJEqvzLAA4CIwA4Zl0Jxp7dpVGbNmzRI+m3tQShYAg4w1w7rVpFuFAKAJnkXgSokHtnT1IuZWZVfACaNJm0yCRYERlFbZysVL2F/ICQWLTgCABho9lV7VygUasGjBCXWYMbNmT2vI0Z4pOwYtYZA6cMzchgys1y5cvQHkOJQn+JfhCW/RiiWqDIADKSIVopMmTBQowztNzuLzJokBEw00IbrDxgyYL1Higz7DZg4eDRyUACASSdAcNbORMYYYYYQBmBx1+NFEADZIUYEEliDixxxwuOFGG2pkyEYcCQFiCCMgIJCIFFQA0IIkhwjyhx9+5GHHi30EYogikFiCAwA8DDQDAD9cEskjjzjiSCOKLOJIJJdsEsoSAoTwUAcAwOBJKKGA8gknWIZSiimn3CBABSC5AMAESKiSCipopuIKLE9cAIAIIAnEBAQAOKDCEE5UccQMEQDAgBFxEmTEBwNAtoEPIAUEADs%3D%22%3B%0A%0Avar%20tick%20%3D%20%22data%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAIAAAD9iXMrAAAAK3RFWHRDcmVhdGlvbiBUaW1lAFdlZCAxIEp1biAyMDExIDIyOjIwOjIwIC0wMDAwyHewuAAAAAd0SU1FB9sGARUZOsQwxbgAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAEZ0FNQQAAsY8L/GEFAAABHElEQVR42mMsXs3KQARgAeK2gA+YEkxMLIwMjP/+//3//1/VBgEWiOiNF0eQFQlwSrz9+uTd16eGcp48HMJQ8yBAiFsaxmQU4paZtN8EyJIXPsrLIYKiDqqEgYmLnf/xu8sQrhifAtBekDPgKliZObjZBViY2bjY+GcfcQSKZDuc/Pn7K9S5EApo+J9/v5+8vw50zdMPNyCCskLaf/79QvgXCPg4Rdu3KwMZpW7Xpx2wBDIy7Y8BbWRlYkcx79vPjzVeD4GM7l2aEBEFYX2gOmDooKj78+8nKwtniNFSCDfN9iDIT4xMzDB1cOXMX3++15CwASplYmQBGvbjz9f///8zoamTFFADhwqjqULAf4b/wGhgZWJDCS8i4xcAK0tYz+0sM7gAAAAASUVORK5CYII%3D%22%3B%0A%0Avar%20cross%20%3D%20%22data%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAIAAAD9iXMrAAAAK3RFWHRDcmVhdGlvbiBUaW1lAFdlZCAxIEp1biAyMDExIDIyOjE5OjEyIC0wMDAwtJDruQAAAAd0SU1FB9sGARUZKUCOhGYAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAEZ0FNQQAAsY8L/GEFAAAAxElEQVR42o2RMQoCMRBFM38mWcFmERuxsvEAnsS72HkAL2PjITyER9hGFITFbv1JREmKZcPsMmQeLz9EDmfvJizjd9o/x6HjpbXc3bprNRMngBn8Zrn7+vJazNe/HmKKWI+++59baoBEqBigKlpzImBBlGcRpRICRSi4NA78K7xpIMd83Pc2K7g4RlD1bFg05f2ApvQxisZYVBKCA3O4YaC49EnWJM7FoDmyVpxHeL3vHk28qQZe1qV8tW/VbsefRCa+7weXGRJUyemHsAAAAABJRU5ErkJggg%3D%3D%22%3B%0A%0A%0A%0A%0Avar%20limit%3D10%3B%0Avar%20mPop%3B%0Avar%20seePop%3B%0A%0Avar%20alertstring%20%3D%20%22%22%3B%0Avar%20btn%20%3D%20%22%22%3B%0Avar%20btnid%20%3D%20%22%22%3B%0Avar%20btnimage%20%3D%20%22%22%3B%0Avar%20btntip%20%3D%20%22%22%3B%0Avar%20button_count%3B%0Avar%20btnhomepage%20%3D%20%22%22%3B%0Avar%20buttonhead%20%3D%20%22%22%3B%0Avar%20cb_count%20%3D%200%3B%0Avar%20cb_total%20%3D%200%3B%0Avar%20cbparent%20%3D%20%22%22%3B%0Avar%20checkdata%20%3D%20%22%22%3B%0Avar%20cliphead%20%3D%20%22%22%3B%0Avar%20clipreport%20%3D%20%22%22%3B%0Avar%20croplen%20%3D%2028%3B%0Avar%20dontpush%20%3D%20false%3B%0Avar%20hidepadding%20%3D%20%22%23ffffff%22%3B%0Avar%20idx%20%3D%200%3B%0Avar%20indexstring%20%3D%20%22%22%3B%0Avar%20itemcolour%20%3D%20%22%22%3B%0Avar%20itemamber%20%3D%20%22%23A10048%22%3B%0Avar%20itemgreen%20%3D%20%22%2387a705%22%0Avar%20itemred%20%3D%20%22%23f5cbcb%22%3B%0A//var%20itemgreen%20%3D%20%22%23CBCDB4%22%0A//var%20itemred%20%3D%20%22%23E2E2DB%22%3B%0Avar%20itemlight%20%3D%20%22%22%3B%0Avar%20itembrt%20%3D%200.99%3B%0Avar%20itemmed%20%3D%200.75%3B%20//%20.75%0Avar%20itemdim%20%3D%200.50%3B%20//%20.5%0Avar%20listcomplete%20%3D%20false%3B%0Avar%20makechange%20%3D%20false%3B%0Avar%20mybuttons%3B%0Avar%20mylabel%20%3D%20%22%22%3B%0Avar%20name%20%3D%20%22%22%3B%0Avar%20namecrop%20%3D%20%22%22%3B%0Avar%20nameLC%20%3D%20%22%22%3B%0Avar%20ontb%20%3D%20%22%22%3B%0Avar%20rExp%20%3D%20%22%22%3B%0Avar%20savefilename%3D%22%22%3B%0Avar%20testreport%20%3D%20%22%22%3B%0Avar%20teststr%20%3D%20%22%22%3B%0Avar%20whilecount%20%3D%200%3B%0A%0A//imagecheck%20vars%0Avar%20imgstr%20%3D%20%22%22%3B%0Avar%20chopstr%20%3D%20%22%22%3B%0Avar%20mywidth%20%3D%200%3B%0Avar%20menupad%20%3D%20%22%22%3B%0A%0A//use%20.%20_%20l%20j%20at%20menupadarry%5B0%5D%5Brequired%20pad%20width%5D%20to%20make%20the%20padding%0A//%20l%3D2px%20j%3D3px%20.%3D4px%20_%3D6px%0Avar%20menupadarray%20%3D%20new%20Array%28%29%3B%0Amenupadarray.push%28%5B%22%22%2C%22%22%2C%22l%22%2C%22j%22%2C%22.%22%2C%22jl%22%2C%22_%22%2C%22.j%22%2C%22..%22%2C%22jjj%22%2C%22._%22%2C%22..j%22%2C%22...%22%2C%22.j_%22%2C%22._.%22%2C%22...j%22%2C%22.__%22%2C%22._.j%22%2C%22___%22%2C%22.__j%22%2C%22._._%22%2C%22.j.j.j%22%2C%22.___%22%2C%22._._j%22%2C%22____%22%2C%22___.j%22%2C%22._.__%22%5D%29%3B%0A%0A%0Avar%20mythis%20%3D%20this.getAttribute%28%22id%22%29%3B%0Amythis%20%3D%20document.getElementById%28mythis%29%3B%0A%0A%0A%0A%0A%0Amywait%20%3D%20mywait%20*%201000%3B%0A%0Athis.setAttribute%28%22mylistdone%22%2C%20%22false%22%29%3B%0Amythis.setAttribute%28%22seePopvisible%22%2C%20%22false%22%29%3B%0Athis.setAttribute%28%22base64missing%22%2C%20%22false%22%29%3B%0A%0A%0Athis.tooltipText%20%3D%20%22Button%20Archive%20List%22%3B%0A%0Athis.image%20%3D%20listred%3B%0A%0A%0A%0Avar%20btnarray%20%3D%20new%20Array%28%29%3B%0Avar%20cliparray%20%3D%20new%20Array%28%29%3B%0A%0A%0A%0A%20%20%20%20let%20nItem%20%3D%20function%28label%2Cvalue%2Cname%2Cimg%2Cbtntip%2Cnamecrop%2Contb%2Cbtn%29%0A%20%20%20%20%7B%0A%20%20%20%20%20%20var%20mItem%3Ddocument.createElement%28%27menuitem%27%29%3B%0A%20%20%20%20%20%20mItem.setAttribute%28%27label%27%2Clabel%29%3B%20%20//%20namecrop%29%3B%0A%20%20%20%20%20%20mItem.value%20%3D%20value%3B%0A%20%20%20%20%20%20mItem.tooltipText%20%3D%20%22ID%20%3D%20%22%20+%20btn%20+%20%22%20%20%20%20%22%20+%20name%3B%0A%20%20%20%20%20%20mItem.setAttribute%28%27class%27%2C%27menuitem-iconic%27%29%3B%0A%20%20%20%20%20%20mItem.setAttribute%28%27image%27%2Cimg%29%3B%0A%20%20%20%20%20%20mItem.setAttribute%28%27name%27%2Cname%29%3B%0A%20%20%20%20%20%20return%20mItem%3B%0A%20%20%20%20%7D%0A%0A/*%20+%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%0A%20%20%20%20%20%20%20%20L%20I%20S%20T%20%20%20A%20L%20E%20R%20T%20%20%20F%20U%20N%20C%20T%20I%20O%20N%0A%0A%20%20%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D+%20*/%0A%0A%0A%0Amythis.listalert%20%3D%20function%28evt%29%0A%7B%0A%20%20//%20make%20the%20menupopup%0A%0A%20%20%20if%28this.getAttribute%28%22mylistdone%22%29%20%3D%3D%20%22false%22%29%0A%20%20%20%7B%0A%0A%0A%20%20%20%20mPop%3Ddocument.createElement%28%27menupopup%27%29%3B%0A%0A%20%20%20%20mPop.maxHeight%20%3D%20400%3B%20//%20screen.availHeight%20-%2050%3B%0A%0A%20%20%20%20mPop.maxWidth%20%3D%20250%3B%0A%0A%20%20%20%20//%20end%20of%20make%20menupopup%0A%0A%0A%20%20//%20reset%20btn%20array%20and%20cb_count%0A%0A%20%20%20%20btnarray%20%3D%20new%20Array%28%29%3B%0A%0A%20%20%20%20cb_count%20%3D%200%3B%0A%0A%20%20%20%20cb_total%20%3D%200%3B%0A%0A%0A%20%20//%20%20Obtain%20list%20of%20available%20buttons%0A%20%20%0A%20%20%20%20var%20buttons%20%3D%20document.getElementsByTagName%28%22toolbarbutton%22%29%3B%0A%20%20%0A%20%20%20%20button_count%20%3D%20buttons.length%3B%0A%0A%0A%20%20%0A%20%20%0A%20%20//%20%20For%20each%20button%20find%20name%20and%20id%23.%20%0A%0A%0A%20%20var%20i%20%3D%200%3B%20%20%0A%20%20for%20%28%20i%20%3D%201%3B%20%20i%20%3C%20button_count%3B%20%20i++%20%20%29%0A%20%20%7B%0A%20%20%20%20mybuttons%20%3D%20buttons%5Bi%5D%3B%0A%20%20%0A%20%20%20%20btnid%20%3D%20mybuttons.getAttribute%28%22id%22%29%3B%0A%0A%20%20%0A%20%20%0A%20%20%20%20//%20Do%20a%20test%20for%20%22custombuttons-buttonxxx%22%20%20%20%20%20%20%20%20%20%0A%20%20%20%20//%20IF%20this%20Button%20is%20custom%20collect%20its%20details%0A%20%20%0A%20%20%20%20rExp%20%3D%20/custombuttons-button/%3B%0A%20%20%20%20if%20%28rExp.test%28btnid%29%29%20//%20Our%20kind%20of%20custom%20button%20%28thanks%20SCClockDr%29%0A%20%20%20%20%7B%0A%0A%20%20%20%20%20%20name%20%3D%20mybuttons.getAttribute%28%22label%22%29%3B%0A%0A%20%20%20%20%20%20cb_total++%20//%20full%20count%20of%20buttons%0A%0A%0A%20%20%20%20%20%20//%20get%20the%20toolbar%20that%20the%20button%20is%20on%0A%0A%20%20%20%20%20%20ontb%20%3D%20mybuttons.parentNode.id%3B%0A%0A%20%20%0A%20%20%20%20%20%20//%20cut%20for%20digits%20only%0A%0A%20%20%20%20%20%20btn%20%3D%20custombuttons.getNumber%28btnid%29%3B%20//%20%28thanks%20SCClockDr%29%0A%20%20%20%20%20%20btntip%20%3D%20btn%0A%20%20%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20//%20show%20button%20icons%20%0A%20%20%20%20%20%0A%20%20%20%20%20%20%20%20btnimage%20%3D%20mybuttons.getAttribute%28%22image%22%29%3B%0A%0A%20%20%20%20%20%20%20%20checkdata%20%3D%20btnimage.substring%280%2C8%29%3B%0A%0A%20%20%20%20%20%20//%20check%20to%20see%20if%20it%20is%20base%2064%0A%0A%20%20%20%20this.setAttribute%28%22base64missing%22%2C%20%22false%22%29%3B%20%0A%20%20%20%20%0A%20%20%20%20var%20passimage%20%3D%20true%20%3B%0A%0A%20%20%20%20//%20set%20up%20for%20alert%20if%20not%20a%20base64%20image%0A%0A%20%20%20%20rExp%20%3D%20/base64/%3B%0A%20%20%20%20if%20%28%21rExp.test%28btnimage%29%29%20//%20file%20on%20local%20computer%0A%20%20%20%20%7B%0A%20%20%20%20%20%20passimage%20%3D%20false%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20//%20reset%20to%20allow%20for%20xbitmaps%20such%20as%20the%20clock%20button%0A%20%20%20%20rExp%20%3D%20/xbitmap/%3B%0A%20%20%20%20if%20%28rExp.test%28btnimage%29%29%0A%20%20%20%20%7B%0A%20%20%20%20%20%20passimage%20%3D%20true%3B%0A%20%20%20%20%7D%20%20%20%20%0A%0A%20%20%20%20if%28passimage%20%3D%3D%20false%29%0A%20%20%20%20%7B%0A%0A%20%20%20%20%20%20%20%20%20%20alertstring%20%3D%20%22%22%3B%0A%20%20%20%20%20%20%20%20%20%20alertstring%20%3D%20%22This%20button%20image%20is%20a%20local%20file%20on%20your%20computer.%5Cn%5Cn%22%3B%0A%20%20%20%20%20%20%20%20%20%20alertstring%20+%3D%20%22ID%20%3D%20%22%20+%20btn%20+%20%22%20.%20.%20.%20%22%3B%0A%20%20%20%20%20%20%20%20%20%20alertstring%20+%3D%20name%20+%20%22%5Cn%5Cn%22%3B%0A%20%20%20%20%20%20%20%20%20%20alertstring%20+%3D%20%22On%20toolbar%3A-%20%22%20+%20%27%22%27%20+%20ontb%20+%20%27%22%27%20+%20%22%5Cn%5Cn%22%3B%0A%20%20%20%20%20%20%20%20%20%20alertstring%20+%3D%20%22Please%20edit%20the%20button%20and%20click%20on%20the%20%22%3B%0A%20%20%20%20%20%20%20%20%20%20alertstring%20+%3D%20%22-%3EBase64%20button%20to%20the%20right%20of%20the%20image%20box%20%5Cn%22%3B%0A%20%20%20%20%20%20%20%20%20%20alertstring%20+%3D%20%22and%20then%20click%20on%20%22%20+%20%27%22%27%20+%20%22OK%22%20+%20%27%22%27%20+%20%22.%20%5Cn%5Cn%22%3B%0A%20%20%20%20%20%20%20%20%20%20alertstring%20+%3D%20%22Then%20click%20this%20button%20again.%5Cn%5Cn%22%3B%0A%20%20%20%20%20%20%20%20%20%20alertstring%20+%3D%20%22SEE%20the%20HELP%20tab%20for%20why%20you%20need%20to%20do%20this.%5Cn%5Cn%22%3B%0A%20%20%20%20%20%20%20%20%20%20alertstring%20+%3D%20%22After%20correcting%20the%20button%27s%20image%20to%20base64%5Cn%22%3B%0A%20%20%20%20%20%20%20%20%20%20alertstring%20+%3D%20%22Click%20on%20this%20button%20again%20to%20restart.%22%3B%0A%0A%20%20%20%20%20%20%20%20%20%20var%20mytitle%20%3D%20%22Button%20Archive%20List%20-%20missing%20%3D%3Ebase64%22%3B%0A%0A%20%20%20%20%20%20%20%20%20%20var%20Msg%20%3D%20createMsg%28mytitle%29%3B%0A%20%20%20%20%20%20%20%20%20%20Msg.aMsg%28alertstring%29%3B%0A%0A%20%20%20%20%20%20%20%20%20%20//alert%28%22%20%22%20+%20alertstring%29%3B%0A%0A%20%20%20%20%20%20%20%20%20%20this.setAttribute%28%22base64missing%22%2C%20%22true%22%29%3B%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20return%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20//%20call%20the%20imagecheck%20function%20to%20create%20padding%0A%20%20%20%20//%20for%20the%20various%20image%20types%20and%20sizes%0A%0A%20%20%20%20if%28passimage%20%3D%3D%20true%29%0A%20%20%20%20%7B%0A%20%20%20%20%20%20imagecheck%28%29%3B%0A%0A%0A/*%0A%20%20%20%20%20%20rExp%20%3D%20/x-icon%3Bbase64/%3B%0A%20%20%20%20%20%20if%20%28rExp.test%28btnimage%29%29%20//%20it%27s%20an%20icon%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20teststr%20+%3D%20btnimage.substring%2825%2C85%29%20+%20%22%20%22%20+%20mywidth%20+%20%22%20%22%20+%20name%20+%20%22%5Cn%22%3B%0A%20%20%20%20%20%20%7D%0A*/%0A%0A%20%20%20%20%20%20//%20assume%20a%20nominal%20max%20image%20width%20is%2032%20and%20desired%20space%20%3D%2038%0A%20%20%20%20%20%20//%20get%20the%20difference%20and%20create%20a%20pad%20string%20with%20.%20and%20_%20and%20j%0A%20%20%20%20%20%20//%20which%20are%20four%20and%20six%20and%20three%20pixels%20wide%0A%0A%20%20%20%20%20%20tmp%20%3D%2038%20-%20mywidth%3B%0A%0A%20%20%20%20%20%20//%20if%20no%20width%20then%20image%20type%20not%20covered%0A%20%20%20%20%20%20if%28mywidth%20%3D%3D%200%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20tmp%20%3D%204%3B%0A%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20//%20correct%20for%20images%20larger%20than%2038%0A%20%20%20%20%20%20if%28tmp%20%3C%204%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20tmp%20%3D%204%3B%0A%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20if%28realsize%20%3D%3D%20false%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20tmp%20%3D%2010%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20menupad%20%3D%20menupadarray%5B0%5D%5Btmp%5D%3B%0A%0A%0A%20%20%20%20%20%20//%20%0A%20%20%20%20%0A%0A%20%20%20%20%20%20//alert%28%22name%20%3D%20%22%20+%20name%20+%20%22%5Cn%5Cnmywidth%20%3D%20%22%20+%20mywidth%29%3B%0A%20%20%20%20%20%20//return%3B%0A%20%20%20%20%7D%0A%0A%0A%20%20%20%20%20%20//%20manipulate%20name%20for%20sorting%20and%20listing%0A%0A%20%20%20%20%20%20%20%20%20%20nameLC%20%3D%20name.toLowerCase%28%29%3B%0A%0A%0A%20%20%20%20%20%20//%20check%20for%20the%20word%20%27test%27%20in%20the%20name%28in%20lower%20case%29%0A%0A%20%20%20%20%20%20rExp%20%3D%20/%20test%20/%3B%0A%20%20%20%20%20%20if%20%28rExp.test%28nameLC%29%29%20//%20probable%20test%20button%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20dontpush%20%3D%20true%3B%20%0A%20%20%20%20%20%20%20%20//alert%28%22dontpush%20test%20%3D%20%22%20+%20dontpush%29%3B%0A%20%20%20%20%20%20%7D%0A%0A%0A%20%20%20%20%20%20//%20check%20for%20complete%20duplicate%20names%0A%0A%20%20%20%20%20%20%20%20var%20j%20%3D%200%3B%0A%20%20%20%20%20%20%20%20for%20%28%20j%20%3D%200%3B%20%20j%20%3C%20btnarray.length%3B%20%20j++%20%20%29%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20if%28name%20%3D%3D%20btnarray%5Bj%5D%5B1%5D%29%0A%20%20%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20dontpush%20%3D%20true%3B%20%0A%20%20%20%20%20%20%20%20%20%20%20%20//alert%28%22dontpush%20duplicate%20%3D%20%22%20+%20dontpush%29%3B%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%7D%20//end%20of%20duplicate%20names%20check%0A%0A%0A%20%20%20%20%20%20//%20check%20for%20%27possible%27%20duplicate%20names%20by%20percentage%0A%0A%20%20%20%20%20%20var%20tmpval%20%3D%20%28nameLC.length%20*%20this.dupcheckpercent%29/100%3B%20//%20length%20of%20compare%20string%0A%20%20%20%20%20%20var%20tmpstr%20%3D%20nameLC.substring%280%2C%20tmpval%29%3B%0A%0A%20%20%20%20%20%20%20%20var%20k%20%3D%200%3B%0A%20%20%20%20%20%20%20%20for%20%28%20k%20%3D%200%3B%20%20k%20%3C%20btnarray.length%3B%20%20k++%20%20%29%0A%20%20%20%20%20%20%20%20%7B%0A%0A%20%20%20%20%20%20%20%20%20%20var%20tmpcheckstr%20%3D%20btnarray%5Bk%5D%5B0%5D%3B%0A%20%20%20%20%20%20%20%20%20%20var%20tmpcheckstrpc%20%3D%20tmpcheckstr.substring%280%2C%20tmpval%29%3B%0A%0A%20%20%20%20%20%20%20%20%20%20if%28tmpstr%20%3D%3D%20tmpcheckstrpc%29%0A%20%20%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20dontpush%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%0A%20%20%20%20%20%20%20%20%7D%20%20//%20end%20of%20percentage%20duplicate%20check%20%20%20%0A%0A%0A%20%20%20%20%20%20//%20find%20the%20homepage%20if%20there%20is%20one%0A%0A%20%20%20%20%20%20%20%20btnhomepage%20%3D%20mybuttons.getAttribute%28%22homepage%22%29%3B%0A%0A%0A%20%20%20%20%20%20//%20place%20in%20an%20array%20if%20all%20OK%0A%0A%20%20%20%20%20%20%20%20%20%20btnarray.push%28%5BnameLC%2Cname%2Cbtn%2Cbtnimage%2Cidx%2Contb%2Cbtnhomepage%2Cdontpush%2Cmenupad%5D%29%3B%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20dontpush%20%3D%20false%3B%20//%20reset%20dontpush%20%0A%0A%20%20%20%20%7D%0A%20%20%0A%20%20%7D%20//end%20of%20find%20custom%20buttons%20for%20array%0A%20%20%0A%0A%0A%20%20//%20sort%20on%20lower%20case%20name%0A%0A%20%20btnarray.sort%28%29%3B%20%0A%0A%0A%20%20%20%20//%20add%20separator%20and%20%22Click%20to%20see%20final%20list%22%0A%20%20%20%20%0A%20%20%20%20btnarray.push%28%5B%27separator%27%2C%2C%2C%2C%2C%2C%2C%22carp%22%5D%29%3B%0A%0A%20%20%20%20btnarray.push%28%5B%22%u041F%u043E%u043F%u0435%u0440%u0435%u0434%u043D%u0456%u0439%20%u043F%u0435%u0440%u0435%u0433%u043B%u044F%u0434%22%2C%20%22%u041F%u043E%u043F%u0435%u0440%u0435%u0434%u043D%u0456%u0439%20%u043F%u0435%u0440%u0435%u0433%u043B%u044F%u0434%22%2C%20%22%u041F%u043E%u043F%u0435%u0440%u0435%u0434%u043D%u0456%u0439%20%u043F%u0435%u0440%u0435%u0433%u043B%u044F%u0434%22%2C%20nextlist%2C%20%22%22%2C%20%22%22%2C%20%22%22%2C%20%22carp%22%5D%29%0A%20%20%0A%0A%0A%20%20%20%20//%20populate%20the%20start%20list%0A%0A%20%20%20%20%20%20makestartlist%28%29%3B%20%0A%0A%20%20%20%20%20%20this.appendChild%28mPop%29%3B%0A%0A%20%20%20%20%20%20this.type%20%3D%20%22menu%22%3B%0A%0A%0A%20%20%20%20%20%20this.setAttribute%28%22mylistdone%22%2C%20%22true%22%29%3B%0A%20%20%20%20%20%20mythis.setAttribute%28%22seePopvisible%22%2C%20%22false%22%29%3B%0A%0A%20%20%20%20%20%20this.image%20%3D%20listgreen%3B%0A%0A%0A%09//this.hideDropmarker%28%29%3B%0A%0A%20%20%7D%20//%20END%20of%20if%20my%20list%20done%0A%0A%7D%20//%20End%20list%20alert%20menu%20making%0A%0A%0A/*%20+%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20END%20OF%20MENU%20MAKING%20%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D+%20*/%0A%0A%0A%0A%0A/*%20+%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%0A%20%20%20%20%20%20%20%20I%20M%20A%20G%20E%20%20%20C%20H%20E%20C%20K%20%20%20F%20U%20N%20C%20T%20I%20O%20N%0A%0A%20%20%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D+%20*/%0A%0A%0Afunction%20imagecheck%28%29%0A%7B%0Amywidth%20%3D%200%3B%0A%0Avar%20mykeystr%20%3D%20%22ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/%3D%22%3B%0A%0A//ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/%3D%0A//01234567890123456789012345678901234567890123456789012345678901234%0A//%20%20%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%20%202%20%20%20%20%20%20%20%20%203%20%20%20%20%20%20%20%20%204%20%20%20%20%20%20%20%20%205%20%20%20%20%20%20%20%20%206%0A%0A%0A%0A%0A//%20to%20check%20for%20a%20gif%0A//%0A//%20data%3Aimage/gif%3Bbase64%2CR0lGODlh%20%3C---%20then%20next%20four%20chars%21%20i.e.%20FgAM%0A//%200123456789012345678901234567890123456789012345678%0A//%20%20%20%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%20%202%20%20%20%20%20%20%20%20%203%20%20%20%20%20%20%20%20%204%0A//%20%0A//%20FgAM%20%20%20width%3DFg%3D22%20%20height%3DAM%3D12%20%20%20%0A//%0A//%20F%3D5%20g%3D32%20%205*4%20+%2032/16%20%3D%2022%20%3D%20width%20%0A//%0A//%20A%3D0%20M%3D12%20%200*16%20+%2012%20%3D%2012%20%3D%20height%0A%0A%0A//%20is%20it%20a%20gif%3F%0A%0Achopstr%20%3D%20%22data%3Aimage/gif%3Bbase64%2CR0lGODlh%22%3B%0Aimgstr%20%3D%20%22%22%3B%0A%0A%20%20%20%20%20%20rExp%20%3D%20/gif%3Bbase64/%3B%0A%20%20%20%20%20%20if%20%28rExp.test%28btnimage%29%29%20//%20it%27s%20a%20gif%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20//%20if%20it%27s%20a%20gif%20get%20the%20width%20%28and%20height%3F%29%20characters%0A%0A%20%20%20%20%20%20%20%20imgstr%20%3D%20btnimage.substring%28chopstr.length%2C%20chopstr.length%20+%204%29%3B%0A%0A%20%20%20%20%20%20%20%20//%20use%20the%20key%20string%20index%20to%20get%20the%20value%20of%20the%20characters%0A%0A%20%20%20%20%20%20%20%20//%20multiply%20the%20index%20value%20of%20the%20first%20char%20by%20four%20%28my%20width%29%0A%0A%20%20%20%20%20%20%20%20var%20tmpchar%20%3D%20imgstr.substring%280%2C1%29%3B%0A%0A%20%20%20%20%20%20%20%20var%20tmpidx%20%3D%20mykeystr.indexOf%28tmpchar%29%3B%0A%0A%20%20%20%20%20%20%20%20mywidth%20%3D%20tmpidx%20*%204%3B%0A%0A%20%20%20%20%20%20%20%20//%20divide%20the%20index%20value%20of%20the%20second%20char%20by%20sixteen%0A%0A%20%20%20%20%20%20%20%20tmpchar%20%3D%20imgstr.substring%281%2C2%29%3B%0A%0A%20%20%20%20%20%20%20%20tmpidx%20%3D%20mykeystr.indexOf%28tmpchar%29%3B%0A%0A%20%20%20%20%20%20%20%20mywidth%20+%3D%20tmpidx%20/%2016%3B%0A%0A%20%20%20%20%20%20%7D%20//%20END%20of%20check%20for%20gif%0A%0A%0A%0A%0A//%20to%20check%20for%20an%20icon%0A//%20%0A//%20data%3Aimage/x-icon%3Bbase64%2CAAABAA%20//%20use%20next%20four%0A//%200123456789012345678901234567890123456789012345678%0A//%20%20%20%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%20%202%20%20%20%20%20%20%20%20%203%20%20%20%20%20%20%20%20%204%0A//%20%0A//EAEB%20%3D%2016%20%3D%20E*4%20%3D%2016%0A//IAIC%20%3D%2016%20%3D%20I*4%20/C%20%3D%2016%0A//IAEB%20%3D%2016%20%3D%20E*4%20/B%20%3D%2016%0A//EAIC%20%3D%2032%20%3D%20I*4%20%3D%2032%0A//EAQE%20%3D%2064%20%3D%20Q*4%20%3D%2064%0A//%0A//if%20first%20is%20I%20then%20divide%20by%20fourth%0A%0A//%20is%20it%20an%20icon%3F%0A%0Achopstr%20%3D%20%22data%3Aimage/x-icon%3Bbase64%2CAAABAA%22%3B%0Aimgstr%20%3D%20%22%22%3B%0A%0A%20%20%20%20%20%20rExp%20%3D%20/x-icon%3Bbase64/%3B%0A%20%20%20%20%20%20if%20%28rExp.test%28btnimage%29%29%20//%20it%27s%20an%20icon%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20//%20if%20it%27s%20an%20icon%20get%20the%20width%20%28and%20height%3F%29%20characters%0A%0A%20%20%20%20%20%20%20%20imgstr%20%3D%20btnimage.substring%28chopstr.length%2C%20chopstr.length%20+%204%29%3B%0A%0A%20%20%20%20%20%20%20%20//%20use%20the%20key%20string%20index%20to%20get%20the%20value%20of%20the%20characters%0A%0A%20%20%20%20%20%20%20%20//%20multiply%20the%20index%20value%20of%20the%20third%20char%20by%20four%20%28my%20width%29%0A%0A%20%20%20%20%20%20%20%20var%20tmpchar%20%3D%20imgstr.substring%282%2C3%29%3B%0A%0A%20%20%20%20%20%20%20%20var%20tmpidx%20%3D%20mykeystr.indexOf%28tmpchar%29%3B%0A%0A%20%20%20%20%20%20%20%20mywidth%20%3D%20tmpidx%20*%204%3B%0A%0A%20%20%20%20%20%20%20%20//%20if%20the%20first%20char%20is%20I%20then%20divide%20by%20fourth%0A%0A%20%20%20%20%20%20%20%20tmpcharcheck%20%3D%20imgstr.substring%280%2C1%29%3B%0A%0A%20%20%20%20%20%20%20%20if%28tmpcharcheck%20%3D%3D%20%22I%22%29%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20tmpchar%20%3D%20imgstr.substring%283%2C4%29%3B%0A%20%20%20%20%20%20%20%20%20%20tmpidx%20%3D%20mykeystr.indexOf%28tmpchar%29%3B%0A%0A%20%20%20%20%20%20%20%20%20%20mywidth%20%3D%20mywidth%20/%20tmpidx%0A%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%0A%20%20%20%20%20%20%20%20//alert%28%22tmpchar%20%3D%20%22%20+%20imgstr%20+%20%22%20mywidth%20%3D%20%22%20+%20mywidth%29%3B%0A%0A%20%20%20%20%20%20%7D%20//%20END%20of%20check%20for%20icon%0A%0A%0A%0A//%20to%20check%20for%20a%20png%0A//%20data%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAACAAAA%20%3C--%20to%20here%20then%20next%20four%0A//%200123456789012345678901234567890123456789012345678901%0A//%20%20%20%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%20%202%20%20%20%20%20%20%20%20%203%20%20%20%20%20%20%20%20%204%20%20%20%20%20%20%20%20%205%0A//%20%0A//loo_AgCA%20%20Ag%3D0*%28%3F%29+32%3D32%20%20%20CA%3D2*16+0%3D32%0A//cog_AgCA%20%20%0A//tls_APCA%20%20AP%3D0*%28%3F%29+15%3D15%20%20%20CA%3D2*16+0%3D32%20%20%20%20//15x32%20height%20width%0A%0A%0A//%20is%20it%20a%20png%3F%0A%0A%0A/*%0A12x12%20%20AwAAAAM_CAMAAABhq6zVAAAAB3RJTUUH2AQcFTAkJF%0A16x16%20%20BAAAAAQ_CAMAAAAoLQ9TAAAAB3RJTUUH%0A24x24%20%20BgAAAAY_CAMAAADXqc3KAAAAB3RJTUUH%0A32x32%20%20CAAAAAg_CAMAAABEpIrGAAAAB3RJTUUH2A%0A32x16%20%20CAAAAAQ_CAMAAABA3o1rAAAAB3RJTUUH2%0A32x24%20%20CAAAAAY_CAMAAACsjQ8GAAAAB3RJTUUH2A%0A40x26%20%20CgAAAAa_CAMAAADyku75AAAAB3RJTUUH2%0Adata%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAACgAAAAaCAMAAADyku75AAAAB3RJTUUH2%0A%0A1st*16%20+%202nd/4%20+%203rd%20//%20width%0AAwA%20%3D%2012%0ABAA%20%3D%2016%0ABgA%20%3D%2024%0AAAg%20%3D%2032%0ACAA%20%3D%2032%0ACAA%20%3D%2032%0ACgA%20%3D%2032+8+0%20%3D%2040%0A*/%0A%0Achopstr%20%3D%20%22data%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAA%22%3B%20//%20next%20seven%0Aimgstr%20%3D%20%22%22%3B%0A%0A%20%20%20%20%20%20rExp%20%3D%20/png%3Bbase64/%3B%0A%20%20%20%20%20%20if%20%28rExp.test%28btnimage%29%29%20//%20it%27s%20a%20png%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20//%20if%20it%27s%20a%20png%20get%20the%20width%20%28and%20height%3F%29%20characters%0A%0A%20%20%20%20%20%20%20%20imgstr%20%3D%20btnimage.substring%28chopstr.length%2C%20chopstr.length%20+%207%29%3B%0A%0A%20%20%20%20%20%20%20%20//%20use%20the%20key%20string%20index%20to%20get%20the%20value%20of%20the%20characters%0A%0A%20%20%20%20%20%20%20%20//%20multiply%20the%20index%20value%20of%20the%20first%20char%20by%20sixteen%0A%0A%20%20%20%20%20%20%20%20var%20tmpchar%20%3D%20imgstr.substring%280%2C1%29%3B%0A%0A%20%20%20%20%20%20%20%20var%20tmpidx%20%3D%20mykeystr.indexOf%28tmpchar%29%3B%0A%0A%20%20%20%20%20%20%20%20mywidth%20%3D%20tmpidx%20*%2016%3B%0A%0A%20%20%20%20%20%20%20%20//%20divide%20the%20index%20value%20of%20the%20second%20char%20by%20four%0A%0A%20%20%20%20%20%20%20%20tmpchar%20%3D%20imgstr.substring%281%2C2%29%3B%0A%0A%20%20%20%20%20%20%20%20tmpidx%20%3D%20mykeystr.indexOf%28tmpchar%29%3B%0A%0A%20%20%20%20%20%20%20%20mywidth%20+%3D%20tmpidx%20/%204%3B%0A%0A%20%20%20%20%20%20%20%20//%20add%20the%20index%20value%20of%20the%20third%20char%0A%0A%20%20%20%20%20%20%20%20tmpchar%20%3D%20imgstr.substring%282%2C3%29%3B%0A%0A%20%20%20%20%20%20%20%20tmpidx%20%3D%20mykeystr.indexOf%28tmpchar%29%3B%0A%0A%20%20%20%20%20%20%20%20mywidth%20+%3D%20tmpidx%3B%0A%0A%0A%20%20%20%20%20%20%7D%20//%20END%20of%20check%20for%20png%0A%0A%0A%0A%0A%0A%0A//%20to%20check%20for%20a%20bmp%0A//%0A//%20data%3Aimage/bmp%3Bbase64%2CQk3GBAAAAAAAADYEAAAoAAAA%20%3C---%20then%20next%20seven%20chars%0A//%200123456789012345678901234567890123456789012345678%0A//%20%20%20%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%20%202%20%20%20%20%20%20%20%20%203%20%20%20%20%20%20%20%20%204%0A//%20%0A//32x16%20Qk02BgA_AAAAAADYEAAAoAAAAIA_AA_ABA_AAAABAAgAAAAAAAACAADCHgAAwh4AAAAAAA%0A//32x24%20Qk02BwA_AAAAAADYEAAAoAAAAIA_AA_ABg_AAAABAAgAAAAAAAADAADCHgAAwh4AAA%0A//40x26%20Qk1GCAA_AAAAAADYEAAAoAAAAKA_AA_ABo_AAAABAAgAAAAAABAEAADBHgAAwR4AAA%0A//31x17%20Qk1WBgA_AAAAAADYEAAAoAAAAHw_AA_ABE_AAAABAAgAAAAAACACAADCHgAAwh4AAA%0A//%0A//31x17%20Hw%3D%207*4%20+%2048/16%20%3D%2028+3%20%3D%2031%0A//31x17%20BE%3D%201*16%20+%204/4%20%3D%2016+1%20%3D%2017%0A%0A%0A%0A//%20is%20it%20a%20bmp%3F%0A%0Achopstr%20%3D%20%22data%3Aimage/bmp%3Bbase64%2CQk3GBAAAAAAAADYEAAAoAAAA%22%3B%0Aimgstr%20%3D%20%22%22%3B%0A%0A%20%20%20%20%20%20rExp%20%3D%20/bmp%3Bbase64/%3B%0A%20%20%20%20%20%20if%20%28rExp.test%28btnimage%29%29%20//%20it%27s%20a%20bmp%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20//%20if%20it%27s%20a%20bmp%20get%20the%20width%20%28and%20height%3F%29%20characters%0A%0A%20%20%20%20%20%20%20%20imgstr%20%3D%20btnimage.substring%28chopstr.length%2C%20chopstr.length%20+%204%29%3B%0A%0A%20%20%20%20%20%20%20%20//%20use%20the%20key%20string%20index%20to%20get%20the%20value%20of%20the%20characters%0A%0A%20%20%20%20%20%20%20%20//%20multiply%20the%20index%20value%20of%20the%20first%20char%20by%20four%20%28my%20width%29%0A%0A%20%20%20%20%20%20%20%20var%20tmpchar%20%3D%20imgstr.substring%280%2C1%29%3B%0A%0A%20%20%20%20%20%20%20%20var%20tmpidx%20%3D%20mykeystr.indexOf%28tmpchar%29%3B%0A%0A%20%20%20%20%20%20%20%20mywidth%20%3D%20tmpidx%20*%204%3B%0A%0A%20%20%20%20%20%20%20%20//%20divide%20the%20index%20value%20of%20the%20second%20char%20by%20sixteen%0A%0A%20%20%20%20%20%20%20%20tmpchar%20%3D%20imgstr.substring%281%2C2%29%3B%0A%0A%20%20%20%20%20%20%20%20tmpidx%20%3D%20mykeystr.indexOf%28tmpchar%29%3B%0A%0A%20%20%20%20%20%20%20%20mywidth%20+%3D%20tmpidx%20/%2016%3B%0A%0A%20%20%20%20%20%20%20%20//alert%28%22tmpchar%20%3D%20%22%20+%20imgstr%20+%20%22%20mywidth%20%3D%20%22%20+%20mywidth%29%3B%0A%0A%20%20%20%20%20%20%7D%20//%20END%20of%20check%20for%20bmp%0A%0A%0A%0A%0A%0A//%20to%20check%20for%20a%20jpg%0A//%0A//data%3Aimage/jpeg%3Bbase64%2C/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5Ojf/2wBDAQoKCg0MDRoPDxo3JR8lNzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzf/wAARCAA%20%0A//%200123456789012345678901234567890123456789012345678%0A//%20%20%20%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%20%202%20%20%20%20%20%20%20%20%203%20%20%20%20%20%20%20%20%204%0A//%20%0A//ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/%3D%0A//01234567890123456789012345678901234567890123456789012345678901234%0A//%20%20%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%20%202%20%20%20%20%20%20%20%20%203%20%20%20%20%20%20%20%20%204%20%20%20%20%20%20%20%20%205%20%20%20%20%20%20%20%20%206%0A//%0A//%2016x16%20QABA%20%20Q%3D16%20+%20A%20%3D%20height%20%20B*16%20+%20%20%3D%20width%0A//%2020x20%20UABQ%0A//%2035x35%20jACM%0A//%2040x33%20hACg%20%20h%3D33%20+%200%20%3D%2040%20%20%20C*16%3D32%20+%20g/4%3D8%20%20%3D%2040%20%0A//%2048x48%20wADA%0A//%20first%20two%20%3D%20height%0A%0A%0A//%20is%20it%20a%20jpg%3F%0A%0Achopstr%20%3D%20%22data%3Aimage/jpeg%3Bbase64%2C/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5Ojf/2wBDAQoKCg0MDRoPDxo3JR8lNzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzf/wAARCAA%22%3B%0Aimgstr%20%3D%20%22%22%3B%0A%0A%20%20%20%20%20%20rExp%20%3D%20/jpeg%3Bbase64/%3B%0A%20%20%20%20%20%20if%20%28rExp.test%28btnimage%29%29%20//%20it%27s%20a%20jpg%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20//%20if%20it%27s%20a%20jpg%20get%20the%20width%20%28and%20height%3F%29%20characters%0A%0A%20%20%20%20%20%20%20%20imgstr%20%3D%20btnimage.substring%28chopstr.length%2C%20chopstr.length%20+%204%29%3B%0A%0A%20%20%20%20%20%20%20%20//%20use%20the%20key%20string%20index%20to%20get%20the%20value%20of%20the%20characters%0A%0A%20%20%20%20%20%20%20%20//%20multiply%20the%20index%20value%20of%20the%20third%20char%20by%20sixteen%20%28my%20width%29%0A%0A%20%20%20%20%20%20%20%20var%20tmpchar%20%3D%20imgstr.substring%282%2C3%29%3B%0A%0A%20%20%20%20%20%20%20%20var%20tmpidx%20%3D%20mykeystr.indexOf%28tmpchar%29%3B%0A%0A%20%20%20%20%20%20%20%20mywidth%20%3D%20tmpidx%20*%2016%3B%0A%0A%20%20%20%20%20%20%20%20//%20divide%20the%20index%20value%20of%20the%20fourth%20char%20by%20four%0A%0A%20%20%20%20%20%20%20%20tmpchar%20%3D%20imgstr.substring%283%2C4%29%3B%0A%0A%20%20%20%20%20%20%20%20tmpidx%20%3D%20mykeystr.indexOf%28tmpchar%29%3B%0A%0A%20%20%20%20%20%20%20%20mywidth%20+%3D%20tmpidx%20/%204%3B%0A%0A%20%20%20%20%20%20%20%20//%20alert%28%22tmpchar%20%3D%20%22%20+%20imgstr%20+%20%22%20mywidth%20%3D%20%22%20+%20mywidth%29%3B%0A%0A%20%20%20%20%20%20%7D%20//%20END%20of%20check%20for%20jpg%0A%0A%0A%0A%0A%0A%7D%20//%20END%20of%20image%20check%0A%0A%0A%0A%0A/*%20+%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%0A%20%20%20%20%20%20%20%20M%20A%20K%20E%20%20%20C%20H%20E%20C%20K%20%20%20L%20I%20S%20T%20%20%20F%20U%20N%20C%20T%20I%20O%20N%0A%0A%20%20%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D+%20*/%0A%0A%0A%0Afunction%20makechecklist%28%29%0A%7B%0A%0A%20%20%20%20%20%20//%20used%20to%20turn%20OFF%20list%20changes%20for%20this%20menu%20in%20toggle%20check%0A%0A%20%20%20%20%20%20mythis.setAttribute%28%22seePopvisible%22%2C%20%22true%22%29%3B%0A%0A%0A%20%20mythis.removeChild%28mPop%29%3B%0A%0A%20%20seePop%3Ddocument.createElement%28%27menupopup%27%29%3B%0A%0A%20%20for%28i%3D0%3B%20i%3Cbtnarray.length%3B%20i++%29%20%0A%20%20%7B%0A%0A%20%20%20%20//%20check%20for%20a%20nopusharray%20entry%20%28will%20skip%20adding%20to%20report%20if%20true%29%0A%0A%20%20%20%20//%20reset%20dontpush%0A%0A%20%20%20%20dontpush%20%3D%20btnarray%5Bi%5D%5B7%5D%3B%0A%0A%0A%20%20//%20if%20no%20entry%20in%20nopusharray%20-%20add%20to%20report%20%20%0A%0A%20%20%20%20%20%20if%28dontpush%20%3D%3D%20false%29%0A%20%20%20%20%20%20%7B%0A%0A%20%20%20%20%20%20%20%20if%20%28btnarray%5Bi%5D%5B0%5D%20%3D%3D%27separator%27%29%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20seePop.appendChild%28document.createElement%28%27menuseparator%27%29%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20else%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20var%20mytmpitem%20%3D%20seePop.appendChild%28nItem%28btnarray%5Bi%5D%5B1%5D%2Cbtnarray%5Bi%5D%5B1%5D%2Cbtnarray%5Bi%5D%20%5B1%5D%2C%20btnarray%5Bi%5D%5B3%5D%2C%22one%22%2C%22two%22%2C%22three%22%2Cbtnarray%5Bi%5D%5B2%5D%29%29%3B%0A%0A%0A%20%20//%20call%20make%20new%20div%20to%20lay%20our%20div%20over%20the%20entry%0A%0A%20%20makenewdiv%28mytmpitem%2Ci%29%3B%0A%0A%0A%20%20%20%20//%0A%20%20%20%20//alert%28%22this%20%3D%20%22%20+%20this%20+%20%22%5Cn%5Cnmytmpitem%20%3D%20%22%20+%20mytmpitem%29%3B%0A%20%20%20%20//return%3B%0A%0A%0A%20%20%20%20%20%20%20%20%7D%20//%20END%20of%20if%20dontpush%20else%0A%0A%20%20%20%20%20%20%7D%0A%0A%20%20%7D%20//%20END%20of%20for%20loop%0A%0A%0A%20%20%20%20//%20add%20the%20separator%20and%20the%20%22buttons%22%0A%0A%20%20%20%20var%20myitem%20%3D%20seePop.appendChild%28document.createElement%28%27menuseparator%27%29%29%3B%0A%0A%0A%20%20%20%20myitem%20%3D%20seePop.appendChild%28nItem%28%22%u0417%u0431%u0435%u0440%u0435%u0433%u0442%u0438%20%u0443%20%u0444%u0430%u0439%u043B%22%2C%22%u0417%u0431%u0435%u0440%u0435%u0433%u0442%u0438%20%u0443%20%u0444%u0430%u0439%u043B%22%2C%22%u0417%u0431%u0435%u0440%u0435%u0433%u0442%u0438%20%u0443%20%u0444%u0430%u0439%u043B%22%2C%20clipcopy%29%29%3B%0A%0A%20%20%20%20myitem.tooltipText%20%3D%20%22%u0417%u0431%u0435%u0440%u0435%u0433%u0442%u0438%20%u0443%20%u0444%u0430%u0439%u043B%22%0A%0A%20%20%20%20divwrap%20%3D%20document.createElementNS%28%22http%3A//www.w3.org/1999/xhtml%22%2C%22html%3Adiv%22%29%3B%0A%20%20%20%20divwrap.setAttribute%28%22style%22%2C%20%22vertical-align%3A%20middle%3B%20%20width%3A%20250px%3B%20%22%29%3B%0A%0A%20%20%20%20spanimg%20%3D%20document.createElementNS%28%22http%3A//www.w3.org/1999/xhtml%22%2C%22html%3Aspan%22%29%3B%0A%20%20%20%20spanimg.setAttribute%28%22style%22%2C%20%22vertical-align%3A%20middle%3B%20%20padding-top%3A%202px%3B%20padding-bottom%3A%202px%3B%22%29%3B%0A%20%20%20%20imgnode%20%3D%20document.createElementNS%28%22http%3A//www.w3.org/1999/xhtml%22%2C%22html%3Aimg%22%29%3B%0A%20%20%20%20imgnode.setAttribute%28%22style%22%2C%20%22%20padding-top%3A%202px%3B%20padding-bottom%3A%202px%3B%20vertical-align%3A%20middle%3B%22%29%3B%0A%20%20%20%20imgnode.src%20%3D%20clipcopy%3B%0A%20%20%20%20spanimg.appendChild%28imgnode%29%3B%0A%20%20%20%20divwrap.appendChild%28spanimg%29%3B%0A%0A%20%20%20%20spanname%20%3D%20document.createElementNS%28%22http%3A//www.w3.org/1999/xhtml%22%2C%22html%3Aspan%22%29%3B%0A%20%20%20%20spanname.setAttribute%28%22style%22%2C%20%22%20padding-top%3A%202px%3B%20vertical-align%3A%20middle%3B%20cursor%3A%20default%3B%22%29%3B%0A%20%20%20%20namenode%20%3D%20document.createTextNode%28%22%20%u0417%u0431%u0435%u0440%u0435%u0433%u0442%u0438%20%u0443%20%u0444%u0430%u0439%u043B%22%29%3B%0A%20%20%20%20spanname.appendChild%28namenode%29%3B%0A%20%20%20%20divwrap.appendChild%28spanname%29%3B%0A%0A%20%20%20%20divwrap.style.background%20%3D%20itemamber%3B%0A%0A%20%20%20%20myitem.appendChild%28divwrap%29%3B%0A%0A%0A%0A%20%20%20%20myitem%20%3D%20seePop.appendChild%28nItem%28%22%u041D%u0430%u0437%u0430%u0434%20%u0434%u043E%20%u0440%u0435%u0434%u0430%u0433%u0443%u0432%u0430%u043D%u043D%u044F%22%2C%22%u041D%u0430%u0437%u0430%u0434%20%u0434%u043E%20%u0440%u0435%u0434%u0430%u0433%u0443%u0432%u0430%u043D%u043D%u044F%22%2C%22%u041D%u0430%u0437%u0430%u0434%20%u0434%u043E%20%u0440%u0435%u0434%u0430%u0433%u0443%u0432%u0430%u043D%u043D%u044F%22%2C%20backlist%29%29%3B%0A%0A%20%20%20%20myitem.tooltipText%20%3D%20%22%u041D%u0430%u0437%u0430%u0434%20%u0434%u043E%20%u0440%u0435%u0434%u0430%u0433%u0443%u0432%u0430%u043D%u043D%u044F%22%0A%0A%0A%20%20%20%20divwrap%20%3D%20document.createElementNS%28%22http%3A//www.w3.org/1999/xhtml%22%2C%22html%3Adiv%22%29%3B%0A%20%20%20%20divwrap.setAttribute%28%22style%22%2C%20%22vertical-align%3A%20middle%3B%20%20width%3A%20250px%3B%20%22%29%3B%0A%0A%20%20%20%20spanimg%20%3D%20document.createElementNS%28%22http%3A//www.w3.org/1999/xhtml%22%2C%22html%3Aspan%22%29%3B%0A%20%20%20%20spanimg.setAttribute%28%22style%22%2C%20%22vertical-align%3A%20middle%3B%20%20padding-top%3A%202px%3B%20padding-bottom%3A%202px%3B%22%29%3B%0A%20%20%20%20imgnode%20%3D%20document.createElementNS%28%22http%3A//www.w3.org/1999/xhtml%22%2C%22html%3Aimg%22%29%3B%0A%20%20%20%20imgnode.setAttribute%28%22style%22%2C%20%22%20padding-top%3A%202px%3B%20padding-bottom%3A%202px%3B%20vertical-align%3A%20middle%3B%22%29%3B%0A%20%20%20%20imgnode.src%20%3D%20backlist%3B%0A%20%20%20%20spanimg.appendChild%28imgnode%29%3B%0A%20%20%20%20divwrap.appendChild%28spanimg%29%3B%0A%0A%20%20%20%20spanname%20%3D%20document.createElementNS%28%22http%3A//www.w3.org/1999/xhtml%22%2C%22html%3Aspan%22%29%3B%0A%20%20%20%20spanname.setAttribute%28%22style%22%2C%20%22%20padding-top%3A%202px%3B%20vertical-align%3A%20middle%3B%20cursor%3A%20default%3B%22%29%3B%0A%20%20%20%20namenode%20%3D%20document.createTextNode%28%22%20%u041D%u0430%u0437%u0430%u0434%20%u0434%u043E%20%u0440%u0435%u0434%u0430%u0433%u0443%u0432%u0430%u043D%u043D%u044F%22%29%3B%0A%20%20%20%20spanname.appendChild%28namenode%29%3B%0A%20%20%20%20divwrap.appendChild%28spanname%29%3B%0A%0A%20%20%20%20divwrap.style.background%20%3D%20itemamber%3B%0A%0A%20%20%20%20myitem.appendChild%28divwrap%29%3B%0A%0A%0A%0A%0A%0A%0A%20%20%20%20%20%20mythis.appendChild%28seePop%29%3B%0A%20%20%20%20%20%20mythis.type%20%3D%20%22menu%22%3B%0A%0A%0A%7D%20//%20END%20of%20make%20check%20list%0A%0A%0A%0A%0A%0A%0A/*%20+%3D%3D%3D%3D%3D%20START%20OF%20EVENT%20CAPTURE%20FOR%20EDIT%20LIST%20%3D%3D%3D%3D%3D+%20*/%0A%0A%0A%0A/*%20+%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%0A%20%20%20%20%20%20%20%20T%20O%20G%20G%20L%20E%20%20%20C%20H%20E%20C%20K%20%20%20F%20U%20N%20C%20T%20I%20O%20N%0A%0A%20%20%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D+%20*/%0A%0A%0Athis.togglecheck%20%3D%20function%28evt%29%0A%0A%7B%0A%0A%20%20%20%20var%20alertindex%20%3D%200%3B%0A%20%20%20%20alertstring%20%3D%20%22%22%3B%0A%20%20%20%20makechange%20%3D%20false%3B%0A%0A%20%20%20%20//%20keep%20the%20target%20object%20for%20later%20replace%0A%0A%20%20%20%20var%20toggletarget%20%3D%20evt.target%3B%0A%20%20%20%20%0A%20%20%20%20//%20if%20menu%20not%20made%20because%20of%20a%20non-base64%20button%20-%20start%20again%0A%20%20%20%20if%28%21toggletarget.value%29%7Bmythis.listalert%28%29%7D%0A%20%20%20%20%0A%20%20%0A%20%20%20%20//%20find%20the%20button%20ID%0A%20%20%0A%20%20%20%20var%20alertindex%20%3D%20evt.target.value%3B%0A%0A%20%0A%20%20%20%20//%20find%20that%20ID%20in%20btnarray%20to%20get%20the%20index%20number%0A%20%20%0A%20%20%20%20%20%20for%20%28var%20i%3D0%3Bi%3Cbtnarray.length%3Bi++%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20if%20%28btnarray%5Bi%5D%5B1%5D%20%3D%3D%20alertindex%29%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20whilecount%20%3D%20i%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%0A%20%20%20%20%20%20%7D%20%0A%0A%0A%20%20//%20Don%27t%20do%20this%20if%20the%20other%20menu%20is%20visible.%0A%0A%20%20if%28mythis.getAttribute%28%22seePopvisible%22%29%20%3D%3D%20%22false%22%29%0A%20%20%7B%0A%0A%0A%0A%20%20//%20toggle%20the%20state%20of%20dontpush%20and%20the%20image%0A%20%20//%0A%20%20//%20Note%20to%20self%3A%20intercept%20%22Click%20to%20see%20final%20list%22%20here%20%28and%20the%20separator%3F%29%0A%0A%0A%20%20%20%20if%28btnarray%5Bwhilecount%5D%5B7%5D%20%3D%3D%20true%29%0A%20%20%20%20%7B%0A%20%20%20%20%20%20btnarray%5Bwhilecount%5D%5B7%5D%20%3D%20false%3B%0A%20%20%20%20%20%20makechange%20%3D%20true%3B%0A%20%20%20%20%20%20if%28colours%20%3D%3D%20true%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20//itemcolour%20%3D%20itemgreen%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20else%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20if%28btnarray%5Bwhilecount%5D%5B7%5D%20%3D%3D%20false%29%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20btnarray%5Bwhilecount%5D%5B7%5D%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20%20%20makechange%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20%20%20if%28colours%20%3D%3D%20true%29%0A%20%20%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20//itemcolour%20%3D%20itemred%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%7D%20%0A%20%20%20%20%7D%0A%0A%0A%0A%20%20//%20add%20the%20changed%20entry%20to%20the%20menu%0A%0A%20%20if%28makechange%20%3D%3D%20true%29%0A%20%20%7B%0A%0A%20%20%20%20//%20alert%28%22making%20an%20entry%20change%22%29%3B%0A%0A%20%20%20%20var%20newentry%20%3D%20mPop.appendChild%28nItem%28btnarray%5Bwhilecount%5D%5B1%5D%2Cbtnarray%5Bwhilecount%5D%5B1%5D%2Cbtnarray%5Bwhilecount%5D%20%5B1%5D%2C%20btnarray%5Bwhilecount%5D%5B3%5D%2C%22one%22%2C%22two%22%2C%22three%22%2Cbtnarray%5Bwhilecount%5D%5B2%5D%29%29%3B%0A%0A%20%20//%20call%20make%20new%20div%20to%20lay%20our%20div%20over%20the%20entry%0A%0A%20%20makenewdiv%28newentry%2Cwhilecount%29%3B%0A%0A%20%20//%20replace%20the%20old%20one%20with%20the%20new%0A%0A%20%20%20%20%20%20mPop.replaceChild%28newentry%2Ctoggletarget%29%3B%0A%0A%0A%20%20//%20highlight%20it%20to%20show%20that%20it%20has%20been%20changed%0A%0A%20%20%20%20%20%20//newentry.style.opacity%20%3D%20itembrt%3B%0A%0A%20%20%20%20%20%20//%20to%20make%20the%20id%20unique%20-%20first%20add%20the%20index%20number%0A%0A%20%20%20%20%20%20indexstring%20%3D%20%22%5B%22%20+%20whilecount%20+%20%22%5D%22%20+%20btnarray%5Bwhilecount%5D%5B1%5D%3B%0A%20%20%20%20%20%20newentry.id%20%3D%20indexstring%3B%0A%0A%0A%20%20//%20show%20the%20menu%20again%0A%0A%20%20if%28showmenudelay%20%3D%3D%200%29%0A%20%20%7B%0A%20%20%20%20mPop.showPopup%28%29%3B%20%20%0A%20%20%7D%0A%20%20else%0A%20%20%7B%0A%20%20%20%20mydelay%20%3D%20setTimeout%28function%28%29%7Bviewmpop%28%29%7D%2C%20showmenudelay%29%3B%0A%20%20%7D%0A%20%20%0A%20%20%7D%20//%20END%20of%20if%20make%20change%20is%20true%0A%0A%0A%20%20%20%20if%28btnarray%5Bwhilecount%5D%5B1%5D%20%3D%3D%20%22%u041F%u043E%u043F%u0435%u0440%u0435%u0434%u043D%u0456%u0439%20%u043F%u0435%u0440%u0435%u0433%u043B%u044F%u0434%22%29%0A%20%20%20%20%7B%0A%20%20%20%20%20%20makechecklist%28%29%3B%0A%20%20%20%20%7D%0A%0A%0A%20%20%7D%20//%20END%20of%20if%20seePop%20visible%0A%0A%0A%20%20%20%20if%28alertindex%20%3D%3D%20%22%u0417%u0431%u0435%u0440%u0435%u0433%u0442%u0438%20%u0443%20%u0444%u0430%u0439%u043B%22%29%0A%20%20%20%20%7B%0A%0A%20%20%20%20%20//%20call%20copytoclip%20after%20list%20editing%21%21%21%0A%0A%20%20%20%20%20%20copytoclip%28%29%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20savemyfile%28%29%3B%0A%0A%20%20%20%20var%20mytitle%20%3D%20%22Your%20button%20list%20has%20been%20saved%5Cn%5Cn%22%3B%0A%20%20%20%20alertstring%20%3D%20%22It%20has%20been%20saved%20with%20YYYYMMDD%20date%20stamp%5Cn%5Cn%22%3B%0A%20%20%20%20alertstring%20+%3D%20%20%22File%20name%3A-%20%22%20+%20savefilename%20+%22%5Cn%5Cn%22%3B%0A%20%20%20%20alertstring%20+%3D%20%22File%20size%3A-%20%22%20+%20parseInt%28clipreport.length%20/%201000%29%20+%20%22KB%22%3B%0A%0A%20%20%20%20var%20Msg%20%3D%20createMsg%28mytitle%29%3B%0A%20%20%20%20if%28savedsuccess%20%3D%3D%20true%29%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20Msg.aMsg%28alertstring%29%3B%0A%20%20%20%20%7D%20%20%20%0A%0A%20%20%20%20%7D%20%0A%20%20%20%20%0A%20%20%20%20if%28alertindex%20%3D%3D%20%22%u041D%u0430%u0437%u0430%u0434%20%u0434%u043E%20%u0440%u0435%u0434%u0430%u0433%u0443%u0432%u0430%u043D%u043D%u044F%22%29%0A%20%20%20%20%7B%0A%0A%20%20%20%20%20%20mythis.removeChild%28seePop%29%3B%0A%0A%20%20%20%20%20%20mythis.appendChild%28mPop%29%3B%0A%20%20%20%20%20%20mythis.type%20%3D%20%22menu%22%3B%0A%0A%20%20%20%20%20%20//mPop.showPopup%28%29%3B%0A%20%20%20%20%20%20mydelay%20%3D%20setTimeout%28function%28%29%7Bviewmpop%28%29%7D%2C%20showmenudelay%29%3B%0A%0A%20%20%20%20%20%20this.setAttribute%28%22seePopvisible%22%2C%20%22false%22%29%3B%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%7D%20%0A%0A%0A%0A%0A%0A%20%20//%20set%20this%20way%20to%20show%20seePop%20on%20ANY%20click%20-%20covers%20clicks%20on%20items%0A%0A%20%20if%28mythis.getAttribute%28%22seePopvisible%22%29%20%3D%3D%20%22true%22%29%0A%20%20%7B%0A%20%20%20%20mydelay%20%3D%20setTimeout%28function%28%29%7Bviewseepop%28%29%7D%2C%20showmenudelay%29%3B%0A%20%20%20%20//seePop.maxWidth%20%3D%20250%3B%0A%0A%20%20%7D%0A%0A%7D//%20end%20of%20togglecheck%20function%0A%0A%0A/*%20+%3D%3D%3D%3D%3D%20END%20OF%20EVENT%20CAPTURE%20FOR%20EDIT%20LIST%20%3D%3D%3D%3D%3D+%20*/%0A%0A/*%20+%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20Call%20functions%20below%20here%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D+%20*/%0A%0A%0A%0A/*%20+%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%0A%20%20%20%20%20%20%20%20M%20A%20K%20E%20%20%20S%20T%20A%20R%20T%20%20%20L%20I%20S%20T%20%20%20F%20U%20N%20C%20T%20I%20O%20N%0A%0A%20%20%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D+%20*/%0A%0A%0Afunction%20makestartlist%28%29%0A%7B%0A%0A%20%20for%20%28var%20i%3D0%3Bi%3Cbtnarray.length%3Bi++%29%0A%20%20%7B%0A%0A%20%20%20%20%20%20if%20%28btnarray%5Bi%5D%5B0%5D%20%3D%3D%27separator%27%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20mPop.appendChild%28document.createElement%28%27menuseparator%27%29%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20else%0A%20%20%20%20%20%20%7B%0A%0A%20%20%20%20%20%20%20%20var%20myitem%20%3D%20mPop.appendChild%28nItem%28btnarray%5Bi%5D%5B1%5D%2Cbtnarray%5Bi%5D%5B1%5D%2Cbtnarray%5Bi%5D%20%5B1%5D%2C%20btnarray%5Bi%5D%5B3%5D%2C%22one%22%2C%22two%22%2Cbtnarray%5Bi%5D%5B5%5D%2Cbtnarray%5Bi%5D%20%5B2%5D%29%29%3B%0A%0A%20%20%20%20if%28btnarray%5Bi%5D%5B1%5D%20%3D%3D%20%22%u041F%u043E%u043F%u0435%u0440%u0435%u0434%u043D%u0456%u0439%20%u043F%u0435%u0440%u0435%u0433%u043B%u044F%u0434%22%29%0A%20%20%20%20%7B%0A%20%20%20%20%20%20myitem.tooltipText%20%3D%20%22%u041F%u043E%u043F%u0435%u0440%u0435%u0434%u043D%u0456%u0439%20%u043F%u0435%u0440%u0435%u0433%u043B%u044F%u0434%22%3B%0A%20%20%20%20%7D%0A%0A%0A%20%20//%20overlay%20our%20own%20div%20onto%20the%20menu%20item%0A%0A%20%20%20%20makenewdiv%28myitem%2Ci%29%3B%0A%0A%20%20%20%20%20%7D%20//%20end%20of%20else%0A%0A%20%20%7D%20//%20end%20of%20for%20var%0A%0A%7D%20//%20END%20of%20function%20makestartlist%0A%0A%0A%0A%0A%0A%0A/*%20+%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%0A%20%20%20%20%20%20%20%20M%20A%20K%20E%20%20%20N%20E%20W%20%20%20D%20I%20V%20%20%20F%20U%20N%20C%20T%20I%20O%20N%0A%0A%20%20%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D+%20*/%0A%0A%0A%0Afunction%20makenewdiv%28myitem%2C%20i%29%0A%7B%0A%0A%20%20//%20since%20the%20popup%20content%20is%20a%20bit%20limited%20we%27ll%20create%20our%0A%20%20//%20own%20content%20and%20lay%20it%20on%20top%20of%20the%20existing%20stuff.%0A%20%20//%0A%20%20//%20Effectively%20sit%20a%20%3Cdiv%3E%20in%20there...%0A%0A%20%20//%20but%20not%20for%20the%20see%20checklist%20entry%0A%0A%20%20var%20makediv%20%3D%20true%3B%0A%0A%20%20%0A%20%20if%28btnarray%5Bi%5D%5B1%5D%20%3D%3D%20%22%u041F%u043E%u043F%u0435%u0440%u0435%u0434%u043D%u0456%u0439%20%u043F%u0435%u0440%u0435%u0433%u043B%u044F%u0434%22%29%0A%20%20%7B%0A%20%20%20%20makediv%20%3D%20false%3B%20%20%20%0A%20%20%7D%0A%0A%20%20if%28makediv%20%3D%3D%20true%29%0A%20%20%7B%0A%0A%20%20//%20first%20our%20own%20wrapper%0A%0A%20%20%20%20divwrap%20%3D%20document.createElementNS%28%22http%3A//www.w3.org/1999/xhtml%22%2C%22html%3Adiv%22%29%3B%0A%0A%20%20%20%20%20%20divwrap.setAttribute%28%22style%22%2C%20%22vertical-align%3A%20middle%3B%20%20width%3A%20250px%3B%20%22%29%3B%20%0A%20%20%20%20%20%20//%20opacity%3A%200.85%3B%20vertical-align%3A%20bottom%3B%20%0A%20%20%0A%20%20%20%20%20%20//divwrap.onclick%20%3D%20function%28evt%29%7Btogglecheck%28click%29%7D%3B%0A%0A%0A%0A%20%20//%20then%20add%20show/dontshow%20tick%20or%20cross%20image%0A%0A%20%20if%28mythis.getAttribute%28%22seePopvisible%22%29%20%3D%3D%20%22false%22%29%0A%20%20%7B%0A%0A%20%20if%28ticks%20%3D%3D%20true%29%0A%20%20%7B%0A%20%20%20%20ticknode%20%3D%20document.createElementNS%28%22http%3A//www.w3.org/1999/xhtml%22%2C%22html%3Aimg%22%29%3B%0A%20%20%20%20ticknode.setAttribute%28%22style%22%2C%20%22vertical-align%3A%20middle%3B%20margin-bottom%3A%20-4px%3B%20margin-left%3A%203px%22%29%3B%20//%20%0A%20%20%20%20//%20vertical-align%3A%20bottom%3B%20background%3A%20red%3B%0A%0A%20%20%20%20%20%20if%28btnarray%5Bi%5D%5B7%5D%20%3D%3D%20true%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20imgtick%20%3D%20cross%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20if%28btnarray%5Bi%5D%5B7%5D%20%3D%3D%20false%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20imgtick%20%3D%20tick%3B%0A%20%20%20%20%20%20%7D%0A%0A%20%20%20%20ticknode.src%20%3D%20imgtick%3B%0A%0A%20%20%20%20divwrap.appendChild%28ticknode%29%3B%0A%0A%0A%20%20%7D%20//%20END%20of%20if%20ticks%20is%20true%0A%0A%20%20%7D%20//%20END%20of%20if%20seepop%20is%20visible%0A%0A%0A%0A%0A%20%20//%20then%20add%20the%20button%20image%0A%0A%20%20%20%20spanimg%20%3D%20document.createElementNS%28%22http%3A//www.w3.org/1999/xhtml%22%2C%22html%3Aspan%22%29%3B%0A%0A%20%20%20%20spanimg.setAttribute%28%22style%22%2C%20%22vertical-align%3A%20middle%3B%20%20padding-top%3A%202px%3B%20padding-bottom%3A%202px%3B%22%29%3B%20//%20HATES%20percentage%20for%20padding%21%21%21%21%0A%20%20%20%20//%20vertical-align%3A%20middle%3B%20background%3A%20blue%3B%0A%0A%20%20%20%20var%20imgnode%20%3D%20document.createElementNS%28%22http%3A//www.w3.org/1999/xhtml%22%2C%22html%3Aimg%22%29%3B%0A%0A%20%20%20%20imgnode.setAttribute%28%22style%22%2C%20%22padding-top%3A%202px%3B%20padding-bottom%3A%202px%3B%20vertical-align%3A%20middle%3B%22%29%3B%0A%20%20%20%20//%20vertical-align%20bottom%3B%20background%3A%20green%3B%0A%20%20%20%20imgnode.src%20%3D%20btnarray%5Bi%5D%5B3%5D%3B%0A%0A%0A%20%20//%20standardise%3F%0A%0A%20%20%20%20if%28realsize%20%3D%3D%20false%29%0A%20%20%20%20%7B%0A%20%20%20%20imgnode.height%20%3D%2016%3B%0A%20%20%20%20imgnode.width%20%3D%2016%3B%0A%20%20%20%20%7D%0A%0A%0A%20%20//%20centre%20images%0A%0A%20%20%20%20var%20tmpleft%20%3D%20parseInt%28%2844%20-%20imgnode.width%29/2%29%3B%0A%20%20%20%20var%20tmpright%20%3D%2044%20-%20%28imgnode.width%20+%20tmpleft%29%0A%20%20%20%20tmpleft%20%3D%20tmpleft%20+%20%22px%22%3B%0A%20%20%20%20tmpright%20%3D%20tmpright%20+%20%22px%22%3B%0A%0A%20%20%20%20if%28imgnode.width%20%3C%2042%29%0A%20%20%20%20%7B%0A%20%20%20%20%20%20imgnode.style.paddingLeft%20%3D%20tmpleft%3B%0A%20%20%20%20%20%20imgnode.style.paddingRight%20%3D%20tmpright%3B%0A%20%20%20%20%7D%0A%0A%0A%0A%20%20//%20pad%20height%20of%20small%20images%0A%0A%20%20%20%20if%28imgnode.height%20%3C%3D%2016%29%0A%20%20%20%20%7B%0A%20%20%20%20%20%20var%20tmptop%20%3D%20parseInt%28%2824%20-%20imgnode.height%29/2%29%3B%0A%20%20%20%20%20%20var%20tmpbottom%20%3D%2024%20-%20%28imgnode.height%20+%20tmptop%29%3B%0A%0A%20%20%20%20%20%20tmptop%20%3D%20tmptop%20+%20%22px%22%3B%0A%20%20%20%20%20%20tmpbottom%20%3D%20tmpbottom%20+%20%22px%22%3B%0A%0A%20%20%20%20%20%20imgnode.style.paddingTop%20%3D%20tmptop%3B%0A%20%20%20%20%20%20imgnode.style.paddingBottom%20%3D%20tmpbottom%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20spanimg.appendChild%28imgnode%29%3B%0A%0A%20%20%20%20divwrap.appendChild%28spanimg%29%3B%0A%0A%0A%0A%0A%0A%0A%20%20//%20add%20the%20label%20%28name%29%0A%0A%20%20%20%20var%20spanname%20%3D%20document.createElementNS%28%22http%3A//www.w3.org/1999/xhtml%22%2C%22html%3Aspan%22%29%3B%0A%0A%20%20%20%20spanname.setAttribute%28%22style%22%2C%20%22padding-top%3A%202px%3B%20vertical-align%3A%20middle%3B%20cursor%3A%20default%3B%22%29%3B%0A%20%20%20%20//%20vertical-align%3A%20middle%3B%20background%3A%20yellow%3B%0A%0A%20%20%20%20//%20crop%20long%20names%0A%20%20%20%20var%20tmpnamecrop%20%3D%20btnarray%5Bi%5D%20%5B1%5D%3B%0A%0A%20%20%20%20if%28tmpnamecrop.length%20%3E%20croplen%29%0A%20%20%20%20%7B%0A%20%20%20%20%20%20tmpnamecrop%20%3D%20tmpnamecrop.substring%280%2Ccroplen%29%20+%20%22...%22%3B%0A%20%20%20%20%7D%0A%0A%0A%20%20%20%20//%20add%20the%20text%20to%20the%20span%0A%20%20%20%20var%20namenode%20%3D%20document.createTextNode%28%22%20%22%20+%20tmpnamecrop%29%3B%0A%0A%0A%20%20%20%20spanname.appendChild%28namenode%29%3B%0A%0A%20%20%20%20//%20add%20the%20span%20into%20the%20wrapper%0A%20%20%20%20divwrap.appendChild%28spanname%29%3B%0A%0A%0A%0A%0A%0A%0A%0A%0A%20%20if%28colours%20%3D%3D%20true%29%0A%20%20%7B%0A%0A%0A%20%20if%28mythis.getAttribute%28%22seePopvisible%22%29%20%3D%3D%20%22false%22%29%0A%20%20%7B%0A%20%20%20%20if%28btnarray%5Bi%5D%5B7%5D%20%3D%3D%20true%29%20//%20don%27t%20push%0A%20%20%20%20%7B%0A%20%20%20%20%20%20divwrap.style.background%20%3D%20itemred%3B%0A%20%20%20%20%7D%0A%20%20%20%20if%28btnarray%5Bi%5D%5B7%5D%20%3D%3D%20false%29%20//%20push%0A%20%20%20%20%7B%0A%20%20%20%20%20%20divwrap.style.background%20%3D%20itemgreen%3B%0A%20%20%20%20%7D%0A%0A%20%20%7D%20//%20end%20of%20if%20seepop%20is%20not%20visible%0A%20%20%7D%20//%20end%20of%20if%20colours%20true%0A%20%20else%0A%20%20%7B%0A%20%20%20%20%20%20if%28btnarray%5Bi%5D%5B1%5D%20%3D%3D%20%22%u0417%u0431%u0435%u0440%u0435%u0433%u0442%u0438%20%u0443%20%u0444%u0430%u0439%u043B%22%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20divwrap.style.background%20%3D%20itemamber%3B%0A%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20if%28btnarray%5Bi%5D%5B1%5D%20%3D%3D%20%22%u041D%u0430%u0437%u0430%u0434%20%u0434%u043E%20%u0440%u0435%u0434%u0430%u0433%u0443%u0432%u0430%u043D%u043D%u044F%22%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20divwrap.style.background%20%3D%20itemamber%3B%0A%20%20%20%20%20%20%7D%0A%0A%0A%20%20%7D%20//%20end%20of%20if%20colours%20else%0A%0A%0A%20%20if%28mythis.getAttribute%28%22seePopvisible%22%29%20%3D%3D%20%22true%22%29%3B%0A%20%20%7B%0A%0A%20//alert%28%22seepop%20visible%20%3D%20%22%2C%20+%20mythis.getAttribute%28%22seePopvisible%22%29%29%3B%0A%0A%0A%20%20%20%20if%28colours%20%3D%3D%20true%29%3B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20if%28btnarray%5Bi%5D%5B1%5D%20%3D%3D%20%22%u0417%u0431%u0435%u0440%u0435%u0433%u0442%u0438%20%u0443%20%u0444%u0430%u0439%u043B%22%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20divwrap.style.background%20%3D%20itemamber%3B%0A%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20if%28btnarray%5Bi%5D%5B1%5D%20%3D%3D%20%22%u041D%u0430%u0437%u0430%u0434%20%u0434%u043E%20%u0440%u0435%u0434%u0430%u0433%u0443%u0432%u0430%u043D%u043D%u044F%22%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20divwrap.style.background%20%3D%20itemamber%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20//%20end%20of%20if%20colours%0A%0A%0A%20%20%7D%20//%20end%20of%20if%20seepop%20visible%20is%20true%0A%0A%0A%20%0A%20%20//%20and%20finally%20sit%20our%20own%20menuitem%20over%20the%20original%0A%0A%20%20%20%20%20%20%20%20myitem.appendChild%28divwrap%29%3B%0A%0A%0A%20%20%7D%20//%20END%20of%20if%20not%20click%20to%20see%20final%20list%0A%0A%7D%20//%20END%20of%20make%20new%20div%0A%0A%0A%0A%0A%0A%0Avar%20mydelay%20%3D%20setTimeout%28function%28%29%7Bstartlist%28%29%7D%2C%20mywait%29%3B%0A%0Afunction%20startlist%28%29%0A%7B%0A%20%20clearTimeout%28mydelay%29%3B%0A%20%20mythis.listalert%28%29%3B%0A%7D%0A%0A//%20END%20of%20delay%20start%0A//%20custombuttons.alertSlide%28%22post%20setTimeout%22%2Cthis.listready%29%3B%0A%0A%0A%0A//%20Show%20the%20seePop%20after%20clicks%20on%20entries%0A%0Afunction%20viewseepop%28%29%0A%7B%0A%20%20%20%20clearTimeout%28mydelay%29%3B%0A%0A%20%20%20%20seePop.maxHeight%20%3D%20400%3B%20//%20screen.availHeight%20-%2050%3B%0A%0A%20%20%20%20//%20seePop.maxWidth%20%3D%20250%3B%0A%0A%20%20%20%20seePop.showPopup%28%29%3B%0A%20%20%20%20%20%20%0A%7D%20//%20END%20of%20view%20the%20popup%20seepop%0A%0A%0A%0Afunction%20viewmpop%28%29%0A%7B%0A%20%20%20%20clearTimeout%28mydelay%29%3B%0A%0A%20%20%20%20mPop.maxHeight%20%3D%20400%3B%20%0A%0A%20%20%20%20mPop.maxWidth%20%3D%20250%3B%0A%0A%20%20%20%20mPop.showPopup%28%29%3B%0A%20%20%20%20%20%20%0A%7D%20//%20END%20of%20view%20the%20popup%20mpop%0A%0A%0A%0A%0A%0A/*%20+%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%0A%20%20%20%20%20%20%20%20C%20O%20P%20Y%20%20%20T%20O%20%20%20C%20L%20I%20P%20B%20O%20A%20R%20D%20%20%20F%20U%20N%20C%20T%20I%20O%20N%0A%0A%20%20%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D+%20*/%0A%0A%0Afunction%20copytoclip%28%29%0A%7B%20%20%0A%0A%20%20//%20reset%0A%0A%20%20clipreport%20%3D%20%22%22%3B%0A%20%20cb_count%20%3D%200%3B%0A%0A%20%20//%20build%20clipboard%20report%0A%0A%20%20for%28i%3D0%3B%20i%3Cbtnarray.length%3B%20i++%29%20%0A%20%20%7B%0A%0A%20%20%20%20//%20check%20for%20a%20nopusharray%20entry%20%28will%20skip%20adding%20to%20report%20if%20true%29%0A%0A%20%20%20%20//%20reset%20dontpush%0A%0A%20%20%20%20dontpush%20%3D%20btnarray%5Bi%5D%5B7%5D%3B%0A%0A%0A%20%20//%20if%20no%20entry%20in%20nopusharray%20-%20add%20to%20report%20%20%0A%0A%20%20%20%20%20%20if%28dontpush%20%3D%3D%20false%29%0A%20%20%20%20%20%20%7B%0A%0A%20%20%20%20%20%20%20%20%20%20cb_count++%3B%20//%20might%20as%20well%20count%20them%0A%09%20%20%20%20%0A%09%20%20%20%20//%20write%20the%20button%20save%20to%20HTML%20code%20%0A%09%20%20%20%20%0A%09%20%20%20%20//%20get%20the%20button%20by%20id%23%0A%09%20%20%20%20var%20targetbtn%20%3D%20document.getElementById%28%22custombuttons-button%22%20+%20btnarray%5Bi%5D%5B2%5D%29%0A%09%20%20%20%20%0A%09%20%20%20%20//%20add%20the%20button%20code%0A%09%20%20%20%20%0A%09var%20code%20%3D%20%3Cp%3E%3Ca%20href%3D%7Btargetbtn.%20URI%7D%20title%3D%7Btargetbtn.%20name%7D%20rel%3D%22nofollow%22%3E%3Cimg%20src%3D%7Btargetbtn.%20image%7D%20alt%3D%7Btargetbtn.%20name%7D%20style%3D%22vertical-align%3A%20middle%3B%20margin-right%3A%208px%3B%22%3E%3C/img%3E%7Btargetbtn.%20name%7D%3C/a%3E%3C/p%3E%3B%0A%09%0A%09%0A%09var%20checkcode%20%3D%20code.toXMLString%28%29%3B%0A%09var%20here%20%3D%20checkcode.indexOf%28%27%22/%3E%27%29%3B%0A%09var%20firstbit%20%3D%20checkcode.substring%280%2Chere%20+1%29%3B%0A%09var%20lastbit%20%3D%20checkcode.substring%28here%20+2%2C%20checkcode.length%29%0A%0A%09%09%20%20%20%20%0A%09%20%20%20%20clipreport%20+%3D%20firstbit%20+%20lastbit%3B%0A%09%20%20%20%20%0A%0A%20%20%20%20%20%20%7D%20//%20end%20of%20push%20to%20cliparray%0A%20%20%20%20%20%20%0A%20%0A%20%20%20%7D%20//%20end%20of%20build%20clipboard%20report%0A%20%20%0A%0A%20%20buttonhead%20%3D%20%22%3Ch3%3E%u0421%u043F%u0438%u0441%u043E%u043A%20%22%20+%20cb_count%20+%20%22%20%u043A%u043D%u043E%u043F%u043E%u043A%22%20+%20%22%3C/h3%3E%20%28%u0437%20%22%3B%0A%20%20buttonhead%20+%3D%20cb_total%20+%20%22%20%u0430%u043A%u0442%u0438%u0432%u043D%u0438%u0445%29%22%3B%0A%20%20buttonhead%20%3D%20buttonhead%20+%20%22%3CBR%3E%3CBR%3E%22%3B%0A%20%20%0A%20%20cliphead%20%3D%20buttonhead%3B%0A%0A%20%20clipreport%20%3D%20cliphead%20+%20clipreport%3B%20%20%20%20%20%20%20%20%0A%20%20%0A%20%20%20%20%20//%20alert%28clipreport.length%29%0A%20%20%20%20%20%20%0A%20%20%20//gClipboard.write%28clipreport%29%3B%0A%0A%0A%0A%0A%0A%0A%20%20%0A%20%20%20var%20pagetop%20%3D%20%27%3Chtml%3E%3Chead%3E%3Cmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text/html%3B%20charset%3Dutf-8%22%3E%3Ctitle%3E%3C/title%3E%3Cmeta%20name%3D%22description%22%20content%3D%22%22%3E%3Cmeta%20name%3D%22keywords%22%20content%3D%22%22%3E%3Cmeta%20name%3D%22author%22%20content%3D%22Unregistered%20User%22%3E%3Cmeta%20name%3D%22generator%22%20content%3D%22AceHTML%20Freeware%22%3E%3C/head%3E%3Cbody%3E%27%3B%0A%20%20%20%0A%20%20%20var%20pagebottom%20%3D%20%27%3C/body%3E%3C/html%3E%27%3B%0A%20%20%20%0A%20%20%20clipreport%20%3D%20pagetop%20+%20clipreport%20+%20pagebottom%3B%0A%0A%20%20%0A%7D%20//%20end%20of%20copytoclip%20function%0A%0A%0Avar%20strYourPrefName%20%3D%20%22Button_Archive_TIDY%22%3B%0Avar%20savedsuccess%20%3D%20false%3B%0Avar%20saveDir%20%3D%20%22%22%3B%0A%0Avar%20savemyfile%20%3D%20function%28%29%0A%7B%0A%20%20//%20saving%20clipreport%20as%20a%20date%20stamped%20hmtl%20page%0A%20%20%0A%20%20//%20get%20the%20year%20month%20day%0A%20%20%0A%20%20var%20d%20%3D%20new%20Date%28%29%3B%0A%20%20%0A%20%20var%20savedate%20%3D%20d.getFullYear%28%29%3B%0A%20%20savedate%20%3D%20savedate%20+%20%27%27%3B%0A%20%20var%20savedatem%20%3D%20d.getMonth%28%29%3B%0A%20%20savedatem%20%3D%20savedatem%20+%201%3B%0A%20%20savedatem%20%3D%20savedatem%20+%20%27%27%3B%0A%20%20if%28savedatem.length%20%3D%3D%201%29%7Bsavedatem%20%3D%20%220%22+savedatem%7D%0A%20%20var%20savedated%20%3D%20d.getDate%28%29%3B%0A%20%20savedated%20%3D%20savedated%20+%20%27%27%3B%0A%20%20if%28savedated.length%20%3D%3D%201%29%7Bsavedated%20%3D%20%220%22+savedated%7D%0A%20%20%0A%20%20savedate%20+%3D%20savedatem%20+%20savedated%3B%0A%20%20%0A%20%20savefilename%20%3D%20savedate%20+%20%22TIDYbackup.html%22%3B%0A%20%20var%20savehtmlpage%20%3D%20clipreport%3B%0A%20%20%20//alert%28savefilename%29%3B%20%0A%20%20%20%0A%20%20%20%0A%20%20//%20open%20the%20windows%20save%20dialogue%0A%20%20%0A%09//write%20the%20full%20string%20to%20the%20clipboard%0A%09%0A%09gClipboard.write%28savehtmlpage%29%3B%0A%09%0A%09var%20out%20%3D%20%5BreadFromClipboard%28%29%5D%3B%0A%0A%09//@https%3A//developer.mozilla.org/en/Code_snippets/Preferences%23Complex_types%0A%09//@https%3A//developer.mozilla.org/en/Code_snippets/File_I%252F%252FO%23Storing_nsILocalFile_in_preferences%0A%09%0A%09try%20%0A%09%7B%0A%09%20%20//%20Get%20the%20last%20dir%20from%20prefs%0A%09%20%20var%20lastDir%20%3D%20cbu.ps.getComplexValue%28strYourPrefName%2C%20Ci.nsILocalFile%29%3B%0A%09%7D%20%0A%09catch%20%28ex%29%20%0A%09%7B%0A%09%20%20//%20Set%20last%20dir%20to%20C%3A%5C%20if%20there%27s%20no%20such%20prefs%0A%09%20%20cbu.ps.setCharPref%28strYourPrefName%2C%20%22C%3A%5C%5C%22%29%3B%0A%09%20%20//%20Get%20the%20last%20dir%20from%20prefs%20again%0A%09%20%20var%20lastDir%20%3D%20cbu.ps.getComplexValue%28strYourPrefName%2C%20Ci.nsILocalFile%29%3B%0A%09%7D%0A%09%0A%09var%20fp%20%3D%20Components.classes%5B%22@mozilla.org/filepicker%3B1%22%5D.createInstance%28Components.interfaces.nsIFilePicker%29%3B%0A%09fp.init%28window%2C%20%22Save%20your%20button%20archive%20TIDY%20as...%22%2C%20fp.modeSave%29%3B%0A%09fp.defaultString%20%3D%20savefilename%3B%0A%09//fp.defaultExtension%20%3D%20%22txt%22%3B%0A%09fp.appendFilters%28fp.filterAll%20%7C%20fp.filterHTML%29%3B%0A%09fp.filterIndex%20%3D%201%3B%0A%09fp.displayDirectory%20%3D%20lastDir%3B%20%20//%20Display%20dir%20according%20to%20prefs%20above%0A%09if%20%28fp.show%28%29%20%3D%3D%20fp.returnCancel%29%0A%09%7B%0A%09%20%20%20savedsuccess%20%3D%20false%3B%0A%09%20%20%20return%3B%0A%09%7D%0A%09%0A%09//%20Save%20the%20last%20dir%20to%20prefs%0A%09cbu.ps.setComplexValue%28strYourPrefName%2C%20Ci.nsILocalFile%2C%20fp.file.parent.QueryInterface%28Ci.nsILocalFile%29%29%3B%0A%0A%09//%20Write%20the%20file%09%0A%09var%20stream%20%3D%20Components.classes%5B%22@mozilla.org/network/file-output-stream%3B1%22%5D.createInstance%28Components.interfaces.nsIFileOutputStream%29%3B%0A%09stream.init%28fp.file%2C%20%200x02%7C0x08%7C0x20%2C%200%2C%200%29%3B%20%20%0A%09var%20data%20%3D%20out.join%28%22%5Cn%22%29%3B%20%20%0A%09%0Avar%20converter%20%3D%20Components.classes%5B%22@mozilla.org/intl/converter-output-stream%3B1%22%5D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.createInstance%28Components.interfaces.nsIConverterOutputStream%29%3B%0Aconverter.init%28stream%2C%20%22UTF-8%22%2C%200%2C%200%29%3B%0Aconverter.writeString%28data%29%3B%0Aconverter.close%28%29%3B%0A%09%0A%09savedsuccess%20%3D%20true%3B%0A%0A%0A%7D%0A%0A%0A//%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20END%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20%20%0A%0A/*----------------------%20Button%20Code%20Block%20End%20-----------------------*/%0A%20%20%20%20%0A%20%20%20%20%0A%0Athis.setAttribute%28%22author%22%2C%22squeaky%22%2C%20%22SCClockDr%22%29%3B%0Athis.setAttribute%28%27version%27%2C%2720080425.4.02%27%29%3B%0Athis.setAttribute%28%27homepage%27%2C%20%27http%3A//custombuttons2.com/forum/buttons/buttons-database/button-archive-list-user-profile.html%27%29%3B%0Athis.setAttribute%28%22dependency%22%2C%22FF2.0*%2CCB2%202.0.5*%22%29%3B%0Athis.setAttribute%28%22status%22%2C%22Complete%22%29%3B%0Athis.setAttribute%28%22public%22%2Ctrue%29%0A%0A%5D%5D%3E%3C/initcode%3E%0A%20%20%3Ccode%3E%3C%21%5BCDATA%5B/*Code*/%0A%0A//%20See%20the%20initialise%20tab%20for%20user%20options%0A%0A%0A%0A/*%20Using%20the%20Button%20Archive%20List%20button%0A%20%20%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%0A%20%20%20%20Click%20on%20any%20item%20to%20toggle%20it%20from%3A-%0A%0A%20%20%20%20Show%20button%20%28green%20background%29%0A%20%20%20%20%0A%20%20%20%20to%0A%20%20%20%20%0A%20%20%20%20Don%27t%20show%20button%20%28red%20background%29%0A%20%20%20%20%0A%20%20%20%20Once%20done%2C%20click%20on%20the%20%22See%20final%20list%22%20button%20at%20the%20%0A%20%20%20%20bottom%20of%20the%20menu%20to%20check%20your%20list%20before%20posting.%0A%0A%0A%20%20%20%20In%20the%20%28final%29%20check%20list%20popup%20you%20can%20return%20to%20the%20edit%20list%20or%0A%20%20%20%20copy%20your%20final%20list%20to%20the%20clipboard%20using%20the%20buttons%20at%0A%20%20%20%20the%20bottom%20of%20the%20list.%0A*/%0A%0A%0A%0A%20%20this.togglecheck%28event%29%3B%0A%20%20%0A%5D%5D%3E%3C/code%3E%0A%20%20%3Caccelkey%3E%3C%21%5BCDATA%5B%5D%5D%3E%3C/accelkey%3E%0A%20%20%3Chelp%3E%3C%21%5BCDATA%5B//%20+++%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20Help%20for%20Button%20Archive%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D+++%0A%0A%0AIndex%3A%0A%0A%20%20%20%201.%20Description%0A%0A%20%20%20%202.%20What%20gets%20listed%20for%20showing%0A%0A%20%20%20%203.%20Usage%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20i.%20On%20first%20installing%0A%20%20%20%20%20%20%20%20ii.%20Editing%20your%20list%0A%20%20%20%20%20%20%20iii.%20Checking%20your%20list%0A%20%20%20%20%20%20%20%20iv.%20Posting%20your%20list%0A%0A%20%20%20%204.%20Remove%20dropdown%20marker%0A%0A%0AN%20O%20T%20E%20%3A-%0A%20%20%20%20%20%20%20%20%20%20%20%20This%20file%20will%20be%20too%20large%20to%20view%20in%20the%20alert%20window%0A%20%20%20%20%20%20%20%20%20%20%20%20that%20is%20opened%20by%20the%20%22Help%22%20option%20in%20the%20main%20context%0A%20%20%20%20%20%20%20%20%20%20%20%20menu.%20So%20to%20read%20it%20in%20full%20you%20will%20have%20to%20choose%20the%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Edit%22%20option%20and%20then%20click%20on%20the%20%22Help%22%20tab.%0A%0A%0A%0AD%20E%20S%20C%20R%20I%20P%20T%20I%20O%20N%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%0AThe%20button%20produces%20an%20editable%20list%20of%20all%20your%20buttons%20which%20you%20would%20like%20to%20show%20using%20the%20%22My%20Custom%20Buttoms%22%20tab%20in%20your%20user%20profile.%0A%0AOnce%20checked%20by%20you%2C%20you%20can%20paste%20the%20finished%20list%20into%20the%20text%20box%20there.%0A%0A%0AW%20H%20A%20T%20%20%20G%20E%20T%20S%20%20%20L%20I%20S%20T%20E%20D%20%20%20F%20O%20R%20%20%20S%20H%20O%20W%20I%20N%20G%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%0AThe%20button%20does%20not%20display%20duplicates%20of%20your%20buttons%20with%20an%20exactly%20matching%20name.%0A%0AThe%20button%20does%20not%20display%20any%20of%20your%20buttons%20with%20%27%20test%20%27%20in%20the%20name.%20%28Note%20that%20it%20is%20looking%20for%20a%20space%20before%20and%20after%20the%20word.%29%0A%0ATo%20check%20for%20possible%20duplicated%20buttons%20with%20similar%20names%20the%20button%20checks%20%28in%20lower%20case%29%20the%20first%20nn%25%20of%20each%20button%20name%20and%20does%20not%20display%20those%20that%20match%20a%20button%20already%20listed.%0A%0AIf%20your%20list%20still%20shows%20duplicates%2C%20or%20misses%20out%20a%20button%20that%20is%20NOT%20a%20duplicate%20-%20change%20dupcheckpercent.%20%28Or%20change%20the%20name%21%29%20Otherwise%20simply%20edit%20the%20list%20as%20explained%20below.%0A%0A%0AU%20S%20A%20G%20E%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%0AOn%20first%20installing%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%0ABecause%20we%20will%20be%20posting%20your%20button%20image%20on%20the%20forum%2C%20then%20just%20as%20for%20posting%20a%20complete%20button%2C%20the%20button%20image%20MUST%20be%20in%20base64%20format%20because%20I%20cannot%20load%20a%20local%20image%20file%20from%20your%20computer.%0A%0AIF%20you%20have%20any%20home%20made%20buttons%20that%20have%20a%20local%20filename%20showing%20in%20the%20%22Image%22%20box%20when%20you%20have%20the%20%22Edit%22%20window%20open%20-%20this%20button%20will%20show%20an%20alert%20message%20of%20the%20form%3A-%0A%0A%20%20%20%20%20%20%20%20%20%20%22This%20button%20image%20is%20a%20local%20file%20on%20your%20computer%22%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%22ID%20%3D%20XX%20.%20.%20.%20Button_Name%22%0A%0A%20%20%20%20%20%20%20%20%20%20%22On%20toolbar%3A-%20This_Toolbar%22%0A%0A%20%20%20%20%20%20%20%20%20%20%22Please%20edit%20the%20button%20and%20click%20on%20the%20-%3EBase64%20button%20to%20the%20%0A%20%20%20%20%20%20%20%20%20%20right%20of%20the%20image%20box%20and%20then%20click%20on%20%22OK%22%22%0A%0A%20%20%20%20%20%20%20%20%20%20%22Then%20click%20this%20button%20again.%22%0A%0AThe%20Button%20Archive%20List%20button%20will%20then%20read%20the%20list%20again%20and%20will%2C%20one%20by%20one%2C%20alert%20you%20about%20any%20other%20buttons%20that%20are%20using%20local%20filenames.%0A%0AOnce%20all%20your%20buttons%20are%20using%20images%20in%20base64%20format%20the%20LED%20in%20the%20bottom%20left%20corner%20of%20the%20Button%20Archive%20List%20button%20will%20turn%20from%20red%20to%20green.%0A%0AYour%20list%20is%20now%20ready%20to%20view%20and%20edit.%0A%0A%0AEditing%20your%20list%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%0AOnce%20the%20LED%20on%20the%20button%20is%20green%2C%20just%20click%20on%20it%20to%20see%20the%20editable%20list%20of%20your%20buttons.%0A%0AButtons%20that%20will%20be%20shown%20in%20your%20profile%20have%20a%20green%20background.%20Those%20that%20the%20Archive%20button%20thinks%20are%20duplicates%20will%20have%20a%20red%20background%20and%20these%20will%20not%20be%20shown.%0A%0AClick%20on%20any%20button%20entry%20to%20toggle%20it%20from%20%22show%22%20%28green%29%20to%20%22don%27t%20show%22%20%28red%29.%0A%0AChanges%20you%20make%20will%20be%20slightly%20highlighted%20to%20help%20you%20keep%20track.%0A%0AWhen%20you%20are%20done%20-%20click%20on%20the%20%22See%20final%20list%22%20button%20at%20the%20bottom%20of%20the%20listing.%0A%0A%0A%0AChecking%20your%20list%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%0AJust%20to%20make%20sure%2C%20when%20you%20click%20on%20the%20%22See%20final%20list%22%20button%20you%27ll%20see%20a%20different%20drop%20down%20which%20will%20show%20you%20what%20the%20list%20in%20your%20profile%20will%20look%20like.%0A%0AIf%20you%20want%20to%20make%20more%20changes%20click%20on%20the%20%22Return%20to%20edit%22%20button%20at%20the%20bottom%20of%20the%20list.%0A%0AIf%20you%20are%20happy%20with%20the%20list%20as%20it%20is%20then%20click%20on%20the%20%22Copy%20to%20clipboard%22%20button.%0A%0A%0APosting%20your%20list%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%0AAfter%20you%20have%20edited%20your%20list%20and%20copied%20it%20to%20the%20clipboard%20click%20on%20the%20%22User%20Control%20Panel%22%20link%20near%20the%20top%20of%20forum%20pages.%0A%0AThen%20click%20on%20the%20%22My%20Custom%20Buttons%22%20tab.%0A%0AClick%20inside%20the%20main%20text%20box%20there%20and%20then%20paste%20your%20list%20into%20it.%20%20Again%2C%20as%20a%20final%20check%20you%20can%20use%20%22Preview%22%20to%20see%20what%20your%20list%20will%20look%20like.%0A%0A%0A%0A%0AT%20O%20%20%20R%20E%20M%20O%20V%20E%20%20%20T%20H%20E%20%20%20D%20R%20O%20P%20D%20O%20W%20N%20%20%20M%20A%20R%20K%20E%20R%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%0APlace%20the%20following%20code%20in%20your%20userChrome.css%20which%20is%20in%20the%20Chrome%20folder%20of%20your%20profile.%20You%27ll%20need%20to%20edit%20it%20to%20have%20the%20correct%20number%20for%20this%20button%20%28custombuttons-buttonXX%29.%20%28Just%20open%20the%20context%20menu%20and%20click%20on%20the%20%22Help%22%20option%20and%20you%20should%20see%20the%20button%20ID%23%20in%20the%20title%29.%0A%0A/*%20Remove%20button%20archive%20list%20dropdown%20*/%0Atoolbarbutton%5Bid%5E%3D%22custombuttons-button18%22%5D%20.toolbarbutton-menu-dropmarker%20%7B%20display%3A%20none%20%21important%20%7D%0A%0A%0A%0AM%20Y%20%20%20S%20C%20R%20A%20T%20C%20H%20P%20A%20D%20%20%20S%20H%20O%20U%20L%20D%20N%20%27%20T%20%20%20B%20E%20%20%20H%20E%20R%20E%20%21%20%21%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%0A%0Amykeystr%3D%0AABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/%3D%0A0123456789012345678901234567890123456789012345678901234567890%0A%20%20%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%20%202%20%20%20%20%20%20%20%20%203%20%20%20%20%20%20%20%20%204%20%20%20%20%20%20%20%20%205%0A%0Adata%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAACAAA%20%3C--%20to%20here%20then%20next%20seven%0A%0A12x12%20%20AwAAAAM_CAMAAABhq6zVAAAAB3RJTUUH2AQcFTAkJF%0A16x16%20%20BAAAAAQ_CAMAAAAoLQ9TAAAAB3RJTUUH%0A24x24%20%20BgAAAAY_CAMAAADXqc3KAAAAB3RJTUUH%0A32x32%20%20CAAAAAg_CAMAAABEpIrGAAAAB3RJTUUH2A%0A32x16%20%20CAAAAAQ_CAMAAABA3o1rAAAAB3RJTUUH2%0A32x24%20%20CAAAAAY_CAMAAACsjQ8GAAAAB3RJTUUH2A%0A40x26%20%20CgAAAAa_CAMAAADyku75AAAAB3RJTUUH2%0AiVBORw0KGgoAAAANSUhEUgAAACgAAAAaCAMAAADyku75AAAAB3RJTU%0A%0A1st*16%20+%202nd/4%20+%203rd%20//%20width%0AAwA%20%3D%2012%0ABAA%20%3D%2016%0ABgA%20%3D%2024%0AAAg%20%3D%2032%0ACAA%20%3D%2032%0ACAA%20%3D%2032%0ACgA%20%3D%2032+8+0%20%3D%2040%0A%0Adata%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAACAAAA%20//APCA%0A0123456789012345678901234567890123456789012345678901%20//234567890%0A%20%20%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%20%202%20%20%20%20%20%20%20%20%203%20%20%20%20%20%20%20%20%204%20%20%20%20%20%20%20%20%205%0A%0A%0Adata%3Aimage/x-icon%3Bbase64%2CAAABAAEAICAAAAEACA%20%3C--next%20four%20-%20use%20last%20two%0A%0Adic16x16_AwAQ%20Aw%3D0%28+*%3F%2948/3%3D16%20%20AQ%3D0*16+16%3D16%20//%20forced%20to%20same%20width%20and%20height%0A%0Aavk16x16_BoBA%20Bo%3D%3F%20%20%20%20%20%20%20%20%20%20%20%20%20%20BA%3D1*16+0%3D16%0A%0Amse32x32_CoCA%20Co%3D%3F%20%20%20%20%20%20%20%20%20%20%20%20%20%20CA%3D2*16+0%3D32%0A%0Akey32x32_DoAg%20Do%3D%3F%20%20%20%20%20%20%20%20%20%20%20%20%20%20Ag%3D0*16+32%3D32%0A%0Adata%3Aimage/x-icon%3Bbase64%2CAAABAAEAICAAAAEACA%0A0123456789012345678901234567890123456789012345678901%20%0A%20%20%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%20%202%20%20%20%20%20%20%20%20%203%20%20%20%20%20%20%20%20%204%20%20%20%20%20%20%20%20%205%0A%0A%0Adata%3Aimage/gif%3Bbase64%2CR0lGODlh%20%3C---%20then%20next%20four%20chars%21%0A%0Awhite32x32%20IAAg%0A%0Aarrow%20FwAX%20%20Fw%3D23%20%20X%3D23%0A%0Aloo%20FwAe%20%20Fw%3D23%20e%3D30%20%20Fw%3D%20first%20char*4%20+%20second%20char/16%3F%20F%3D5%20w%3D48%205*4%20+%2048/16%20%3D%2023%0A%0Abg%20FgAM%20Fg%3D22%20%20M%3D12%20%20%20F%3D5%20g%3D32%20%205*4%20+%2032/16%20%3D%2022%20//%20width%20height%0A%0Amega%20KQAQ%20KQ%3D41%20Q%3D16%20%20%20%20K%3D10%20Q%3D16%20%20%20%20%2010*4%20+%2016/16%20%3D%2041%20//%20width%20height%0A%0Adata%3Aimage/gif%3Bbase64%2CR0lGODlh%0A0123456789012345678901234567890123456789012345678%0A%20%20%20%20%20%20%20%20%20%201%20%20%20%20%20%20%20%20%202%20%20%20%20%20%20%20%20%203%20%20%20%20%20%20%20%20%204%0A%0A%0A%5D%5D%3E%3C/help%3E%0A%20%20%3Cattributes/%3E%0A%3C/custombutton%3E