var _CBC_MODULES = {
	base:'/i/l/yui/3.1.1/',
	charset: 'utf-8',
	timeout: 10000,
	insertBefore:"yuiminnode",

	modules: {
		//core
		"cbc_old_core": { type:"js", fullpath:"/includes/objects/core-v2/core.js"},
		"cbc_core": { type:"js", fullpath:"/i/o/cbc/v10/core-min.js", requires:['cookie'] },
		"cbc_cookies": { type:"js",fullpath:"/i/o/cbc/v10/cookies-min.js" },
		"cbc_string": { type:"js",fullpath:"/i/o/cbc/v10/string-min.js" },
		"cbc_drawing": { type:"js", fullpath:"/i/o/cbc/v10/drawing-min.js", requires:['cbc_core'] },
		"cbc_forms": { type:"js", fullpath:"/i/o/cbc/v10/forms-min.js" },
		"cbc_paginator": { type:"js", fullpath:"/i/o/cbc/v10/paginator-min.js", requires: ['cbc_core','node'] },
		"cbc_globalnav": { type:"js", fullpath:"/i/o/globalnav/v10/globalnav-min.js", requires: ['cbc_core', 'node', 'event'] },
		"cbc_globalnav_menu_style": { type:"css", fullpath:"/i/o/globalnav/v10/css/dropdown.css" },
		"cbc_modal":{ type:"js", fullpath:"/i/o/modalbox/modalbox-min.js", requires: ['cbc_core','cbc_modal_style', 'node', 'anim-easing', 'custom-event'] },
		"cbc_modal_style":{ type:"css", fullpath:"/i/o/modalbox/modalbox.css" },
		"cbc_weather_module":{ type:"js", fullpath:"/i/o/weathermodule/wm-min.js", requires: ['cbc_core','cbc_weather_module_style', 'cbc_weather_stations', 'io-base', 'node'] },
		"cbc_weather_module_style":{ type:"css", fullpath:"/i/o/weathermodule/wm.css" },
		"cbc_personalize":{ type:"js", fullpath:"/i/o/personalize/settings-min.js", requires: ['cbc_core','cbc_modal', 'cbc_personalize_style', 'cbc_tabs', 'cbc_weather_stations'] },
		"cbc_personalize_style":{ type:"css", fullpath:"/i/o/personalize/settings.css" },
		"cbc_weather_stations":{ type:"js", fullpath:"/i/o/personalize/stations.js" },
		"cbc_tabs":{ type:"js", fullpath:"/i/o/tabs/sst-min.js", requires: ['cbc_core', 'cbc_tabs_style']} ,
		"cbc_tabs_style":{ type:"css", fullpath:"/i/o/tabs/sst.css" },
		"cbc_geoip":{ type:"js", fullpath:"/geoip/weatherByIP" },
		"cbc_stocks":{ type:"js", fullpath:"/i/o/stocks/indices.js", requires:['cbc_core', 'cbc_stocks_style', 'node', 'event-base']},
		"cbc_stocks_style":{ type:"css", fullpath:"/i/o/stocks/indices.css" },
		"cbc_weather":{ type:"js", fullpath:"/weather/includes/js/weather.js", requires:['cbc_core', 'cbc_weather_stations', 'node', 'event']},

		"cbc_auth": { type:"js", fullpath:"/i/o/cbc/v10/auth-min.js", requires:['cbc_core','node'] },
		"cbc_authlink_style": { type:"css",fullpath: "/i/o/auth/v10/authlink.css" },
		"cbc_authlink": { type:"js",  fullpath: "/i/o/auth/v10/authlink.js", requires: ['cbc_authlink_style','cbc_core','node','cbc_config','gigya','cookie'] },

		"cbc_photogallery":{ type:"js", fullpath:"/i/o/photogallery/photogallery.js", requires:['cbc_core','node','event','io','json','cbc_photogallery_style','cbc_paginator']},
		"cbc_photogallery_style":{ type:"css", fullpath:"/i/o/photogallery/photogallery.css"},	

		"cbc_ticker":{type:"js", fullpath:"/i/o/ticker/ticker.js", requires:['cbc_rotator', 'cbc_ticker_style']},
		"cbc_ticker_style":{type:"css", fullpath:"/i/o/ticker/ticker.css"},
		"cbc_rotator":{ type:"js", fullpath:"/i/o/rotator/rotator.js", requires:['cbc_core', 'node', 'anim', 'io', 'cbc_rotator_style', 'custom-event'] },
		"cbc_rotator_style":{ type:"css", fullpath:"/i/o/rotator/rotator.css" },
		"cbc_major_event":{ type:"js", fullpath:"/i/o/majorevent/majorevent.js", requires:['cbc_core', 'node', 'anim-easing', 'cookie', 'cbc_major_event_style'] },
		"cbc_major_event_style":{ type:"css", fullpath:"/i/o/majorevent/majorevent.css" },

		//radio listen live
		"cbc_radio":{fullpath:"/video/radio/js/cbc.js"},
		"cbc_radio_menu":{fullpath:"/video/radio/js/radioMenus.js", requires:['cbc_radio', 'cbc_radio_menu_style', 'yui2_domevent', 'yui2_connect', 'yui2_get', 'cbc_radio_streams']},
		"cbc_radio_menu_style":{fullpath:"/video/radio/css/radioMenus.css", type:"css"},
		"cbc_radio_streams":{fullpath:"/video/radio/js/radioStreams.js", requires:['cbc_radio', 'cbc_old_core']},
		"cbc_radio_header":{fullpath:"/video/radio/js/radioHeader.js", requires:['cbc_radio', 'yui2_domevent', 'yui2_connect', 'yui2_anim', 'yui2_json', 'cbc_radio_streams', 'cbc_radio_menu']},

		//lib
		"lib_sort": { type:"js", fullpath:"/i/l/objsort/1.1/objsort.js" },
		"lib_swfaddress_2.4": { type:"js", fullpath:"/i/l/swfaddress/2.4/swfaddress.js" },
		"lib_swfobject_2.2": { type:"js", fullpath:"/i/l/swfobject/2.2/swfobject.js", requires:['node-base'] },

		//ext lib
		'comscore': { type:'js', fullpath:'http://b.scorecardresearch.com/beacon.js' },
		'gigya': { type:'js', fullpath:'http://cdn.gigya.com/JS/socialize.js?apikey=2_hyjJSoiIvdYWw1PY-3VFgzbUaMqeRrb0gtAQfXJ5e2ILwwejxqrbDDPci7g3kvX7' },

		//social media
		"cbc_socialmedia": { type:"js", fullpath:"/i/o/sm/v10/js/core.js", requires:['cbc_core','node'/*,'event'*/] },

		//yui2
		"yui2_domevent" : {fullpath:"/includes/lib/yui/2.7.0b/yahoo-dom-event/yahoo-dom-event.js"},
		"yui2_anim" : {fullpath:"/includes/lib/yui/2.7.0b/animation/animation-min.js"},
		"yui2_get" : {fullpath:"/includes/lib/yui/2.7.0b/get/get-min.js"},
		"yui2_connect" : {fullpath:"/includes/lib/yui/2.7.0b/connection/connection-min.js"},
		"yui2_json" : {fullpath:"/includes/lib/yui/2.7.0b/json/json-min.js"}
	}
};
document.domain = 'cbc.ca';

