<?php ob_start(); ?>
<?php if(empty($pclass)){$pclass="";}?>
<?php if(empty($pidtxt)){$pidtxt=$pcaption;}?>
<?php if(empty($ponblur)){$ponblur="";}?>
<?php if(empty($ponclick)){$ponclick="";}?>
<?php if(empty($pdblclick)){$pdblclick="";}?>
<?php if(empty($ponfocus)){$pofocus="";}?>
<?php if(empty($pnotob)){$pnotob="";}?>
<?php if(empty($pobj)){$pobj=1;} ?>
<?php //if(empty($pdefa)){$pdefa='false';}else{$pdefa='true';} ?>
<?php if($pobj>5){$pobj=1;} ?>
<?php $ponclick=str_replace('"',"'",$ponclick); ?>


	<div style="<?php if($pobj==2){echo 'margin-left:5px;';} ?>vertical-align:middle; <?php if ($phide==1){echo 'display:none;';} ?>" class="<?php echo $pclass; ?> " >
  <input type="radio" 
         id="<?php echo $pidtxt; ?>" 
         name="<?php echo $pname ?>" 
	       onClick="<?php echo $ponclick;?>;"
				 tabIndex="-1"
         style="
								width:15px;
								height:15px;
								vertical-align:middle;
								padding:2px;
								margin:2px;
                        <?php //if ($phide==1){echo 'display:none;';} ?>
							 <?php if($mobile=='true') { ?>
							 <?php if($pobj==2){echo 'zoom:3.2;';}else{echo 'zoom:2.8;';}?>
							 <?php }else{ ?>	
							 <?php if($pobj==2){echo 'zoom:1.2;';}else{echo 'zoom:1.0;';}?>
							 <?php } ?>	
								"
         <?php if($pdefa==1 or $pdefa=="1" or $pdefa=='checked'){echo 'checked';} ?>
    />
<!-- 				 value="<?php //if($pdefa==1){echo '1';}else{echo '0';} ?>" -->
  <?php if($pcaption!=''){?>
	<span style="vertical-align:middle;">
      <?php echo $pcaption;?></span>
  <?php } ?>
  </div>
	<div class="<?php echo $pclass; ?>" >
		<span id="<?php echo $pidtxt; ?>_error" class="txt_error" style="color:red;"></span>
	</div>

<?php $ponclick='';?>
<?php $pdblclick='';?>
<?php $ponfocus='';?>
<?php $pcaption='';?>
<?php $ptabla='';?>
<?php $pidtxt='';?>
<?php $plong='';?>
<?php $pobj='';?>
<?php $ponblur='';?>
<?php $pnotob='';?>
<?php $pdefa='';?>
<?php $pclass='';?>

<?php $obstart = ob_get_clean(); ?>
<?php alltrim($obstart); ?>
<?php echo $obstart; ?>
