// JavaScript Document
function myPicture (myImage)
{
 this.image = myImage;
}

function change_image(my_object)
{
 //array_location = image_no;
 my_path = "Assets/"; 
 document.getElementById("web_image_id").src=my_path+my_object.image;
}

function validate_object(obname, description, min_length)
{
 if (obname.value.length < min_length)
 { 
  alert("Please complete: " + description);
  obname.focus();
  obname.select();
  return false;
 } else
  return true;
}