// JavaScript Document

vFeature = "feature_1";

function showFeature(vID) {
	
	if(vFeature != "") {
		document.getElementById(vFeature).style.display = "none";
	}
	
	document.getElementById(vID).style.display = "";	
	
	vFeature = vID;
}

vStorage = "introText";

function showStorage(vID) {
	
	if(vStorage != "") {
		document.getElementById(vStorage).style.display = "none";
	}
	
	document.getElementById(vID).style.display = "";	
	
	vStorage = vID;
}



vStore = "";

function changeStore(vID) {
	
	if(vStore != "") {
		document.getElementById("store"+vStore).className = 'store';
	}
	document.getElementById("store"+vID).className = 'storeSelected';
	
	vStore = vID;
}

vImg = "colourImg";

function showHideImg(vID) {
	
	if(vImg != "") {
		document.getElementById(vImg).style.display = "none";
	}
	
	document.getElementById(vID).style.display = "";
	
	vImg = vID;
	
}

function opWin(vID,vWidth,vHeight) {
	var Hammonds = window.open(vID+'.asp','hammondsWin','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,height='+ vHeight +',width='+ vWidth +',left=10,top=10,screenX=10,screenY=10');
	Hammonds.focus();
}

function opWin2(vID,vWidth,vHeight,vImg) {
	var Hammonds = window.open(vID+'.asp?img='+vImg+'&width='+vWidth+'&height='+vHeight,'hammondsWin','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,height='+ vHeight +',width='+ vWidth +',left=10,top=10,screenX=10,screenY=10');
	Hammonds.focus();
}
