function darwinChange(turnon) {

	// Get the tabs as objects
	var tab1 = document.getElementById("darwin_tab_data1");
	var tab2 = document.getElementById("darwin_tab_data2");
	var tab3 = document.getElementById("darwin_tab_fabrics");
	var tab4 = document.getElementById("darwin_tab_sizing");
	var tab5 = document.getElementById("darwin_tab_reviews");

	// If the tabs exist then change their class
	if(tab1) tab1.className = "darwinTab";
	if(tab2) tab2.className = "darwinTab";
	if(tab3) tab3.className = "darwinTab";
	if(tab4) tab4.className = "darwinTab";
	if(tab5) tab5.className = "darwinTab";

	// Change the tab that was clicked to inview
	document.getElementById("darwin_tab_" + turnon).className = "darwinInview";

	// Get the divs as objects
	var div1 = document.getElementById("darwin_data1");
	var div2 = document.getElementById("darwin_data2");
	var div3 = document.getElementById("darwin_fabrics");
	var div4 = document.getElementById("darwin_sizing");
	var div5 = document.getElementById("darwin_reviews");

	// If the divs exist then change their display
	if(div1) div1.style.display = "none";
	if(div2) div2.style.display = "none";
	if(div3) div3.style.display = "none";
	if(div4) div4.style.display = "none";
	if(div5) div5.style.display = "none";

	// Change the div that was clicked to display
	document.getElementById("darwin_" + turnon).style.display = "block";

}

function feedback(url,width,height) {
	if(!width) {
		width = "500";
	}
	if(!height) {
		height = "600";
	}
	win = window.open(url, "feedback", "toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=" + width + ",height=" + height + ",left=300,top=150");
	win.focus();
}
