
var global = {
	// all the global variables here
	productSelected: "belte-frutta-infusa",
	homePage : false,
	consumatori : false,
	jQueryObjects: new Hashtable(),
	strings: {},
	queryString: {}
}



/**
* Extends the <code>global</code> object and does some starting things.
* 
* @param varsFromPage, an object that will extend the <code>global</code> one.
* 
* @see http://api.jquery.com/jQuery.extend/
*/
function init (varsFromPage) {
	$.extend(global, varsFromPage);
	
	addBasicUtils();
	
	storedjQuery(window).bind('hashchange', function() {
		var hash = getHash();
	} );
	
	global.queryString = splitQueryString();
	
	// write here your project code
	setDefaultRolloverSwap();	
	setPositionFooter();
}
