function confirmation(location,message) {
    var answer = confirm(message);
    if (!answer){
        return false;
    }
    else{
        window.location = location;
    }
}
