In your contact_styled.php page, you will have to find the image code:
<img src="WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php?noisecolor=<?php echo $WAGLOBAL_Captcha_Noise; ?>&bgcolor=<?php echo $WAGLOBAL_Captcha_BG; ?>&textcolor=<?php echo $WAGLOBAL_Captcha_Text; ?>&transparent=<?php echo $WAGLOBAL_Captcha_BG_transparent; ?>&characters=<?php echo $WAGLOBAL_Captcha_Characters; ?>&width=<?php echo $WAGLOBAL_Captcha_Width; ?>&height=<?php echo $WAGLOBAL_Captcha_Height; ?>&font=<?php echo $WAGLOBAL_Captcha_Font; ?>" alt="security code"/>
Add an id to it like this:
<img src="WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php?noisecolor=<?php echo $WAGLOBAL_Captcha_Noise; ?>&bgcolor=<?php echo $WAGLOBAL_Captcha_BG; ?>&textcolor=<?php echo $WAGLOBAL_Captcha_Text; ?>&transparent=<?php echo $WAGLOBAL_Captcha_BG_transparent; ?>&characters=<?php echo $WAGLOBAL_Captcha_Characters; ?>&width=<?php echo $WAGLOBAL_Captcha_Width; ?>&height=<?php echo $WAGLOBAL_Captcha_Height; ?>&font=<?php echo $WAGLOBAL_Captcha_Font; ?>" alt="security code" id="captchaImage" />
Then you will have to add a script like this:
<script language="JavaScript">
function reloadImage() {
var now = new Date();
if (document) {
document.getElementById('captchaImage').src = "WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php?noisecolor=" + "<?php echo $WAGLOBAL_Captcha_Noise; ?>" + "&bgcolor=" + "<?php echo $WAGLOBAL_Captcha_BG; ?>" + "&textcolor=" + "<?php echo $WAGLOBAL_Captcha_Text; ?>" + "&transparent=" + "<?php echo $WAGLOBAL_Captcha_BG_transparent; ?>" + "&characters=" + "<?php echo $WAGLOBAL_Captcha_Characters; ?>" + "&width=" + "<?php echo $WAGLOBAL_Captcha_Width; ?>" + "&height=" + "<?php echo $WAGLOBAL_Captcha_Height; ?>" + "&font=" + "<?php echo $WAGLOBAL_Captcha_Font; ?>" + "&time=" + now.getTime();
}
}
</script>
and a button that calls the reload function like this:
<input type="button" name="Button" id="button" value="Button" onclick="reloadImage()" />