
// ******************************
// SCRIPT FOR NETSCAPE NAVIGATOR
// ******************************

var myPopUp;
function MyDocumentNote()
 {
	
			var mystring;
			
			
			mystring = new String(document.location.href)				
			
			mylen = mystring.length
				
			
			// ________________SI DETERMINA IL NOME DEL FILE NOTE
			for (j=1; j <= mylen; j++ )
			{
					
				if ( mystring.charAt(j)== "/")
						
						{ myLastPos = j }
						
				else
					{
					if ( mystring.charAt(j)== "\\")
								
			 				{ myLastPos = j }
						
						}
			}
			
			myFileName = mystring.substring( myLastPos + 1, mylen )
																						
			myFileNote = "N/N" + myFileName				
			// ________________SI DETERMINA IL NOME DEL FILE NOTE		    		    
		    				
			
			if (typeof myPopUp  == 'object')
			{					
			  
                          if (myPopUp.closed == false)
                          {
			    
                            myPopUp.close();
			    //alert ("Display Note")
                          }
			}			
				
			
                        myPopUp = window.open(myFileNote,'Note','fullscreen=0,scrollbars=1,resizable=1, toolbar=0');																				
			myPopUp.resizeTo(350,150)
			//myPopUp.location.href = myFileNote;
			myPopUp.focus;                        
				
			
			
			
			
			
						
                        
 }

