function validProg(veg)
	{
	If(!veg.progrID.value)
		{
		alert("You did not select a programme");
		veg.progrID.focus();
		return false;
		}
	return true;
}

function validProd(veg)
	{
	If(!veg.keywords.value)
		{
		alert("You did not enter any keywords");
		veg.keywords.focus();
		return false;
		}
	return true;
}

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 clearInstField(){
if (document.myForm.instName.value == "If none of the above")
document.myForm.instName.value = "";
}
