function chooseUnit(select){
	target = document.getElementById(select);
	target2 = document.getElementById('sampleUnit');
	if(prodUnit[target.index] == "pound"){
		target2.type = "hidden";
		target2.value = "pound";
	}
}

function remote(theURL,winName,features){
  win2=window.open(theURL,winName,features);
  win2.creator=self;
}

function checkScroll(){
	if(parent){
		parent.scrollTop();
	}	
}