/* =================================================================================================
* Copyright 2003, Aaron Boodman (aaron@youngpup.net)
* http://www.youngpup.net/?request=/components/ypSlideOutMenus.xml
* =================================================================================================
* "Can I use this?"
* 
* Use of this library is governed by the Creative Commons Attribution-NonCommercial-ShareAlike 1.0
* License. You can check it out at: http://creativecommons.org/licenses/by-nc-sa/1.0
*
* Basically:
* You may copy, distribute, and eat this code as you wish. But you must give me credit for 
* writing it. You may not misrepresent yourself as the author of this code.
* You may not use this code in a commercial setting without prior consent from me.
* If you make changes to this code, you must make the changes available under a license like
* this one.
* =================================================================================================*/

	
	if (rvDropDown.isSupported()) {

		var ms = new rvDropDownSet(rvDropDown.direction.down, 0, 0, rvDropDown.reference.bottomLeft);

		// menu : Products & Services
		var menu1 = ms.addMenu(document.getElementById("menu1"));
		menu1.addItem("- Servicios", "http://www.adnplanet.com/productos/");
		menu1.addItem("- Web Hosting", "#");
		menu1.addItem("- Banca Internacional", "http://www.adnplanet.com/productos/banca.php");
		menu1.addItem("- Registro de  Dominios", "http://www.adnplanet.com/productos/dominios.php");
		menu1.addItem("- Sitios Web", "#");
		menu1.addItem("- Ecommerce", "http://www.adnplanet.com/productos/ecommerce.php");
		
		var subMenu1 = menu1.addMenu(menu1.items[1]);
		subMenu1.addItem("- Web Hosting Linux", "http://www.adnplanet.com/productos/hosting/linux.php");
		subMenu1.addItem("- Web Hosting Windows", "http://www.adnplanet.com/productos/hosting/windows.php");
                subMenu1.addItem("- Web Hosting Ecommerce", "http://www.adnplanet.com/productos/hosting/ecommerce.php");
		
		var subMenu2 = menu1.addMenu(menu1.items[4]);
		subMenu2.addItem("- Diseño", "http://www.adnplanet.com/diseno.php");
		subMenu2.addItem("- Programacion", "http://www.adnplanet.com/programacion.php");
		
		// menu : Reseller Program
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("- Programa de  Resellers", "http://www.adnplanet.com/resellers/");
		menu2.addItem("- Web Hosting Reseller", "http://www.adnplanet.com/resellers/resellers.php");
		
		// menu : Customer Care
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("- Atencion al Cliente", "http://www.adnplanet.com/clientes/");
		menu3.addItem("- Escritorio de Ayuda 24/7", "http://www.adntech.com.ar/cgi-bin/pdesk.cgi");	
		menu3.addItem("- Base de Conocimientos", "http://www.adntech.com.ar/cgi-bin/kb.cgi");
		menu3.addItem("- Soporte Online", "#");
		menu3.addItem("- Administracion", "http://www.adnplanet.com/clientes/admin.php");
				
		var subMenu2 = menu3.addMenu(menu3.items[3]);
		subMenu2.addItem("- ICQ·23364303", "#");
		subMenu2.addItem("- MSN·adninternet", "#");
		subMenu2.addItem("- Yahoo·adnplanet", "#");
		
		// menu : Company Info
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("- Sobre ADN", "http://www.adnplanet.com/compania/");
		menu4.addItem("- Network & Data Center", "http://www.adnplanet.com/compania/network.php");
		menu4.addItem("- Hardware & Software", "http://www.adnplanet.com/compania/hardsoft.php");
		menu4.addItem("- Contactenos", "http://www.adnplanet.com/compania/contactenos.php");

						
		
		//==================================================================================================
		// write drop downs into page
		//==================================================================================================
		// this method writes all the HTML for the menus into the page with document.write(). It must be
		// called within the body of the HTML page.
		//==================================================================================================
		rvDropDown.renderAll();
	}







