<!-- VERIFICA REGRA
if((window.location.href).indexOf("/meusite/")!=-1){
prefixo="/meusite/bandaaovivoke.com.br";
}else{
prefixo="";
}
<!-- VERIFICA REGRA

<!-- ACIONA ONLOAD
$(document).ready(function(){
LinksExternos();
VarreFormulario("form_contato");
SelecionaMenu("menu","","","");
SelecionaMenu("menu_rodape","","","");
SelecionaMenu("chamadas","","","");
menu("menu");
Twitter("twitter");
slides("tela",1500);
slides("slide",4000);
YouTube("principal");
$("div#principal a[href$=.jpg],div#principal a[href$=.JPG],div#principal a[href^=http://www.youtube.com/watch?v=]").prettyPhoto({theme:'facebook'});
$("div.coluna.esquerda").append("<h2>Contato</h2><div class='menu'><ul><li>"+$("div.coluna.esquerda div.menu ul li a[href$=contato.html]").parent().html()+"</li></ul></div>");
$("div#topo div.menu ul li a[href$=pagina_04.html],div.coluna div.menu ul li a[href$=index.html],div.coluna div.menu:eq(1) ul li a[href$=contato.html]").parent().remove();
$("div.coluna:eq(0) h2:eq(0)").addClass("titulo_"+aleatorio(1,3));
$("div.coluna:eq(0) h2:eq(1)").addClass("titulo_"+aleatorio(3,5));
$("div.coluna:eq(0) h2:eq(2)").addClass("titulo_"+aleatorio(5,7));
$("div.youtube h3:eq(0)").addClass("titulo_"+aleatorio(7,9));
$("div.coluna:eq(1) h2:eq(0)").addClass("titulo_"+aleatorio(9,11));
$("div.coluna:eq(1) h2:eq(1)").addClass("titulo_"+aleatorio(11,13));
arredonda("div#topo h3,div#cabecalho,div.padrao form button","roundtotal10px",10,10,10,10);
arredonda("div.coluna h2,div#principal h3","roundtopo05px",5,5,0,0);
});
//--> ACIONA ONLOAD

<!-- YOUTUBE
function YouTube(id){
if(document.getElementById(id)){
if($("div#container").parent().attr("class")=="hom"){
var tam="small"
var img="playm.png";
}else{
var tam="big"
var img="play.png";
}
$("div#"+id+" a[href^=http://www.youtube.com/watch?v=]").each(function(y){
$(this).css('backgroundImage','url('+$.jYoutube($(this).attr("href"),tam)+')').html($('<img src="'+prefixo+'/layout/lay/'+img+'" />'));
})
}
}
//--> YOUTUBE

<!-- NÚMERO ALEATÓRIO
function aleatorio(menor,maior){
numPossibilidades=maior-menor;
aleat=Math.random()*numPossibilidades;
aleat=Math.floor(aleat);
return parseFloat(menor)+aleat;
} 
//--> NÚMERO ALEATÓRIO

<!-- SLIDES FADE IN FADE OUT
function slides(id,tempo,tamanho){
if(document.getElementById(id)){
$("div#"+id+" ul").innerfade({
speed:1000,
timeout:tempo,
type:"random_start",
containerheight:"100%"
});
}
}
//--> SLIDES FADE IN FADE OUT

<!-- ARREDONDA IE
function arredonda(obj,classe,r1,r2,r3,r4){
if((navigator.userAgent.indexOf("MSIE 6")==-1)&&(navigator.userAgent.indexOf("MSIE 9")==-1)){
if(navigator.userAgent.indexOf("MSIE")!=-1){
$(obj).addClass(classe);
var settings={tl:{radius:r1},tr:{radius:r2},bl:{radius:r3},br:{radius:r4},antiAlias:true}
curvyCorners(settings,"."+classe);
}
}
}
//--> ARREDONDA IE

<!-- MENU JQUERY
function menu(id){
if(document.getElementById(id)){
$("div#"+id+" ul li a")
.css({color:"#5E82B9"})
.mouseover(function(){
$(this).animate({color:"#FFFFFF"},{duration:500})
})
.mouseout(function(){
$(this).animate({color:"#5E82B9"},{duration:500})
})
}
}
//--> MENU JQUERY

<!-- TWITTER
function Twitter(id){
if(document.getElementById(id)){
$("div#"+id).getTwitter({
userName:"aovivoke",
numTweets:3,
loaderText:"carregando...",
slideIn:true,
slideDuration:750,
showHeading:false,
headingText:"Tweets Mais Recentes",
showProfileLink:true,
showTimestamp:false
});
}
}
//--> TWITTER