var flashVars = {};

flashVars.serverLocation = 'http://www.prada.com/';
flashVars.secureServerLocation = 'https://secure.prada.com/';
flashVars.assetsPathPrefix = 'http://www.prada.com/';

// ecommerce
flashVars.ecommercePathPrefix = 'http://www.prada.com/buy-online/';
flashVars.ecommerceCataloguesPathPrefix = 'http://www.prada.com/';
flashVars.ecommerceAssetsPathPrefix = 'http://www.prada.com/buy-online/';
flashVars.xmlPathPrefix = 'http://www.prada.com/buy-online/assets/xml/';
flashVars.orderPageURL = 'https://secure.prada.com/buy-online/order';
flashVars.shoppingBasketLocation = 'http://www.prada.com/';

// take the get arguments from the URL and transform into flashvars
var sArgs = location.search.slice(1).split("&");
  if (sArgs.length>0) { 
  for (var i = 0; i < sArgs.length; i++) {
    flashVars[sArgs[i].slice(0, sArgs[i].indexOf("="))] = sArgs[i].slice(sArgs[i].indexOf("=")+1, sArgs[i].length);
  }
}