//
// (c) John McCallum, 2005
//
// This fills in the menu entry of the window it is included
// from. It can be carried out more programmatically or, as
// here just by filling in a string which contains the html
// you want to be displayed.
//

//
// In the following not that " have been escaped to become \"
//

msg_text  = "<table cellpadding=\"0\" cellspacing=\"0\" width=\"160\">"
msg_text += " <tbody>"
msg_text += "  <tr> "
msg_text += "   <td><hr>"
msg_text += "    <table align=\"left\" bgcolor=\"#C0C0C0\" bordercolor=\"#C0C0C0\" border=\"0\" "
msg_text += "    	cellpadding=\"2\" cellspacing=\"0\" width=\"160\">"
msg_text += "     <tbody>"
msg_text += "      <tr> "
msg_text += "       <td>"
msg_text += "        <h4>"	
msg_text += "        <br><a href=\"index.html\">home</a>"
msg_text += "        </h4>"	
msg_text += "       </td> "
msg_text += "      </tr> "										    
msg_text += "      <tr> "										    
msg_text += "       <td>"
msg_text += "        <h4>"	
msg_text += "        <a href=\"Contact.html\">contact</a>"	    
msg_text += "        </h4>"	
msg_text += "       </td> "										    
msg_text += "      </tr> "										    
msg_text += "      <tr> "										    
msg_text += "       <td>"
msg_text += "        <h4>"	
msg_text += "        <a href=\"Joining.html\">joining ASLS</a>"      
msg_text += "        </h4>"	
msg_text += "       </td> "										    
msg_text += "      </tr> "										    
msg_text += "      <tr> "										    
msg_text += "       <td>"
msg_text += "        <h4>"	
msg_text += "        <a href=\"Publications.html\">publications</a>" 
msg_text += "        <li><a href=\"Books.html\">books</a>"	
msg_text += "        <li><a href=\"Periodicals.html\">periodicals</a>" 
msg_text += "        <li><a href=\"CDs.html\">audio CDs</a>" 
msg_text += "        </h4>"	
msg_text += "       </td> "										    
msg_text += "      </tr> "										    
msg_text += "      <tr> "										    
msg_text += "       <td>"
msg_text += "        <h4>"	
msg_text += "         <a href=\"Conferences.html\">conferences</a>"  
msg_text += "        </h4>"	
msg_text += "       </td> "										   
msg_text += "      </tr> "									   
msg_text += "      <tr> "								   
msg_text += "       <td>"
msg_text += "        <h4>"	
msg_text += "        <a href=\"Schools.html\">schools material</a>" 
msg_text += "        </h4>"	
msg_text += "       </td> "										   
msg_text += "      </tr>"										   
msg_text += "      <tr> "								   
msg_text += "       <td>"
msg_text += "        <h4>"	
msg_text += "        <a href=\"Papers.html\">articles &amp; essays</a>"  
msg_text += "        </h4>"	
msg_text += "       </td> "										   
msg_text += "      </tr>"										   
msg_text += "      <tr> "								   
msg_text += "       <td>"
msg_text += "        <h4>"	
msg_text += "        <a href=\"About.html\">about ASLS</a>"  
msg_text += "        </h4>"	
msg_text += "       </td> "										   
msg_text += "      </tr>"										   
msg_text += "      <tr> "								   
msg_text += "       <td>"
msg_text += "        <h4>"	
msg_text += "        <a href=\"pdfs/Order_Form.pdf\" target=\"_blank\">order form</a>"  
msg_text += "        </h4>"	
msg_text += "       </td> "										   
msg_text += "      </tr>"										   
msg_text += "      <tr> "								       
msg_text += "       <td>"
msg_text += "        <h4>"	
msg_text += "        <a href=\"Links.html\">links</a>"		       
msg_text += "        </h4>"	
msg_text += "       </td> "										       
msg_text += "      </tr>"
msg_text += "      <tr> "								   
msg_text += "       <td align=\"left\" bgcolor=\"#FFFFFF\"><hr>"
msg_text += "        <h4>"	
msg_text += "        <a href=\"http://www.scotlit.arts.gla.ac.uk/aslsdb/\" target=\"_blank\">Scottish Studies database</a>" 
msg_text += "        </h4>"	
msg_text += "       </td> "										   
msg_text += "      </tr>"										   
msg_text += "      <tr> "								   
msg_text += "       <td align=\"left\" bgcolor=\"#FFFFFF\">"
msg_text += "        <h4>"	
msg_text += "        <a href=\"http://www.scottishwriting.org.uk/\" target=\"_blank\">Scottish Writing Exhibition</a>"			   
msg_text += "        </h4>"	
msg_text += "       </td> "		
msg_text += "      </tr> "										       
msg_text += "      <tr> "								   
msg_text += "       <td align=\"left\" bgcolor=\"#FFFFFF\"><hr>"
msg_text += "        <h4>"	
msg_text += "        <a href=\"http://www.schoolzone.co.uk\" target=\"_blank\"><img height=\"80\" title=\"Site highly rated by Schoolzone.co.uk\" width=\"120\" border=\"0\" src=\"images/rated.gif\"></a>" 
msg_text += "        </h4>"	
msg_text += "       </td> "										   
msg_text += "      </tr>"										   
msg_text += "     </tbody>"
msg_text += "    </table>"
msg_text += "   </td>"
msg_text += "  </tr> "
msg_text += " </tbody>"
msg_text += "</table>" 

//
// And now let's plug this into the gap ing the web page
//

var x=document.getElementById("nav_menu")

x.innerHTML = msg_text

