  function DisplayMeasurement(sSerial)
  { 
    if(getSingleComment(sSerial, 0) != 'nothing') {     
     document.write(getSingleComment(sSerial, 0));
    }
  }
  
  var iAlert = 0;

  function CheckShipment(sSerial)
  {             
     iShipment = getSingleComment(sSerial, 1);
        
     /* If not possible not ship then marked with red star */ 
     if(iShipment == 0) {
        document.getElementById('noshipment'+sSerial).style.display = 'block';
        iAlert = 1; 
      }
  }
  
  function getName(sSerial)
  {
    sName = getSingleComment(sSerial, 2);  
    document.write(sName);
  }
  
  function setName(sSerial)
  {            
    sName = getSingleComment(sSerial, 2);      
    document.getElementById('mail_'+sSerial).value = sName;           
  } 

  function getSingleComment(sSerial, type)
  {
    CommentObj = document.getElementById(sSerial);
    sComment = CommentObj.innerHTML;

    arrComments = sComment.split('comm=');    
    sTmp = arrComments[1];

    arrSingleCom = sTmp.split('&lt;&gt;');               
    return arrSingleCom[type];      
  }

  function CheckAlert() { 
    if(iAlert == 1) {
      document.getElementById('shipment_alert').style.display = 'inline';
    } 
  }


  function CheckSendShipment(sSerial)
  {             
     iShipment = getSingleComment(sSerial, 1);
        
     /* If not possible not ship then marked with red star */ 
     if(iShipment == 0) {        
        iAlert = 1; 
      }
  }

  function DisplayShipment() {
    if(iAlert == 1) {                       
        document.getElementById('Car').style.display = 'inline';
        document.getElementById('PickUp').style.display = 'inline'; 

        document.getElementById('PickUp').checked = 'true';


        document.getElementById('title_Car').style.display = 'inline';
        document.getElementById('title_PickUp').style.display = 'inline';             

        document.getElementById('shipping_headline').style.display = 'block'; 
    }
    else {
        document.getElementById('Send').checked = 'true';
    }    
  }