﻿// JScript File

//production will be replaced by the environment (production, staging, dev) on the server before
// tremorapp.js is returned
var env = "production";
var tremor_host = location.host;
var commonUrl = '/common/v3';
var debug = false;
var ajaxUrlPath = 'service.ashx';


var tremor_js_url = "/common/v3/js/tremor.js";
    
    
if (document.location.href.indexOf("debug=true") != -1)
{
debug=true;
}

var TremorApp = {
debug : debug,
debug_level : "long",
log_level : {"ajax":4,"content":4, DEFAULT:4,"popup":1,calendar:1},
log_style : {"exception":"color:red;text-decoration:underline","ajax":"color:#77f"},

require_auth : "none",
require_auth_role : ["member"],
realm : 'vocalpoint',
login_page:'login.html',

program_name:'Tremor B2B',
 
ajax_url: ajaxUrlPath,
ajax_url_https: ajaxUrlPath,

common_url: commonUrl,
 
cookie_expiration_days: 30,

    modules: ["default","form","security"]

}



document.write(  '  <script type="text/javascript"  language="javascript" src="'+tremor_js_url+'"></script>');
