//-----------------------------
// Auteur	: Raynald Bertrand
// Date		: 2007-07-09
//-----------------------------

function DfpVariables()
{
	//var theurl=document.location.href;
	//var mainurl1=theurl.indexOf('home.html');
	//var mainurl2=theurl.charAt(theurl.length -1);
	//var mainurl3=theurl.indexOf('home.php');
	//var mainurl4=theurl.indexOf('index.html'); 
        
	this.mainsection = '';
	this.sujet = '';
	this.affiliate = '';          	
	this.sectionLevel2 = '';
	this.sectionLevel3 = '';
	
	this.language = 'en';
	this.division = 'omp';	
	this.networkid = 'can';
	
	if( this.hp = '' )
		this.hp = '0';
	this.SwitchLang = this.language;
	this.networkid = 'can';
	this.tile = 1;
	this.rand_num = Math.floor(Math.random()*8999999999)+1000000000;
	this.prov = '';
	
	this.de_site = '';
	this.de_vchannel = '';
	this.de_subcategory = '';	
	this.de_hchannel = '';
	
	
	// Take note that if dfpSwitch is on for a position we skip the call for dfp
	this.dfpSwitch = 
	{
		skyscraper: 0,
		superbanner: 0,
		catfish: 0,
		bigbox: 0,
		special: 0,
		special1: 1,
		special2: 1,
		button: 1,
		popup: 1,
		advertorial: 1,
		banner: 1,
		doublebox: 1
	} 
}

var MyGenericTagVar = new DfpVariables();
