function doButtons(textimage, picimage, imageid) 
	{
	var txt
	//txt = "txt"+imageid;
	//document.all[txt].innerHTML = textimage+""; 
	document['picture'].src=picimage;
}

function openWin(page,winName,xWidth,yHeight){
  	window.open(page,winName,'width='+xWidth+',height='+yHeight+',toolbar=no,location=no,status=no,menubar=no,scrollbars=Yes,resizable=Yes,top=5,left=5');
  }
  function openPic(page,winName,xWidth,yHeight){
  	window.open(page,winName,'width='+xWidth+',height='+yHeight+',toolbar=no,location=no,status=no,menubar=no,scrollbars=No,resizable=no,top=5,left=5');
  }
  function openWith(page,winName,xWidth,yHeight){
	window.open(page,winName,'width='+xWidth+',height='+yHeight+',toolbar=yes,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,top=5,left=5');
  }
  function doLo(where){
        window.location=(where);
  }
  
function validEnquiryForm(veg)
	{
	if(!veg.fullName.value)
		{
		alert("Please fill in your name");
		veg.fullName.focus();
		return false;
		}
	if (veg.email.value == "" || veg.email.value.indexOf('@', 0) == -1 || veg.email.value.indexOf('.', 0) == -1){
		alert("Please enter a valid email address");
		veg.email.focus();
		return false;
		}
	if(!veg.telCode.value)
		{
		alert("Please fill in your telephone code");
		veg.telCode.focus();
		return false;
		}
	if(!veg.telNum.value)
		{
		alert("Please fill in your telephone number");
		veg.telNum.focus();
		return false;
		}
	if(!veg.feedbackMsg.value)
		{
		alert("Please enter the details of your enquiry");
		veg.feedbackMsg.focus();
		return false;
		}
	document.all['pb'].style.visibility='visible';
	return true;
	}




