/* This script is the way to protect the password for certain links: these are not perfect, but will put apart those acceding just by curiosity */

var PASSWRD='kokoliso0';

//---------------------------------------------------------------------------------	

function CHECKPASSWRD() 
{
    var win=null;
    var url="Fotos/Galeria_0/SlideShowFam.htm";

    if ( document.getElementById('Password1' ).value == PASSWRD ) 
        {      
         win=window.open( url , '_self' );
          win.focus();
         }
    else alert ('Contraseņa incorrecta!');	
}   
//---------------------------------------------------------------------------------	

function RESIGNED()
{
    var win=null;
    var url="MAIN.htm";
    win=window.open( url , '_self' );
    win.focus();
}   
//---------------------------------------------------------------------------------	