
var anylinkmenu1={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //First menu variable. Make sure "anylinkmenu1" is a unique name!
anylinkmenu1.items=[
	["Introduction", "introduction.htm"],
	["Core Competencies", "core_competencies.htm"],
	["Vision", "goals.htm"],
	["Environmental Sustainability", "sustainability.htm"],
	["Visionergy", "visionergy.htm"],
	["Corporate Governance", "corp_governance.htm"], // send no URL if nothing should happen onclick
	["The Campus", "campus.htm"],
	["Awards", "awards.htm"]
		//no comma following last entry!
]


var anylinkmenu2={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //Second menu variable. Same precaution.
anylinkmenu2.items=[
	["Visionaire-Victor", "victor.htm"],
	["Visionaire-ValuePlus", "valueplus.htm"],
	["Visionaire-ValueServe","valueserve.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=[
	["Telcom, IT Networks &amp; Security","itandcom_networks.htm"],
	["Digital Visual Systems","digi_visual.htm"],
	["Touch Interactive System","touch_interactive.htm"],
	["Digital Conferencing Systems","digi_conference.htm"],
	["Interactive Control Systems","intractive_controls.htm"],
	["Signal Transmission Systems","signal_trans.htm"],
	["Roomware Systems","roomware.htm"],
	["Interactive Experiences","interactive_exp.htm"],
	["Broadband &amp; Streaming Multimedia","broadband_streaming.htm"],
	["Networked Learning Systems","net_learning.htm"],
	["Security, Command &amp; Control","security_command.htm"],
	["Turnkey Project Management","turnkey_pm.htm"],
	["Creative Lighting Systems","creative_lighting.htm"],
	["Retail Velocity Systems","retail_velocity.htm"],
	["Infotainment Systems","infotainment.htm"],
	["Telemedicine &amp; Healthcare","telemedicine.htm"],
	["Large Display Systems","largedisplay.htm"]
 //no comma following last entry!
]


/*var anylinkmenu6={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //Second menu variable. Same precaution.
anylinkmenu6.items=[
	

 //no comma following last entry!
]*/

var anylinkmenu7={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //Second menu variable. Same precaution.
anylinkmenu7.items=[
	["Support", "support.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');
}
