function movimento(para) {
$('html,body').animate(
{scrollTop: $("#"+para).offset().top}
, 700);

}

function get_page()
{
        var url = window.location.href;
        var qnts = url.split('/').length;
        var pices =  url.split('/');
        return pices[qnts-1]!='#' ? pices[qnts-1] : '';   
}

var newwindow;
function poptastic(url,nome,wh)
{
	newwindow=window.open(url,nome,wh);
	if (window.focus) {newwindow.focus()}
}

function new_captcha()
{
var c_currentTime = new Date();
var c_miliseconds = c_currentTime.getTime();

document.getElementById('captcha').src = 'captcha/imagecaptcha.php?x='+ c_miliseconds;
document.getElementById('security_code').value ='';

}
function new_captcha2()
{
var c_currentTime = new Date();
var c_miliseconds = c_currentTime.getTime();

document.getElementById('captcha2').src = 'captcha/imagecaptcha.php?x='+ c_miliseconds;
document.getElementById('security_code').value ='';
}


