var stampOpts = {
   '#left_initial': 'Left Initial',
   '#center_initial': 'Center Initial',
   '#right_initial': 'Right Initial',
   '#top_line': 'Top Line',
   '#center_line': 'Center Line',
   '#bottom_line': 'Bottom Line'
};

function validateStampOptions(form) {
   var text = '';
   if ($('#stampopts').length == 0)
      return true;
   for (var id in stampOpts) {
      if ($(id).length > 0) {
         text += stampOpts[id] + '=' + $(id).val() + '; ';
      }
   }
   $('#os1').val( text );
   return true;
}
