function CheckImgSrc()
{
	/*var colImages = document.images;
		
	for (i=0; i < colImages.length; i++)
	{
		if (colImages(i).fileSize==-1)
		{
			colImages(i).style.display="none";
		}
		
	}*/
}
//Hides a given image
function hideImage(cImg)
{
  cImg.style.display="none";
}
//Returns an xml string of form command structure
   //
   //Accepts:
   // Parameters seperated by a comma. The first is the
   // name of the command and then pairs of parameter name & value.
   //
   //Example:
   // var sCommand = getFormCommand('delProduct', 'prod_id', 331) 	 	
   function getFormCommand() {
     var sXML = '<command name="' + arguments[0] + '">'
     var i=1
     while (i<arguments.length){
		sXML += '<param name="' + arguments[i] + '" value="' + arguments[i+1] + '"/>'     
		i+=2
     } 
     sXML+='</command>'
     return sXML
  }  
