var message="Professionals for Children © 2011-2015. All rights reserved.";



function click(e) {



if (document.all) {



if (event.button == 2) {



alert(message);



return false;



}



}



if (document.layers) {



if (e.which == 3) {



alert(message);



return false;



}



}



}



if (document.layers) {



document.captureEvents(Event.MOUSEDOWN);



}



document.onmousedown=click;















function CaricaFoto(img){







  foto1= new Image();







  foto1.src=(img);







  Controlla(img);







}







function Controlla(img){







  if((foto1.width!=0)&&(foto1.height!=0)){







    viewFoto(img);







  }







  else{







    funzione="Controlla('"+img+"')";







    intervallo=setTimeout(funzione,20);







  }







}







function viewFoto(img){







  largh=foto1.width+20;







  altez=foto1.height+20;







  stringa="width="+largh+",height="+altez;







  finestra=window.open(img,"",stringa);







}







function over() {



    window.event.srcElement.style.filter = "alpha(opacity=60)";



}



function out() {



    window.event.srcElement.style.filter = "alpha(opacity=100)";



}




