function bigImageView(me){
	document.javascriptForm.largeImage.src=me
}
/////////////////////////////////////////////////////////////////////
function loadMe(itemNumberValue){
	document.javascriptForm.largeImage.src=itemNumberValue + ".jpg"
}
/////////////////////////////////////////////////////////////////////
function backToPreviousPageFromOderDeskPage(itemHistoryPage){
		window.location=itemHistoryPage;
}
/////////////////////////////////////////////////////////////////////
function isEmailAddr(email)
{
  var result = false;
  var theStr = new String(email);
  var index = theStr.indexOf("@"); // index of "@" char
  if (index > 0)
  {
    // search for the . of com, net, org, gov, so on
    var pindex = theStr.indexOf(".",index);
    if ((pindex > index+1) && (theStr.length > pindex+1))
		result = true;
  }
  return result;
}
//////////////////////////////////////////////////////////////////////
function validEmail(formField, defaultEmail)
{
	var result = true;
	
	if (result && ((formField.value.length < 3) || !isEmailAddr(formField.value)) )
	{
			// alert("Please enter a complete email address in the form: yourname@yourdomain.com");
			// formField.focus();
		formField.value=defaultEmail; // get default value when wring syntax email
		result = false;
	}
   
  return result;

}