/*----------------------------------------------------
||MenuMaker v1.01                            		 ||
||                                                   ||
||Script by:                                         ||
||Dorival Biudes                                     ||
||E-mail me if you have any questions or need help   ||
||setting up internal menu.							 ||
//---------------------------------------------------*/

var numItens = 20;
var menuItem = new Array();
for(var i = 1; i <= numItens; i++) { menuItem[i] = new makeMenuItem() }
i = 1;


/*------------Parte Superior-----------------------*/
menuItem[i].name = 'Fale com a HP Education Brasil';	//link text
menuItem[i].href = 'FaleConosco.htm';	//link url //mailto:hp_education_services_brasil@hp.com
i++;
menuItem[i].name = 'WW Education Services (em inglês)';	//link text
menuItem[i].href = 'http://education.hp.com';	//link url
i++;
menuItem[i].name = 'Contate outros países (em inglês)';	//link text
menuItem[i].href = 'http://education.hp.com/contact-phone.htm';	//link url
i++;
/*------------Technical training-----------------------*/
menuItem[i].name = 'Treinamentos Técnicos';	//link text
menuItem[i].href = '';	//link url
i++;
menuItem[i].name = 'Cursos';	//link text
menuItem[i].href = 'default.htm';	//link url
i++;
menuItem[i].name = 'Certificação';	//link text
menuItem[i].href = 'Certificacao.htm';	//link url
i++;
menuItem[i].name = 'HP Care Pack';	//link text
menuItem[i].href = 'Carepack.htm';	//link url
i++;
menuItem[i].name = 'Gerenciamento de projetos';	//link text
menuItem[i].href = 'Projetos.htm';	//link url
i++;
menuItem[i].name = 'Rail – cursos virtuais';	//link text
menuItem[i].href = 'rail.htm';	//link ur
i++;
/*------------Soluções de Aprendizagem----------------------*/
menuItem[i].name = 'Soluções de Aprendizagem';	//link text
menuItem[i].href = '';	//link url
i++;
menuItem[i].name = 'Metodologia';	//link text
menuItem[i].href = 'Metodologia.htm';	//link url
i++;	
menuItem[i].name = 'Consultoria em Educação';	//link text
menuItem[i].href = 'Consultoria.htm';	//link url
i++;
menuItem[i].name = 'Delivery de Treinamento';	//link text
menuItem[i].href = 'Delivery.htm';	//link url
i++;
/*------------Aprenda Mais---------------------*/
menuItem[i].name = 'Aprenda mais';	//link text
menuItem[i].href = '';	//link url
i++;
menuItem[i].name = 'HP Virtual Rooms';	//link text
menuItem[i].href = 'HPVRoom.htm';	//link url
i++;	
menuItem[i].name = 'E-Learning ';	//link text
menuItem[i].href = 'Elearning.htm';	//link url
i++;
menuItem[i].name = 'ITRC / Cursos Online (em inglês)';	//link text
menuItem[i].href = 'http://education.itresourcecenter.hp.com/';	//link url	http://education.itrc.hp.com/
i++;
/*------------Inscrições---------------------*/
menuItem[i].name = 'Inscrições';	//link text
menuItem[i].href = '';	//link url
i++;
menuItem[i].name = 'Política de Serviços Educacionais';	//link text
menuItem[i].href = './files/politica_de_servicos_educacionais_reg523931.pdf';	//link url
i++;
menuItem[i].name = 'Ficha de Inscrição';	//link text
menuItem[i].href = './files/nova_ficha_de_inscricao_set2008.doc';	//link url
i++;

/*------------Criação do HTML -----------------------*/

document.write('<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"170\" background=\"http:\/\/welcome.hp-ww.com\/img\/s.gif\">')
document.write('<tr class=\"colorDCDCDCbg\"><td align=\"left\" width=\"10\">')
document.write('<img src=\"http:\/\/welcome.hp-ww.com\/img\/s.gif\" width=\"10\" height=\"1\"><\/td>')
document.write('<td align=\"left\" valign=\"top\" width=\"10\" class=\"color003366bld\">\&raquo\;\&nbsp\;<\/td>')
document.write('<td align=\"left\" valign=\"middle\"><h2><a href=\"default.htm\" class=\"bold\">')
document.write('HP Education Home')
document.write('<\/a><\/h2><\/td><\/tr>')
document.write('<\/table>')

document.write('<table border=0 cellpadding=0 cellspacing=0 width=170 background=\"http:\/\/welcome.hp-ww.com\/img\/s.gif\">')
document.write('<tr><td align=left valign=top width=10><img src=\"http:\/\/welcome.hp-ww.com\/img\/s.gif\" width=10 height=1><\/td>')
document.write('<td align=left valign=top width=150>')
document.write('<table border=0 cellpadding=0 cellspacing=0 width=150 background=\"http:\/\/welcome.hp-ww.com\/img\/s.gif\">')
document.write('<tr class=decoration>')
document.write('<td align=left width=10><img src=\"http:\/\/welcome.hp-ww.com\/img\/s.gif\" width=10 height=10><\/td>')
document.write('<td align=left width=10><img src=\"http:\/\/welcome.hp-ww.com\/img\/s.gif\" width=10 height=10><\/td>')
document.write('<td align=left width=10><img src=\"http:\/\/welcome.hp-ww.com\/img\/s.gif\" width=10 height=10><\/td>')
document.write('<td align=left width=120><img src=\"http:\/\/welcome.hp-ww.com\/img\/s.gif\" width=120 height=10><\/td>')
document.write('<\/tr>')

for(var i = 1; i <= numItens; i++) {
	makeMenu(menuItem[i].name, menuItem[i].href);
}

//Spacer
document.write('<tr class=decoration>')
document.write('<td align=left width=150 colspan=4><img src=\"http:\/\/welcome.hp-ww.com\/img\/s.gif\" width=150 height=10><\/td>')
document.write('<\/tr>')

document.write('<\/table>')
document.write('<\/td>')
document.write('<\/tr>')

//Grey bar
document.write('<tr class=decoration>')
document.write('<td colspan=3 class=colorCCCCCCbg>')
document.write('<img src=\"http:\/\/welcome.hp-ww.com\/img\/s.gif\" width=1 height=2 border=0><\/td><\/tr>')

document.write('<\/table>')


/*----------------------------------------------------
||                                                   ||
||FUNÇÕES			                          		 ||
||                                                   ||
//---------------------------------------------------*/

function makeMenu(name, href){
	if (href!=''){
		document.write('<tr>');
		document.write('<td align=left width=10></td>');
		document.write('<td align=left valign=top width=10 class=color003366>&raquo;</td>');
		document.write('<td align=left width=130 colspan=2><a href=\"' + href + '\">' + name + '</a></td>');
		document.write('</tr>');
	} else {
		document.write('<tr>')
		document.write('<td align=left width=150 colspan=4><h3>' + name + '<\/h3><\/td>')
		document.write('<\/tr>')
		document.write('<tr>')
	}
}

function makeMenuItem() {
	this.name = '';
	this.href = '';
}