

/*
* This function clears the <div> - fields
* which can contain some content.
* The Parameter contains the id of an element inside the actual document
*/
function clearFields(DocObj)
 {
  document.getElementById(DocObj).innerHTML="";
 }


/*
* This function will be called whenever data of members
* shall be stored into the database
*/
function check_availability()
 {
querystring="";
 for(i=0; i<document.forms['prod_details_form'].elements.length; i++)
  {
  ElementValue=document.forms['prod_details_form'].elements[i].value;


 querystring=querystring+escape(ElementValue)+";";
  }

 sndReq("21",querystring,"Conn.php","idAvailable");
 }


