// BOOT
var botaoglobal,cabecalho,rodape
criabotoes();criacabecalho();criarodape();
window.onload = function() {ed();MM_preloadImages();};
function ParaOut(x,y){x.className="barra";document[y].src="images/master/button.gif";}
function ParaOver(x,y){x.className="barraover";document[y].src="images/master/buttono.gif";}
function criacabecalho(){
cabecalho=
"
"+
"
"+
"
"+
"
"+
"
"+
"
"+
""+
"
"+
"
";
}
function criabotoes(){
var botoes=new Array(),endereco=new Array();
botoes[0]="About Us"; endereco[0]='aboutus.html';
botoes[1]="Designs"; endereco[1]="designs.html";
botoes[2]="KSS Method "; endereco[2]="methods.html";
botoes[3]="KSS Others Say"; endereco[3]="methods6.html";
botoes[4]="Prices"; endereco[4]="prices.html";
botoes[5]="Services"; endereco[5]="services.html";
botoes[6]="Links";endereco[6]="links.html";
botoes[7]="FAQs"; endereco[7]="faqs.html";
botoes[8]="Workshops"; endereco[8]="workshop.html";
botoes[9]="News"; endereco[9]="news.html";
botoes[10]="Buying a KSS"; endereco[10]="kcforsale.html";
botoes[11]="Articles"; endereco[11]="articles.html";
botaoglobal=""+
"
";
for (i=0;i "+botoes[i]+"
| ";
}
botaoglobal=botaoglobal+"
";
}
function criarodape(){
rodape="";
rodape+="";
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i0&&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= 0) {
setOpacity(obj, opacity);
opacity -= 10;
window.setTimeout("fadeIn('"+objId+"',"+opacity+")", 100);
}
}
}
function setOpacity(obj, opacity) {
opacity = (opacity == 100)?99.999:opacity;
// IE/Win
obj.style.filter = "alpha(opacity:"+opacity+")";
// Safari<1.2, Konqueror
obj.style.KHTMLOpacity = opacity/100;
// Older Mozilla and Firefox
obj.style.MozOpacity = opacity/100;
// Safari 1.2, newer Firefox and Mozilla, CSS3
obj.style.opacity = opacity/100;
}
function ed() {
index = Math.floor(Math.random() * 15);
objeto=document.getElementById("head1");
imgsource=objeto.src;
objeto.src="images/master/nota.gif";
setOpacity(document.getElementById("head1"), 100);
window.setTimeout("objeto.src=imgsource",2000);
window.setTimeout("setOpacity(document.getElementById(\"head1\"), 0);",2000);
setOpacity(document.getElementById("head2"), 0);
setOpacity(document.getElementById("head3"), 0);
setOpacity(document.getElementById("head4"), 0);
window.setTimeout("document.getElementById(\"head1\").src=\"images/master/round/"+index+"/1.gif\"",2000);
window.setTimeout("document.getElementById(\"head2\").src=\"images/master/round/"+index+"/2.gif\"",2000);
window.setTimeout("document.getElementById(\"head3\").src=\"images/master/round/"+index+"/3.gif\"",2000);
window.setTimeout("document.getElementById(\"head4\").src=\"images/master/round/"+index+"/4.gif\"",2000);
window.setTimeout("initImage('head1',index)",2000);
window.setTimeout("initImage('head2',index)",3000);
window.setTimeout("initImage('head3',index)",4000);
window.setTimeout("initImage('head4',index)",5000);
}