// JavaScript Document

jQuery(document).ready(function(){
$("#form_activate").hover(function(){							
$("#activate_hover").stop().animate({ backgroundColor : "#DEF"}, 500);
}, function () {
$("#activate_hover").stop().animate({ backgroundColor : "#F5F5F5"}, 500);					   
});
});
jQuery(document).ready(function(){
$("#form_activate").toggle(function(){
$(".bottom").stop().animate({height:"650px"}, 600);
},
function()
   {
$(".bottom").stop().animate({height:"50px"}, 600);
});
});
jQuery(document).ready(function(){
$("#master").click(function(){
$(".bottom").stop().animate({height:"50px"}, 600);
});
});
jQuery(document).ready(function(){
$("#close").click(function(){
$(".bottom").stop().animate({height:"50px"}, 600);
});
});


setTimeout(function(){ 
	$(".notice").animate({ backgroundColor : "#fafafa" }, 3000)
	$(".notice").hide("slow");
	}, 7000);

function reloadCaptcha () {
    $('#refresh').attr('src', 'antispam.php?random=' + (new Date).getTime());
    //(new Date).getTime()  return timestamp in milliseconds, so we can make sure that image won't be in browsers cache

}