<!--

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function P7_JumpMenu(selObj,restore){ //v1.7 by Project Seven
	var theFullString = selObj.options[selObj.selectedIndex].value;
	if (restore) selObj.selectedIndex=0;
	var theLength = theFullString.length;
	var endPos = theFullString.lastIndexOf("~");
	var theUrl, theTarget, theParent;
	if (endPos > 0) {theUrl = theFullString.substring(0,endPos);}
	else {theUrl = theFullString;}
	endPos++
	if (endPos < theLength) {theTarget = theFullString.substring(endPos,theLength)}
	else {theTarget = "window:Main";}
	if (theTarget == "window:New") {window.open(theUrl);}
	else if (theTarget == "window:Main") {eval("parent.location='"+theUrl+"'");}
	else {eval("parent.frames[\'"+theTarget+"\'].location='"+theUrl+"'");}
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function P7_JumpMenuGo(selName,restore){ //v1.7 by Project Seven
  var selObj = MM_findObj(selName); if (selObj) P7_JumpMenu(selObj,restore);
}
//-->




<!-- 
function banner(imgSource,url,alt,chance) { 
this.imgSource = imgSource; 
this.url = url; 
this.alt = alt; 
this.chance = chance; 
} 
function dispBanner() { 
with (this) document.write("<A HREF=" + url + "><IMG SRC='" + imgSource + "' WIDTH=297 HEIGHT=60 BORDER=0 ALT='" + alt + "'></A>"); 
} 
banner.prototype.dispBanner = dispBanner; 
banners = new Array(); 

banners[0] = new banner("a/img/banner-deep.gif", 
"http://www.universodorock.com/agenda/deeppurple.asp", 
"Deep Purple", 
10); 
banners[1] = new banner("a/img/banner-sonata.gif", 
"http://www.universodorock.com/agenda/sonataarctica.asp", 
"Sonata Arctica", 
10); 

sum_of_all_chances = 0; 
for (i = 0; i < banners.length; i++) { 
sum_of_all_chances += banners[i].chance; 
} 
function randomBanner() { 
chance_limit = 0; 
randomly_selected_chance = Math.round((sum_of_all_chances - 1) * Math.random()) + 1; 
for (i = 0; i < banners.length; i++) { 
chance_limit += banners[i].chance; 
if (randomly_selected_chance <= chance_limit) { 
document.write("<A HREF=" + banners[i].url + "><IMG SRC='" + banners[i].imgSource + "' WIDTH=297 HEIGHT=60 BORDER=0 ALT='" + banners[i].alt + "'></A>"); 
return banners[i]; 
break; 
} 
} 
} 
// End --> 


function invalid() {
	if (document.email.T1.value.length < 2) {
		alert("Please enter your first name.");
		return false;
	 }
	if (document.email.T3.value.length < 6) {
		alert("Please enter your email.");
		return false;
	 }
	 return true;
}


function load1(form) {
     var url = form.Llist_1.options[form.Llist_1.selectedIndex].value;
     if (url != '') open(url);
     return false;
}


var URLSite = window.location.href;
var TituloSite = document.title;
function addfav(){
if (document.all) window.external.AddFavorite(URLSite,TituloSite);
}


function radiorock(url){
		 window.open(url,'outro','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=auto,resizable=no,copyhistory=no,top=5,left=5,width=400,height=250');
}


function jam1(){
window.open("agenda/servicos/pearljam/index.htm","","scrollbars=no,top=1,left=1,width=600,height=480")
}
function jam2(){
window.open("../agenda/servicos/pearljam/index.htm","","scrollbars=no,top=1,left=1,width=600,height=480")
}

function youtube(url){
		 window.open(url,'outro','scrollbars=no,top=5,left=5,width=500,height=400');
}
function jam3(){
window.open("servicos/pearljam/index.htm","","scrollbars=no,top=1,left=1,width=600,height=480")
}

function galeria(url){
		 window.open(url,'galeria','scrollbars=yes,top=5,left=5,width=700,height=435');
}

function popup2(url){
		 window.open(url,'Popup','top=5,left=5,width=530,height=400');
}
function outro(url){
		 window.open(url,'outro','scrollbars=yes,top=5,left=5,width=530,height=400');
}
function slipknot(url){
		 window.open(url,'outro','scrollbars=no,top=1,left=1,width=700,height=580');
}
function resenha(url){
		 window.open(url,'outro','scrollbars=yes,top=5,left=5,width=500,height=300');
}
function resenha2(url){
		 window.open(url,'outro','scrollbars=yes,top=5,left=5,width=600,height=455');
}
function shows(url){
		 window.open(url,'outro','scrollbars=yes,top=5,left=5,width=550,height=420');
}
function recado(url){
		 window.open(url,'outro','scrollbars=no,top=5,left=5,width=550,height=400');
}


function divulgacao2007(url){
		 window.open(url,'outro','scrollbars=no,top=5,left=5,width=590,height=611');
}

function fotografias(url){
		 window.open(url,'outro','scrollbars=no,top=5,left=5,width=760,height=530');
}
function ozzykorn(url){
		 window.open(url,'outro','scrollbars=no,top=5,left=5,width=810,height=610');
}
function ironmaiden(url){
		 window.open(url,'outro','scrollbars=no,top=5,left=5,width=800,height=615');
}

function fotografias2(url){
		 window.open(url,'outro','scrollbars=no,top=5,left=5,width=700,height=600');
}
function fotografias3(url){
		 window.open(url,'outro','scrollbars=yes,top=5,left=5,width=1000,height=700');
}
function fotografias4(url){
		 window.open(url,'outro','scrollbars=yes,top=5,left=15,width=1000,height=700');
}
function radio(url){
		 window.open(url,'outro','scrollbars=yes,top=5,left=15,width=400,height=465');
}
function enquete2007(url){
		 window.open(url,'outro','scrollbars=yes,top=5,left=15,width=500,height=400');
}

function shows4(url){
		 window.open(url,'outro','scrollbars=no,top=1,left=1,width=700,height=980');
}
//## funcao de Hotsite
function shows3(url){
		 window.open(url,'outro','scrollbars=no,top=5,left=5,width=600,height=455');
}





function news(jan) {
resultado=window.open('',jan,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=auto,resizable=no,copyhistory=no,left=220,top=200,width=300,height=200");
}
function news2(ban) {
resultado=window.open('',ban,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=auto,resizable=no,copyhistory=no,left=220,top=200,width=300,height=200");
}


function contato(){
window.open("contato/contato.asp","","scrollbars=no,left=165,top=80,width=500,height=363")
}
function contato2(){
window.open("../contato/contato.asp","","scrollbars=no,left=165,top=80,width=500,height=362")
}
function cadastro(){
window.open("contato/cadastro.asp","","scrollbars=no,left=165,top=80,width=500,height=310")
}
function cadastro2(){
window.open("../contato/cadastro.asp","","scrollbars=no,left=165,top=80,width=500,height=310")
}
function contato3(){
window.open("../../contato/contato.asp","","scrollbars=no,left=165,top=80,width=500,height=363")
}

//Funcoes CLASSIFICADOS
function classificados(){
window.open("classificados/gb.asp","","scrollbars=yes,left=70,top=20,width=650,height=450")
}
function classificados2(){
window.open("../classificados/gb.asp","","scrollbars=yes,left=70,top=20,width=650,height=450")
}

//Funcoes CLASSIFICADOS
function colaborador(){
window.open("contato/colaborador.asp","","scrollbars=no,left=165,top=30,width=500,height=350")
}
function colaborador2(){
window.open("../contato/colaborador.asp","","scrollbars=no,left=165,top=30,width=500,height=350")
}

//Funcoes CADASTRO DE BANDAS
function cadastrobandas(){
window.open("contato/suabanda.asp","","scrollbars=no,left=5,top=10,width=500,height=370")
}
function cadastrobandas2(){
window.open("../contato/suabanda.asp","","scrollbars=no,left=5,top=10,width=500,height=370")
}


//Funcoes listas
function listas(){
window.open("../contato/lista.asp","","scrollbars=no,left=165,top=80,width=500,height=318")
}


function not(){
window.open("not/not.asp","","scrollbars=no,left=100,top=50,width=399,height=400")
}
function not2(){
window.open("../not/not.asp","","scrollbars=no,left=100,top=50,width=399,height=400")
}

//Outros links

function noticias(){
window.open("contato/noticias.asp","","scrollbars=no,left=0,top=0,width=550,height=400")
}
function noticias2(){
window.open("../contato/noticias.asp","","scrollbars=no,left=0,top=0,width=550,height=400")
}

//CADASTRO DE EVENTOS
function eventos(){
window.open("adm_evento.asp","","scrollbars=yes,left=1,top=1,width=600,height=450")
}
function eventos2(){
window.open("agenda.asp?query=agosto","","scrollbars=yes,left=1,top=1,width=600,height=450")
}
function admeventos(){
window.open("agenda/adm_evento.asp","","scrollbars=no,left=1,top=1,width=600,height=400")
}
function admeventos2(){
window.open("../agenda/adm_evento.asp","","scrollbars=no,left=1,top=1,width=600,height=400")
}


function radioweb(){
window.open("http://www.boomshuffle.com/widget/popout.php?id=2035","","scrollbars=no,location=no, left=5,top=5,width=382,height=380")
}
