
// The info window at startup to explain how to operate the thing
var InstructionsHtml = new Object();

InstructionsHtml['logged'] = "<div id=\"dialogueContent\" style=\"width:300px\">";
InstructionsHtml['logged'] += "<strong>Instructions :</strong>";
InstructionsHtml['logged'] += "<ul style=\"padding-left: 15px;\">";
InstructionsHtml['logged'] += "<li style=\"margin-top: 5px;\">Pour ins&eacute;rer un spot, <strong>double-cliquer sur la carte</strong>, le plus pr&eacute;cis&eacute;ment possible (les instruments de zoom sont l&agrave; pour &ccedil;a).</li>";
InstructionsHtml['logged'] += "<li style=\"margin-top: 5px;\">Un formulaire appara&icirc;t dans une bulle.</li>";
InstructionsHtml['logged'] += "<li style=\"margin-top: 5px;\">Il doit imp&eacute;rativement contenir <strong>un titre</strong>, et par exemple une illustration t&eacute;l&eacute;charg&eacute;e au format .jpg avant d'&ecirc;tre soumis.</li>";
InstructionsHtml['logged'] += "<li style=\"margin-top: 5px;\"><em><strong>!! Les spots peuvent &ecirc;tre d&eacute;plac&eacute;s par simple drag &amp; drop, ce qui est bien pratique, mais risqu&eacute;... soyez attentif !!</strong></em></li>";
InstructionsHtml['logged'] += "</ul>";
InstructionsHtml['logged'] += "</div>";

InstructionsHtml['visitor'] = "<div id=\"dialogueContent\" style=\"width:300px\">";
InstructionsHtml['visitor'] += "<img src=\"./layout/versionresidence_banner.png\" width=\"300px\" height=\"142px\" />"; //"<div style=\"margin-top:10px; height:10px; background:url('./layout/bkgd_underconstruction.gif')\"></div>"
//InstructionsHtml['visitor'] += "<p><strong>Bienvenue !</strong><br /><br />";
InstructionsHtml['visitor'] += "<br style=\"margin-top:10px;\" />";
InstructionsHtml['visitor'] += "La <em>Carte des observations</em> est <strong>en construction</strong> pendant toute la dur&eacute;e de la R&eacute;sidence. Mais fonctionnelle ! N'h&eacute;sitez pas &agrave; nous donner votre avis&nbsp;: <a href=\"mailto:territoiresenresidences@gmail.com\">territoiresenresidences@gmail.com</a></p>";
InstructionsHtml['visitor'] += "<br style=\"margin-top:10px;\" />";
InstructionsHtml['visitor'] += "<ul style=\"margin:0px; margin-top:15px; padding:0px; padding-left: 15px;\">";
InstructionsHtml['visitor'] += "<li style=\"margin-top: 5px;\">Pour plus d'information sur un spot ? <strong>Cliquer dessus</strong>.</li>";
InstructionsHtml['visitor'] += "<li style=\"margin-top: 5px;\">Pour zoomer ? Utiliser les instruments de zoom sur la gauche, double-cliquer sur la carte ou utiliser la molette de la souris.</li>";
InstructionsHtml['visitor'] += "<li style=\"margin-top: 5px; padding:5px 0px 5px 0px;\">Pour s'enregistrer et modifier la carte :<br /><form name=\"login\" method=\"POST\"><input type=\"text\" name=\"username\" size=\"11\" />&nbsp;<input type=\"password\" name=\"password\" size=\"11\" />&nbsp;<input type=\"submit\" value=\"envoyer !\" /></form></li>";
InstructionsHtml['visitor'] += "</ul>";
InstructionsHtml['visitor'] += "</div>";
