function mouseOverTab(id){
	
	document.getElementById(id+'_1').src = "/images/dynamic/nav_left_over.jpg";
	document.getElementById(id+'_3').src = "/images/dynamic/nav_right_over.jpg";
	document.getElementById(id+'_2').style.backgroundImage="url('/images/dynamic/nav_bg_over.jpg')";
}

function mouseOutTab(id){
	
	document.getElementById(id+'_1').src = "/images/dynamic/nav_left.jpg";
	document.getElementById(id+'_3').src = "/images/dynamic/nav_right.jpg";
	document.getElementById(id+'_2').style.backgroundImage="url('/images/dynamic/nav_bg.jpg')";
}










function vote()
{
	
}

//===================
// BASKET
//===================

function addToBasket(id,type)
{
	document.basket.id.value = id;
	document.basket.type.value = type;
	document.basket.mode.value = "add";

	document.basket.action = "/processbasket.php";
	document.basket.submit();
}

function removeFromBasket(id,type)
{
	if(confirm("Remove from Basket?"))
	{
		document.basket.id.value = id;
		document.basket.type.value = type;
		document.basket.mode.value = "remove";
	
		document.basket.action = "/processbasket.php";
		document.basket.submit();
	}
}

function clearBasket()
{
	if(confirm("Clear all items from the Basket?"))
	{
		document.basket.mode.value = "clear";
		document.basket.action = "/processbasket.php";
		document.basket.submit();
	}
}

//========================
// Payment
//========================

function order()
{
	document.order.place_order.value=1;
	document.order.submit();
}