var HOME_URL = 'https://classic.crmpro.com'; var FUSE_URL = 'https://classic.crmpro.com/system/index.cfm'; var LAST_ACTION = ''; var LOOKUP_RPC_URL = 'https://classic.crmpro.com/system/rpc.cfm'; var RPC_URL = 'https://classic.crmpro.com/system/rpc_bridge.cfm'; var GENERIC_RPC_URL= 'https://classic.crmpro.com/system/rpc_cmd.cfm'; var STICKY_TAB_STATE = 1; var SKIN_IMAGE_URL = 'https://classic.crmpro.com/skins/flatter/images/'; var CACHE_JS_LOOKUPS = 'Y'; var OBJECT_PREFIX = 'objects'; var sessionTimeOut = 2700; var USER_ID = 0; var PROMODE = false; function del (url, desc) { if (confirm ('Are you sure you want to delete this ' + desc + '?') ) { document.location=url ; } } function toggleTextAreaSize(id, btn) { var obj = document.getElementById(id); if (obj.maximized) { obj.maximized = false; obj.style.width='40em'; obj.style.height='8em'; btn.value='Max'; } else { obj.maximized = true; obj.style.width='100%'; obj.style.height='40em'; btn.value='Min'; } } function exportResultSet(qry) { var exp = window.open('https://classic.crmpro.com/system/export_result_set.cfm?qry='+qry, 'exp', 'width=640,height=480,resizable,status,menu'); } function flagResultSet(qry, grp, btn) { var reqUrl = GENERIC_RPC_URL + "?cfoutputonly=yes&cmd=QRY_TO_SHORTLIST&group="+grp+"&qry="+qry; //w = window.open(reqUrl, "w", "width=600,height=600,resizable,scrollbars"); sendRequest(reqUrl, "flagResultSetCallback(request)"); btn.value="Please Wait"; } window.status = 'CRMPRO';