// LRsolucao - Rádio Bahia Nordeste


function setClassName(objId,fundo,cor) {
			document.getElementById(objId).style.background= fundo;
			document.getElementById(objId).style.color= cor;
	
	
	};

	function mostra(bi) {
		if (bi == 1) {setClassName('dh1','#B62238','#fff');setClassName('dh2','#F7F7EB','#6B6B6B');setClassName('dh3','#F7F7EB','#6B6B6B');setClassName('dh4','#F7F7EB','#6B6B6B');setClassName('dh5','#F7F7EB','#6B6B6B');setClassName('dh6','#F7F7EB','#6B6B6B');setClassName('dh7','#F7F7EB','#6B6B6B');setClassName('dh8','#F7F7EB','#6B6B6B');}
		
		if (bi == 2) {setClassName('dh1','#F7F7EB','#6B6B6B');setClassName('dh2','#B62238','#fff');setClassName('dh3','#F7F7EB','#6B6B6B');setClassName('dh4','#F7F7EB','#6B6B6B');setClassName('dh5','#F7F7EB','#6B6B6B');setClassName('dh6','#F7F7EB','#6B6B6B');setClassName('dh7','#F7F7EB','#6B6B6B');setClassName('dh8','#F7F7EB','#6B6B6B');}
		
		if (bi == 3) {setClassName('dh1','#F7F7EB','#6B6B6B');setClassName('dh2','#F7F7EB','#6B6B6B');setClassName('dh3','#B62238','#fff');setClassName('dh4','#F7F7EB','#6B6B6B');setClassName('dh5','#F7F7EB','#6B6B6B');setClassName('dh6','#F7F7EB','#6B6B6B');setClassName('dh7','#F7F7EB','#6B6B6B');setClassName('dh8','#F7F7EB','#6B6B6B');}
		
		if (bi == 4) {setClassName('dh1','#F7F7EB','#6B6B6B');setClassName('dh2','#F7F7EB','#6B6B6B');setClassName('dh3','#F7F7EB','#6B6B6B');setClassName('dh4','#B62238','#fff');setClassName('dh5','#F7F7EB','#6B6B6B');setClassName('dh6','#F7F7EB','#6B6B6B');setClassName('dh7','fff','#6B6B6B');setClassName('dh8','#F7F7EB','#6B6B6B');}
		
		if (bi == 5) {setClassName('dh1','#F7F7EB','#6B6B6B');setClassName('dh2','#F7F7EB','#6B6B6B');setClassName('dh3','#F7F7EB','#6B6B6B');setClassName('dh4','#F7F7EB','#6B6B6B');setClassName('dh5','#B62238','#fff');setClassName('dh6','#F7F7EB','#6B6B6B');setClassName('dh7','#F7F7EB','#6B6B6B');setClassName('dh8','#F7F7EB','#6B6B6B');}

		if (bi == 6) {setClassName('dh1','#F7F7EB','#6B6B6B');setClassName('dh2','#F7F7EB','#6B6B6B');setClassName('dh3','#F7F7EB','#6B6B6B');setClassName('dh4','#F7F7EB','#6B6B6B');setClassName('dh5','#F7F7EB','#6B6B6B');setClassName('dh6','#B62238','#fff');setClassName('dh7','#F7F7EB','#6B6B6B');setClassName('dh8','#F7F7EB','#6B6B6B');}
		
		if (bi == 7) {setClassName('dh1','#F7F7EB','#6B6B6B');setClassName('dh2','#F7F7EB','#6B6B6B');setClassName('dh3','#F7F7EB','#6B6B6B');setClassName('dh4','#F7F7EB','#6B6B6B');setClassName('dh5','#F7F7EB','#6B6B6B');setClassName('dh6','#F7F7EB','#6B6B6B');setClassName('dh7','#B62238','#fff');setClassName('dh8','#F7F7EB','#6B6B6B');}
		
		if (bi == 8) {setClassName('dh1','#F7F7EB','#6B6B6B');setClassName('dh2','#F7F7EB','#6B6B6B');setClassName('dh3','#F7F7EB','#6B6B6B');setClassName('dh4','#F7F7EB','#6B6B6B');setClassName('dh5','#F7F7EB','#6B6B6B');setClassName('dh6','#F7F7EB','#6B6B6B');setClassName('dh7','#F7F7EB','#6B6B6B');setClassName('dh8','#B62238','#fff');}
	     
		 
		 };
		 
		 
		 // noticias 2

jsRefresh = null;
  	setJsRefresh = function(){
  		jsRefresh = setTimeout(function(){window.location.href=window.location.href},250000);
  	};
    var d=document;
    $ = function(id) {
    	if(!arguments[1]) return document.getElementById(id);
    	else document.getElementById(id).style[arguments[1]]=arguments[2];
    }
    
	selProduto = function(o){
		document.location = o.getElementsByTagName('a')[0].href;
	} 

    
    // Painel de chamadas rotativo com botões para navegação
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('t 6=1L.6||{};6.8={D:j,7:j,k:j,x:{1n:"E",1o:"F",Y:"1M",O:"1N"},n:"",i:0,F:0,E:0,Z:!!1O.1P.1Q(/1R/g),r:j,y:10,P:l,o:m.11("G"),H:l,Q:0,1S:9(a){5.D=m.1T(a.1U);5.y=a.y||5.y;5.n=a.n||5.n;5.x=a.x||5.x;f(1p 12=="1V"){12=0}5.H=H=(m.I.1q("1r=1")==-1)?s:l;5.7=5.D.z("1W");5.13(5.i);5.1s();f(5.7.p==1){a.14=s}q{5.1t()}f(m.I.1q("15=1")!=-1){a.14=s}f(!a.14){5.R()}q{5.A("O")}},16:{S:9(a){f(a.S){a.S()}q{a.1X=l}},1u:9(c,b,a){f(m.1v){c.1v("1Y"+b,a)}q{f(m.1w){c.1w(b,a,s)}}}},R:9(a){f((!a&&5.r==j)||(a&&5.r!=j)){1x(5.r);5.r=1Z(9(){6.8.17(1)},6.8.y*1y);m.I="15=0; 18=/";5.A("Y")}q{m.I="15=1; 18=/";1x(5.r);5.r=j;5.A("O")}},A:9(a){f(5.k!=j){t b=5.k.z("a")[1];b.v="20"+a;b.19=5.x[a]}},13:9(a){5.i=(21(a)+(5.i||5.7.p))%5.7.p;5.F=((5.i||5.7.p)-1)%5.7.p;5.E=((5.i||5.7.p)+1)%5.7.p},B:9(b,d,c){f(d){b.h.T=0;b.h.C="1a(1b=0)"}q{b.h.T=1;b.h.C="1a(1b=1z)"}6.8.P=s;1c(t a=1;a<=10;a++){1d(9(e){22 9(){f(6.8.Z){b.h.C="1a(1b="+(d?10*e:1z-10*e)+")"}q{b.h.T=(d?0.1*e:1-0.1*e)}f(e==10){6.8.P=l;f(1p c=="9"){c()}}}}(a),23*a)}},1A:9(){m.I="1r=1; 18=/";5.H=l;24(6.8.1B);5.1e()},1e:9(){5.B(5.o,l,9(){6.8.o.h.U="V";6.8.k.h.U="1C"});5.B(5.k,s,j)},17:9(b){t a=5.i;5.25=l;5.Q++;f(12==1&&5.H&&5.Q>0&&5.Q%5.7.p==0){5.o.h.U="1C";5.o.v="o";5.o.19=\'<a w="\'+26+\'" J="27"><K 1f="\'+28+\'" 1g="0" /></a><G L="29"><K 1f="1D://1E.K.M.1F.1G/1H/2a.1I" L="2b" 1g="0" /><a w="2c:2d(0)" 2e="6.8.1A()"><K 1f="1D://1E.K.M.1F.1G/1H/o-2f.1I" 1g="0" /></G>\';5.D.1h(5.o);5.B(5.o,s,9(){6.8.k.h.U="V"});5.B(5.k,l,j);f(5.r!=j){6.8.1B=1d(9(){6.8.1e()},6.8.y*1y)}}q{5.13(b);5.7[5.i].v=5.7[5.i].v.W(/1i/g,"");5.7[5.i].h.1j=3;5.7[a].h.1j=4;5.7[5.i].h.T=1;5.7[5.i].h.C="V";5.B(5.7[a],l,9(){f(6.8.Z){6.8.7[a].h.C=6.8.7[a].h.C="V"}6.8.7[a].v="1i";6.8.7[a].h.1j=2});5.1k();f(5.r==j){5.A("O")}q{5.A("Y")}}},1t:9(){5.k=m.11("G");5.k.v="2g";5.1k();5.D.1h(5.k)},1s:9(){t b=m.11("G");b.v="2h";1c(t a=0;a<5.7.p;a++){f(a>0){5.7[a].v+=" 1i"}5.7[a].1h(b.2i(s))}},1k:9(){5.k.19="<a N=\'-1\' w=\'"+5.7[5.F].z("a")[0].w.W(/(^.*?X\\.M.*?1l\\=).*?(&u\\=.*?)$/g,"$1"+5.n+"$2")+"\' L=\'F\' 1m=\'"+5.n+"\'>"+5.x.1o+"</a>      <a N=\'0\' w=\'"+5.7[5.i].z("a")[0].w.W(/(^.*?X\\.M.*?1l\\=).*?(&u\\=.*?)$/g,"$1"+5.n+"$2")+"\' L=\'\' 1m=\'"+5.n+"\'></a>      <a N=\'+1\' w=\'"+5.7[5.E].z("a")[0].w.W(/(^.*?X\\.M.*?1l\\=).*?(&u\\=.*?)$/g,"$1"+5.n+"$2")+"\' L=\'E\' 1m=\'"+5.n+"\'>"+5.x.1n+"</a>";t b=5.k.z("a");1c(t a=0;a<b.p;a++){5.16.1u(b[a],"X",9(c){6.8.1J(c)})}},1J:9(a){6.8.16.S(a);f(a.1K&&!a.J){a.J=a.1K}f(a.J.N==0){6.8.R()}q{f(6.8.P==l){1d(9(){6.8.17(a.J.N);6.8.R(s)},2j)}}}};',62,144,'|||||this|UOLLib|itens|rotativoDeChamadas|function||||||if||style|ativado|null|botoes|false|document|botoesRefClickUOL|banner|length|else|timeOut|true|var||className|href|botoesTxts|timer|getElementsByTagName|setBtStopPlay|fadeIO|filter|painel|proximo|anterior|div|showBanner|cookie|target|img|class|uol|rel|play|animando|contaTrocas|stopPlay|preventDefault|opacity|display|none|replace|click|stop|navMSIE||createElement|mostrabanner|setNavegacao|startOff|rotativoDeChamadasStop|events|navegar|path|innerHTML|Alpha|Opacity|for|setTimeout|bannerFadeOut|src|border|appendChild|desativado|zIndex|writeBotoesHTML|rf|name|next|prev|typeof|indexOf|rotativoDeChamadasNoBanner|aplicarSombras|montarBotoes|add|attachEvent|addEventListener|clearInterval|1000|100|fecharBanner|bannerFadeOutTimer|block|http|home|com|br|h3|gif|btNavegacaoClick|srcElement|window|parar|executar|navigator|userAgent|match|MSIE|init|getElementById|id|undefined|li|returnValue|on|setInterval|bt|parseInt|return|75|clearTimeout|removerBanner|mostrabannerLINK|_blank|mostrabannerIMG|rodape|pub_h_120_b|txtPublicidade|javascript|void|onclick|fechar|botoesNavegacao|sombra|cloneNode|30'.split('|'),0,{}))
    



  if (typeof(setAndAnimate) == "undefined") 
        document.write("<scr" + "ipt src=\"setandanimate.js\"></scr" + "ipt>");
    carrossel = function(){
        var id;
        var rodando = 0;
        this.elementClone = [];
        this.elementMove = [];
        this.carregarImagem = function(elem){
            if (elem.title != false) {
                elem.getElementsByTagName("img")[0].src = elem.title;
                elem.title = "";
            }
        }
        this.mover = function(){
            if (rodando == 0) {
                rodando = 1;
                if (typeof(arguments[0]) == "object" && arguments[0].length >= 1) 
                    arguments = arguments[0];
                this.to = arguments[0]['to'];
                id = arguments[0]['id'];
                if (this.elementClone.length > 0) 
                    this.deletarClone();
                else 
                    document.getElementById(id).style.marginLeft = 0;
                this.qtd = document.getElementById(id).getElementsByTagName('li').length;
                document.getElementById(id).style.width = (document.getElementById(id).getElementsByTagName('li')[0].offsetWidth * this.qtd) + "px";
                this.marginLeftWidth = 0;
                for (var i = 0; i < ((this.to < 0) ? this.to * -1 : this.to); i++) {
                    this.elementMove[this.elementMove.length] = document.getElementById(id).getElementsByTagName('li')[((this.to > 0) ? i : this.qtd - i - 1)];
                    this.elementMove[this.elementMove.length - 1].className = "cloneOrigem";
                    this.marginLeftWidth += this.elementMove[this.elementMove.length - 1].offsetWidth;
                    this.elementClone[this.elementClone.length] = this.elementMove[this.elementMove.length - 1].cloneNode(true);
                    this.elementClone[this.elementClone.length - 1].className = "clonado";
                }
                if (this.to > 0) {
                    for (var i = 0; i < ((this.to < 0) ? this.to * -1 : this.to); i++) {
                        this.carregarImagem(document.getElementById(id).getElementsByTagName("li")[i + 1]);
                        document.getElementById(id).appendChild(this.elementClone[i]);
                    }
                }
                else 
                    if (this.to < 0) {
                        document.getElementById(id).className = "comeco";
                        for (var i = 0; i < ((this.to < 0) ? this.to * -1 : this.to); i++) {
                            document.getElementById(id).insertBefore(this.elementClone[i], document.getElementById(id).getElementsByTagName('li')[0]);
                            this.carregarImagem(document.getElementById(id).getElementsByTagName("li")[i]);
                        }
                        document.getElementById(id).style.marginLeft = (document.getElementById(id).getElementsByTagName('li')[this.to * -1 + 1].offsetLeft * -1) + "px";
                        document.getElementById(id).className = "";
                    }
                setAndAnimate.change({
                    objName: id + "Animate",
                    propriedade: [document.getElementById(id).style, 'marginLeft', 'px'],
                    inicio: document.getElementById(id).style.marginLeft,
                    fim: ((this.to > 0) ? this.marginLeftWidth * -1 : 0),
                    callback: function(){
                        document.getElementById(id).className = "fim";
                        document.getElementById(id).style.marginLeft = 0;
                        setTimeout(function(){
                            carrossel.deletarClone();
                            document.getElementById(id).className = "";
                            rodando = 0;
                        }, 200);
                    },
                    velocidade: .80
                });
                
            }
        }
        this.deletarClone = function(){
            for (var i = 0; i < ((this.to < 0) ? this.to * -1 : this.to); i++) 
                this.elementMove[i].parentNode.removeChild(this.elementMove[i]);
            this.elementClone = [];
            this.elementMove = [];
        }
        this.getRodando = function(){
            return rodando;
        }
    }
    carrossel = new carrossel();

//enquete


// Páginas

var http_request = false;
   function makePOSTRequest(url, parameters, menu) {
	      
      http_request = false;
      if (window.XMLHttpRequest) { // Mozilla, Safari,...
         http_request = new XMLHttpRequest();
         if (http_request.overrideMimeType) {
         	// set type accordingly to anticipated content type
            //http_request.overrideMimeType('text/xml');
            http_request.overrideMimeType('text/html');
         }
      } else if (window.ActiveXObject) { // IE
         try {
            http_request = new ActiveXObject("Msxml2.XMLHTTP");
         } catch (e) {
            try {
               http_request = new ActiveXObject("Microsoft.XMLHTTP");
            } catch (e) {}
         }
      }
      if (!http_request) {
         alert('Cannot create XMLHTTP instance');
         return false;
      }
      mostra(menu);
      http_request.onreadystatechange = alertContents;
      http_request.open('POST', url, true);
      http_request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
      http_request.setRequestHeader("Content-length", parameters.length);
      http_request.setRequestHeader("Connection", "close");
      http_request.send(parameters);
	  }




   function alertContents() {
      if (http_request.readyState == 4) {
         if (http_request.status == 200) {
            //alert(http_request.responseText);
            result = http_request.responseText;
            document.getElementById('texto').innerHTML = result;    
			carrosselAutomatico();       
         } else {
            alert('Houve algum problema de conexão.'); }
			} else {
  document.getElementById('texto').innerHTML = '<br><center><span style="color:#666"> Processando, aguarde ...</span> </center>';
 }
}
   
   
 
   
   
   
   function get(){
	   
var poststr = 
"nome=" + encodeURI( document.getElementById("nome").value ) + 
"&email=" + encodeURI( document.getElementById("email").value ) + 
"&telefone=" + encodeURI( document.getElementById("telefone").value) + 
"&cidade=" + encodeURI( document.getElementById("cidade").value) + 
"&estado=" + encodeURI( document.getElementById("estado").value) + 
"&obs=" + encodeURI( document.getElementById("obs").value) + 
"&status=" + encodeURI( document.getElementById("status").value) + 
"&data=" + encodeURI( document.getElementById("data").value) +
"&msg=" + encodeURI( document.getElementById("msg").value);
		
 makePOSTRequestContato('add_contato.php', poststr,'7');
	  
};
   
   function valor(testev){
  document.myform.resposta.value= testev;
   return true;
   }
   
// Fale Conosco ------------------------------------------------------
	
	
	function nomecor() {
var camponome=document.contato.nome.value
if(camponome.value==""||camponome.length<8){
document.getElementById("nome").innerHTML="Campo incorreto,mínimo 8 caracteres";
}
else{
document.getElementById("nome").innerHTML="";
}
}
function emailcor(){
var campoemail=document.contato.email.value
if(campoemail.value==""||campoemail.indexOf('@')=="-1"||campoemail.indexOf('.')=="-1"){
document.getElementById("mail").innerHTML="E-mail incorreto";
}
else{
document.getElementById("mail").innerHTML="";
}
}







function telefonecor(){


 var carCode = event.keyCode;
 if ((carCode < 48) || (carCode > 57))
 {

document.getElementById("telefone").innerHTML="Favor digitar somente numeros";
}
else{
document.getElementById("telefone").innerHTML="";
}
}

function Mascara(objeto){
   objeto.value=objeto.value.replace(/\D/g,"") ;                //Remove tudo o que não é dígito
    objeto.value=objeto.value.replace(/^(\d\d)(\d)/g,"($1) $2"); //Coloca parênteses em volta dos dois primeiros dígitos
    objeto.value=objeto.value.replace(/(\d{4})(\d)/,"$1-$2") ;   //Coloca hífen entre o quarto e o quinto dígitos
    return 
	 return objeto.value.replace(/\D/g,"");
	 
	 if(objeto.value==""||objeto.length<14){
 return objeto.value;
}
	 

}


function msgcor(){
var meng=document.contato.msg.value
if(meng.value==""||meng.length<10){
document.getElementById("msg").innerHTML="Coloque a mensagem,mínimo 10 caracteres!";
}
else{
document.getElementById("msg").innerHTML="";
}
}

function validar(){
	
var nome=document.contato.nome.value;
var email=document.contato.email.value;
var msg=document.contato.msg.value;

if(nome.value==""||nome.length<8){
document.contato.nome.focus();
return false;

}

if(email.value==""||email.indexOf('@')=="-1"||email.indexOf('.')=="-1"){
document.contato.email.focus();
return false;
}

if( msg.value==""||msg.length < 10){
document.contato.msg.focus();
return false;
}

}
  function displayText( sText ) {
        document.getElementById("displayArea").innerHTML = sText;
 }


// Banners -----------------------------------------

// Banners

// BANNER OBJECT
function Banner(objName){
	this.obj = objName;
	this.aNodes = [];
	this.currentBanner = 0;
	
};

// ADD NEW BANNER
Banner.prototype.add = function(bannerType, bannerPath, bannerDuration, height, width, hyperlink) {
	this.aNodes[this.aNodes.length] = new Node(this.obj +"_"+ this.aNodes.length, bannerType, bannerPath, bannerDuration, height, width, hyperlink);
};

// Node object
function Node(name, bannerType, bannerPath, bannerDuration, height, width, hyperlink) {
	this.name = name;
	this.bannerType = bannerType;
	this.bannerPath = bannerPath;
	this.bannerDuration = bannerDuration;
	this.height = height
	this.width = width;
	this.hyperlink= hyperlink;
//	alert (name +"|" + bannerType +"|" + bannerPath +"|" + bannerDuration +"|" + height +"|" + width + "|" + hyperlink);
};

// Outputs the banner to the page
Banner.prototype.toString = function() {
	var str = ""
	for (var iCtr=0; iCtr < this.aNodes.length; iCtr++){
		str = str + '<span name="'+this.aNodes[iCtr].name+'" '
		str = str + 'id="'+this.aNodes[iCtr].name+'" ';
		str = str + 'class="m_banner_hide" ';
		//str = str + 'bgcolor="#dddddd" ';	// carregue a cor do banner aqui.
		str = str + 'align="center" ';
		str = str + 'valign="top" >\n';
		if (this.aNodes[iCtr].hyperlink != ""){
			str = str + '<a href="'+this.aNodes[iCtr].hyperlink+'">';
		}
			
		if ( this.aNodes[iCtr].bannerType == "FLASH" ){
			str = str + '<object '
			str = str + 'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" '
			str = str + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" '
			str = str + 'width="'+this.aNodes[iCtr].width+'" '
			str = str + 'height="'+this.aNodes[iCtr].height+'" '
			str = str + 'id="bnr_'+this.aNodes[iCtr].name+'" '
			str = str + 'align="" '
			str = str + 'viewastext >'
			str = str + '<param name=movie value="'+ this.aNodes[iCtr].bannerPath + '">'
			str = str + '<param name="quality" value="high" >'
			str = str + '<param name="bgcolor" value="#dddddd" >'
			
			str = str + '<param name="wmode" value="transparent" >';
			str = str + '<embed ';
			str = str + 'src="'+this.aNodes[iCtr].bannerPath+'" '
			str = str + 'quality="high" '
			//str = str + 'bgcolor="#dddddd"' //no caso de querer que seu
			// banner apresente as cores originais, desabilite esta string.
			str = str + 'width="'+this.aNodes[iCtr].width+'" '
			str = str + 'height="'+this.aNodes[iCtr].height+'" '
			str = str + 'name="bnr_'+this.aNodes[iCtr].name+'" '
			str = str + 'align="center" '    
			str = str + 'wmode="transparent" ' 
			str = str + 'type="application/x-shockwave-flash" '
			str = str + 'PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" >'
			str = str + '</embed>'
			str = str + '</object>'
		}else if ( this.aNodes[iCtr].bannerType == "IMAGE" ){
			str = str + '<img src="'+this.aNodes[iCtr].bannerPath+'" ';
			str = str + 'border="0" ';
			str = str + 'height="'+this.aNodes[iCtr].height+'" ';
			str = str + 'width="'+this.aNodes[iCtr].width+'">';
		}

		if (this.aNodes[iCtr].hyperlink != ""){
			str = str + '</a>';
		}

		str += '</span>';
	}
	return str;
};

// START THE BANNER ROTATION
Banner.prototype.start = function(){
	this.changeBanner();
	var thisBannerObj = this.obj;
	// CURRENT BANNER IS ALREADY INCREMENTED IN cahngeBanner() FUNCTION
	setTimeout(thisBannerObj+".start()", this.aNodes[this.currentBanner].bannerDuration * 1000);
}

// CHANGE BANNER
Banner.prototype.changeBanner = function(){
	var thisBanner;
	var prevBanner = -1;
	if (this.currentBanner < this.aNodes.length ){
		thisBanner = this.currentBanner;
		if (this.aNodes.length > 1){
			if ( thisBanner > 0 ){
				prevBanner = thisBanner - 1;
			}else{
				prevBanner = this.aNodes.length-1;
			}
		}
		if (this.currentBanner < this.aNodes.length - 1){
			this.currentBanner = this.currentBanner + 1;
		}else{
			this.currentBanner = 0;
		}
	}
	

	if (prevBanner >= 0){
		document.getElementById(this.aNodes[prevBanner].name).className = "m_banner_hide";
	}
	document.getElementById(this.aNodes[thisBanner].name).className = "m_banner_show";
}
//----------------------------------------
