<html>
<head>
<title></title>
<script type="text/javascript">
var b = confirm('Take a thanks');
</script>
</head>
<body onload="thanks()">
<p align="center">
<img id="thanks" src="" alt="thanks"/>
</p>
<script type="text/javascript">
function thanks() {
if (b) {
document.getElementById('thanks').src = 'http://img.photobucket.com/albums/v140/eldiablojoe/ThanksForTheInfo.gif';
}
else {
document.getElementById('thanks').src = 'http://www.makeyourmeme.ru/default/instance_2/86962/original.jpg';
}
}
</script>
</body>
</html>