/*
SCRIPT EDITE SUR L'EDITEUR JAVACSRIPT
http://www.editeurjavascript.com
*/

document.write('<style type="text/css">\nA.ejsmenu { color:#000000;text-decoration:none }\n</style>')
document.write('<DIV id=menu_dep STYLE="position:absolute; top:10; left:10"><TABLE BORDER=0 CELLPADDING=1 CELLSPACING=2 WIDTH=150>')
document.write('<TR><TD BGCOLOR=#000000 onMouseDown="testClick()" onMouseUp="testClick2()" style="cursor:move"><FONT SIZE=2 face="Verdana" COLOR=#FFCC00><B>Menu</B></FONT></TD></TR>')
document.write('</TR><TR><TD BGCOLOR=#9FB1D8 NOWRAP><FONT SIZE=2 face="Verdana">&nbsp;<A HREF=Valentine-Mk1.htm CLASS=ejsmenu>Valentine Mk.I</A></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#9FB1D8 NOWRAP><FONT SIZE=2 face="Verdana">&nbsp;<A HREF=Valentine-Mk2.htm CLASS=ejsmenu>Valentine Mk.II</A></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#9FB1D8 NOWRAP><FONT SIZE=2 face="Verdana">&nbsp;<A HREF=Valentine-Mk3.htm CLASS=ejsmenu>Valentine Mk.III</A></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#9FB1D8 NOWRAP><FONT SIZE=2 face="Verdana">&nbsp;<A HREF=Valentine-Mk4.htm CLASS=ejsmenu>Valentine Mk.IV</A></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#9FB1D8 NOWRAP><FONT SIZE=2 face="Verdana">&nbsp;<A HREF=Valentine-Mk5.htm CLASS=ejsmenu>Valentine Mk.V</A></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#9FB1D8 NOWRAP><FONT SIZE=2 face="Verdana">&nbsp;<A HREF=Valentine-Mk6.htm CLASS=ejsmenu>Valentine Mk.VI</A></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#9FB1D8 NOWRAP><FONT SIZE=2 face="Verdana">&nbsp;<A HREF=Valentine-Mk7.htm CLASS=ejsmenu>Valentine Mk.VII</A></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#9FB1D8 NOWRAP><FONT SIZE=2 face="Verdana">&nbsp;<A HREF=Valentine-Mk8.htm CLASS=ejsmenu>Valentine Mk.VIII</A></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#9FB1D8 NOWRAP><FONT SIZE=2 face="Verdana">&nbsp;<A HREF=Valentine-Mk9.htm CLASS=ejsmenu>Valentine Mk.IX</A></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#9FB1D8 NOWRAP><FONT SIZE=2 face="Verdana">&nbsp;<A HREF=Valentine-Mk10.htm CLASS=ejsmenu>Valentine Mk.X</A></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#9FB1D8 NOWRAP><FONT SIZE=2 face="Verdana">&nbsp;<A HREF=Valentine-Mk11.htm CLASS=ejsmenu>Valentine Mk.XI</A></FONT>&nbsp;</TD></TR></TABLE></DIV>')

clickOui = false;
bloc_x = 10;
bloc_y = 10;

function testClick() {
		base_x = x-bloc_x;
		base_y = y-bloc_y;
		clickOui=true;
	}
function testClick2() {
		clickOui=false;
	}


function get_mouse(e)
	{
	x = (navigator.appName.substring(0,3) == "Net") ? e.pageX : event.x+document.body.scrollLeft;
	y = (navigator.appName.substring(0,3) == "Net") ? e.pageY : event.y+document.body.scrollTop;
	if(clickOui && document.getElementById)
		{
		bloc_x = x-base_x;
		bloc_y = y-base_y;
		}
	document.getElementById("menu_dep").style.left = bloc_x
  	document.getElementById("menu_dep").style.top = bloc_y
	}
if(navigator.appName.substring(0,3) == "Net")
	document.captureEvents(Event.MOUSEMOVE);
document.onmousemove = get_mouse;
