	// the ads + link (divided by a pipe '|')
	// leave link blank to have just an image
	var pl_ads_product = new Array(
		"/gfx/phlight/ads/bnr_top.gif|",
		"/gfx/phlight/ads/bnr_bot.gif|http://www.google.nl"
	);

	// the pictures + text (divided by a pipe '|')
	// leave text blank to have just an image
	var pl_samples_fotoprint = new Array(
		"fotoprint-01|Prints op A4 formaat bij introductie van campagne",
		"fotoprint-02|Je eigen foto op de cover van Glamour",
		"fotoprint-03|Speciale items zijn ook mogelijk",
		"fotoprint-04|Wisselende teksten meeprinten is geen probleem",
		"fotoprint-05|Meteen je foto meekrijgen; altijd een succes",
		"fotoprint-06|De foto's komen binnen seconden uit de printer(s)"
	);

	var pl_samples_fotoprof = new Array(
		"fotoprof-01|Een fotoshoot met afdrukken op lokatie in H&M.",
		"fotoprof-02|Zowel de snapshot van de gasten...",
		"fotoprof-03|als het podiumoptreden kunnen online worden gezet.",
		"fotoprof-04|fotoprof en fotopromo zijn prima te combineren.",
		"fotoprof-05|Ook foto's van derden kunnen door ons worden verwerkt."
	);

	var pl_samples_fotopromo = new Array(
		"fotopromo-01|IAmsterdam fotopromo team Koninginnedag 2005.",
		"fotopromo-02|Fotopromo fotografen in Casema promo outfit.",
		"fotopromo-03|Sitecards zijn merkpromotie en geheugensteuntje.",
		"fotopromo-04|Combinatie van promoteam en professionele fotograaf.",
		"fotopromo-05|Fotopromo in stijlvolle Photonic regenjacks.",
		"fotopromo-06|Een 'meet&greet' is altijd een doorslaand succes"
	);

	var pl_samples_fotodisplay = new Array(
		"fotodisplay-01|FotoDisplay gecombineerd met gewone fotografen.",
		"fotodisplay-02|Perfect in te zetten bij 'Meet&Greet' akties.",
		"fotodisplay-03|Op het tussenscherm kunt u uw boodschap communiceren."
	);
	
	var pl_samples_fotosite = new Array(
		"fotosite-01|Met behulp van sitecards voor de bezoekers..",
		"fotosite-02|en een banner op de homepage voor de thuisblijvers..",
		"fotosite-03|wordt de aangepaste FotoSite optimaal bekeken.",
		"fotosite-04|De gemaakte foto is eenvoudig op de site te vinden..",
		"fotosite-05|en te downloaden, versturen en bestellen."
	);

	var pl_samples_fotokiosk = new Array(
		"fotokiosk-01|In het Holland Heineken House in Turijn",
		"fotokiosk-02|Meerdere kiosken naast elkaar",
		"fotokiosk-03|Enorm populair - dus even wachten",
		"fotokiosk-04|De afdrukken hebben een frame naar wens",
		"fotokiosk-05|De barcode kaartjes in uw eigen look&feel"
	);

//********************************************
// STOP EDITING FROM HERE DOWNWARDS
//********************************************

	var pl_idx = 0;
	var pl_samples;

	// init Photonic Light
	function pl_init(samples) {

		pl_samples = samples;
		try {
			ads = eval("pl_ads_" + pl_samples);
		} catch(e) {}

		if (typeof(ads) != 'undefined') {

			// set the top ad
			ad = ads[0].split('|');
			ad_img = ad[0];
			ad_lnk = ad[1];
			AdTop = document.getElementById("PLAdTop");
			if (ad_lnk == '') {
				AdTop.innerHTML = "<img id='imgPLAdTop' src='" + ad_img + "' alt='' />";
			} else {
				AdTop.innerHTML = "<a href='" + ad_lnk + "' target='_blank'><img id='imgPLAdTop' src='" + ad_img + "' alt='' /></a>";
			}

			// set the bottom ad
			ad = ads[1].split('|');
			ad_img = ad[0];
			ad_lnk = ad[1];
			AdBot = document.getElementById("PLAdBot");
			if (ad_lnk == '') {
				AdBot.innerHTML = "<img id='imgPLAdBot' src='" + ad_img + "' alt='' />";
			} else {
				AdBot.innerHTML = "<a href='" + ad_lnk + "' target='_blank'><img id='imgPLAdBot' src='" + ad_img + "' alt='' /></a>";
			}

		}

		// goto first slide
		pl_slide(0);

	}

	function pl_slide(where) {

		samples = eval('pl_samples_' + pl_samples);
		pl_idx = pl_idx + where;
		if (pl_idx > samples.length-1) {pl_idx = 0};
		if (pl_idx < 0) {pl_idx = samples.length-1};
		counter = '(' + (pl_idx + 1) + '/' + samples.length + ')';
		sample = samples[pl_idx].split('|');

		img_holder = document.getElementById("imgPLPhoto");
		img_holder.src = "gfx/samples/" + sample[0] + ".jpg";

		txt_holder = document.getElementById("imgPLText");
		txt_holder.innerHTML = '<table width="100%"><tr><td align="left">' + sample[1] + '</td><td align="right">' + counter + '</td></tr></table>';

	}
