
var quazarProduct;

function QuazarProduct()
{
	this.bottle = 0;
	this.section = 0;

	anchor = document.location.toString().split('#product_b')[1];

	if(anchor)
	{
		anchor = anchor.split('s');
		this.bottle = parseInt(anchor[0]);
		this.section = parseInt(anchor[1]);
	}

	this.changeTab = function(bottle, section)
	{
		jQuery('div.product').hide();
		jQuery('div.product#b' + bottle + 's' + section).show();
		gwarSet();

		// anchor-based navigation
		loc = document.location.toString().split('#')[0];
		window.location = loc + '#product_b' + bottle + 's' + section;
		document.title = 'LOTOS Quazar'; // bo ie to syf nad syfy
		return true;
	};
};

