function swap(img) {
    document.getElementById("enlargement").src=img;
}

function swap2(idBoton, img) {
    newImage = "url('"+img+"')";
    document.getElementById(idBoton).style.backgroundImage = newImage;
}

function go (link) {
    window.location = link;
}

function deleteCookie(name, path, domain){
    if(getCookie(name)){
        setCookie(name, '', -30, path, domain);
    }
} 

function click(e) {
    var message = "Sorry, that function is disabled.\nThis Page Copyrighted and\nImages and Text protected!\nALL RIGHTS RESERVED";
    if (navigator.appName == 'Netscape' && e.which == 3) {
        alert(message);
        return false;
    }
    else {
        if (navigator.appName == 'Microsoft Internet Explorer' && event.button == 2)
            alert(message);
        return false;
    }
    return true;
}

if (navigator.appName == 'Netscape') {
    document.oncontextmenu = function(){var message = "Sorry, that function is disabled.\nThis Page Copyrighted and\nImages and Text protected!\nALL RIGHTS RESERVED";alert(message);return false;};
}
else {
    if (navigator.appName == 'Microsoft Internet Explorer') {
        document.onmousedown = click;
    }
}


