<script>
jQuery(document).ready(function(){
jQuery(".visio_button").hover(function(){
jQuery(this).stop().animate({opacity:0.8},250);
},
function(){
jQuery(this).stop().animate({opacity:1.0},250);
});
var countdown = 5;
var vote = $('#vote span');
function doVote() {
var link = '{$list_url}/index.php?a=in&u={$username}&sid={$sid}';
if (countdown > 0){
$('#vote span').html('Please wait '+countdown);
window.setTimeout(function() {
doVote();
}, 1000);
countdown--;
}
else {
$('#vote').attr('href', ($('#mc_user').val()) ? link + "&mc_user=" + $('#mc_user').val() : link);
$('#vote span').html('{$lng->gateway_vote}');
}
}
doVote();
});
</script>
<script>
jQuery(document).ready(function(){
jQuery(".visio_button").hover(function(){
jQuery(this).stop().animate({opacity:0.8},250);
},
function(){
jQuery(this).stop().animate({opacity:1.0},250);
});
var countdown = 5;
var vote = $('#vote2 span');
function doVote() {
var link = '{$list_url}/index.php?a=in&u={$username}&sid={$sid}';
if (countdown > 0){
$('#vote2 span').html('Please wait '+countdown);
window.setTimeout(function() {
doVote();
}, 1000);
countdown--;
}
else {
$('#vote2').attr('href', ($('#mc_user').val()) ? link + "&mc_user=" + $('#mc_user').val() : link);
$('#vote2 span').html('{$lng->gateway_vote}');
}
}
doVote();
});
</script>