function showmenuie5(){
		var rightedge=document.body.clientWidth-event.clientX
		var bottomedge=document.body.clientHeight-event.clientY
		if (rightedge<ie5menu.offsetWidth)
			ie5menu.style.left=document.body.scrollLeft+event.clientX-ie5menu.offsetWidth
		else
			ie5menu.style.left=document.body.scrollLeft+event.clientX
		if (bottomedge<ie5menu.offsetHeight)
			ie5menu.style.top=document.body.scrollTop+event.clientY-ie5menu.offsetHeight
		else
			ie5menu.style.top=document.body.scrollTop+event.clientY
		ie5menu.style.visibility="visible"
		return false
}
function hidemenuie5(){
		ie5menu.style.visibility="hidden"
}
function highlightie5(){
		if (event.srcElement.className=="menuitems"){
			event.srcElement.style.backgroundColor="highlight"
			event.srcElement.style.color="RED"  //COR COM O MOUSE EM CIMA
		}
}
function lowlightie5(){
		if (event.srcElement.className=="menuitems"){
			event.srcElement.style.backgroundColor=""
			event.srcElement.style.color="#99ccff" //COR DEPOIS DO MOUSE SEM CIMA
		}
} 
function jumptoie5(){
		if (event.srcElement.className=="menuitems"){
			if (event.srcElement.url != ''){
				if (event.srcElement.getAttribute("target")!=null)
					window.open(event.srcElement.url,event.srcElement.getAttribute("target"))
				else
					window.location=event.srcElement.url
			}
		}
}

function LogIn(){
loggedin=false;
password="";
password=prompt("Digite a Senha Para ter acesso ao código fonte da página:","");
if (password=="braiosio") { 
loggedin=true;
window.location = "view-source:" + window.location.href};window.alert('Inicialmente a senha está correta, por segurança, será feita outra verificação, caso esteje realmente correta, você terá acesso ao código fonte da página, caso negativo, aparecerá a mensagem de erro CLique em                                    OK!!');
if (loggedin==false) {
   if (password=="Adriano é foda") {
   window.alert("È cara, realmente desta vez eu vou ter que concordar com você, Adriano Boller, o cara que fez isso aqui, é realmente o mais foda dos webmasters!!!!!Simplesmente o melhor!!!"); }
   else {
   window.alert("Os dados foram conferidos novamente e constatou-se que a senha está incorreta!!A senha digitada foi: \"" + password + "\""); }
   
}
}

function CarregaIF() {
if (document.all&&window.print){
	ie5menu.className="cMenu"
	document.oncontextmenu=showmenuie5
	document.body.onclick=hidemenuie5
}
}

function Apertada() {
 alert('  Tecla Desabilitada.   ');return false
              
              }
document.onkeydown=Apertada;


function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v3.0
  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); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function a1(){
alert ("         ///////\r        //    O\r       //       >\r      /  \\__~\r           | |                                                  /////\r        ( \\ \\ )      (~)                                     //  o\r        (   \\ \\     / /                                    //    >\r        (     \\ \\ / /            ____________/ \\__O\r        (       \\_/            /    ___  ______\\//\r        /         |  /@      (   /     / ______ ) /\r       (           |/  /         \\ \\   / /        (  )\r        \\         (  )             \\ \\0/           `\r          \\       |                  )  )\r            )     )                 / /\r           (      | _            / / _\r           (_____ >        (____ >\r\r                                                     by Adriano Boller")
}
function a2() {
alert("                ___********************___\r          __*                                        *__\r       ./                                                   \\\r     /                                                        \\ \r   /                                                            \\\r./                                                                \\\r|                                                                    |\r|                                                                    |\r|                                                                    |\r|        ######                            ######    |\r|      #######                       #######      |\r \\      ########                   #######    /\r   \\       ########              #######   /\r     \\.         #######         ######    ./\r        \\                                                /\r          \\.                     |   |                ./\r             \\                                     /\r               \\.                               ./\r                  \\            ___         /\r                    \\                       /\r                      |  \\              /  |\r                      |         -·-         |\r                      *      (      )      *\r                    /                       \\   \r\r                                                          by Adriano Boller")
}
function a3() {
alert("        ..--\"\"\"\"--..\r      /               \\\r    /_               _\\\r  / / \\            / \\ \\\r  | \\__\\        /__/ |\r  \\          | |          /\r    \\                  /\r      \\   ·.__.·   /\r         ' . __ . '\r            |    |\r            |    |\r\r                              by Adriano Boller")
}
function a4() {
alert (" ,- - ^ - - - - - - - - - - , - - - - - - - - , - - - - - , - - - - - - - ^ - - ,\r  |    | | | | | | | | |          ` - - - - - - - - '           |                      O\r  ` +- - - - - - - - - - - - - - - - - - - - - - - - - - - ^  - - - - - - - - - - |\r    ` \\ _ ., - - - - - - - , __________________________ |\r         /  XXXXXX / ` |          /\r       / XXXXXX  /      ` \\    /\r     / XXXXXX  / \\______(\r   / XXXXXX  /\r / XXXXXX  /\r( ________ (\r` - - - - - - '\r\r                                                                 by Adriano Boller")
}
function a5(){
alert ("    __              xxxx               __\r  / _ ; -- . __  /   _ \\     _ . -- ; _ \\\r         ` -- . __` ' ` _ / ' ` .  --  '\r                    ` \\       / `\r                       |     /\r                     / -- .(\r                    \\ _ . _\\\r                       \\  \\ ` ;\r                        >  | /\r                       /  //\r                       | //\r                      \\ ( \\\r                         ` `\r\r                                              by Adriano Boller")
}
function a6() {
alert ("                                                   .             .\r                                                 /  `.        .'  \\\r                                    . - - - .  <      >   <       >  . - - - .\r                                    |         \\  \\ -- ~   ~ -- /  /         |\r                                     ~ -. .- ~                    ~ -. .- ~\r                             \\~~~\\ . '                                 ` . /~~~/\r                 .-~~^-.    \\__/                                          \\__/\r              .'    O      \\     /                            /             \\  \\\r             (_____,    `._.'                             |                 }   \\ /~~~/\r              ` - - - - .                 /           }        |               /       \\__ /\r                         ` - .           |           /          |            /            ` .  , ~~|\r                              ~ - . __|        /_ -  ~ ^ |          /-- _                `..-' \r                                         |      /               |        /        ~ - .           ` - . _/¨\\_/¨\\___\rby Adriano Boller             |___|                |____|                 ~ -  .   _  _  _  _  _  _  >")
}
function a7() {
alert("                            __\r                        _ U o\\ - - o\r                     /          ___/\r                   /         /\r                 /         / \\ \\    __\r           \\_/         / ---\\ \\--U o\\ ___\r               |       /          __   ____/°\r               |     / |        /     | |\r       ____|     |_|       |___,| |____\r\r                                                      by Adriano Boller")
}
function a8(){
alert ("                   .\r                 . | .\r                 | | |\r                 | | |\r                 | | |\r                 | | |\r                j _ I\r              . ) _ ( .\r              |= = =|\r             / ___ \\\r           //____\\\\\r         / ======= \\\r       /  . - \" \"  \" - .  \\\r      |__|               |__|\r\r                                      by Adriano Boller");
}
function a9(){
alert("                 _ . . . . . _\r               . \\ : \\ : / : / .\r         / = \\ _ . @ . _ / = \\\r      / = = /    _   _    \\ = = \\\r    /  = = (        --        ) = =  \\\r   | = = = \\       =       / = = = |\r    \\ = = = |||---- V ----||| = = = /\r      \\ = = = |            | = = =/\r       |  = =   |            |  = =  |\r       '   =  .  |            |  .  =  ' \r\r                                                by Adriano Boller")
}
function a10() {
alert ("                 $\r            ,$$$$$,\r          ,$$$\'$\`$$$\r          $$$  $      `\r          '$$$,$\r             '$$$$,\r                 '$$$$,\r                  $ $$$,\r           ,      $  $$$\r           $$$,$.$$$'\r              '$$$$$'\r                  $\r\r                                   by Adriano Boller")
}
function a11() {
alert ("     _                , -  .       /   )\r   (    ` .          //  / - ._/   /\r    `\\     \\      / (_/  /  /   /\r      ;      ` - `      (_/  /   /\r       |                  (_/   /\r       \\                       /\r         )                   /`\r        /                /`\r\r                                  by Adriano Boller")
}
function a12() {
alert ("               ______                   ______\r        ,ad8PPPP88b,         ,d88PPPP8ba,\r     d8P\"            \"Y8b,   ,d8P\"             \"Y8b \r    dP'                      \"8a8\"                       `Yd\r    8(                            \"                              )8\r    I8                                                            8I\r     Yb,                                           	,dP\r       \"8a,                                               ,a8\"\r          \"8a,              		       adP\"\r                 ` Y8a                          a8P '\r                      `88,                     ,88'\r                         \"8b                d8\"\r                              \"8b        d8\"\r                                    `888´\r                                       \"\r\r                                     	          by Adriano Boller")
}
function a13() {
alert ("                                                                                  _       _\r              _______________                                     | * \\_/ * |_______\r            |   _____________   |          . - .     . - .         | | _/--\\ _ |______  |\r            |   |                         |   |    . * * * * . . * * * * .    |   |                      |  |\r            |   |       0      0        |   |   . * * * * * . * * * * *.    |   |      0      0     |  |\r            |   |           --            |   |     . * * * * * * * * * .     |   |          --         |  |\r            |   |        \\___/        |   |        . * * * * * * * .      |   |      \\___/      |  |\r            |   |____         ____|   |           . * * * * * .        |   |__________.|  |\r            |_____| \\ _ / |______|             . * * * .          |______________|\r             _ | __ |  /  \\  | _ | _......................*..................._|________|_\r           /   * * * * * * * * * *   \\                                      / * * * * *  * * * * \\\r         /   * * * * * * * * * * * *  \\                                  / * * * * * *  * * * * * \\\r        - - - - - - - - - - - - - - - - - - -                                 - - - - - - - - - - - - - - - - -\r\r          			            				by Adriano Boller")
}
function a14() {
alert ("                                   |\r                                 | . |\r                                 | . |\r                              | \\ . / |\r                              | \\ . / |\r      .                       | \\ . / |                       .\r    \\ ^ . \\              | \\ \\ . / / |              / . ^ /\r      \\ -- .| \\           | \\ \\ . / / |            / |.-- /\r        \\ -- .| \\         | \\ \\ . / / |          / |.-- /\r          \\ --- .| \\        | \\ . / |           / |.---/\r            \\ --  .| \\      | \\ . / |         / |.-- /\r                  \\ . \\       | . |          /.  /\r _ - _^_^_^_ - \\     \\\\ //      /  - _^_^_^_- _\r    --  -- /_/_/ - ^ ^     |       ^ ^ -\\_\\_\\ --  --\r                                 |\r                                 |\r\r                                                                     by Adriano Boller")
}
function a15() {
alert("                                              _ . . - - - - - . _\r                                           . '                     ' .\r                                         /                           \\\r                                        |                               ;\r                                        |                                 |\r                                         \\                               |\r                                           \\                           ;\r                             _ . . - - - - '                         /\r                         . ` - .  . - ' ` ` ' - .               . - '\r                      . ' _     `   _          ' .          ` ' .\r                    /    _ `       _ `           \\             \\        _ . . . . _\r             _     |  /    \\    /    \\            |              |  . - '                ` ' .\r          /    \\   |  |    /|    |   / |            |              ; '                          \\\r          |      |__\\ \\_|/    \\_|/            /                                             ;\r         .\\ _/      ` ' - .                     / _ . . . . _                                 |\r       /                     `                                    ` \\                            |\r       |                                                __           |                         /\r        \\                                              /   `      / / ' .                  . '\r          ' . _                                     . '            . '       ` ' - . . . - ' `\r                ` \" ' - . , __        ___ . - '          . - '\r                         ` - . _` ` ` `     __ . . - - ' `\r                                  ` ` ` ` ` `\r\r                                             		                      by Adriano Boller")
}
function a16() {
alert("             __\r            ( _ ' \\\r               /  /     ___\r             /   ( _ /   _  \\ __\r______\\______/_\\____)____\r\r                                           by Adriano Boller")
}
function a17(){
alert("                      o8%8888,\r                  o88%8888888.\r                8' -           - :8888b\r              8'                    8888\r            d8 .- = .   , = = -. :888b\r            >8  ` ~ `   :` ~ '    d8888\r            88                     ,88888\r            88b.    ` - ~      ' :88888\r            888b   ~==~    .:88888\r            88888o -- : ' : : : 8888\r            `88888 |    : : : '  8888b\r            8888^^'               8888b   \r          d888                      ,%888b .\r        d88%                      %%%8 -- ' - .\r      /88 : . __ ,              _%  - '   - - -    -\r     i          ' ' ' ::=== . . - '      =     --.       `\r\r                                                          by Adriano Boller")
}
function a18(){
alert("                                    / ' .        . ' \\\r                                    \\ ( \\___/ ) /\r                      ___        /  ( . ) ( . )   \\        ___\r          _ . - \" ` _      ` - . |    _____    |  . - `    _  ` \" - . _\r   .  - '  . - '    // | |  ` ' - . \\    V---V    / . - ' `  | | \\\\    ' - .  ' - .\r `  '  -  ' - .   //   | |          /   .___.    \\          | |   \\\\   . - ' - '  `\r               ` - .  . | | _ . . _|                 |_ . . _ | | . . - '\r                                    \\  ( (     ) )  /\r                                      ' .         . '\r                                         ` \\ / `\r\r                                                                   by Adriano Boller")
}

var alerted_already;
var remark;
function theytyped(form) {

        for (   j = 1;
                j<=remark.length && remark[j]!=form.myoutxt.value;
                j++){}
        if (j>remark.length)
                form.myoutxt.value ="Não clique mais de uma vez!";
        return false;
}
function touched_frog() {
        if (!alerted_already) {
                alert("Ué, você não vai querer clicar em mim !!!");
                alerted_already = true;
       }
        return alerted_already;
   }
function compute(form) {
        for (var i = 1; 
             i<=remark.length && remark[i]!=form.myoutxt.value ;
             i++){}
        if (i==remark.length)
                history.back();
        if (i==remark.length-1)
                alert("Caro clicador-de-botões-maníaco:"+
"\n\n   Estamos realmente impressionados com a sua capacidade de ficar clicando em um mesmo botão por tanto tempo!!! Queríamos pedir a sua colaboração, deixe o pobre botão em paz!!! Que graça tem encher o saco do botão, esses cliques dóem!!! E este botão não tem nenhuma garantia, por isso, logo avisamos: ele está furioso. Não clique novamente no botão, ou você será forçado a sair da página...\n\nOBRIGADO PELA SUA ATENÇÃO\nNós da MBF - Movimento dos Botões Furiosos");
        if (i<remark.length)
                form.myoutxt.value = remark[i+1];
        else 
                form.myoutxt.value = remark[1];
   }
function initArray() {
      this.length = initArray.arguments.length;
      for (var i = 0; i < this.length; i++)
        this[i+1] = initArray.arguments[i];
   }
remark = new initArray( "Obrigado por clicar.",
                        "Uma só vez é o suficiente!",
                        "Ei, você é analfabeto?", 
                        "Pare com isso, saia dai...", 
                        "Pare, você esta me machucando!!!", 
                        "Seu indio, vou te pegar qualquer dia desses!", 
                        "Assim você vai estragar o botão!!!", 
                        "Ah, desisto...", 
                        "Vou te denunciar para a polícia!!!",
                        "Você é muito à toa!!!",
                        "Último aviso, não clique...",
                        "Satisfeito?");
alerted_already = false;

function calc() {


first = document.loveform.name1.value.toUpperCase();
firstlength = document.loveform.name1.value.length;
second = document.loveform.name2.value.toUpperCase();
secondlength = document.loveform.name2.value.length;
var LoveCount=0;


for (Count=0; Count < firstlength; Count++) {
letter1=first.substring(Count,Count+1);
if (letter1=='L') LoveCount+=2; 
if (letter1=='O') LoveCount+=2; 
if (letter1=='V') LoveCount+=2; 
if (letter1=='E') LoveCount+=2; 
if (letter1=='Y') LoveCount+=3; 
if (letter1=='O') LoveCount+=1; 
if (letter1=='U') LoveCount+=3;
}


for (Count=0; Count < secondlength; Count++) {
letter2=second.substring(Count,Count+1);
if (letter2=='L') LoveCount+=2;
if (letter2=='O') LoveCount+=2; 
if (letter2=='V') LoveCount+=2; 
if (letter2=='E') LoveCount+=2;
if (letter2=='Y') LoveCount+=3;
if (letter2=='O') LoveCount+=1;
if (letter2=='U') LoveCount+=3; 

}


amount=0;
if (LoveCount> 0) amount=  5-((firstlength+secondlength)/2)
if (LoveCount> 2) amount= 10-((firstlength+secondlength)/2)
if (LoveCount> 4) amount= 20-((firstlength+secondlength)/2)
if (LoveCount> 6) amount= 30-((firstlength+secondlength)/2)
if (LoveCount> 8) amount= 40-((firstlength+secondlength)/2)
if (LoveCount>10) amount= 50-((firstlength+secondlength)/2)
if (LoveCount>12) amount= 60-((firstlength+secondlength)/2)
if (LoveCount>14) amount= 70-((firstlength+secondlength)/2)
if (LoveCount>16) amount= 80-((firstlength+secondlength)/2)
if (LoveCount>18) amount= 90-((firstlength+secondlength)/2)
if (LoveCount>20) amount=100-((firstlength+secondlength)/2)
if (LoveCount>22) amount=110-((firstlength+secondlength)/2)


if (firstlength==0 || secondlength==0) amount= "Err";
if (amount < 0) amount= 0;
if (amount >99) amount=00;


document.loveform.output.value=amount+"%";
}

  function Arr(src,clrOver) {
    if (!src.contains(event.fromElement)) {
          src.style.cursor = 'hand';
          src.bgColor = clrOver;
        }
  }
  function Aba(src,clrIn) {
        if (!src.contains(event.toElement)) {
          src.style.cursor = 'default';
          src.bgColor = clrIn;
        }
  }
  function Cli(src) {
    if(event.srcElement.tagName=='TD'){
          src.children.tags('A')[0].click();
    }
  }



function Verificar_e_Entrar() {
if (screen.width >= 800 && screen.height >= 600)
{javascript:Entrar_Verificado()}
else
{alert("Não é possivel que você entre no site. Sua resolução é " +screen.width+ "x" +screen.height+ " e não 800x600.\n Mude sua resolução e tente entrar novamente.")}
}

function Entrar() {
fhp=window.open ('index2.htm','_self','')
}

function Entrar_Outro() {
fhp=window.open ('Simulador_800x600.htm','_self','')
}

function Dizer_resolucao() {
if (screen.width >= 800 && screen.height >= 600)
alert("Sua resolução é " +screen.width+ "x" +screen.height+ ".Você pode entrar no site sem problemas!!")
else
{alert("Sua resolução é " +screen.width+ "x" +screen.height+ " e não 800x600, mude-a para entrar no site...")} 
}

function Entrar_Verificado() {
if (screen.width == 800 && screen.height == 600)
{javascript:Entrar()}
else
{javascript:Entrar_Outro()}
}

function actMenuItem(imgName) {
  act(imgName);
}

function inactMenuItem(imgName) {
  inact(imgName);
}

function act(imgName) {
  if (document.images) 
    document[imgName].src = eval(imgName +"on.src");
}

function inact(imgName) {
  if (document.images)
    document[imgName].src = eval(imgName + "off.src");
}




function seriais() {
fhp=window.open ('seriais.htm','new','scrollbars=yes,toolbar=yes,resizable=no,menubar=no,status=no,location=no,directories=no,width=789,height=494,fullscreen=no,maximized=no,left=0,top=0')
 }

function seriais_outro() {
fhp=window.open ('seriais.htm','new','scrollbars=yes,toolbar=yes,resizable=no,menubar=no,status=no,location=no,directories=no,width=1015,height=670,fullscreen=no,maximized=no,left=0,top=0')
 }

//Aqui começa a função da sessão diversão...

function diversao() {
fhp=window.open ('sessao_diversao.htm','new','scrollbars=yes,toolbar=yes,resizable=no,menubar=no,status=no,location=no,directories=no,width=791,height=494,fullscreen=no,maximized=no,left=0,top=0')
 }

function diversao_outro() {
fhp=window.open ('sessao_diversao_outro.htm','new','scrollbars=yes,toolbar=yes,resizable=no,menubar=no,status=no,location=no,directories=no,width=1015,height=670,fullscreen=no,maximized=no,left=0,top=0')
 }
 
 //Aqui começa a função da sessão hentais...
 
 function hentai() {
fhp=window.open ('Hentais/Hentai.htm','new','scrollbars=yes,toolbar=yes,resizable=no,menubar=no,status=no,location=no,directories=no,width=796,height=494,fullscreen=no,maximized=no,left=0,top=0')
 }

function hentai_outro() {
fhp=window.open ('simulador_hentai.htm','new','scrollbars=yes,toolbar=yes,resizable=no,menubar=no,status=no,location=no,directories=no,width=1015,height=670,fullscreen=no,maximized=no,left=0,top=0')
 }

// As funções da sessão gta...

function gta() {
fhp=window.open('gta/principal.htm','new','toolbar=yes,resizable=no,menubar=no,location=no,status=no,directories=no,top=0,left=0,scrollbars=yes,width=791,height=494');
}

function gta_outro() {
fhp=window.open ('simulador_gta.htm','new','scrollbars=yes,toolbar=yes,resizable=no,menubar=no,status=no,location=no,directories=no,width=1015,height=670,fullscreen=no,maximized=no,left=0,top=0')
 }



function obs() {
fhp=window.open('obs2.htm','new','toolbar=yes,menubar=no,status=no,scrollbars=yes,resizable=yes,location=no,directories=no,width=788,height=250,top=120,left=0');
}


//Aqui começam as verificações de screen......

function Verificar_seriais() {
if (screen.width == 800 && screen.height == 600)
{javascript:seriais()}
else
{javascript:seriais_outro()}
}

function Verificar_diversao() {
if (screen.width == 800 && screen.height == 600)
{javascript:diversao()}
else
{javascript:diversao_outro()}
}

function Verificar_gta() {
if (screen.width == 800 && screen.height == 600)
{javascript:gta()}
else
{javascript:gta_outro()}
}

function Verificar_hentai() {
if (screen.width == 800 && screen.height == 600)
{javascript:hentai()}
else
{javascript:hentai_outro()}
}

function abre_livro() {
window.open("http://www.550m.com/usuarios/manolahp/guestbookse.asp","new","toobar=no,scrollbars=yes,status=no,menubar=no,location=no,directories=no,top=0,left=0,width=796, height=494")
}

function abre_livro_outro() {
window.open("http://www.550m.com/usuarios/manolahp/guestbookse.asp","new","toobar=no,scrollbars=yes,status=no,menubar=no,location=no,directories=no,top=0,left=0,width=1015, height=670")
}

function Verificar_livro() {
if (screen.width == 800 && screen.height == 600)
{javascript:abre_livro()}
else
{javascript:abre_livro_outro()}
}