//this file is local to each site
ctv.ca.ConfigController = function() {
    this.orgId = 5;
    this.forceWM = true;
    this.serveLeadingAd = true;
	this.adRefreshGap = 60*1000;
    this.maxAdGap = 3;
    this.minimumTimeToWath = 10;
    this.contentStackType = 'swf'; //swf or html
    this.videoUrl = "http://esi.ctv.ca/datafeed/urlgen2.aspx?vid=";
    this.pubsetServiceUrl = "http://esi.ctv.ca/datafeed/pubsetservice.aspx?sid=";
    this.episodeUrl = "http://esi.ctv.ca/datafeed/content.aspx?cid=";
    this.clipUrl = "http://esi.ctv.ca/datafeed/audvid2.aspx?vid=";
    this.binUrl = "http://esi.ctv.ca/datafeed/bincontentODXML.aspx?bid=";
    this.showVideoUrl = "http://esi.ctv.ca/datafeed/ArticleFeaturedVideoODXml.aspx";
    
    this.tabUrl = "http://esi.ctv.ca/datafeed/configDataXml.aspx?id=6655";
    //this.tabUrl = "xml/tabs_not_flat.xml";
    
	this.adCall = {}; 
    this.adCall.Url = "http://ad.ca.doubleclick.net/";
	this.adCall.channelName = "broadband";
	this.adCall.site = "video.ctv";
	this.adCall.zone = "junos";
	this.adCall.dartCommand = "pfadx";
	this.adCall.OtherValues ="arena=video;feed=live;spd=h;"
	this.adCall.Size ="sz=1x1;"
	
	this.bottomFrameUrl = "frames/bottomFrame.html";
    
}

ctv.ca.ConfigController.registerClass('ctv.ca.ConfigController', Sys.Component);

var ctvConfigController = new ctv.ca.ConfigController();

