//-----------------------------
// Auteur	: Pejman Ramezanpour
// Date		: 2008-02-13
//-----------------------------

function OmnitureVariables()
{
	this.s_account = 'cnosuntvprod,cnocanoeglobalprod';
	this.mainsection = 'suntv';
	this.sectionLevel2 = MyGenericTagVar.sectionLevel2;
	this.sectionLevel3 = '';
	this.language = 'en';
	this.division = 'smc';
	this.networkid = 'can';
	
	this.linkInternalFilters = 'javascript:,canoe.ca';
	this.prop22 = 'entertainment';
	
	this.linkTrackVars = 'server';
	this.linkTrackEvents = 'None';
 	this.linkLeaveQueryString = 'false';
	this.linkExternalFilters = '';
	this.trackExternalLinks= 'true';
	this.pageType = '';
	this.srcsite = 'portal';
	
	this.SwitchCgi = true;
	this.server = 'can.en.smc.suntv';
	this.prop11 = document.location.href.slice(7);
	
	/*if ((this.sectionLevel2 !='') && (this.sectionLevel3 !='')){
		this.pageName= this.mainsection+':'+this.sectionLevel2+':'+this.sectionLevel3;
	}
	else if	((this.sectionLevel2 !='') && (this.sectionLevel3 =='')){
	*/	this.pageName= this.mainsection+':'+this.sectionLevel2;
	/*}		
	else {
		this.pageName= this.mainsection;
	}
    */
	if ((this.sectionLevel2 !='') && (this.sectionLevel3 !='')) {
		this.hier1= this.mainsection+'|'+this.sectionLevel2+'|'+this.sectionLevel3;
		this.hier2= 'smc|en|'+this.prop22+'|'+this.mainsection+'|'+this.sectionLevel2+'|'+this.sectionLevel3;
	}
	else if	((this.sectionLevel2 !='') && (this.sectionLevel3 =='')){
		this.hier1= this.mainsection+'|'+this.sectionLevel2;
		this.hier2= 'smc|en|'+this.prop22+'|'+this.mainsection+'|'+this.sectionLevel2;
	}
	else {
		this.hier1= this.mainsection;
		this.hier2= 'smc|en|'+this.prop22+'|'+this.mainsection;
	}
	this.hier3 = 'entertainment|en|smc';	
 }
var MyOmnitureVariables  = new OmnitureVariables();
         
