var Netscape4 = (navigator.appName == "Netscape" && navigator.appVersion.substring(0,1) >= "4");
var Explorer4 = (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.substring(0,1) >= "4");


var yBase = window.innerHeight/2; 
var xBase = window.innerWidth/2; 
var delay = 20; 
var yAmpl = 10; 
var yMax = 40; var step = .2; var ystep = .5; var currStep = 0; 
var tAmpl=1; var Xpos = 10; var Ypos = 10; var j = 0;

function MoveHandler(evnt) {
	Xpos = evnt.pageX ;
	Ypos = evnt.pageY ;
}

function SetMenuPosition(leftPixel) {
	if (Netscape4) {
		document.layers.layerMenu.left=leftPixel; 
	}
	else if (Explorer4) {
		document.all("spanMenu").style.left=leftPixel; 
	}
	return true;
}

function PositionMenu() {
	if (Netscape4) { 
		document.layers.layerMenu.top = top.pageYOffset; 
	}
	else if (Explorer4) { 
		document.all("spanMenu").style.top=bbody.scrollTop; 
	}
	return true;
}

function InvokeMenu () {
	if (Netscape4) { //w120 h 367
		document.write('<layer id="layerMenu" left="-95" width="120" top="0" height="366" clip="0,0,157,396" onMouseOver="javascript:SetMenuPosition(-2);" onMouseOut="javascript:SetMenuPosition(-95);">\n<img src="../menu.gif" width=120 height=366 border=0 usemap="#menu">\n</layer>\n'); 
	}
	else if (Explorer4) { 
        
		document.write('<span id="spanMenu" onMouseOver="javascript:SetMenuPosition(-2);" onMouseOut="javascript:SetMenuPosition(-95);">\n<img src="../menu.gif" width=120 height=366 border=0 usemap="#menu">\n</span>\n'); 
	}
	if (Netscape4 || Explorer4) { 
		setInterval("PositionMenu()", 200);
	}
	return true;
}
document.writeln('<link rel="stylesheet" type="text/css" href="../style.css">');


document.writeln('<map name="menu">');
document.writeln('<AREA SHAPE="rect" COORDS="-2,-2,95,27" HREF="../index1d.html" ALT="Gran Guerrera SailorMoon">');
document.writeln('<AREA SHAPE="rect" COORDS="-1,33,93,63" HREF="../titulos/index.html" ALT="series">');
document.writeln('<AREA SHAPE="rect" COORDS="0,72,93,100" HREF="../perf/fraperfiles.html" ALT="perfiles">');
document.writeln('<AREA SHAPE="rect" COORDS="-2,108,94,135" HREF="../musica/musica.html" ALT="musica">');
document.writeln('<AREA SHAPE="rect" COORDS="0,141,95,173" HREF="../galeria/memorias.html" ALT="Galeria">');
document.writeln('<AREA SHAPE="rect" COORDS="1,180,93,216" HREF="../lista/lista.html" ALT="Lista de Correo">');
document.writeln('<AREA SHAPE="rect" COORDS="1,217,94,247" HREF="../moresm/moresm.html" ALT="mas info">');
document.writeln('<AREA SHAPE="rect" COORDS="1,251,95,277" HREF="../cambios/modify.html" ALT="Cambios">');
document.writeln('<AREA SHAPE="rect" COORDS="1,279,95,312" HREF="../libro/fralibro.html" ALT="Libro de Invitados">');
document.writeln('<AREA SHAPE="rect" COORDS="1,315,51,334" HREF="../serie1/serie1.html" ALT="Sailor Moon [Serie 1]">');
document.writeln('<AREA SHAPE="rect" COORDS="57,315,119,335" HREF="../serie2/serie2.html" ALT="Sailor Moon R [Serie 2]">');
document.writeln('<AREA SHAPE="rect" COORDS="1,334,51,349" HREF="../serie3/serie3.html" ALT="Sailor Moon S [Serie 3]">');
document.writeln('<AREA SHAPE="rect" COORDS="57,335,120,349" HREF="../serie4/serie4.html" ALT="Sailor Moon SuperS [Serie 4]">');
document.writeln('<AREA SHAPE="rect" COORDS="27,349,80,366" HREF="../serie5/serie5.html" ALT="SailorMoon Sailor Stars [Serie 5]">');
document.writeln('</MAP>');

InvokeMenu();

//document.writeln('<body id="bbody">');
SetMenuPosition (-95)
var timer;
function scrolltop()
{
	
	if (Netscape4) {
		document.layers.layerMenu.style.pixelTop=document.body.scrollTop;
		timer=setTimeout("scrolltop()",1)
	}
	else if (Explorer4) {
		document.all("spanMenu").style.pixelTop=document.body.scrollTop;
		timer=setTimeout("scrolltop()",1)
	}
	return true;	
}

function stoptimer()
{
clearTimeout(timer)
}
 scrolltop();