// This file is a database of advertisment ids. 
// Its functions are used by macguffin_finder.js which dynamically sets up the correct ad tags.
// Each site has a seperate exception list and a seperate array of ids and identifiers.
// ids and identifiers are in an array of pipe seperated values id, identifier + size.

// Exceptioncheck => Site specific exceptions that modify identifying info.
function exceptionCheck(path){
    // Paths with special circumstances
//    switch(path) {
//        case '/autokopen/zoeken/': path=path+getVars("categoryId"); break 
//        case '/autokopen/zoeken/results.fpl': path=path+getVars("categoryId"); break 
//        case '/autokopen/zoeken/results.pl': path=path+getVars("categoryId"); break 
//        case '/autokopen/toon/': path=path+getVars("categoryId"); break 										 
//        case '/vanonzeredactie/': path=path+getVars("id"); break 										 
//	      case '/bedrijfswagen/' : 
//	  if ( getVars('id') ) // detail page
//	    path = "__unknown__" ;
//	break
//    }
    //if ( path.indexOf('/occasion/kopen/') != -1 ) { path=path+getVars("categoryId") }
    return(path)
}


// List of ids and identifiers. (used by getId)
//
// Usage: <BannerTag> : { <URI> : { id : <AdDir>, [ width: <Width>], [ height: <Height> ] } ... }, ...
//
// Check the quotes and the comma's !!! A mistake is made easely !!

var mac_dart_ids = {
	leaderbordtop : {
		"/" : { zone: "homepage", width: 728, height: 90 },
		"/werkgever/" : { zone: "werkgevers", width: 728, height: 90 },
		"/werkgevers/" : { zone: "werkgevers", width: 728, height: 90 }
	},
	indexbottom : {
		"/" : { zone: "homepage", width: 468, height: 60 }
	},

	indexrect : {
		"/" : { zone: "homepage", width: 300, height: 250 }
	},
	skyscraper : {
		"/vacatures-zoeken-uitgebreid/" : { zone: "zoeken_uitgeb", width: 120, height: 600 },
		"/vacatures/" : { zone: "vacatures", width: 120, height: 600 },
		"/zoeken/" : { zone: "vacatures", width: 120, height: 600 },
		"/werkgever/" : { zone: "werkgevers", width: 120, height: 600 },
		"/werkgevers/" : { zone: "werkgevers", width: 120, height: 600 },
		"werkgevers/werving-en-selectie-producten/" : { zone: "werving_selectie_prod", width: 120, height: 600 },
		"/werkgever/bestel.fpl?credit_name0=" : { zone: "bestel1", width: 120, height: 600 },
		"/werkgever/bestel.fpl" : { zone: "bestel2", width: 120, height: 600 },
		"werkgever/login/cvdb.fpl" : { zone: "login_cvdb", width: 120, height: 600 }
	},

	skyscrapertips : {
		"/" : { zone: "content",  width: 120, height: 600 }
	},

	skyscraperdetail : {
		"/" : { zone: "detail",  width: 120, height: 600 }
	}
};

