function setbanner(img){
	//alert('hi');
	var divbanner = document.createElement("div");
	divbanner.id="banner";
	divbanner.appendChild(createImage(img,"825","75","Banner"));
	var divHeader = document.getElementById("page_header");
	divHeader.appendChild(divbanner);

}

function setfooter(){
	var divcopyright = document.createElement("div");
	divcopyright.id = "copyright";
	divcopyright.innerHTML = "&copy; 2010 AQLEO LLC. All Rights Reserved - Information on this website is subject to change without notice and is presented without express or implied warranty.";
	var divFooter = document.getElementById("page_footer");
	divFooter.appendChild(divcopyright);
}

function createImage(imag,wid,hei,alttxt){
	var image = document.createElement("img");
	image.setAttribute("src",imag);	
	image.style.width = wid + "px";;
	image.style.height = hei + "px";
	image.setAttribute("alt",alttxt);
	return image;
}


function setmenu(){
	var ulmenu = document.createElement("ul");
	ulmenu.id = "menu";
	ulmenu.appendChild(createli("index.html","ABOUT AQLEO"));
	ulmenu.appendChild(createli("team.html","TEAM"));
	ulmenu.appendChild(createli("mission.html","WATER IT"));
	ulmenu.appendChild(createli("consulting.html","CONSULTING"));
	ulmenu.appendChild(createli("infocenter.html","INFO CENTER"));
	ulmenu.appendChild(createli("contact.html","CONTACT US"));
	var divParent = document.getElementById("top_menu");
	divParent.appendChild(ulmenu);

}


function createli(url,alttxt){
	var li = document.createElement("li");
	var lidiv = document.createElement("div");
	lidiv.className = "topmenu";
	var link = document.createElement("a");

	if (current == alttxt)
		link.className = "topmenu_alt";
	else	
		link.className = "topmenu";
	link.setAttribute("href", url);
	var txt = document.createTextNode(alttxt);
	link.appendChild(txt);
	lidiv.appendChild(link);
	li.appendChild(lidiv);
	return li;
}










