function NewWindow(mypage, myname, w, h, scroll) { var winl = 20; var wint = 20; winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable,menubar=yes,status=yes,toolbar=YES,scrollbars=yes' win = window.open(mypage, myname, winprops) if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); } } function openPopup (theURL) { // Popup width and height are optional second and third parameters to this function var theHeight = 800; var theWidth = 1000; if (openPopup.arguments.length == 3) { theWidth = openPopup.arguments[1]; theHeight = openPopup.arguments[2]; } window.open (theURL, 'infowindow','width='+theWidth+',height='+theHeight+',left=60,top=20,location=no,resizable=yes,menubar=yes,status=yes,toolbar=YES,scrollbars=yes'); } function openPopup1 (theURL1) { // Popup width and height are optional second and third parameters to this function var theHeight = 550; var theWidth = 900; if (openPopup1.arguments.length == 3) { theWidth = openPopup1.arguments[1]; theHeight = openPopup1.arguments[2]; } window.open (theURL1, 'infowindow1','width='+theWidth+',height='+theHeight+',left=60,top=20,location=no,resizable=yes,menubar=yes,status=yes,toolbar=YES,scrollbars=yes'); } /*********************************************** * Ajax Includes script- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ //To include a page, invoke ajaxinclude("afile.htm") in the BODY of page //Included file MUST be from the same domain as the page displaying it. var rootdomain="http://"+window.location.hostname function ajaxinclude(url) { var page_request = false if (window.XMLHttpRequest) // if Mozilla, Safari etc page_request = new XMLHttpRequest() else if (window.ActiveXObject){ // if IE try { page_request = new ActiveXObject("Msxml2.XMLHTTP") } catch (e){ try{ page_request = new ActiveXObject("Microsoft.XMLHTTP") } catch (e){} } } else return false page_request.open('GET', url, false) //get page synchronously page_request.send(null) writecontent(page_request) } function writecontent(page_request){ if (window.location.href.indexOf("http")==-1 || page_request.status==200) document.write(page_request.responseText) } startList = function() { if (document.all&&document.getElementById) { navRoot = document.getElementById("nav"); for (i=0; i