
function showC033() {
	$('info_pet_033L_carbo').style.display = 'block';
	$('info_pet_05L_carbo').style.display = 'none';
	$('info_pet_15L_carbo').style.display = 'none';
	$('info_pet_2L_carbo').style.display = 'none';
	$('info_pet_033L_plata').style.display = 'none';
	$('info_pet_05L_plata').style.display = 'none';
	$('info_pet_15L_plata').style.display = 'none';
	$('info_pet_2L_plata').style.display = 'none';
	$('info_pet_5L_plata').style.display = 'none';
	resizeBubbles();
}

function showC05() {
	$('info_pet_033L_carbo').style.display = 'none';
	$('info_pet_05L_carbo').style.display = 'block';
	$('info_pet_15L_carbo').style.display = 'none';
	$('info_pet_2L_carbo').style.display = 'none';
	$('info_pet_033L_plata').style.display = 'none';
	$('info_pet_05L_plata').style.display = 'none';
	$('info_pet_15L_plata').style.display = 'none';
	$('info_pet_2L_plata').style.display = 'none';
	$('info_pet_5L_plata').style.display = 'none';
	resizeBubbles();
}

function showC15() {
	$('info_pet_033L_carbo').style.display = 'none';
	$('info_pet_05L_carbo').style.display = 'none';
	$('info_pet_15L_carbo').style.display = 'block';
	$('info_pet_2L_carbo').style.display = 'none';
	$('info_pet_033L_plata').style.display = 'none';
	$('info_pet_05L_plata').style.display = 'none';
	$('info_pet_15L_plata').style.display = 'none';
	$('info_pet_2L_plata').style.display = 'none';
	$('info_pet_5L_plata').style.display = 'none';
	resizeBubbles();
}

function showC2() {
	$('info_pet_033L_carbo').style.display = 'none';
	$('info_pet_05L_carbo').style.display = 'none';
	$('info_pet_15L_carbo').style.display = 'none';
	$('info_pet_2L_carbo').style.display = 'block';
	$('info_pet_033L_plata').style.display = 'none';
	$('info_pet_05L_plata').style.display = 'none';
	$('info_pet_15L_plata').style.display = 'none';
	$('info_pet_2L_plata').style.display = 'none';
	$('info_pet_5L_plata').style.display = 'none';
	resizeBubbles();
}

function showN033() {
	$('info_pet_033L_carbo').style.display = 'none';
	$('info_pet_05L_carbo').style.display = 'none';
	$('info_pet_15L_carbo').style.display = 'none';
	$('info_pet_2L_carbo').style.display = 'none';
	$('info_pet_033L_plata').style.display = 'block';
	$('info_pet_05L_plata').style.display = 'none';
	$('info_pet_15L_plata').style.display = 'none';
	$('info_pet_2L_plata').style.display = 'none';
	$('info_pet_5L_plata').style.display = 'none';
	resizeBubbles();
}

function showN05() {
	$('info_pet_033L_carbo').style.display = 'none';
	$('info_pet_05L_carbo').style.display = 'none';
	$('info_pet_15L_carbo').style.display = 'none';
	$('info_pet_2L_carbo').style.display = 'none';
	$('info_pet_033L_plata').style.display = 'none';
	$('info_pet_05L_plata').style.display = 'block';
	$('info_pet_15L_plata').style.display = 'none';
	$('info_pet_2L_plata').style.display = 'none';
	$('info_pet_5L_plata').style.display = 'none';
	resizeBubbles();
}

function showN15() {
	$('info_pet_033L_carbo').style.display = 'none';
	$('info_pet_05L_carbo').style.display = 'none';
	$('info_pet_15L_carbo').style.display = 'none';
	$('info_pet_2L_carbo').style.display = 'none';
	$('info_pet_033L_plata').style.display = 'none';
	$('info_pet_05L_plata').style.display = 'none';
	$('info_pet_15L_plata').style.display = 'block';
	$('info_pet_2L_plata').style.display = 'none';
	$('info_pet_5L_plata').style.display = 'none';
	resizeBubbles();
}

function showN2() {
	$('info_pet_033L_carbo').style.display = 'none';
	$('info_pet_05L_carbo').style.display = 'none';
	$('info_pet_15L_carbo').style.display = 'none';
	$('info_pet_2L_carbo').style.display = 'none';
	$('info_pet_033L_plata').style.display = 'none';
	$('info_pet_05L_plata').style.display = 'none';
	$('info_pet_15L_plata').style.display = 'none';
	$('info_pet_2L_plata').style.display = 'block';
	$('info_pet_5L_plata').style.display = 'none';
	resizeBubbles();
}

function showN5() {
	$('info_pet_033L_carbo').style.display = 'none';
	$('info_pet_05L_carbo').style.display = 'none';
	$('info_pet_15L_carbo').style.display = 'none';
	$('info_pet_2L_carbo').style.display = 'none';
	$('info_pet_033L_plata').style.display = 'none';
	$('info_pet_05L_plata').style.display = 'none';
	$('info_pet_15L_plata').style.display = 'none';
	$('info_pet_2L_plata').style.display = 'none';
	$('info_pet_5L_plata').style.display = 'block';
	resizeBubbles();
}

function resizeBubbles() {
	var contentHeight = document.getElementById('content').offsetHeight;
	document.getElementById('flashBubbles1').style.height = contentHeight+'px';
	document.getElementById('flashBubbles2').style.height = contentHeight+'px';
	var screenWidth = document.getElementById('ref').offsetWidth;
	if (screenWidth > 904) {
		var bubblesWidth = (screenWidth - 945)/2;
		document.getElementById('flashBubbles1').style.width = bubblesWidth+'px';
		document.getElementById('flashBubbles2').style.width = bubblesWidth+'px';
	}
	else {
		document.getElementById('flashBubbles1').style.width = '0px';
		document.getElementById('flashBubbles2').style.width = '0px';
	}
}

function increasePadding(id) {
	//new Fx.Style(id,'padding-left').start(10,20);
	var exampleFx = new Fx.Styles(id);
		exampleFx.start({
			'padding-left':[10,15],
			'padding-right':[10,15]/*,
			'background-color':'#003300'*/
		});
}

function decreasePadding(id) {
	//new Fx.Style(id,'padding-left').start(20,10);
	var exampleFx = new Fx.Styles(id);
		exampleFx.start({
			'padding-left':[15,10],
			'padding-right':[15,10]/*,
			'background-color':'#009933'*/
		});
}

function checkSearchText(thisForm) {
	with (thisForm)	{
		with (cauta) {
			if (value.length < 3) {
				alert('Textul cautat trebuie sa contina minim 3 caractere');
				return false;
			}
			else {
				return true;
			}
		}
	}
}