<?php if(empty($pidtxt)){$pidtxt=$pcaption;}?>
<?php if(empty($ponblur)){$ponblur="";}?>
<?php if(empty($ponclick)){$ponclick="";}?>
<?php if(empty($pnotob)){$pnotob="";}?>
<?php if(empty($pobj)){$pobj=3;} ?>
<?php if(empty($psize)){$psize=12;} ?>
<?php if($pobj>5){$pobj=3;} ?>
<?php //$pcaption=str_replace(' ','&#13;&#10;',$pcaption) ?>

<script type="text/javascript">

</script>

	<div width="100%" align="center">
  <input type="button" 
         id="btn_<?php echo $pidtxt ?>" 
	       onClick="_captcha('<?php echo $pidtxt ?>');"	
				 tabIndex="-1"
         style="
								text-transform:uppercase;
								border-style:outset;
								border-width:3px;
								border-radius:5px;
								font-weight:bold;
								font-family:arial;
								font-size:<?php echo $psize; ?>px;
								padding:2px;
								margin:0px;
								width:100%;
								max-width:<?php echo $psize*10; ?>px;
								"
         value="Cambiar Imagen" 
         />
		<?php	$captcha=captcha(); ?>
<!-- 		<img id="<?php echo $pidtxt ?>" src="<?php echo 'lib/'.$captcha;?>" width="160" height="50"> -->
		<img id="<?php echo $pidtxt ?>" src="<?php echo ''.$captcha;?>" width="160" height="50">
  </div>
	<div>
		<span id="<?php echo $pidtxt ?>_error" class="txt_error" style="color:red;"></span>
</div>

<?php $ponclick='';?>
<?php $pcaption='';?>
<?php $pcaptcha=0;?>
<?php $ptabla='';?>
<?php $pidtxt='';?>
<?php $plong='';?>
<?php $pobj=0;?>
<?php $ponblur='';?>
<?php $pnotob='';?>
<?php $pdefa='';?>
<?php $psize=0;?>

