// JavaScript Document

/*
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=#CC0000 NOWRAP><FONT SIZE=2 face="Arial"><B>&nbsp;<A HREF=http://www.myspace.com/carnage-radio.fr TARGET=_blank CLASS=ejsmenu>Discuter sur Myspace</A></B></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#CC0000 NOWRAP><FONT SIZE=2 face="Arial"><B>&nbsp;<A HREF=/presentation.html TARGET=_blank CLASS=ejsmenu>Présentation du site</A></B></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#CC0000 NOWRAP><FONT SIZE=2 face="Arial"><B>&nbsp;<A HREF=/musique_libre.html TARGET=_blank CLASS=ejsmenu>Qu\'est ce que la musique libre ?</A></B></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#CC0000 NOWRAP><FONT SIZE=2 face="Arial"><B>&nbsp;<A HREF=/form/form.html TARGET=_blank CLASS=ejsmenu>Proposer vos compos</A></B></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#CC0000 NOWRAP><FONT SIZE=2 face="Arial"><B>&nbsp;<A HREF=/form/fiche_groupe.html TARGET=_blank CLASS=ejsmenu>Créer votre fiche de groupe</A></B></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#CC0000 NOWRAP><FONT SIZE=2 face="Arial"><B>&nbsp;<A HREF=/form/contact.html TARGET=_blank CLASS=ejsmenu>Contacter Carnage-Radio</A></B></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#CC0000 NOWRAP><FONT SIZE=2 face="Arial"><B>&nbsp;<A HREF=/liens.html TARGET=_blank CLASS=ejsmenu>Liens</A></B></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#CC0000 NOWRAP><FONT SIZE=2 face="Arial"><B>&nbsp;<A HREF=/xlagenda402/index.php TARGET=_blank CLASS=ejsmenu>Agenda des concerts</A></B></FONT>&nbsp;</TD></TR><TR><TD BGCOLOR=#CC0000 NOWRAP><FONT SIZE=2 face="Arial"><B>&nbsp;<A HREF=/xlagenda402/index.php TARGET=_blank CLASS=ejsmenu>Agenda : inscrire vos dates</A></B></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;