
var wapoEnv;

function WapoSite(name, url, visId) {
	this.name = name;
	this.url = url;
	this.visId = visId;
}

function WapoEnv() {
	this.wapolabs_js = 'http://bunsen.wapolabs.com/wapolabs/1.4.2/js/wapolabs.js';
	this.waposites_js = 'http://bunsen.wapolabs.com/identity/js/wapo_sites.js';
	this.cdn_identity = 'http://bunsen.wapolabs.com/identity/1.2.1/';
	this.cdn_images_identity = 'http://beaker.wapolabs.com/identity/1.2.1/';
	this.fb_key = 'd8bc3670ebe8934cfd83220a66bcbfa7';
	this.fb_xd_receiver = '/sites/all/modules/wapolabs_identity/xd_receiver.htm';
	this.publicationName = 'TheRoot';
	this.site_base_domain  = 'theroot.com';
	this.wapo_secure_protocol  = 'https:';
	this.wapo_site_url  = '//id.theroot.com/identity/';
	this.site_url  = '//theroot.com/';
	this.wapo_public_protocol  = 'http:';
	this.visitor_session_length  = '30';

	this.param_name_jsonp_callback = 'jsonp_callback';
	this.param_name_nonce = 'wp_id_n';
	this.param_name_email_nonce  = 'wp_em_n';
	this.meta_tag_groups  = 'wapoGroups';
	this.param_name_redirect  = 'next_url';
	this.param_name_previous_url  = 'previous_url';
	this.param_name_no_cancel  = 'wp_no_cancel';
	this.param_name_regis_group_name  = 'reg_group';
	this.param_name_login_id  = 'loginId';
	this.param_name_show_registration  = 'show_registration';
	this.param_name_registration_redirect  = 'wp_regis_redirect';
	this.param_name_login_redirect  = 'wp_login_redirect';
	this.place_holder  = 'ph';
	this.cookie_display  = 'wapo_display';
	this.cookie_groups  = 'wapo_groups';
	this.cookie_vis_id  = 'wapo_vis_id';
	this.cookie_login_id  = 'wapo_login_id';
	this.cookie_previous_ip  = 'wapo_saved_ip';
	this.cookie_last_ip = 'wapo_last_ip';
	this.cookie_omniture  = 's_vi';
	this.cookie_previous_omniture  = 'wapo_saved_omnitureid';
	this.cookie_previous_ip  = 'wapo_saved_ip';
	this.cookie_session_id  = 'wapo_sess_id';
}
	
wapoEnv = new WapoEnv();
document.write("<script type='text/javascript' src='" + wapoEnv.wapolabs_js + "'></script>");
document.write("<script type='text/javascript' src='" + wapoEnv.cdn_identity + "js/wapo_site_top.js'></script>");
            

