var stringNames = '';
var numItens = 13
var menuItem = new Array();
for(var i = 1; i <= numItens; i++) { menuItem[i] = new makeMenuItem() };
i = 1;


/*------------Lateral Esquerda-----------------------*/
menuItem[i].name = 'HP-UX';	//link text
menuItem[i].href = 'C_HPUX.htm';	//link url
i++;
menuItem[i].name = 'HP NonStop (em inglês)';	//link text
menuItem[i].href = 'http://h10076.www1.hp.com/education/curr-nonstop.htm';	//link url
i++;
menuItem[i].name = 'HP Software (em inglês)';	//link text
menuItem[i].href = 'http://www.hp.com/learn/hpsw';	//link url
i++;
menuItem[i].name = 'HP OpenVMS';	//link text
menuItem[i].href = 'C_OpenVMS.htm';	//link url
i++;
menuItem[i].name = 'HP StorageWorks';	//link text
menuItem[i].href = 'C_Storage.htm';	//link url
i++;
menuItem[i].name = 'HP Tru64 UNIX';	//link text
menuItem[i].href = 'C_Tru64.htm'	//link url
i++;
menuItem[i].name = 'ITIL / ITSM';	//link text
menuItem[i].href = 'C_ITSM.htm';	//link url
i++;
menuItem[i].name = 'Linux';	//link text
menuItem[i].href = 'C_Linux.htm';	//link url
i++;
menuItem[i].name = 'Project Management';	//link text
menuItem[i].href = 'C_Projetos.htm';	//link url
i++;
menuItem[i].name = 'ProLiant';	//link text
menuItem[i].href = 'C_Proliant.htm';	//link url
i++;
menuItem[i].name = 'VMware';	//link text
menuItem[i].href = 'C_VMWare.htm';	//link url
i++;


//document.write('<td align="left" valign="top" width="170">');
	for(var i = 1; i <= 6; i++) {makeMenu(menuItem[i].name, menuItem[i].href)};
document.write('</td><td>');
	for(var i = 7; i <= 13; i++) {makeMenu(menuItem[i].name, menuItem[i].href)};
//document.write('</td>');






/*------------Criação do HTML -----------------------*/
function abre(stringNames) {
	document.write('<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"180\">');
	document.write('<tr><td align=\"left\" valign=\"top\" colspan=\"3\"><h2 class=\"color003366bld\">' + stringNames + '</h2></td></tr>');
	document.write('<tr class=\"decoration\"><td class=\"theme\" colspan=\"3\"><img src=\"http://welcome.hp-ww.com/img/s.gif\" width=\"1\" height=\"4\" alt=\"\"></td></tr>');
	document.write('<tr class=\"decoration\"><td class=\"colorE7E7E7bg\" colspan=\"3\"><img src=\"http://welcome.hp-ww.com/img/s.gif\" width=\"1\" height=\"10\" alt=\"\"></td></tr>');
	document.write('<tr class=\"colorE7E7E7bg\">');
	document.write('<td align=\"left\" width=\"10\"><img src=\"http://welcome.hp-ww.com/img/s.gif\" width=\"10\" height=\"1\" alt=\"\"></td>');
	document.write('<td align=\"left\" valign=\"top\" width=\"160\">');
};

function fecha(){
	document.write('</td>');
	document.write('<td align=\"left\" width=\"10\"><img src=\"http://welcome.hp-ww.com/img/s.gif\" width=\"10\" height=\"1\" alt=\"\"></td>');
	document.write('</tr>');
	document.write('<tr class=\"decoration\"><td class=\"colorE7E7E7bg\" colspan=\"3\"><img src=\"http://welcome.hp-ww.com/img/s.gif\" width=\"1\" height=\"10\" alt=\"\"></td></tr>');
	document.write('<tr class=\"decoration\"><td colspan=\"3\"><img src=\"http://welcome.hp-ww.com/img/s.gif\" width=\"1\" height=\"20\" alt=\"\"></td></tr>');
	document.write('</table>');
};

/*----------------------------------------------------
||                                                   ||
||FUNÇÕES			                          		 ||
||                                                   ||
//---------------------------------------------------*/

function makeMenu(name, href){
	if (href!=''){
		document.write('<span class=\"color003366\">&raquo;&nbsp;</span><a href=\"' + href + '\">' + name + '</a><br>');
	} else {
		document.write('<br>')
	}
	
}

function makeMenuItem() {
	this.name = '';
	this.href = '';
}