
var anylinkmenu1={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //First menu variable. Make sure "anylinkmenu1" is a unique name!
anylinkmenu1.items=[
	["Enterprise", "solution-enterprise.htm"],
	["Education</b>", "#"],
	["<b> &nbsp; &nbsp; &nbsp; K - 12</b>", "solution-k-12.htm"],
	["<b> &nbsp; &nbsp; &nbsp; Higher Education</b>", "solution-higher-education.htm"],
	["<b> &nbsp; &nbsp; &nbsp; Occupational</b>", "solution-occupational-training.htm"],
	["<b> &nbsp; &nbsp; &nbsp; E - Learning</b>", "solution-e-learning.htm"],
	["Healthcare", "solution-healthcare.htm"],
	["Hospitality", "solution-hospitality.htm"],
	["Retail", "solution-retail.htm"],
	["Residential", "solution-residential.htm"],
	["Luxury Transportation", "solution-luxury-trans.htm"],
	["Legal", "solution-legal.htm"],
	["Food Services", "solution-food-services.htm"],
	["Entertainment", "solution-entertainment.htm"],
	["Beauty & Wellness", "solution-beauty_wellness.htm"]
		//no comma following last entry!
]
var anylinkmenu2={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //Second menu variable. Same precaution.
anylinkmenu2.items=[
	["Arrive InfoPoint", "arrive-infopoint.htm"],
	/*["Arrive RoomPoint&trade;*&trade;<sup> (patent pending)</sup>", "arrive-RoomPoint&trade;*&trade;<sup> (patent pending)</sup>.htm"],
	["Arrive MediaPort", "arrive-mediaport.htm"],*/
	/*["Arrive InfoPort", "arrive-infoport.htm"],*/
	["Arrive RoomPoint", "arrive-infoport.htm"],
	["Arrive Green Sound", "arrive-greensound.htm"],
	["Arrive CloudPoint", "arrive-infoportal.htm"],
	["Arrive MediaPoint", "arrive-mediapoint.htm"],
	["Arrive TouchPoint", "arrive-touchpoint.htm"],
	["Arrive WayPoint", "arrive-waypoint.htm"],
	["Arrive OnePoint", "arrive-onepoint.htm"],
	["Arrive ControlPoint", "arrive-controlpoint.htm"]
	
	
//no comma following last entry!
]



var anylinkmenu3={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //Third menu variable. Same precaution.
anylinkmenu3.items=[
	
	 //no comma following last entry!
]

/*var anylinkmenu4={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //Second menu variable. Same precaution.
anylinkmenu4.items=[
	["Customer Support", "arrive-support.htm"],
	["Software Demo / Updates", "software-demo_updates.htm"],
	["Resource Centre", "resource-centre.htm"],
	["Knowledgebase / FAQ", "faq.htm"],
	["Forum", "forum.htm"]

 //no comma following last entry!
]*/
var anylinkmenu4={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //Second menu variable. Same precaution.
anylinkmenu4.items=[
	["About Arrive", "about-arrive.htm"],
	["Events", "events.htm"],
	//["Testimonial", "testimonial.htm"],
	["Careers", "career.htm"],
	["Contact Arrive", "contact.htm"]
 //no comma following last entry!
]
/*var anylinkmenu5={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //Second menu variable. Same precaution.
anylinkmenu5.items=[
	["Become a partner", "partners-become-a-partner.htm"],
	["Education", "partner-education.htm"],
	["<b> &nbsp; &nbsp; &nbsp; Training</b>", "partner-training.htm"],
	["<b> &nbsp; &nbsp; &nbsp; Certification</b>", "partner-certification.htm"],
	["Register", "partner-register.htm"],
	["Login", "login.htm"]
 //no comma following last entry!
]*/
function ahah(url, target) {
  document.getElementById(target).innerHTML = ' Fetching data...';
  if (window.XMLHttpRequest) {
    req = new XMLHttpRequest();
  } else if (window.ActiveXObject) {
    req = new ActiveXObject("Microsoft.XMLHTTP");
  }
  if (req != undefined) {
    req.onreadystatechange = function() {ahahDone(url, target);};
    req.open("GET", url, true);
    req.send("");
  }
}  

function ahahDone(url, target) {
  if (req.readyState == 4) { // only if req is "loaded"
    if (req.status == 200) { // only if "OK"
      document.getElementById(target).innerHTML = req.responseText;
    } else {
      document.getElementById(target).innerHTML=" News Error:\n"+ req.status + "\n" +req.statusText;
    }
  }
}

function load(name, div) {
	ahah(name,div);
	return false;
}



function init(){
load('news.html', 'knews');
}
