/*#################################################################
*******************************************************************
*******************************************************************
*            FOGLIO ESTERNO CON I JAVASCRIPT DEL SITO             *
*******************************************************************
*******************************************************************
#################################################################*/




/*********************************************
*  - NOME FUNZIONE: scambio                  *
*                                            *
*  - COSA SERVE                              *
*  Funzione che cambia lo stile "display"    *
*  di elementi menti in base all' ID.        *
*  E' usata per nascondere e far apparire    *
*  interi blocchi della pagina.              *
*  Nel sito e' usata per la sezione FAQ      *
*  nelle pagine delle recensioni             *
*  per far nascondere le "answers" e         *
*  mostrarle con un click su un link che     *
*  richiama la funzione con un click.        *
*                                            *
*  - COME SI USA: da completare              *
*                                            *
*********************************************/
function scambio(id){
	 if (document.getElementById) {
    		if(document.getElementById(id).style.display == 'none'){
      			document.getElementById(id).style.display = 'block';
    		} 
			else {
      			document.getElementById(id).style.display = 'none';
    		}
  	}

}





<!-- TWO STEPS TO INSTALL POPUP WINDOW:
<!-- STEP ONE: Copy this code into the HEAD of your HTML document  -->


function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=500');");
}


<!-- STEP TWO: Use the following link to open the new window -->

<!--  <A HREF="javascript:popUp('http://javascript.internet.com/generators/popup-window.html')">Open the Popup Window</A> -->

<!-- Script Size:  0.73 KB  -->





