

function checkPageFingerPrint( fingerPrint, redirectUrl ) {
    var fingIndex = document.cookie.indexOf( fingerPrint + "=" );
    if ( fingIndex == -1 ) {
        document.cookie = fingerPrint + "=1;path=/";
    }
    else {
        if ( ( redirectUrl != null ) && ( redirectUrl != '' ) ) {
            document.location.href = redirectUrl;
        }
        else {
            history.go(1);
        }
    }
}

//funzione per disabilitare tasto back
function noBack(){
	if (history.forward() != null) { 
		self.location.reload(); 
	}
}

