window.addEvents({
    'domready': function() {
        textResize();
        gotoShowroomDetail();
        setBoxHeight('overview');
        setBoxHeight('sitemap');
        initVisualBox();
        setPriceWidth();
        setInputHovers();
        initF1HeaderSearch();
        initF13Zoekresultaten();
        initProductMoreInfo();
        addIconTooltips();
        initTabs($$('div.selectie_historie ul.tabs li'), $$('div.selectie_historie div.tabcontent'));
        initTabs($$('div.productinfo ul.tabs li'), $$('div.productinfo div.tabcontent'));
        initA3BedrijfSwitch();
		detectRatingTab();
    },
    'load': function() {
        initF11RateProduct();
        initShowroomMap();
		initProductDetailVisuals();
		initShowroomSlideshow();
    }
});

/*
* initF1HeaderSearch
* Adds interactivity to the search field in the header.
* 
* @author Barend van der Hout (barend[AT]efocus.nl)
*/
function initF1HeaderSearch() {
    if (!$('header_searchbox')) return;

    var elHeaderSearchBox = $('header_searchbox');
    var elHeaderSearchText = elHeaderSearchBox.getElement('.header_search_text');
    var elHeaderSearchBtn = elHeaderSearchBox.getElement('.submit');
    var strHeaderSearchTextDefault = elHeaderSearchText.getProperty('value');

    Element.Events.keyup_enter = {
        base: 'keyup',
        condition: function(event) {
            return (event.key == 'enter');
        }
    };

    elHeaderSearchText.addEvents({
        'focus': function() {
            if (elHeaderSearchText.getProperty('value') == strHeaderSearchTextDefault) elHeaderSearchText.setProperty('value', '');
        },
        'blur': function() {
            if (elHeaderSearchText.getProperty('value') == '') elHeaderSearchText.setProperty('value', strHeaderSearchTextDefault);
        },
        'keyup_enter': function() {
            elHeaderSearchBtn.fireEvent('click');
        }
    });

    elHeaderSearchBtn.addEvent('click', function() {
        // Search action goes here...
        //alert('Search button clicked (or enter pressed)');
        window.location = this.href + "?q=" + elHeaderSearchText.getProperty('value');
        return false;
    });
}

/*
* initF11RateProduct
* Rates a product on a scale of 10.
* 
* @author Rou-hun Fan (lowen[AT]efocus.nl)
* @author Ralph Meeuws (ralph.meeuws{AT}efocus.nl)
*/
function initF11RateProduct() { 
	if (!$(document.getElement('div.rate_this'))) return;

	var elRateInput = document.getElement('input.rateinput');
	var elRateThis = document.getElement('div.rate_this');
	var arrRatingStars = elRateThis.getElements('span');
	var arrRatings = ['rate_this1of10', 'rate_this2of10', 'rate_this3of10', 'rate_this4of10', 'rate_this5of10', 'rate_this6of10', 'rate_this7of10', 'rate_this8of10', 'rate_this9of10', 'rate_this10of10'];
	var currentClass;
	var currentRating;

	arrRatingStars.each(function(elRatingStar, n) {
		elRatingStar.addEvents({
			'mouseover': function() {
				elRateThis.removeClass(arrRatings[currentRating]);
				elRateThis.removeClass(currentClass);
				elRateThis.addClass(arrRatings[n]);
				currentClass = arrRatings[n];
			},
			'mouseout': function() {
				elRateThis.removeClass(currentClass);
				elRateThis.addClass(arrRatings[currentRating]);
			},
			'click': function() {
				elRateInput.set('value', n + 1);
				currentRating = n;
			}
		})
	})
}

/*
* initF13Zoekresultaten
* Adds interactivity to the search field in the search page.
* 
* @author Barend van der Hout (barend[AT]efocus.nl)
*/
function initF13Zoekresultaten() {
    if (!$('searchbox')) return;

    var elHeaderSearchBox = $('searchbox');
    var elHeaderSearchText = elHeaderSearchBox.getElement('.search_text');
    var elHeaderSearchBtn = elHeaderSearchBox.getElement('.submit');
    var strHeaderSearchTextDefault = elHeaderSearchText.getProperty('value');

    Element.Events.keyup_enter = {
        base: 'keyup',
        condition: function(event) {
            return (event.key == 'enter');
        }
    };

    elHeaderSearchText.addEvents({
        'focus': function() {
            if (elHeaderSearchText.getProperty('value') == strHeaderSearchTextDefault) elHeaderSearchText.setProperty('value', '');
        },
        'blur': function() {
            if (elHeaderSearchText.getProperty('value') == '') elHeaderSearchText.setProperty('value', strHeaderSearchTextDefault);
        },
        'keyup_enter': function() {
            elHeaderSearchBtn.fireEvent('click');
        }
    });

    elHeaderSearchBtn.addEvent('click', function() {
        // Search action goes here...
        //alert('Search button clicked (or enter pressed)');
        window.location = this.href + "?q=" + elHeaderSearchText.getProperty('value');
        return false;
    });
}

/**
* function initProductMoreInfo
*
* shows or hides more productinfo
*
* @author Mirjam <mirjam{AT}efocus.nl>
* @return void
*/

function initProductMoreInfo() {

    var productIntros = $$('ul.productoverview li p.productintro a.readmore');
    if (productIntros.length == 0) return false;

    productIntros.each(function(productIntro) {

        var productIntroMore = productIntro.getParent().getParent().getElement('p.productintromore');
        var newH = productIntroMore.getScrollSize().y;
        productIntroMore.setStyle('height', '0px');

        if (productIntroMore) {
            productIntro.thismore = productIntroMore;
            productIntro.h = newH;
            productIntro.addEvent('click', function() {
                if (this.thismore.getStyle('height').toInt() > 0) {
                    this.thismore.tween('height', 0);
                } else {
                    this.thismore.tween('height', this.h);
                }
            });
        }

    });
    
}

/**
* function addIconTooltips
*
* shows tooltips from producticons
*
* @author Mirjam <mirjam{AT}efocus.nl>
* @return void
*/

function addIconTooltips() {

   var iconTips = new Tips($$('.icontooltip'), {
       className: 'tooltip'
   });
    
}


/**
* function textResize
*
* resizes text
*
* @author Mirjam <mirjam{AT}efocus.nl>
* @return void
*/

function textResize() {

    var textSizeLinks = $$('a.textsize');
    if (textSizeLinks.length != 3) return false;

    var textSizeSmallRatio = 1;
    var textSizeMediumRatio = 1.25;
    var textSizeLargeRatio = 1.5;
    
    var thisBody = $(document.body);
    var baseFontSize = 16;

    var currentTextSizeLink = textSizeLinks[0];
    var newFontSize;
    
    // cookie?
    if (Cookie.read('prominent_textsize')) {
        
        var readCookie = Cookie.read('prominent_textsize').split("&");
        thisBody.setStyle('font-size', Number(readCookie[0]));
        textSizeLinks[readCookie[1]].addClass('textsize_selected');
        currentTextSizeLink = textSizeLinks[readCookie[1]];
                
    } else {

        currentTextSizeLink.addClass('textsize_selected');
        thisBody.setStyle('font-size', baseFontSize);
        
    }

    textSizeLinks.each(function(textSizeLink, i) {

        textSizeLink.nr = i;

        // set start value
        textSizeLink.addEvent('click', function() {

            currentTextSizeLink.removeClass('textsize_selected');
            currentTextSizeLink = this;
            this.addClass('textsize_selected');

            if (this.hasClass('textsize_small')) {
                newFontSize = (textSizeSmallRatio * baseFontSize);
            } else if (this.hasClass('textsize_medium')) {
                newFontSize = (textSizeMediumRatio * baseFontSize);
            } else if (this.hasClass('textsize_large')) {
                newFontSize = (textSizeLargeRatio * baseFontSize);
            }

            thisBody.setStyle('font-size', newFontSize);

            var cookieInfo = newFontSize + "&" + currentTextSizeLink.nr;
            var thisCookie = Cookie.write('prominent_textsize', cookieInfo);

        });
    });
    
}

/**
* function gotoShowroomDetail
*
* open detailpage indicated in value of showroom select
*
* @author Mirjam <mirjam{AT}efocus.nl>
* @return void
*/

function gotoShowroomDetail() {

    var showroomSelect = $$('select.allshowrooms')[0];
    if (!showroomSelect) return false;

    showroomSelect.addEvent('change', function() {
        if (this.value) {
            window.location = this.value;
        }
    });

}

/**
* function setBoxHeight
*
* set same height for boxes in same row
*
* @author Mirjam <mirjam{AT}efocus.nl>
* @param string list list to set height to
* @return void
*/

function setBoxHeight(list) {
    
    var boxLists = ($$('ul.' + list));

    if (boxLists.length == 0) return false;

    for (var i = 0; i < boxLists.length; i++) {

        var prevH = 0;
        var thisRow = new Array();
        var nr = 0;
        var boxItems = boxLists[i].getElements('li');

        for (var j = 0; j < boxItems.length; j++) {

            if (boxItems[j].getParent('ul').hasClass(list)) {

                if (nr % 3 == 0) {
                    prevH = 0;
                    thisRow = new Array();
                }

                thisRow.push(boxItems[j]);

                var thisH = boxItems[j].getScrollSize().y;
                
                if (thisH > prevH) {
                    prevH = thisH;
                    thisRow.each(function(el) {
                        el.setStyle('height', (prevH / 12) + 'em');
                    });
                } else {
                    boxItems[j].setStyle('height', (prevH / 12) + 'em');
                }
                
                nr++;

            }

        }
    }
}

/**
* function setPriceWidth
*
* set stripepricewidth
*
* @author Mirjam <mirjam{AT}efocus.nl>
* @param string list list to set height to
* @return void
*/

function setPriceWidth() {

    if ($$('span.orgprice').length == 0) return false;

    for (var i = 0; i < $$('span.orgprice').length; i++) {
        var thisPrice = $$('span.orgprice')[i];
        var thisStripe = thisPrice.getElement('img');
        if (thisStripe && thisPrice) {
            thisStripe.setStyle('width', thisPrice.getScrollSize().x);
        }
    }
        
}


/**
 * function initVisualBox
 *
 * inits visualbox and sets on site, hides second and third visuals
 *
 * @author Mirjam <mirjam[at]efocus.nl>
 * @return void
 */

var currentVisual = 0;
var visualImages = new Array();
var slideShowTimer;

function initVisualBox() {
	
	if (!$('visual1') && !$('visual2') && !$('visual3')) return;

	visualImages.push($('visual1'));
	visualImages.push($('visual2'));
	visualImages.push($('visual3'));

	var rouleren = typeof globalF5automatischRouleren != 'undefined' && globalF5automatischRouleren == '1';
	if (rouleren) {
	    
	    $$('div.visual_bg').setStyle('background', globalF5fadeOutKleurcode);
	    
	}
	
	
	var visuals = [1, 2, 3];
	visuals.each(function(visualnumber) {

	    //if (!rouleren) {
	        $('link' + visualnumber).addEvent('click', function(event) {

	            // disable click on active item
	            if ($('link' + visualnumber).hasClass('active')) {
	                event.stop();
	                event.preventDefault();
	            }

	            setVisualBox(visualnumber);

	        });
	    //}
	});
	
	// set first visual active
	setVisualBox();

}

/**
* function fadeVisual
*
* auto fade visualbox
*
* @author Mirjam <mirjam[at]efocus.nl>
* @return void
*/

function fadeVisual() {
        
    $clear(slideShowTimer);

    var fadeChain = new Fx.Tween(visualImages[currentVisual], { property: 'opacity' });
    fadeChain.start(1, 0).chain(
        function() {

            $('link' + (currentVisual + 1)).removeClass('active');
            visualImages[currentVisual].removeClass('active');

            if (currentVisual + 1 < visualImages.length) {
                currentVisual++;
            } else {
                currentVisual = 0;
            }

            visualImages[currentVisual].addClass('active');
            visualImages[currentVisual].setStyle('opacity', '0');
            $('link' + (currentVisual + 1)).addClass('active');
            
            visualImages[currentVisual].tween('opacity', '1');
            slideShowTimer = fadeVisual.periodical((globalF5rouleertijd * 1000));

        }

    );  
   
}


/**
 * function setVisualBox
 *
 * handles clicks on visualbox navigation
 *
 * @author Rocco Janse <rocco[at]efocus.nl>
 * @param integer visual visualnumber to activate
 * @return void
 */

function setVisualBox(visual) {

    $clear(slideShowTimer);
    
    if (!$('visual1') && !$('visual2') && !$('visual3')) return;
    if ($defined(visual)) {
        var visuals = [1, 2, 3];
        if (visuals.contains(visual)) {
            visuals.each(function(visualnumber) {
                
                if (visual == visualnumber) {
                    $('visual' + visualnumber).addClass('active');
                    $('visual' + visualnumber).setStyle('opacity', '100');
                    $('link' + visualnumber).addClass('active');
                } else {
                    $('visual' + visualnumber).removeClass('active');
                    $('link' + visualnumber).removeClass('active');
                }
            });
        };

        currentVisual = (visual - 1);
        
    } else {
        $('visual1').addClass('active');
        $('link1').addClass('active');

        currentVisual = 0;
    }

    var rouleren = typeof globalF5automatischRouleren != 'undefined' && globalF5automatischRouleren == '1';
    if (rouleren) {
        slideShowTimer = fadeVisual.periodical((globalF5rouleertijd * 1000));
    }
    
}


/**
 * initTabs()
 *
 * enables tab functionality
 *
 * @param tablinks array Array of DOM elements that function as tab labels
 * @param tabcontents array Array of DOM elements that function as tab contents
 *
 * @author Klaas Dieleman <klaas{AT}efocus.nl>
 * @return void
 */
 
function initTabs(tablinks, tabcontents) {
    
	if(tablinks.length != tabcontents.length || tablinks.length < 2 || tabcontents.length < 2) return false;
	
	/*tablinks[0].addClass('active');
	tabcontents.addClass('inactive');
	tabcontents[0].removeClass('inactive');*/
	
	tablinks.each(function(tablink, index) {
		tablink.getElement('a').set('href', 'javascript: void(0)');
		tablink.addEvent('click', function() {
			tablink.getElement('a').blur();
			tablinks.removeClass('active');
			tablink.addClass('active');
			tabcontents.addClass('inactive');
			tabcontents[index].removeClass('inactive');
		});
    });
	
}


/**
* detectRatingTab()
*
* Activates the rating tab when string is detected in the URI.
*
* @author Ralph Meeuws <ralph.meeuws{AT}efocus.nl>
* @return void
*/

function detectRatingTab() {
	if ($$('div.productinfo ul.tabs li').length == 0) return false;

	var strPageLocation = new URI(location.href);
	if (strPageLocation.get('fragment') == 'beoordelingen') $$('div.productinfo ul.tabs li')[1].fireEvent('click');
}


/**
* initShowroomMap()
*
* initializes googlemaps for showroomfinder
*
*
* @author Mirjam <mirjam{AT}efocus.nl>
* @return void
*/





function initShowroomMap() {

    var showRoomDiv = $('showroommap');
    if (!showRoomDiv) return false;
    
    if (GBrowserIsCompatible()) {

        // init
        var gmap = new GMap2(showRoomDiv);

        var w = document.getElementById('countrySelect').selectedIndex;
        var country = document.getElementById('countrySelect').options[w].text


        var divOverlay = document.createElement("div");
        divOverlay.className = 'showroommap_img';


        // disable dragging and remove overlay(s)
        gmap.disableDragging();
        gmap.clearOverlays();

        // Regional Settings
        if (country == 'Nederland') {
            // set center
            gmap.setCenter(new GLatLng(52.14023120108506, 5.3173828125), 7); //NL
            // set boundaries
            var boundaries = new GLatLngBounds(new GLatLng(50.42251884281915, 2.955322265625), new GLatLng(53.79416183737104, 7.679443359375)); // NL
            // Afbeelding
            divOverlay.innerHTML = "<img src='/siteimg/showroom_map_NL.png' alt='' />";
        }

        if (country == 'Spanje') {
            // set center
            gmap.setCenter(new GLatLng(36.5, -3.757324), 5); //SPAIN
            // set boundaries
            var boundaries = new GLatLngBounds(new GLatLng(52.469397, 5.509644), new GLatLng(52.469397, 5.509644)); // SPAIN
            // Afbeelding
            divOverlay.innerHTML = "<img src='/siteimg/showroom_map_ES.png' alt='' />";
        }
        
        

        // create and position overlay
        var c1 = gmap.fromLatLngToDivPixel(boundaries.getSouthWest());
        var c2 = gmap.fromLatLngToDivPixel(boundaries.getNorthEast());

        if ($$('div.showroommap_img')) {
            $$('div.showroommap_img').dispose();
        }
        
        gmap.getPane(G_MAP_MAP_PANE).appendChild(divOverlay);

        showRoomDiv.setStyle('visibility', 'visible');

        // Create marker icon
        var customIcon = new GIcon();
        customIcon.image = "/siteimg/showroom_marker.png";
        customIcon.iconAnchor = new GPoint(6, 6);
        customIcon.iconSize = new GSize(13, 13);
        markerOptions = { icon: customIcon }
        
        // add markers
        for (var i = 0; i < markers.length; i++) {

            var markerLatLong = markers[i][2].split(",");
            var markerLink = markers[i][1];
            var markerActief = markers[i][3] == "true";

            markerOptions.title = markers[i][0];
            
            var point = new GLatLng(parseFloat(markerLatLong[0]), parseFloat(markerLatLong[1]));
            var marker = new GMarker(point, markerOptions);
           
            marker.link = markerLink;
            
            gmap.addOverlay(marker);
            GEvent.addListener(marker, 'click', function() {
                window.location = this.link;
            });

            if (markerActief) {

                var activeMarker = new Element('span');
                activeMarker.addClass('activeMarker');
                activeMarker.set('html', '<img src="/siteimg/showroom_maker_active.png" alt="' + markers[i][0] + '" title="' + markers[i][0] + '"/>');
                activeMarker.inject(showRoomDiv);
                
                var latlongToPix = gmap.fromLatLngToDivPixel(new GLatLng(parseFloat(markerLatLong[0]), parseFloat(markerLatLong[1])));
                activeMarker.style.left = (latlongToPix.x - 6) + "px";
                activeMarker.style.top = (latlongToPix.y - 16) + "px";

            }
                        
        }
        
    }
       
    
}

/**
* function AutoPostbackWithClientValidate
*
* does autopostback but checks .net clientside validation
*
* @author Barend van der Hout <barend[at]efocus.nl>
* @param string eventTarget name of controls which fires (serverside)
* @param string eventArgument empty
* @return bool success
*/
function AutoPostbackWithClientValidate(eventTarget, eventArgument) {
    if (typeof (Page_ClientValidate) == 'function') {
        Page_ClientValidate();
        if (Page_IsValid)
            __doPostBack(eventTarget, eventArgument);
        return Page_IsValid;
    }
    else {
        __doPostBack(eventTarget, eventArgument);
        return true;
    }
}

/**
* function A3PostcodeCheck
*
* does addresslookup if valid input
*
* @author Barend van der Hout <barend[at]efocus.nl>
* @param event e current event
* @param string eventTarget name of controls which fires (serverside)
* @param string eventArgument empty
* @param string pcveld id of postcode-field
* @param string pcval id of postcode-validator-field
* @param string hnveld id of huisnummer-field
* @param string hnval id of huisnummer-validator-field
* @return bool success
*/
function A3PostcodeCheck(e, eventTarget, eventArgument, pcveld, pcval, hnveld, hnval) {
    var event = event || e;
    var pcGeldig = $(pcveld).value != '' && $(pcval).isvalid && $(hnveld).value != '' && $(hnval).isvalid;

    if (pcGeldig) {
        __doPostBack(eventTarget, eventArgument);
    }
    return true;
}

/**
* function A3GeboortedatumChange
*
* constructs hidden geboortedatumveld: geboortedatum = geboortedag-geboortemaand-geboortejaar
* fires validation
*
* @author Barend van der Hout <barend[at]efocus.nl>
* @param event e current event
* @param string veldDag id of geboortedag-field
* @param string veldMaand id of geboortemaand-field
* @param string veldJaar id of geboortejaar-field
* @param string veldTotaal id of hidden geboortedatum-field
* @param string val id of geboortedatum-validator-field
* @return void
*/
function A3GeboortedatumChange(e, veldDag, veldMaand, veldJaar, veldTotaal, rfVal, reVal) {
    var event = event || e;
    var veldtotaaloud = $(veldTotaal).value;
    if ($(veldDag).value != '' && $(veldMaand).value != '' && $(veldJaar).value != '') {
        $(veldTotaal).value = $(veldDag).value + '-' + $(veldMaand).value + '-' + $(veldJaar).value;
    }
    else {
        $(veldTotaal).value = '';
    }
    // validators worden niet automatisch getriggerd als je via code update
    if ($(veldTotaal).value != veldtotaaloud) {
        ValidatorValidate($(rfVal));
        ValidatorValidate($(reVal));
    }
}

/**
* function initA3BedrijfSwitch
*
* enables/disables Bedrijfsnaam-field on clicking Bedrijfsnaamcheckbox
* enables/disables validation
*
* @author Barend van der Hout <barend[at]efocus.nl>
* @requires global tbBedrijfsnaamID rfValidatorBedrijfsnaamID
* @return void
*/
function initA3BedrijfSwitch() {
    if ($$('.radioBedrijf').length > 0) {
        $$('.radioBedrijf')[0].getElements('input[type=radio]').each(function(element) {
            element.addEvents({
                'click': function() {
                    var isBedrijf = this.value == 'Bedrijf';
                    $(rfValidatorBedrijfsnaamID).enabled = isBedrijf;
                    $(tbBedrijfsnaamID).disabled = !isBedrijf;
                    if (isBedrijf) {
                        $(tbBedrijfsnaamID).removeClass('disabled');
                    } else {
                        $(tbBedrijfsnaamID).addClass('disabled');
                    }
                }
            });
        });
    }
}

/**
* function A3validatieMeldingPopup
*
* shows alert when sending invalid form: "please check your input"
*
* @author Barend van der Hout <barend[at]efocus.nl>
* @param string veldMelding the message
* @return void
*/
function A3validatieMeldingPopup(veldMelding) {
    if (typeof (Page_ClientValidate) == 'function') {
        Page_ClientValidate();
        if (!Page_IsValid) {
            alert($(veldMelding).value);
        }
    }
}

/**
* function setInputHovers
*
* handles hover state of inputs crossbrowser
*
* @author Rocco Janse <rocco[at]efocus.nl>
* @return void
*/

function setInputHovers() {
    var inputs = $(document.body).getElements('input[type=text]');
    var textareas = $(document.body).getElements('textarea');
    if (inputs.length < 1 && textareas.length < 1) return;
    var formelements = inputs.combine(textareas);

    formelements.each(function(element) {
        element.addEvents({
            'focus': function() {
                element.addClass('focus');
            },
            'blur': function() {
                element.removeClass('focus');
            }
        });
    });

}


/**
* function initProductDetailVisuals
*
* Shows larger visuals of the product.
*
* @author Ralph Meeuws <ralph.meeuws{AT}efocus.nl>
* @return void
*/

function initProductDetailVisuals() {
    if (!$(document.body).getElement('.productdetail_enlargement_list') || !$(document.body).getElement('.thumbs_list')) return false;

    var elProductDetail = $(document).getElement('.productdetail');
    var arrProductDetailEnlargementListItems = elProductDetail.getElements('.productdetail_enlargement_list li');
    var arrProductDetailThumbLinks = elProductDetail.getElements('.thumbs_list a');
    var intProductDetailVisualActive = 0;

    arrProductDetailThumbLinks.each(function(elProductDetailThumbLink, intIndex) {
        elProductDetailThumbLink.addEvents({
            'mouseenter': function() {
                enlargeVisual(intIndex);
            },
            'mouseleave': function() {
                enlargeVisual(intProductDetailVisualActive);
            },
            'click': function(event) {
                event.stop();
                this.blur();
                enlargeVisual(intIndex);
                intProductDetailVisualActive = intIndex;
            }
        });
    });

    enlargeVisual = function(intIndex) {
        arrProductDetailEnlargementListItems.removeClass('active');
        arrProductDetailEnlargementListItems[intIndex].addClass('active');
    }
}



/**
* function initShowroomSlideshow
*
* Loads the slideshow for the showroom.
*
* @author Ralph Meeuws <ralph.meeuws{AT}efocus.nl>
* @return void
*/

function initShowroomSlideshow() {
	if (!$(document.body).getElement('.showroom_slideshow')) return false;
	
	var elShowroomSlideshow = $(document.body).getElement('.showroom_slideshow');
	
	var objSlideShow = new EfxNavSlideShow({
		arrSlides: elShowroomSlideshow.getElement('.showroom_slides').getElements('li'),
		elNav: elShowroomSlideshow.getElement('.showroom_nav'),
		strLabelPrev: 'Vorige',
		strLabelNext: 'Volgende',
		strLabelPlay: 'Afspelen',
		strLabelPause: 'Pauzeren',
		intInterval: 4000
	});
}