// JavaScript Document /* this document contains  *  1. external link opens in new window*  2. expandable menu *  3. dom rollover function*  4. window load event function to load it all**//**********************************************************************************************************//* this opens the link in a new window */function externalLinks() { if (!document.getElementsByTagName) return; var anchors = document.getElementsByTagName("a"); for (var i=0; i<anchors.length; i++) {   var anchor = anchors[i];   if (anchor.getAttribute("href") &&       anchor.getAttribute("rel") == "external")     anchor.target="_blank"; }}/*********************************************************************************************************/// this function  loads all the window events at once. just add the new function load to the bottom list.function addLoadEvent(func) {	var oldonload = window.onload;	if (typeof window.onload != 'function') {		window.onload = func;		} else {			window.onload = function() {				oldonload();				func();				}			}	}addLoadEvent(externalLinks);
