function goToHistory(){

//alert("history");
//	var age = document.getElementById('age').value;
//	var countriesage = document.getElementById('country').value;//

//	if (age > (countriesage-1) )  {		window.location="/welcome/";	}
//		else {		window.location="http://www.drinkaware.co.uk/";	}
window.location="/ourstory/timeline/";	
}


function goToRange(){

//alert("range");
//	var age = document.getElementById('age').value;
//	var countriesage = document.getElementById('country').value;//

//	if (age > (countriesage-1) )  {		window.location="/welcome/";	}
window.location="/productrange/";	
}

function goToTour() {
window.location="/2010tourdates/";	

}


function click_intro() {
//alert("clicked INTRO!");

/*set the introduction styles*/
document.getElementById("prod_intro").style.color = "#6A0914";
//document.getElementById("prod_intro").style.font-weight = "bold";
document.getElementById("introduction_section").style.display = "block";

/* set the notes styles */
document.getElementById("prod_notes").style.color = "#000";
//document.getElementById("prod_notes").style.font-weight = "normal";
document.getElementById("tasting_notes_section").style.display = "none";
}


function click_notes() {
//alert("clicked NOTES!");

/*set the introduction styles*/
document.getElementById("prod_intro").style.color = "#000";
//document.getElementById("prod_intro").style.font-weight = "normal";
document.getElementById("introduction_section").style.display = "none";
/* set the notes styles */
document.getElementById("prod_notes").style.color = "#6A0914";
//document.getElementById("prod_notes").style.font-weight = "bold";
document.getElementById("tasting_notes_section").style.display = "block";
}

function view_full_range() {

	var dd = document.getElementById("fullrangeselectbox").selectedIndex;
	var ss = document.getElementById("fullrangeselectbox")[dd].value;
	//alert("View Full Range " + ss);
	if (ss != ""){
		window.location=ss;	
	}
}
/*
$(document).ready(function() {
	$( "a.supercategory-link" ).each(function( intIndex )
	{
		var sLink = $(this).attr("href");
		$(this).attr("href", "javascript:ShowDesc('" + sLink + "');");
	} 
);

});

function ShowDesc(lnk)
{
	 var ifrm = document.createElement("IFRAME");
	ifrm.setAttribute("src", lnk);
	ifrm.setAttribute("id", "frmTempContent");
	ifrm.setAttribute("onload", "ShowDesc2();");
	ifrm.style.width = 1+"px";
	ifrm.style.height = 1+"px";
	document.body.appendChild(ifrm); 
}

function ShowDesc2()
{
	$("#frmTempContent").contents().find(".category-description-image").remove();
	var prods = $("#frmTempContent").contents().find(".bottle_rotator_container").html();
	var content = "<div id='proddesc'><a class='close' alt='Close' title='Close' href='javascript:hide();'>x</a>";
	
	content += $("#frmTempContent").contents().find("#pageViwer_benriach_content4_div").html();
	content += '<br>'+prods;
	content += '</div>';
	$("#pageViwer_benriach_content5_div").hide();
	$("#pageViwer_benriach_content5_div").html(content);
	$("#pageViwer_benriach_content5_div").show('slow');
}

function hide() {
	$("#pageViwer_benriach_content5_div").hide('slow');
}



*/



