");
}
CNBC_Utils.execute("symlookup", function(){
var cnbc_lookup = new CNBC_Lookup();
cnbc_lookup._quoteURL = CNBC_Settings.baseurls.detailedquotebase;
cnbc_lookup.init({
id: 'cnbc_hdqbox'
, button: 'btn-adv-lookup'
});
});
CNBC_Utils.execute("searchbox", function(){
var cnbc_searchbox = new CNBC_Searchbox();
cnbc_searchbox.init({
id: 'txt-search-keyword'
, button: 'btn-search-go'
, url: CNBC_Settings.baseurls.searchbase + '?target=all&categories=exclude&keywords='
});
});
CNBC_Utils.execute("signin", function(){ CNBC_Signin.init({ baseurls: CNBC_Settings.baseurls }); });
/* JSInits */
//1
//jsinit - 0
var rt_promo_light_20_player = new CNBC_LinkListPlayer();
var rt_promo_light_20_basePlayer = new CNBC_Player();
rt_promo_light_20_player.basePlayer = rt_promo_light_20_basePlayer;
var rt_promo_light_20_args = {
video_container: 'rt_promo_light_20'
,context: rt_promo_light_20_player
,width:320
,height:180
,swfName:'cnbc_vid_player_rt_promo_light_20'
,swfPath: 'http://plus.cnbc.com/stickers/partners/videoPlayer/AkamaiEnterprisePlayer.swf'
,getDataCallback:rt_promo_light_20_player.getVideoJSONData
,getNextVideo: rt_promo_light_20_player.getNextVideo
,callPageCallback: rt_promo_light_20_player.callPage
,playerStartCallback: rt_promo_light_20_player.playerStartHold
,callPlayerCallback: rt_promo_light_20_player.callPlayer
,dataCompleteCallback: rt_promo_light_20_player.renderCheck
,callbackContext: rt_promo_light_20_player
,flashVars:{
settings_url : 'http://plus.cnbc.com/stickers/partners/sectionFront/config.xml'
,video_id : '0'
,next_video_timer : 5
,cache_bust_key : 123456
,core_ads_enabled : true
,auto_play_list : true
,auto_play : true
,show_feature_bar : false
,show_info_bar_timer : false
,keyboard_control_modes : 'true,true,false'
,subclip_selector_enabled : false
,subclip_presentation_mode : 'spmContext'
,keyboard_interaction_behavior : true
,volume : 50
,js_callback: 'rt_promo_light_20_basePlayer.callPage'
,js_workflow_callback: 'rt_promo_light_20_player.getVideoJSONData'
,auto_advance_callback: 'rt_promo_light_20_player.getNextVideo'
}
,flashParams:{
allowFullScreen: 'true'
,allowScriptAccess: 'always'
,wmode: 'opaque'
,scale: 'noborder'
,bgcolor: '#000000'
}};
rt_promo_light_20_player.basePlayer.init(rt_promo_light_20_args);
rt_promo_light_20_player.init(rt_promo_light_20_args);
CNBC_BasePlayerObjs[CNBC_BasePlayerObjs.length] = rt_promo_light_20_basePlayer;
//jsinit - 1
CNBC_Utils.execute('resize column heights', function(){
$(window).load(function() {
CNBC_Utils.equalColumnHeight($("section.cols2 > div.unit"));
setTimeout(function() {
CNBC_Utils.equalColumnHeight($("section.cols2 > div.unit")); // even after on page load of ads
}, 3000);
});
});
//jsinit - 2
CNBC_Utils.execute('breaking news', function(){
var breakingNewsArgs = {
interval: 30
,url: 'http://www.cnbc.com/franchise/20991458'
};
CNBC_BreakingNews.init(breakingNewsArgs);
});
//jsinit - 19.1
CNBC_Utils.execute('commentsCount', function(){
CNBC_commentsCount.init({
//showHoverBox: false
commentsText: 'Comments'
,location:'http://www.cnbc.com'
,commentsBaseUrl: CNBC_Settings.baseurls.comments_base
});
});