/*

// Voorbeeld code hoe je de tags vanuit flash aanroept

import flash.external.ExternalInterface;

ExternalInterface.call("DCLKSpotlightTag('nl_homepage')");

// SPOTLIGHT TAGS
// Coke Summer
// 1.  loading
// 2.  briefing
// 3.  newgame
// 4.  startplaying
// 5.  mission
// 6.  fountain
// 7.  loadgame
// 8.  savegame
// 9.  friend
// 10. share

*/

// Deze code moet ofwel in de <body> tussen <script> tags
// <script language="JavaScript" type="text/javascript"></script>
// Ofwel plaats je deze in een externe JS file

function DCLKSpotlightTag(action) 
{
	var a = Math.random() * 10000000000000;
	var pix = new Image();
    var type = "cokes761";
		
	// 1. Loading the website
	if (action == "loading") {
	     pix.src = "http://ad-emea.doubleclick.net/activity;src=2077619;type=" + type + ";cat=hppre396;ord=1;num=" + a + "?";
	}
	// 2. Briefing
	if (action == "briefing") {
	     pix.src = "http://ad-emea.doubleclick.net/activity;src=2077619;type=" + type + ";cat=hpzls922;ord=1;num=" + a + "?";
	}
	// 3. New game loader
	if (action == "newgame") {
	     pix.src = "http://ad-emea.doubleclick.net/activity;src=2077619;type=" + type + ";cat=newga481;ord=1;num=" + a + "?";
	}
	// 4. Start playing game
	if (action == "startplaying") {
	     pix.src = "http://ad-emea.doubleclick.net/activity;src=2077619;type=" + type + ";cat=newga607;ord=1;num=" + a + "?";
	}
	// 5. Mission
	if (action == "mission") {
	     pix.src = "http://ad-emea.doubleclick.net/activity;src=2077619;type=" + type + ";cat=missi757;ord=1;num=" + a + "?";
	}
	// 6. Fountain
	if (action == "fountain") {
	     pix.src = "http://ad-emea.doubleclick.net/activity;src=2077619;type=" + type + ";cat=fount662;ord=1;num=" + a + "?";
	}
	// 7. Load game
	if (action == "loadgame") {
	     pix.src = "http://ad-emea.doubleclick.net/activity;src=2077619;type=" + type + ";cat=loady168;ord=1;num=" + a + "?";
	}
	// 8. Save game
	if (action == "savegame") {
	     pix.src = "http://ad-emea.doubleclick.net/activity;src=2077619;type=" + type + ";cat=savey786;ord=1;num=" + a + "?";
	}
	// 9. Friend
	if (action == "friend") {
	     pix.src = "http://ad-emea.doubleclick.net/activity;src=2077619;type=" + type + ";cat=becom717;ord=1;num=" + a + "?";
	}
	// 10. Share
	if (action == "share") {
	     pix.src = "http://ad-emea.doubleclick.net/activity;src=2077619;type=" + type + ";cat=share200;ord=1;num=" + a + "?";
	}
	
	// end
	return void(null);
}
