Raw Source
katherinetuebner / Doc Control Admin Extension

// ==UserScript==
// @name     Doc Control Admin Extension
// @license MIT
// @updateURL https://openuserjs.org/meta/nhemmerson/Doc_Control_Admin_Extension.meta.js
// @include  https://app.levelset.com/admin/orders/view_order/*
// @require  http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @grant    GM_addStyle
// ==/UserScript==

var companyNum = $( "#wdgt_user_info a:first").attr("href").replace(/[^0-9]/gi, '');
var isAffiliate = $( "#wdgt_user_info .badge-label:last" ).text();
var overrides = { "179542": { "instruction": ["Bespoke - Batch S4S. SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "169299": { "instruction": ["Sign/notarize as agent for LVLST Capital; do not S4S"] }, "139773": { "instruction": ["Please contact the tagged credit manager on the job. See Project Tags on admin project page or job in-app.SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "207443": { "instruction": ["SRS Bespoke - Batch S4S"] }, "326652": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "39793": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "265562": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "20554": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "133090": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "16200": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "178688": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "21702": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "307463": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "145618": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "50668": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "18724": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "24837": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "130024": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "385613": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "217407": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "58063": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "22852": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "61435": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "26976": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "23312": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "329667": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "186620": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "331511": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "234278": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "90613": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "10614": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "18881": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "202631": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "259152": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "319737": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "23937": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "444917": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "22346": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "455615": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "57496": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "345566": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "309854": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "94065": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "17245": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "181001": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "100664": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "17692": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "4810": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "421576": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "12814": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "254357": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "231932": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "223357": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "288550": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "171054": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "17881": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "582613": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "138886": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "3948": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "278928": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "82": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "18696": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "47508": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "155730": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "524936": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "144065": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "59706": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "11252": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "235004": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "256992": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "51524": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "447448": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "25390": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "23865": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "20153": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "18389": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "46917": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "34930": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "32996": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "167667": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "256018": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "64733": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "380630": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "199714": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "130645": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "79158": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "131336": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "493310": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "308704": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "11829": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "1538": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "99244": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "142548": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "49351": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "6382": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "179130": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "42888": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "5322": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "68341": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "212254": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "17214": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "72750": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "411595": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "197057": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "219104": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "285245": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "16417": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "32317": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "135944": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "160541": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "242384": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "240908": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "18756": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "24668": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "45126": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "286443": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "454621": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "81482": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "25412": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "28866": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "230390": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "120520": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "118171": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "455905": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "5596": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "84809": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "19390": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "25415": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "5622": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "8762": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "31211": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "430778": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "85803": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "239363": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "584960": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "72414": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "80396": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "248349": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "57787": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "84812": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "18852": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "297025": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "419922": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "48832": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "132385": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "6346": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "220854": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "475930": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "169887": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "8634": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "144507": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "104978": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "139385": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "103941": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "71195": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "32370": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "399454": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "143471": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "143035": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "390801": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "176873": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "34840": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "13893": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "25417": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "300763": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "31159": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "21619": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "440105": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "333834": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "52326": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "475118": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "24147": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "3253": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "25604": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "24022": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "50109": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "181678": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "289339": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "161432": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "357090": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "111457": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "276511": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "301396": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "46247": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "33972": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "17181": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "197587": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "144352": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "244340": { "277245": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "5008": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "546866": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "25101": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "17905": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "17104": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "26670": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "25909": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "212537": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "525532": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "428478": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "140842": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "74516": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "375354": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "21731": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "140166": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "130059": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "42484": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "233090": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "375189": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "29027": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "21194": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "359300": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "289385": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "253644": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "201988": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "42293": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "142125": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "88263": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "89918": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "105076": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "91073": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "207225": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "338478": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "217211": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "11079": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "67962": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "14313": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "521421": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "425249": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "8274": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "179005": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "311860": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "544738": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "562627": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "44567": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "23251": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "319737": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] },"79203": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "185237": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "219298": { "instruction": ["SIGN IN HOUSE EXCEPT FOR S4S STATES"] }, "210090": { "instruction": ["User does not notarize MT Prelims"] }};
var instList = '';
if (overrides[companyNum]) { var list = $.each(overrides[companyNum].instruction, function(i, inst) {
    var listItem = '<li>' + inst + '</li>';
    instList += listItem;
});} else { instList = "<li>No special instructions</li>"; }
if (isAffiliate == "Affiliate") { instList += "<li>AFFILIATE ORDER</li>"; }
var myHTML = '<div id="gmRightSideBar"><ul>' +
             instList +
             '</ul>' +
             '</div>';
$("body").append (myHTML);

GM_addStyle ( "                                                     \
    #gmRightSideBar {                                               \
        position:               fixed;                              \
        top:                    0;                                  \
        right:                  0;                                  \
        margin:                 1ex;                                \
        padding:                1em;                                \
        background:             orange;                             \
        width:                  200px;                              \
        z-index:                6666;                               \
        opacity:                0.9;                                \
    }                                                               \
    #gmRightSideBar p {                                             \
        font-size:              80%;                                \
    }                                                               \
    #gmRightSideBar ul {                                            \
        margin:                 0ex;                                \
    }                                                               \
    #gmRightSideBar a {                                             \
        color:                  blue;                               \
    }                                                               \
" );