/* ========================================================================= */
/* ****	Website Builder - Copyright (C)2007-2009 by EasyStar Software
/* ========================================================================= */

/* Initialize cart & utility parameters */

var flyingSpeed = 15;
var url_getCartContent = ''+HTML_PATH+'webfiles/webshop/shop/webshop_getCart.php';
var url_getProductDetails = ''+HTML_PATH+'webfiles/webshop/shop/webshop_getProduct.php';
var url_addProductToBasket = ''+HTML_PATH+'webfiles/webshop/shop/webshop_addProduct.php';
var url_removeProductFromBasket = ''+HTML_PATH+'webfiles/webshop/shop/webshop_removeProduct.php';
var txt_totalPrice = 'Totaal: ';
var txt_valueSymbol = '&euro; ';
var muteState;

soundManager.onload = function() {
    soundManager.createSound({id:'open',url:''+HTML_PATH+'webfiles/webshop/shop/media/opening.mp3'});
	soundManager.setVolume('open',80);
	soundManager.createSound({id:'close',url:''+HTML_PATH+'webfiles/webshop/shop/media/closing.mp3'});
	soundManager.setVolume('close',80);
	soundManager.createSound({id:'addItem',url:''+HTML_PATH+'webfiles/webshop/shop/media/itemAdd.mp3'});
	soundManager.setVolume('addItem',80);
	soundManager.createSound({id:'delItem',url:''+HTML_PATH+'webfiles/webshop/shop/media/itemLess.mp3'});
	soundManager.setVolume('delItem',80);
}

function setMuteState() {
    muteState = readCookie('muteState');
    if (muteState == 'on') {
        rightSlidePanelMute();
    }
}