From 6c7ef4c7215ceec1851128c90545254195fd7537 Mon Sep 17 00:00:00 2001 From: unknown <D:\mail> Date: Tue, 22 Nov 2011 16:35:41 +0200 Subject: [PATCH] multi-language support --- .../interactive/Anyembed.wgt/index.html | 3 +- .../interactive/Anyembed.wgt/js/languages.js | 12 + .../interactive/Anyembed.wgt/js/ubw-main.js | 151 +- .../interactive/BlackYellow.wgt/css/basic.css | 3 +- .../BlackYellow.wgt/images/greySquare.png | Bin 214 -> 451 bytes .../BlackYellow.wgt/images/greySquare2.png | Bin 0 -> 214 bytes .../interactive/BlackYellow.wgt/index.html | 1 + .../BlackYellow.wgt/scripts/blackYellow.js | 31 +- .../BlackYellow.wgt/scripts/languages.js | 30 + .../Choisir.wgt/images/greySquare.png | Bin 214 -> 451 bytes .../interactive/Choisir.wgt/index.html | 1 + .../Choisir.wgt/scripts/languages.js | 72 + .../Choisir.wgt/scripts/selQuestionApp.js | 78 +- .../interactive/GeoInfo.wgt/GeoInfo.html | 4127 +++++++++-------- .../interactive/GeoInfo.wgt/js/GeoInfo.js | 33 +- .../GeoInfo.wgt/js/jquery-1.6.2.min.js | 18 + .../interactive/GeoInfo.wgt/js/languages.js | 2133 +++++++++ .../interactive/Graphme.wgt/Grapheur.xhtml | 687 ++- .../Graphme.wgt/JavaScript/Affichage3D.js | 534 ++- .../Graphme.wgt/JavaScript/Etude.js | 578 +-- .../Graphme.wgt/JavaScript/Sauvegardes.js | 2 +- .../Graphme.wgt/JavaScript/languages.js | 506 ++ .../library/interactive/Html.wgt/index.html | 24 +- .../library/interactive/Html.wgt/languages.js | 29 + .../Html.wgt/markitup/sets/html/set.js | 51 +- .../interactive/Stopwatch.wgt/index.html | 3 +- .../interactive/Stopwatch.wgt/js/ubw-main.js | 76 +- .../interactive/VideoPicker.wgt/index.html | 348 +- .../locales/ru/capture_widget.jpg | Bin 0 -> 15452 bytes .../VideoPicker.wgt/locales/ru/error.html | 8 + .../VideoPicker.wgt/locales/ru/howto.html | 24 + .../VideoPicker.wgt/scripts/index.html | 230 - .../VideoPicker.wgt/scripts/languages.js | 12 + .../interactive/WebBrowser.wgt/index.html | 48 +- .../WebBrowser.wgt/locales/en/error.html | 2 +- .../WebBrowser.wgt/locales/en/howto.html | 2 +- .../locales/ru/capture_widget.jpg | Bin 0 -> 15452 bytes .../WebBrowser.wgt/locales/ru/error.html | 8 + .../WebBrowser.wgt/locales/ru/howto.html | 11 + .../WebBrowser.wgt/scripts/languages.js | 28 + .../interactive/Wikipedia.wgt/index.html | 29 +- .../Wikipedia.wgt/script/languages.js | 20 + .../interactive/Wiktionary.wgt/index.html | 23 +- .../Wiktionary.wgt/script/languages.js | 21 + .../iCell.wgt/js/textes_descriptifs.js | 325 +- .../library/interactive/iCell.wgt/widget.html | 8 +- 46 files changed, 6969 insertions(+), 3361 deletions(-) create mode 100644 resources/library/interactive/Anyembed.wgt/js/languages.js create mode 100644 resources/library/interactive/BlackYellow.wgt/images/greySquare2.png create mode 100644 resources/library/interactive/BlackYellow.wgt/scripts/languages.js create mode 100644 resources/library/interactive/Choisir.wgt/scripts/languages.js create mode 100644 resources/library/interactive/GeoInfo.wgt/js/jquery-1.6.2.min.js create mode 100644 resources/library/interactive/GeoInfo.wgt/js/languages.js create mode 100644 resources/library/interactive/Graphme.wgt/JavaScript/languages.js create mode 100644 resources/library/interactive/Html.wgt/languages.js create mode 100644 resources/library/interactive/VideoPicker.wgt/locales/ru/capture_widget.jpg create mode 100644 resources/library/interactive/VideoPicker.wgt/locales/ru/error.html create mode 100644 resources/library/interactive/VideoPicker.wgt/locales/ru/howto.html delete mode 100644 resources/library/interactive/VideoPicker.wgt/scripts/index.html create mode 100644 resources/library/interactive/VideoPicker.wgt/scripts/languages.js create mode 100644 resources/library/interactive/WebBrowser.wgt/locales/ru/capture_widget.jpg create mode 100644 resources/library/interactive/WebBrowser.wgt/locales/ru/error.html create mode 100644 resources/library/interactive/WebBrowser.wgt/locales/ru/howto.html create mode 100644 resources/library/interactive/WebBrowser.wgt/scripts/languages.js create mode 100644 resources/library/interactive/Wikipedia.wgt/script/languages.js create mode 100644 resources/library/interactive/Wiktionary.wgt/script/languages.js diff --git a/resources/library/interactive/Anyembed.wgt/index.html b/resources/library/interactive/Anyembed.wgt/index.html index e4e1b194..5ae3005e 100644 --- a/resources/library/interactive/Anyembed.wgt/index.html +++ b/resources/library/interactive/Anyembed.wgt/index.html @@ -3,10 +3,11 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>ubwidget</title> + <title>AnyEmbed</title> <script src="js/jquery-1.3.2.min.js" type="text/javascript"></script> <script src="js/jquery.disable.text.select.js" type="text/javascript"></script> + <script src="js/languages.js" type="text/javascript"></script> <script src="js/ubw-main.js" type="text/javascript"></script> <link rel="stylesheet" type="text/css" href="css/ubwidget.css" /> diff --git a/resources/library/interactive/Anyembed.wgt/js/languages.js b/resources/library/interactive/Anyembed.wgt/js/languages.js new file mode 100644 index 00000000..9cf170b7 --- /dev/null +++ b/resources/library/interactive/Anyembed.wgt/js/languages.js @@ -0,0 +1,12 @@ +var sankoreLang = { + "en":{ + "embed": "Embed" + }, + "ru":{ + "embed": "Вставить" + }, + "fr":{ + "embed": "Intégrer" + } +}; + diff --git a/resources/library/interactive/Anyembed.wgt/js/ubw-main.js b/resources/library/interactive/Anyembed.wgt/js/ubw-main.js index fb2a50a0..283c4622 100644 --- a/resources/library/interactive/Anyembed.wgt/js/ubw-main.js +++ b/resources/library/interactive/Anyembed.wgt/js/ubw-main.js @@ -14,84 +14,101 @@ */ function init(){ - var embed; - var inputBox = $("<textarea type='text'></textarea>") - .css({ - width: "350px", - height: "58px", - marginRight: "5px" - }); + var embed; + var lang = ""; + + if(window.sankore){ + try{ + lang = sankore.locale().substr(0,2); + sankoreLang[lang].embed; + } catch(e){ + lang = "en"; + } + } else + lang = "en"; + + var inputBox = $("<textarea type='text'></textarea>") + .css({ + width: "350px", + height: "58px", + marginRight: "5px" + }); - var submit = $("<div>Embed</div>") - .css({ - float: "right", - width: "auto", - height:"auto", - padding:"4px", - marginTop:"13px", - cursor:"pointer", - backgroundColor:"rgb(45,65,250)", - border:"1px solid", - borderColor:"rgb(45,65,250) rgb(25,45,230) rgb(25,45,230) rgb(45,65,250)", - textTransform:"capitalize", - fontFamily:"Arial", - fontSize:"18px", - fontWeight:"regular", - color:"white" - }); + var submit = $("<div>" + sankoreLang[lang].embed + "</div>") + .css({ + float: "right", + width: "auto", + height:"auto", + padding:"4px", + marginTop:"13px", + cursor:"pointer", + backgroundColor:"rgb(45,65,250)", + border:"1px solid", + borderColor:"rgb(45,65,250) rgb(25,45,230) rgb(25,45,230) rgb(45,65,250)", + textTransform:"capitalize", + fontFamily:"Arial", + fontSize:"18px", + fontWeight:"regular", + color:"white" + }); - var loadWindow = $("<div></div>"); + var loadWindow = $("<div></div>"); - var searchWrap = $("<div></div>") - .css({ - position:"absolute", - padding: "10px", - backgroundColor: "rgb(230,230,233)", - width: "425px", - height: "65px" - }); + var searchWrap = $("<div></div>") + .css({ + position:"absolute", + padding: "10px", + backgroundColor: "rgb(230,230,233)", + width: "460px", + height: "65px" + }); - //FIT WIDGET FRAME ON LAUNCH... - if(window.sankore){ - window.sankore.resize($("#ubwidget").width()-15,85); - } + //FIT WIDGET FRAME ON LAUNCH... + if(window.sankore){ + window.sankore.resize($("#ubwidget").width() + 20,85); + } - searchWrap.append(inputBox) - .append(submit); + searchWrap.append(inputBox) + .append(submit); - $("#ubwidget").append(searchWrap); + $("#ubwidget").append(searchWrap); - submit.click(function(){ - $("#ubwidget").append(loadWindow) - embed = inputBox.val(); - searchWrap.hide(); - - if(/<object/.test(embed)){ - loadWindow.append(embed); - loadWindow.find("embed").attr("wmode","opaque"); - var loadWindow_content = loadWindow.html(); - loadWindow.empty().html(loadWindow_content); - } - else { - loadWindow.append(embed); - } + submit.click(function(){ + $("#ubwidget").append(loadWindow) + embed = inputBox.val(); + searchWrap.hide(); + + if(/<object/.test(embed)){ + loadWindow.append(embed); + loadWindow.find("embed").attr("wmode","opaque"); + var loadWindow_content = loadWindow.html(); + loadWindow.empty().html(loadWindow_content); + } + else { + loadWindow.append(embed); + } - if(window.sankore){ - window.sankore.resize($(document).width(),$(document).height()); - window.sankore.setPreference("embed", escape(embed)); - } + if(window.sankore){ + window.sankore.resize($(document).width(),$(document).height()); + window.sankore.setPreference("embed", escape(embed)); + } - }); + }); - if(window.sankore){ + if(window.sankore){ - if(window.sankore.preferenceKeys().length != 0){ + if(window.sankore.preferenceKeys().length != 0){ - var loadEmbed = unescape(window.sankore.preference("embed")); - inputBox.val(loadEmbed); - submit.trigger("click"); - } - - } + var loadEmbed = unescape(window.sankore.preference("embed")); + inputBox.val(loadEmbed); + submit.trigger("click"); + } + } + + if (window.widget) { + window.widget.onremove = function(){ + loadWindow.empty(); + } + } } \ No newline at end of file diff --git a/resources/library/interactive/BlackYellow.wgt/css/basic.css b/resources/library/interactive/BlackYellow.wgt/css/basic.css index 0203ba50..a01e8aad 100644 --- a/resources/library/interactive/BlackYellow.wgt/css/basic.css +++ b/resources/library/interactive/BlackYellow.wgt/css/basic.css @@ -109,8 +109,7 @@ body{ height: 28px; margin: 4px 5px; border: none; - background-image: url(../images/greySquare.png); - font-weight: bold; + background-image: url(../images/greySquare2.png); font-family: Verdana; color: yellow; cursor: pointer; diff --git a/resources/library/interactive/BlackYellow.wgt/images/greySquare.png b/resources/library/interactive/BlackYellow.wgt/images/greySquare.png index c0a7f14e8cc02340252ef48d9b5893d72b72239a..24e59ff19181272decfee28cbeea4401f68d2b30 100644 GIT binary patch literal 451 zcmeAS@N?(olHy`uVBq!ia0vp^6+kS*!2~2#li!>KQfwtbe!&d?LC`!xx)vzHS>O>_ z%)r2(2*Qjj?3ZUUFfb;2x;TbZ%z1ljZ{8sTfde0{tvLfHwT5SG+Z4F+179Qi0)01m z741;T1woNFxKp)_pC0b?sF77#)#tIK{mQ-kO;3*gIz5S9UTC7>vs5eJ%U^1@=9ttl zI503Qxa>5ixvqq{!RGWM3%^PKYL^SUDxOPQ@4xus=ZZB`v&?2!&Qtcf=Pfw#dFAc5 z-y&pgzum3!^5r6nx;59MG_RMg-5Ru0tRrJ>s8{8>?>ldvd0w2p|8}VKq#b1|1Q<_m zvXS}L_vNo`Mb%@0fY|RE|Jz&AlornP$WRlS)kz%F!sV(2(~0MaZ#h={GE-3yZCUtu zmrKgpz26T0liHNB_G%Qn<BImf?#XA8KBk>E>R7Z%<4IQhI;jPQ$5JZGZfEhb@kjKw z_%54l;v0T?>HFUt458Ud6J9+3ea_W|A#&Q?BZcelzc1UBC{f4A>fW9hw(N2NFb)_z MUHx3vIVCg!03ZOun*aa+ literal 214 zcmeAS@N?(olHy`uVBq!ia0vp^UO+6v!3HFcv1`r-Qgc0B978H@y}fD3cgTRpE%AP* zvcghXA^y^sbNyO*jJg|H=4zdYvGxAXYFAmU^ft&#T=!?5nQi{&{4?7(a7^C7sVv#{ zI%4(O2QvCOQelEu_b_~_UiDP*ocZ6myVo+g+;3pw(pUf@*hB&x7+HaYA(*@19KUPK ziyrQYNe5n>2o?O!u|Srw#Q)W-=~<V#=kNz?=9ruxRL{I~uX;hJT#zZyp$wj`elF{r G5}E+;DoT+6 diff --git a/resources/library/interactive/BlackYellow.wgt/images/greySquare2.png b/resources/library/interactive/BlackYellow.wgt/images/greySquare2.png new file mode 100644 index 0000000000000000000000000000000000000000..c0a7f14e8cc02340252ef48d9b5893d72b72239a GIT binary patch literal 214 zcmeAS@N?(olHy`uVBq!ia0vp^UO+6v!3HFcv1`r-Qgc0B978H@y}fD3cgTRpE%AP* zvcghXA^y^sbNyO*jJg|H=4zdYvGxAXYFAmU^ft&#T=!?5nQi{&{4?7(a7^C7sVv#{ zI%4(O2QvCOQelEu_b_~_UiDP*ocZ6myVo+g+;3pw(pUf@*hB&x7+HaYA(*@19KUPK ziyrQYNe5n>2o?O!u|Srw#Q)W-=~<V#=kNz?=9ruxRL{I~uX;hJT#zZyp$wj`elF{r G5}E+;DoT+6 literal 0 HcmV?d00001 diff --git a/resources/library/interactive/BlackYellow.wgt/index.html b/resources/library/interactive/BlackYellow.wgt/index.html index e52751b7..a77d4cfd 100644 --- a/resources/library/interactive/BlackYellow.wgt/index.html +++ b/resources/library/interactive/BlackYellow.wgt/index.html @@ -10,6 +10,7 @@ and open the template in the editor. <link rel="stylesheet" type="text/css" href="css/basic.css"/> <script type="text/javascript" src="scripts/jquery-1.6.2.min.js"></script> <script src="scripts/jquery.disable.text.select.js" type="text/javascript"></script> + <script src="scripts/languages.js" type="text/javascript"></script> <script type="text/javascript" src="scripts/blackYellow.js"></script> <script type="text/javascript"> diff --git a/resources/library/interactive/BlackYellow.wgt/scripts/blackYellow.js b/resources/library/interactive/BlackYellow.wgt/scripts/blackYellow.js index 5377c0b8..3ce21a15 100644 --- a/resources/library/interactive/BlackYellow.wgt/scripts/blackYellow.js +++ b/resources/library/interactive/BlackYellow.wgt/scripts/blackYellow.js @@ -26,6 +26,7 @@ function init(){ var popupFlag = false var flagForSelect = false; var dragElement = null; //the element that must be dragging + var lang = ""; //locale language var coords = { left:0, top:0 @@ -36,7 +37,17 @@ function init(){ x:false, width:0, height:0 - } + } + + if(window.sankore){ + try{ + lang = sankore.locale().substr(0,2); + sankoreLang[lang].edit; + } catch(e){ + lang = "en"; + } + } else + lang = "en"; var opacityChanged = false; @@ -133,13 +144,13 @@ function init(){ if(!toggleFlag && !endFlag){ endFlag = true; toggleButton.animate({ - width:"72px" + width:"115px" },"fast",function(){ toggleFlag = true; if(!mode) - toggleButton.text("Edit"); + toggleButton.text(sankoreLang[lang].edit); else - toggleButton.text("Display"); + toggleButton.text(sankoreLang[lang].display); }); } } @@ -182,10 +193,10 @@ function init(){ if(!addToggleStart && !addToggleEnd){ addToggleEnd = true; addButton.animate({ - width:"72px" + width:"115px" },"fast",function(){ addToggleStart = true; - addButton.text("Add"); + addButton.text(sankoreLang[lang].add); }); } } @@ -217,16 +228,16 @@ function init(){ //input fields and buttons for a popup window var expressionDiv = $("<div id='expressionDiv' class='popupContainers'>").appendTo(popupBack); - var experssionLabel = $("<span id='experssionLabel' class='popupLabels'><b>Enter data:</b></span>").appendTo(expressionDiv); + var experssionLabel = $("<span id='experssionLabel' class='popupLabels'><b>" + sankoreLang[lang].enter_data + "</b></span>").appendTo(expressionDiv); var expresionText = $("<input type='text' id='expresionText' class='expresionInput'/>").appendTo(expressionDiv); var resultDiv = $("<div id='resultDiv' class='popupContainers'>").appendTo(popupBack); - var resultLabel = $("<span id='resultLabel' class='popupLabels'><b>Enter result:</b></span>").appendTo(resultDiv); + var resultLabel = $("<span id='resultLabel' class='popupLabels'><b>" + sankoreLang[lang].enter_result + "</b></span>").appendTo(resultDiv); var resultText = $("<input type='text' id='resultText' class='expresionInput'/>").appendTo(resultDiv); var popupButtonsDiv= $("<div id='popupButtonsDiv' class='popupContainers'>").appendTo(popupBack); - var cancelButton = $("<input type='button' id='cancelButton' class='popupButtons' value='Cancel'/>").appendTo(popupButtonsDiv); - var okButton = $("<input type='button' id='okButton' class='popupButtons' value='Ok'/>").appendTo(popupButtonsDiv); + var cancelButton = $("<input type='button' id='cancelButton' class='popupButtons' value='" + sankoreLang[lang].cancel + "'/>").appendTo(popupButtonsDiv); + var okButton = $("<input type='button' id='okButton' class='popupButtons' value='" + sankoreLang[lang].ok + "'/>").appendTo(popupButtonsDiv); /* -------------- A WORK WITH POPUP BUTTONS AND FIELDS ---------------*/ diff --git a/resources/library/interactive/BlackYellow.wgt/scripts/languages.js b/resources/library/interactive/BlackYellow.wgt/scripts/languages.js new file mode 100644 index 00000000..fceb7e64 --- /dev/null +++ b/resources/library/interactive/BlackYellow.wgt/scripts/languages.js @@ -0,0 +1,30 @@ +var sankoreLang = { + "en":{ + "edit": "Edit", + "display":"Display", + "add":"Add", + "enter_data":"Enter data:", + "enter_result":"Enter result:", + "ok":"Ok", + "cancel":"Cancel" + }, + "ru":{ + "edit": "Изменить", + "display":"Показать", + "add":"Добавить", + "enter_data":"Введите вопрос:", + "enter_result":"Введите ответ:", + "ok":"Ок", + "cancel":"Отмена" + }, + "fr":{ + "edit": "Modifier", + "display":"Afficher", + "add":"Ajouter", + "enter_data":"Entrer les données:", + "enter_result":"Entrez le résultat:", + "ok":"Ok", + "cancel":"Annuler" + } +}; + diff --git a/resources/library/interactive/Choisir.wgt/images/greySquare.png b/resources/library/interactive/Choisir.wgt/images/greySquare.png index c0a7f14e8cc02340252ef48d9b5893d72b72239a..24e59ff19181272decfee28cbeea4401f68d2b30 100644 GIT binary patch literal 451 zcmeAS@N?(olHy`uVBq!ia0vp^6+kS*!2~2#li!>KQfwtbe!&d?LC`!xx)vzHS>O>_ z%)r2(2*Qjj?3ZUUFfb;2x;TbZ%z1ljZ{8sTfde0{tvLfHwT5SG+Z4F+179Qi0)01m z741;T1woNFxKp)_pC0b?sF77#)#tIK{mQ-kO;3*gIz5S9UTC7>vs5eJ%U^1@=9ttl zI503Qxa>5ixvqq{!RGWM3%^PKYL^SUDxOPQ@4xus=ZZB`v&?2!&Qtcf=Pfw#dFAc5 z-y&pgzum3!^5r6nx;59MG_RMg-5Ru0tRrJ>s8{8>?>ldvd0w2p|8}VKq#b1|1Q<_m zvXS}L_vNo`Mb%@0fY|RE|Jz&AlornP$WRlS)kz%F!sV(2(~0MaZ#h={GE-3yZCUtu zmrKgpz26T0liHNB_G%Qn<BImf?#XA8KBk>E>R7Z%<4IQhI;jPQ$5JZGZfEhb@kjKw z_%54l;v0T?>HFUt458Ud6J9+3ea_W|A#&Q?BZcelzc1UBC{f4A>fW9hw(N2NFb)_z MUHx3vIVCg!03ZOun*aa+ literal 214 zcmeAS@N?(olHy`uVBq!ia0vp^UO+6v!3HFcv1`r-Qgc0B978H@y}fD3cgTRpE%AP* zvcghXA^y^sbNyO*jJg|H=4zdYvGxAXYFAmU^ft&#T=!?5nQi{&{4?7(a7^C7sVv#{ zI%4(O2QvCOQelEu_b_~_UiDP*ocZ6myVo+g+;3pw(pUf@*hB&x7+HaYA(*@19KUPK ziyrQYNe5n>2o?O!u|Srw#Q)W-=~<V#=kNz?=9ruxRL{I~uX;hJT#zZyp$wj`elF{r G5}E+;DoT+6 diff --git a/resources/library/interactive/Choisir.wgt/index.html b/resources/library/interactive/Choisir.wgt/index.html index 1247e38a..e478b046 100644 --- a/resources/library/interactive/Choisir.wgt/index.html +++ b/resources/library/interactive/Choisir.wgt/index.html @@ -9,6 +9,7 @@ and open the template in the editor. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="css/basic.css"/> <script type="text/javascript" src="scripts/jquery-1.6.2.min.js"></script> + <script src="scripts/languages.js" type="text/javascript"></script> <script type="text/javascript" src="scripts/selQuestionApp.js"></script> <script type="text/javascript"> diff --git a/resources/library/interactive/Choisir.wgt/scripts/languages.js b/resources/library/interactive/Choisir.wgt/scripts/languages.js new file mode 100644 index 00000000..af618b41 --- /dev/null +++ b/resources/library/interactive/Choisir.wgt/scripts/languages.js @@ -0,0 +1,72 @@ +var sankoreLang = { + "en":{ + "edit": "Edit", + "display":"Display", + "question":"Question", + "example_question":"This is an example of the question", + "answer":"This is an example of the answer", + "q":"Q", + "add_new_question":"Add new question ...", + "options":"Options", + "close":"Close", + "delete_question":"Delete question", + "delete_answer":"Delete answer", + "right_answer":"Right answer", + "template_question":"Enter your question here ...", + "template_answer":"Enter the answer here ...", + "add_answer":"Add answer", + "select_text":"Choose the right answer", + "options_desc":"You can choose any of these three options of displaying your answers. See a short their description.", + "radio_desc":"This option allow to choose one answer only and the answers are displayed as radio buttons.", + "checkbox_desc":"This option allow to choose several answers and the answers are displayed as checkboxes.", + "select_desc":"This option allow to chose one answer only and the answers are displayed as pull-down menu.", + "a":"A" + }, + "ru":{ + "edit": "Изменить", + "display":"Показать", + "question":"Вопрос", + "example_question":"Это пример вопроса", + "answer":"Это пример ответа", + "q":"В", + "add_new_question":"Добавить новый вопрос ...", + "options":"Настройки", + "close":"Закрыть", + "delete_question":"Удалить вопрос", + "delete_answer":"Удалить ответ", + "right_answer":"Правильный ответ", + "template_question":"Введите Ваш вопрос здесь ...", + "template_answer":"Введите ответ здесь ...", + "add_answer":"Добавить ответ", + "select_text":"Выберите правильный ответ", + "options_desc":"Вы можете выбрать любой из трех вариантов отображения. Смотрите их краткое описание.", + "radio_desc":"Эта опция позволяет выбрать только один вариант ответа. Ответы будут показаны как радио-кнопки.", + "checkbox_desc":"Эта опция позволяет выбрать несколько вариантов ответов. Ответы будут показаны как чекбоксы.", + "select_desc":"Эта опция позволяет выбрать только один вариант ответа. Ответы будут показаны в виде выпадающего меню.", + "a":"О" + }, + "fr":{ + "edit": "Modifier", + "display":"Afficher", + "question":"La question", + "example_question":"Ceci est un exemple de la question", + "answer":"Ceci est un exemple de la réponse", + "q":"Q", + "add_new_question":"Ajouter nouvelle question ...", + "options":"Les options", + "close":"Fermer", + "delete_question":"Supprimer la question", + "delete_answer":"Supprimer réponse", + "right_answer":"Bonne réponse", + "template_question":"Saisissez votre question ici ...", + "template_answer":"Entrez la réponse ici ...", + "add_answer":"Ajouter une réponse", + "select_text":"Choisissez la bonne réponse", + "options_desc":"Vous pouvez choisir n'importe lequel de ces trois options d'affichage de vos réponses. Voir un court leur description.", + "radio_desc":"Cette option permet de choisir une seule réponse et les réponses sont affichées sous forme de boutons radio.", + "checkbox_desc":"Cette option permet de choisir plusieurs réponses et les réponses sont affichées comme des cases à cocher.", + "select_desc":"Cette option permet de choisir une seule réponse et les réponses sont affichées sous forme de menu déroulant.", + "a":"R" + } +}; + diff --git a/resources/library/interactive/Choisir.wgt/scripts/selQuestionApp.js b/resources/library/interactive/Choisir.wgt/scripts/selQuestionApp.js index ab60ae26..32b72c99 100644 --- a/resources/library/interactive/Choisir.wgt/scripts/selQuestionApp.js +++ b/resources/library/interactive/Choisir.wgt/scripts/selQuestionApp.js @@ -15,6 +15,7 @@ var questionArray; var currentQstId = ""; +var lang = ""; //locale language function init(){ @@ -24,7 +25,17 @@ function init(){ var mode = false; questionArray = new Array(); var popupFlag = false - var flagForSelect = false; + var flagForSelect = false; + + if(window.sankore){ + try{ + lang = sankore.locale().substr(0,2); + sankoreLang[lang].edit; + } catch(e){ + lang = "en"; + } + } else + lang = "en"; // toggle button var buttonDiv = $("<div id='buttonDiv' class='buttonDiv'>").appendTo("body"); @@ -40,8 +51,8 @@ function init(){ // adding question block var addQstDiv = $("<div id='addQstDiv' class='addQstDiv'>").appendTo("body"); var addQstButton = $("<button id='addQstButton' class='addQstButton'>").appendTo("#addQstDiv"); - var addQsqSpan1 = $("<span id='addQsqSpan1'>Q1</span>").appendTo("#addQstButton"); - var addQsqSpan2 = $("<span id='addQsqSpan2'>Add new question ... </span>").appendTo("#addQstButton"); + var addQsqSpan1 = $("<span id='addQsqSpan1'>" + sankoreLang[lang].q + "1</span>").appendTo("#addQstButton"); + var addQsqSpan2 = $("<span id='addQsqSpan2'>" + sankoreLang[lang].add_new_question + "</span>").appendTo("#addQstButton"); //import saved data if(window.sankore){ @@ -68,7 +79,7 @@ function init(){ obj.id = id; questionArray.push(obj); - addQstBlock(id, "Enter your question here ...", "",""); + addQstBlock(id, sankoreLang[lang].template_question, "",""); if(window.sankore) sankore.setPreference("qstArrayData", JSON.stringify(questionArray)); @@ -98,13 +109,13 @@ function init(){ if(!toggleFlag && !endFlag){ endFlag = true; toggleButton.animate({ - width:"72px" + width:"115px" },"fast",function(){ toggleFlag = true; if(!mode) - toggleButton.text("Display"); + toggleButton.text(sankoreLang[lang].display); else - toggleButton.text("Edit"); + toggleButton.text(sankoreLang[lang].edit); }); } }); @@ -140,14 +151,13 @@ function init(){ obj.id = id; getNeededElement(questionArray, currentQstId).answers.push(obj); - addAnsBlock(id, currentQstId, "Enter the answer here ..."); + addAnsBlock(id, currentQstId, sankoreLang[lang].template_answer); }); //set answer text $(".ansContent").live('keyup', function(event){ var id = $(event.target).attr("id").replace("ansContent",""); getNeededElement(getNeededElement(questionArray, currentQstId).answers,id).text = $(event.target).text(); - //questionArray[currentQstId].answers[id].text = $(event.target).text(); }); //set question text @@ -244,9 +254,7 @@ function init(){ $("#" + currentQstId + "ansDiv input").removeAttr("checked"); $(event.target).attr("checked", "checked"); getNeededElement(questionArray, currentQstId).rightAns = $(event.target).attr("value"); - //alert(getNeededElement(questionArray, currentQstId).rightAns); } else { - //alert(event.target.checked) (event.target.checked) ? $(event.target).attr("checked", "checked") : $(event.target).removeAttr("checked", "checked"); getNeededElement(questionArray, currentQstId).rightAns = ""; for(var i in $("#" + currentQstId + "ansDiv input")){ @@ -272,11 +280,11 @@ function init(){ //popup messages $(".qstDelete").live('mouseover', function(evt){ popupFlag = true; - popupText.text("Delete question") + popupText.text(sankoreLang[lang].delete_question) .css("top", evt.pageY + 15) .css("left", evt.pageX - 40) .css({ - width:"120px" + width:"130px" }) .show("fast", function(){ if(!popupFlag) @@ -286,11 +294,11 @@ function init(){ $(".ansDelete").live('mouseover', function(evt){ popupFlag = true; - popupText.text("Delete answer") + popupText.text(sankoreLang[lang].delete_answer) .css("top", evt.pageY + 15) .css("left", evt.pageX - 40) .css({ - width:"110px" + width:"130px" }) .show("fast", function(){ if(!popupFlag) @@ -301,11 +309,11 @@ function init(){ $(".newAnswer input").live('mouseover', function(evt){ if(!mode){ popupFlag = true; - popupText.text("Right answer") + popupText.text(sankoreLang[lang].right_answer) .css("top", evt.pageY + 15) .css("left", evt.pageX - 40) .css({ - width:"105px" + width:"130px" }) .show("fast", function(){ if(!popupFlag) @@ -371,7 +379,7 @@ function init(){ var qstDiv = $("<div class='qstDivDisplay' id='" + array[i].id + "qstDivDisplay'>"); var spanOptConn = $("<div class='spanOptConn'>").appendTo(qstDiv); - var qstNumber = $("<span class='qstNumber'>Question " + counter + "</span>").appendTo(spanOptConn); + var qstNumber = $("<span class='qstNumber'>" + sankoreLang[lang].question + " " + counter + "</span>").appendTo(spanOptConn); var qstContent = $("<div class='qstContentDisplay'>" + array[i].text + "</div>").appendTo(qstDiv); var ansDiv = $("<div class='ansDiv' id='" + array[i].id + "ansDiv'>").appendTo(qstDiv); @@ -383,7 +391,7 @@ function init(){ newAnswer.appendTo(ansDiv); var selectSpan = $("<span id='answerText'>").appendTo(newAnswer); selInput.appendTo(selectSpan); - $("<option value='0'>Choise the right answer</option>").appendTo(selInput); + $("<option value='0'>" + sankoreLang[lang].select_text + "</option>").appendTo(selInput); } for(var j in array[i].answers){ switch(type){ @@ -414,8 +422,8 @@ function init(){ counter = 1; qstDiv = $("<div class='qstDivDisplay'>"); spanOptConn = $("<div class='spanOptConn'>").appendTo(qstDiv); - qstNumber = $("<span class='qstNumber'>Question " + counter + "</span>").appendTo(spanOptConn); - qstContent = $("<div class='qstContentDisplay'>This is an example of the question.</div>").appendTo(qstDiv); + qstNumber = $("<span class='qstNumber'>" + sankoreLang[lang].question + " " + counter + "</span>").appendTo(spanOptConn); + qstContent = $("<div class='qstContentDisplay'>" + sankoreLang[lang].example_question + "</div>").appendTo(qstDiv); ansDiv = $("<div class='ansDiv'>").appendTo(qstDiv); ansCount = 1; @@ -423,7 +431,7 @@ function init(){ newAnswer = $("<div class='newAnswer'>"); ansInput = $("<input type='radio' name='1' style='float: left; margin-right: 10px;'/>").appendTo(newAnswer); ansSpan = $("<span class='ansSpanDisplay'>" + ansCount + ".</span>").appendTo(newAnswer); - ansContent = $("<div class='ansContentDisplay'>This is an example of the answer " + ansCount + ".</div>").appendTo(newAnswer); + ansContent = $("<div class='ansContentDisplay'>" + sankoreLang[lang].answer + " " + ansCount + ".</div>").appendTo(newAnswer); newAnswer.appendTo(ansDiv); ansCount++; } @@ -438,32 +446,32 @@ function addQstBlock(id, text, type, style){ var spanOptConn = $("<div class='spanOptConn'>").appendTo(qstDiv); var count = $(".qstNumber").size(); - var qstNumber = $("<span class='qstNumber'>Q" + (count + 1) + "</span>").appendTo(spanOptConn); + var qstNumber = $("<span class='qstNumber'>" + sankoreLang[lang].q + (count + 1) + "</span>").appendTo(spanOptConn); var qstOptions = $("<div class='qstOptions' id='" + id + "qstOptions'>").appendTo(spanOptConn); - var changeOptions = $("<button class='changeOptions'>Options</button>").appendTo(qstOptions); - var applyChanges = $("<button class='applyChanges' style='display: none;'>Close</button>").appendTo(qstOptions); + var changeOptions = $("<button class='changeOptions'>" + sankoreLang[lang].options + "</button>").appendTo(qstOptions); + var applyChanges = $("<button class='applyChanges' style='display: none;'>" + sankoreLang[lang].close + "</button>").appendTo(qstOptions); var qstDelete = $("<button class='qstDelete'>").appendTo(qstOptions); var qstOptChoice = $("<div class='qstOptChoice' id='" + id + "qstOptChoice' style='display: none;'>").appendTo(qstDiv); var optDesc = $("<div style='height: 65px;'>").appendTo(qstOptChoice); var optDescImg = $("<div class='optDescImg'>").appendTo(optDesc); - var optDescText = $("<div class='optDescText'>You can choose any of these three options of displaying your answers. See a short their description.</div>").appendTo(optDesc); + var optDescText = $("<div class='optDescText'>" + sankoreLang[lang].options_desc + "</div>").appendTo(optDesc); var type1 = $("<div class='type'>").appendTo(qstOptChoice); var contentType1 = $("<div class='contentType'>").appendTo(type1); var divType1 = $("<div class='divType1'>").appendTo(contentType1); - var textType1 = $("<div class='textType'>This option allow to choose one answer only and the answers are displayed as radio buttons.</div>").appendTo(contentType1); + var textType1 = $("<div class='textType'>" + sankoreLang[lang].radio_desc + "</div>").appendTo(contentType1); var type2 = $("<div class='type'>").appendTo(qstOptChoice); var contentType2 = $("<div class='contentType'>").appendTo(type2); var divType2 = $("<div class='divType2'>").appendTo(contentType2); - var textType2 = $("<div class='textType'>This option allow to choose several answers and the answers are displayed as checkboxes.</div>").appendTo(contentType2); + var textType2 = $("<div class='textType'>" + sankoreLang[lang].checkbox_desc + "</div>").appendTo(contentType2); var type3 = $("<div class='type'>").appendTo(qstOptChoice); var contentType3 = $("<div class='contentType'>").appendTo(type3); var divType3 = $("<div class='divType3'>").appendTo(contentType3); - var textType3 = $("<div class='textType'>This option allow to choose one answer only and the answers are displayed as pull-down menu.</div>").appendTo(contentType3); + var textType3 = $("<div class='textType'>" + sankoreLang[lang].select_desc + "</div>").appendTo(contentType3); switch(type){ case "1": @@ -491,9 +499,9 @@ function addQstBlock(id, text, type, style){ var qstContent = $("<div class='qstContent' id='" + id + "qstContent' contenteditable='true'>" + text + "</div>").appendTo(qstDiv); var ansDiv = $("<div class='ansDiv' id='" + id + "ansDiv'>").appendTo(qstDiv); - var ansAdd = $("<button class='ansAdd'>Add answer</button>").appendTo(ansDiv); + var ansAdd = $("<button class='ansAdd'>" + sankoreLang[lang].add_answer + "</button>").appendTo(ansDiv); qstDiv.insertBefore("#addQstDiv"); - $("#addQsqSpan1").text("Q" + (count + 2)); + $("#addQsqSpan1").text(sankoreLang[lang].q + (count + 2)); } //add answers @@ -519,7 +527,7 @@ function addAnsBlock(id, currId, text, stage, rightAns, type){ } var count = $("#" + currId + " .newAnswer").size() + 1; var input = $("<input type='checkbox' style='float: left;' value='" + value + "' " + check + ">").appendTo(newAnswer); - var ansSpan = $("<span class='ansSpan'>A" + count + "</span>").appendTo(newAnswer); + var ansSpan = $("<span class='ansSpan'>" + sankoreLang[lang].a + count + "</span>").appendTo(newAnswer); var ansContent = $("<div class='ansContent' id='" + id +"ansContent' contenteditable='true'>" + text + "</div>").appendTo(newAnswer); var ansDelete = $("<button class='ansDelete' id='" + id + "ansDelete'>").appendTo(newAnswer); newAnswer.insertBefore("#" + currId + "ansDiv .ansAdd"); @@ -549,15 +557,15 @@ function checkArrayOnFill(array){ function refreshAns(){ var count = $("#" + currentQstId + " .newAnswer").size(); for(var i = 0; i < count; i ++) - $($("#" + currentQstId + " .newAnswer span")[i]).text("A" + (i+1)); + $($("#" + currentQstId + " .newAnswer span")[i]).text(sankoreLang[lang].a + (i+1)); } //refresh questions numbers function refreshQst(){ var count = $(".qstNumber").size(); for(var i = 0; i < count; i ++) - $($(".qstNumber")[i]).text("Q" + (i+1)); - $("#addQsqSpan1").text("Q" + ++count); + $($(".qstNumber")[i]).text(sankoreLang[lang].q + (i+1)); + $("#addQsqSpan1").text(sankoreLang[lang].q + ++count); } //question constructor diff --git a/resources/library/interactive/GeoInfo.wgt/GeoInfo.html b/resources/library/interactive/GeoInfo.wgt/GeoInfo.html index 4934b2de..77032cb1 100644 --- a/resources/library/interactive/GeoInfo.wgt/GeoInfo.html +++ b/resources/library/interactive/GeoInfo.wgt/GeoInfo.html @@ -14,2066 +14,2071 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. --> <html> - <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> - <title>GeoInfo</title> - - <link rel="stylesheet" type="text/css" href="css/GeoInfo.css"/> - - <!-- Scripts utilisés par le Widget GeoInfo--> - <script type="text/javascript" src="js/soapclient.js"></script> - <script type="text/javascript" src="js/tinyxmldom.js"></script> - <script type="text/javascript" src="js/GeoInfo.js"></script> - </head> - - <body onLoad="recevoirPays('')" onClick="coords = coords + (event.clientX-13) + ',' + (event.clientY-13) + ','"> - - <!-- Div contenant le point d'interrogation pour les satistiques--> - <div class="question"> - <img src="images/question.jpg" onclick='recevoirStats()'/> - </div> - - <!-- Div principale pour les pays du monde--> - <div id="carteMonde1" class="carteMonde1"> - <img src="images/Cartes/Carte_Monde_1.png" id="monde" class="monde" usemap="#monde1"/> - - <!-- Zones délimitant chaque continent--> - <map name="monde1"> - <area class="curseur" alt="North America" shape="poly" coords="10,57,45,32,103,31,120,20,142,25,172,10,210,8,283,9,270,24,262,37,197,74,198,83,134,119,168,149,171,169,159,166,139,160,124,167,114,173,65,146,46,106,49,89,57,68,47,56,22,65,9,64" - onMouseOver="writeText('North America'); document.getElementById('monde').src='images/Cartes/Carte_Monde_AmeriqueNord.bmp'" - onMouseOut="effaceTexte(); document.getElementById('monde').src='images/Cartes/Carte_Monde_1.png'" - onClick="document.getElementById('carteAmeriqueNord').innerHTML = imageAmeriqueNord; apparition('carteAmeriqueNord')" - /> - <area class="curseur" alt="Eurasia" shape="poly" coords="279,104,309,101,357,114,384,152,415,141,434,142,453,177,466,175,476,144,505,207,554,211,562,184,542,134,545,118,573,108,560,71,583,73,580,59,604,40,460,20,416,12,401,23,377,17,366,30,339,25,335,13,307,14,313,33,296,48,300,65,284,54,269,38,257,46,275,68,284,83,272,90,272,102,279,102,294,100" - onMouseOver="writeText('Eurasia'); document.getElementById('monde').src='images/Cartes/Carte_Monde_Eurasie.bmp'" - onMouseOut="effaceTexte(); document.getElementById('monde').src='images/Cartes/Carte_Monde_1.png'" - onClick="document.getElementById('carteEurasie').innerHTML = imageEurasie; apparition('carteEurasie')" - /> - <area class="curseur" alt="South America" shape="poly" coords="139,160,159,167,220,201,206,241,171,291,188,305,174,318,148,299,141,234,113,198,124,177,124,168,139,158" - onMouseOver="writeText('South America'); document.getElementById('monde').src='images/Cartes/Carte_Monde_AmeriqueSud.bmp'" - onMouseOut="effaceTexte(); document.getElementById('monde').src='images/Cartes/Carte_Monde_1.png'" - onClick="document.getElementById('carteAmeriqueSud').innerHTML = imageAmeriqueSud; apparition('carteAmeriqueSud')" - /> - <area class="curseur" alt="Africa" shape="poly" coords="279,107,356,119,395,165,390,237,334,267,301,179,257,174,265,135" - onMouseOver="writeText('Africa'); document.getElementById('monde').src='images/Cartes/Carte_Monde_Afrique.bmp'" - onMouseOut="effaceTexte(); document.getElementById('monde').src='images/Cartes/Carte_Monde_1.png'" - onClick="document.getElementById('carteAfrique').innerHTML = imageAfrique; apparition('carteAfrique')" - /> - <area class="curseur" alt="Oceania" shape="poly" coords="566,191,563,215,522,238,519,271,553,264,570,290,607,298,644,278,643,225,610,194,567,189,565,194,566,213,547,223" - onMouseOver="writeText('Oceania'); document.getElementById('monde').src='images/Cartes/Carte_Monde_Oceanie.bmp'" - onMouseOut="effaceTexte(); document.getElementById('monde').src='images/Cartes/Carte_Monde_1.png'" - onClick="document.getElementById('carteOceanie').innerHTML = imageOceanie; apparition('carteOceanie')"/> - </map> - - <!-- Zone délimitant l'Europe--> - <map name="europe"> - <area class="curseur" alt="Asie" title="Asie" shape="poly" coords="402,68,393,77,398,84,397,90,401,96,401,102,410,114,397,131,404,132,404,135,396,138,402,159,415,161,420,166,426,179,424,185,432,183,438,185,443,192,473,202,480,210,465,239,479,248,487,245,496,249,501,247,512,253,515,253,532,262,536,259,538,259,543,264,548,276,543,285,534,279,527,283,515,285,520,296,504,296,486,301,480,298,463,306,459,327,649,327,649,1,605,59,586,50,560,30,522,34,480,85,475,79,467,79,469,89,460,89,436,77,421,72,411,74,406,70" - onMouseOver="document.getElementById('carteEurope').innerHTML = imageAsie2" - onMouseOut="document.getElementById('carteEurope').innerHTML = imageEurope" - onClick="document.getElementById('carteEurope').style.display = 'none';document.getElementById('carteEurasie').innerHTML = imageEurasie"/> - <area class="curseur" alt="AL" title="Albanie" shape="poly" coords="358,262,359,258,361,261,365,269,361,275,359,272,359,263" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt) "/> - <area class="curseur" alt="DE" title="Allemagne" shape="poly" coords="299,170,305,176,317,171,322,175,326,192,311,198,310,202,318,210,311,216,306,216,302,218,300,217,298,219,295,215,289,210,280,203,280,192,284,179,290,178,295,172" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="AD" title="Andorre" shape="poly" coords="243,252,245,253,245,257,242,255" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="AM" title="Armenie" shape="poly" coords="511,265,516,268,527,278,522,280,508,270,508,267" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="AT" title="Autriche" shape="poly" coords="328,210,334,210,335,212,339,213,339,217,335,222,319,226,314,225,311,222,304,225,302,223,309,219,315,219,320,214,322,212,328,212" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="AZ" title="Azerbaidjan" shape="poly" coords="527,263,532,266,538,263,544,276,542,281,535,276,529,278,521,270,519,267,521,267,524,265" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="BE" title="Belgique" shape="poly" coords="263,192,269,192,274,194,275,198,271,202,262,199,259,194,262,192" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="BY" title="Belarus" shape="poly" coords="400,161,415,165,423,177,419,185,410,192,392,187,385,185,381,191,378,185,380,182,378,178,388,176,397,163" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="BA" title="Bosnie" shape="poly" coords="340,237,348,239,352,239,356,244,350,252,343,251,345,247,338,240,339,238" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="BG" title="Bulgarie" shape="poly" coords="376,246,395,248,402,243,410,248,408,257,393,261,380,261,376,256,379,252,378,248" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="CY" title="Chypre" shape="poly" coords="454,305,452,310,445,313,443,309,448,308,450,306" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="HR" title="Croatie" shape="poly" coords="337,228,344,232,352,233,353,235,350,236,341,233,334,239,341,248,340,250,330,241,320,239,335,230" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="DK" title="Danemark" shape="poly" coords="300,151,298,161,310,158,313,160,309,166,306,165,302,166,293,170,291,164,290,160,293,155,296,152" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="ES" title="Espagne" shape="poly" coords="189,248,228,249,244,258,254,255,257,259,249,264,241,269,258,276,254,281,242,268,234,284,221,295,203,300,190,294,196,283,193,276,201,259,184,255,186,250" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="EE" title="Estonie" shape="poly" coords="372,140,376,138,387,137,395,138,394,146,389,147,378,144,374,142" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="FI" title="Finlande" shape="poly" coords="383,69,392,73,389,81,395,83,392,88,398,96,398,107,406,114,395,127,374,131,362,127,360,118,375,98,369,93,364,79,373,78,379,72" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="FR" title="France" shape="poly" coords="257,196,261,202,274,209,278,209,285,211,274,226,280,234,277,236,281,244,296,254,296,261,292,258,281,246,277,250,264,248,253,253,230,247,229,222,215,213,217,211,227,213,235,207,252,196" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="GE" title="Georgie" shape="poly" coords="481,248,486,248,497,252,502,252,521,261,516,264,511,261,506,263,494,258,493,254,486,250" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="EL" title="Grece" shape="poly" coords="362,278,370,270,381,265,389,263,399,264,396,268,390,267,382,274,380,271,375,276,383,290,381,296,385,307,397,307,404,310,393,312,383,306,380,298,371,289,374,287,376,284,375,281,365,281" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="HU" title="Hongrie" shape="poly" coords="343,219,352,219,361,215,371,216,365,226,349,229,338,225,341,221" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="IE" title="Irlande" shape="poly" coords="198,168,197,172,206,177,207,183,197,187,188,192,186,187,190,178,187,174,193,172,195,168" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="IS" title="Islande" shape="poly" coords="131,106,133,100,149,94,153,97,168,93,176,96,165,106,146,110,135,104" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="IT" title="Italie" shape="poly" coords="285,244,285,231,294,231,308,226,311,229,317,229,319,232,310,237,306,241,304,245,308,246,311,244,352,272,348,273,343,272,339,272,341,279,330,296,316,291,324,287,328,288,335,283,337,279,333,274,318,263,319,258,315,255,313,259,296,278,291,281,291,270,293,265,298,269,308,256,296,241,290,242" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="LV" title="Lettonie" shape="poly" coords="381,147,395,151,397,157,393,163,380,155,374,158,362,157,363,150,369,151,374,154,378,149" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="LI" title="Liechtenstein" shape="poly" coords="298,222,300,220,302,222,300,223" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="LT" title="Lituanie" shape="poly" coords="379,158,392,163,376,176,370,170,372,167,365,163,365,158,374,160" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="LU" title="Luxembourg" shape="poly" coords="275,202,277,203,276,205,274,205,274,203" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="MK" title="Macedoine" shape="poly" coords="369,259,371,259,377,261,367,268,364,262,365,259" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="MT" title="Malte" shape="poly" coords="324,302,328,302,328,307,324,307" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="MD" title="Moldavie" shape="poly" coords="402,216,406,216,413,220,415,226,410,233,408,227,407,222,404,219" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="MC" title="Monaco" shape="poly" coords="283,245,280,248,283,248,284,246" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="ME" title="Montenegro" shape="poly" coords="358,246,361,250,361,254,354,259,352,254,356,250" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="NO" title="Norvege" shape="poly" coords="304,139,301,137,287,145,278,140,278,130,274,123,300,107,326,83,330,77,342,72,330,38,304,17,374,14,371,21,347,18,350,25,365,31,359,32,355,31,350,31,346,25,332,36,346,72,369,63,380,66,374,74,350,73,333,83,332,86,320,92,315,103,309,109,311,124,307,133" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="NL" title="Pays-Bas" shape="poly" coords="265,189,274,179,278,179,280,175,282,178,272,192,269,190,267,190" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur"alt="PL" title="Pologne" shape="poly" coords="326,176,345,169,350,174,352,172,371,174,373,174,377,183,374,186,379,198,374,200,372,204,349,204,344,198,328,195,330,190,326,179" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="PT" title="Portugal" shape="poly" coords="187,259,196,263,190,276,192,281,188,292,181,293,180,281,183,264" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="CZ" title="Republique tcheque" shape="poly" coords="327,197,337,200,344,202,346,204,342,209,334,207,328,206,322,209,314,203,313,200,322,198" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="RO" title="Roumanie" shape="poly" coords="376,220,391,220,398,218,404,225,408,235,414,239,411,245,404,241,395,244,384,244,374,238,364,229,370,228,372,222" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="UK" title="Royaume-Uni" shape="poly" coords="223,147,230,153,222,161,233,163,252,182,244,188,246,194,211,200,211,197,225,193,224,190,214,187,218,181,224,178,226,171,208,174,199,168,207,167,218,166,213,156,216,149" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="SM" title="Saint-Marin" shape="poly" coords="309,240,305,243,307,246,312,242,311,240" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="RS" title="Serbie" shape="poly" coords="355,232,359,231,374,242,373,244,374,250,373,254,363,257,365,249,359,244,356,234" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="SK" title="Slovaquie" shape="poly" coords="343,212,350,208,358,205,358,208,369,208,372,211,368,211,361,211,351,216,345,215" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="SI" title="Slovenie" shape="poly" coords="322,229,333,226,335,226,322,237,322,231" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="SE" title="Suede" shape="poly" coords="306,142,316,125,311,112,313,108,317,108,324,94,332,92,336,87,337,85,352,77,364,82,363,90,365,93,351,108,340,112,336,122,346,132,354,130,356,134,346,134,345,138,336,144,331,157,320,163,313,156,309,146" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="CH" title="Suisse" shape="poly" coords="278,226,283,220,294,220,298,224,298,225,294,228,287,229,280,231,280,228" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="TR" title="Turquie" shape="poly" coords="408,261,415,265,417,267,430,267,439,260,450,260,476,270,491,267,493,263,504,267,510,275,514,291,511,292,506,290,485,296,474,293,466,301,463,295,443,302,437,297,428,297,423,300,409,292,406,282,400,276,401,268,402,262" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="UA" title="Ukraine" shape="poly" coords="382,193,385,189,412,194,432,186,440,194,469,204,475,211,468,218,447,228,456,235,444,239,437,234,441,231,430,224,417,235,413,235,419,226,414,215,401,213,374,215,374,206,384,197" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="VA" title="Vatican" shape="poly" coords="313,260,316,258,318,260,317,261" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - </map> - - <!-- Zone délimitant l'Afrique--> - <map name="afrique"> - <area class="curseur" alt="MA" title="Maroc" shape="poly" coords="244,29,255,32,256,41,233,52,230,58,218,58,228,48,229,41,239,34" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="DZ" title="Algerie" shape="poly" coords="261,34,275,28,289,29,286,39,293,48,291,66,298,75,278,89,236,59,259,45,262,38" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="TN" title="Tunisie" shape="poly" coords="292,27,293,30,290,37,295,46,297,41,300,39,297,37,297,27" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="LY" title="Libye" shape="poly" coords="301,39,297,43,296,47,295,50,296,62,294,63,296,68,302,71,302,73,315,74,321,75,341,87,342,85,344,85,344,44,332,40,330,42,330,46,326,50,314,46,311,41,306,40" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="EG" title="Egypte" shape="poly" coords="348,45,347,79,377,79,382,76,381,71,370,55,371,49,370,47,361,48,351,46" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="MR" title="Mauritanie" shape="poly" coords="202,84,215,84,216,78,220,76,220,66,232,66,232,63,240,68,237,68,237,103,218,104,217,107,212,101,205,98,206,94,205,92,206,88" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="ML" title="Mali" shape="poly" coords="240,70,242,70,269,92,273,92,273,102,271,103,259,105,247,110,237,123,231,122,227,116,221,117,217,109,219,107,240,106,240,74" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="NE" title="Niger" shape="poly" coords="275,92,280,92,302,76,310,79,314,87,312,90,313,95,306,107,305,111,302,114,297,112,292,114,279,108,270,117,262,111,262,108,273,107,275,102,275,96" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="TD" title="Tchad" shape="poly" coords="314,78,320,79,342,93,342,102,337,107,337,120,316,135,313,129,316,124,309,111,317,96,317,87,315,82" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="SD" title="Soudan" shape="poly" coords="348,83,377,83,383,79,391,95,387,109,377,129,373,135,381,143,373,147,362,145,359,146,357,141,341,118,340,111,345,107,346,91,349,88" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="ER" title="Erythree" shape="poly" coords="395,99,391,101,391,105,390,107,399,108,403,110,409,117,411,116,398,105,397,100,395,98" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="DJ" title="Djibouti" shape="poly" coords="410,119,408,121,410,122,411,121,411,119" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="ET" title="Ethiopie" shape="poly" coords="391,111,383,125,383,131,379,135,384,138,388,144,396,149,406,148,417,144,424,136,412,132,409,125,404,121,404,119,406,117,400,112,395,112" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="SO" title="Somalie" shape="poly" coords="413,125,421,127,431,124,438,122,427,148,423,153,407,168,406,161,409,152,413,149,421,148,430,135,426,131,417,130" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="KE" title="Kenya" shape="poly" coords="382,150,386,149,396,155,404,151,405,153,402,161,404,171,397,181,395,174,382,167,386,159,383,151,383,150" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="UG" title="Ouganda" shape="poly" coords="371,153,376,153,378,151,382,157,378,166,368,168,367,164,371,157,371,154" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="CD" title="Republique democratique du Congo" shape="poly" coords="330,148,337,151,349,147,352,149,354,146,358,151,363,149,367,155,363,164,364,168,359,172,360,179,363,183,362,188,365,194,360,196,358,207,364,214,362,215,357,209,343,205,340,207,337,192,330,189,326,194,324,194,320,187,305,187,307,185,312,185,326,166,325,160,328,150,328,148" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="CF" title="Republique centrafricaine" shape="poly" coords="315,138,324,137,339,125,341,126,342,133,354,142,352,144,349,144,337,148,330,144,325,147,325,150,317,151,312,144,313,139" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="CM" title="Cameroun" shape="poly" coords="311,120,313,124,309,128,312,136,309,143,315,155,313,156,309,155,296,155,296,151,292,147,293,143,296,139,299,140,306,136,306,128,310,122" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="NG" title="Nigeria" shape="poly" coords="279,112,293,118,298,114,302,116,307,114,309,120,304,128,304,133,298,137,296,135,289,145,281,147,281,142,270,138,270,131,276,122,273,119,276,114" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="BJ" title="Benin" shape="poly" coords="269,120,272,123,270,129,269,139,267,139,266,137,266,128,263,124,268,120,268,119" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="TG" title="Togo" shape="poly" coords="260,125,261,124,264,129,264,137,265,140,264,140,262,137,262,128,261,125" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="GH" title="Ghana" shape="poly" coords="250,125,258,125,260,130,259,138,262,141,252,144,249,138,252,128,252,126" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="CI" title="Cote d'Ivoire" shape="poly" coords="233,125,236,127,239,125,244,130,246,128,248,129,247,136,246,139,248,143,234,147,235,142,231,140,233,132,232,126,232,125" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="BF" title="Burkina Faso" shape="poly" coords="241,123,247,114,256,112,257,109,259,109,259,112,267,117,263,122,261,120,258,122,249,122,248,126,244,126,241,124" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="LR" title="Liberia" shape="poly" coords="224,134,226,138,229,137,229,140,231,143,231,146,229,147,220,140,223,135,224,134" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="SL" title="Sierra Leone" shape="poly" coords="218,127,221,131,218,136,215,131,216,129" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="GN" title="Guinee" shape="poly" coords="213,118,216,120,218,118,221,120,227,119,229,124,231,131,228,135,226,131,222,127,219,125,214,127,209,122,211,120,213,119" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="GW" title="Guinee-Bissau" shape="poly" coords="211,117,211,118,207,121,204,118,209,117" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="SN" title="Senegal" shape="poly" coords="204,103,211,103,218,114,218,117,212,116,210,115,203,117,202,114,212,114,212,111,203,111,202,107,203,103" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="GM" title="Gambie" shape="poly" coords="203,114,211,114,208,112,203,112,202,113" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="RW" title="Rwanda" shape="poly" coords="365,171,369,171,366,174,363,175,363,174,363,172" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="BI" title="Burundi" shape="poly" coords="365,176,367,176,367,179,364,181,363,179,363,177" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="CG" title="Congo" shape="poly" coords="272,144,319,153,324,153,322,161,323,164,312,182,309,183,307,182,302,184,302,176,305,174,309,176,313,170,309,166,311,163,306,158,315,159,317,157,319,155" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="GA" title="Gabon" shape="poly" coords="301,159,305,158,309,163,307,164,309,169,309,172,306,172,302,173,300,177,292,170,294,163,301,162,301,160" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="GQ" title="Guinee Equatoriale" shape="poly" coords="295,158,298,158,298,159,295,160,295,159" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="TZ" title="Tanzanie" shape="poly" coords="371,170,378,170,391,176,397,185,397,195,400,205,389,209,383,209,382,201,376,201,371,196,365,189,365,182,369,181,369,174,371,172" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="MW" title="Malawi" shape="poly" coords="376,205,377,203,379,203,382,209,380,213,380,216,384,219,385,224,383,227,380,226,381,222,375,218,378,213,378,209,377,206" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="ZM" title="Zambie" shape="poly" coords="362,200,366,198,371,198,375,203,375,216,363,224,361,224,355,231,348,232,346,231,341,231,338,226,338,216,345,216,345,210,348,209,354,212,356,211,357,214,362,217,367,213,362,211,361,205,363,203,363,201" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="AO" title="Angola" shape="poly" coords="304,190,317,189,322,198,328,198,330,193,335,194,337,206,339,209,342,208,344,208,342,211,342,214,337,215,336,226,340,231,330,232,322,230,315,231,302,230,302,226,311,209,307,200,309,196,306,193" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="MZ" title="Mozambique" shape="poly" coords="383,210,386,211,390,212,402,208,401,215,402,220,397,229,379,244,384,252,381,258,374,261,372,267,371,264,370,252,375,246,377,235,375,229,366,226,374,220,380,222,380,228,382,229,387,226,386,219,382,215,382,213" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="ZW" title="Zimbabwe" shape="poly" coords="363,226,371,229,375,233,369,249,361,248,352,235,355,235,361,228,362,226" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="BW" title="Botswana" shape="poly" coords="333,237,337,236,344,237,348,235,356,248,359,249,359,252,357,252,346,263,340,260,337,267,333,266,332,261,330,261,330,254,334,245,334,240" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="NA" title="Namibie" shape="poly" coords="302,233,312,232,315,233,319,233,324,233,331,234,346,233,345,235,333,237,332,246,328,255,328,272,324,276,319,272,316,275,313,270,313,258,308,242,304,236" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="ZA" title="Afrique du Sud" shape="poly" coords="360,282,362,285,373,272,372,270,368,271,365,268,369,262,368,252,362,251,347,265,340,264,334,270,331,263,330,274,324,277,318,275,325,288,324,293,328,297,339,294,350,295,365,281,358,283,353,282,352,280,354,276,357,274,361,278,361,281,362,283" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="LS" title="Lesotho" shape="poly" coords="356,277,359,277,359,280,356,281,354,280,355,278" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="SZ" title="Swaziland" shape="poly" coords="369,266,367,266,367,268,369,269,371,268,370,267" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="MG" title="Madagascar" shape="poly" coords="433,214,436,222,423,259,416,262,411,260,411,255,410,251,415,244,415,231,417,228,423,228,427,222,429,220,432,215" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - </map> - - <!-- Zone délimitant l'Amérique du Sud--> - <map name="ameriqueSud"> - <area class="curseur" alt="AR" title="Argentine" shape="poly" coords="309,160,316,166,326,171,328,172,326,179,328,180,336,181,341,176,343,177,333,187,333,190,331,200,333,206,333,209,337,211,339,217,338,222,333,223,325,224,326,229,324,232,322,232,319,229,316,232,322,239,320,243,322,244,317,250,324,258,320,271,337,284,331,286,326,279,320,273,312,271,311,267,307,266,306,248,299,236,294,216,296,212,293,207,295,203,290,194,290,186,294,177,292,171,295,167,295,163,299,161,304,163,308,161" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="CL" title="Chili" shape="poly" coords="286,147,289,150,295,165,292,173,293,179,290,188,290,196,294,205,293,217,300,241,306,251,306,267,314,275,323,276,323,278,326,280,331,287,323,283,320,280,315,279,307,274,297,256,300,248,298,243,292,234,289,224,289,204,287,174,285,171,287,164,284,148" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="UY" title="Uruguay" shape="poly" coords="337,194,352,205,346,211,336,206,334,202,336,196" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="PY" title="Paraguay" shape="poly" coords="320,151,325,154,329,163,342,171,338,179,331,180,331,173,313,162,315,155,318,152" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="BO" title="Bolivie" shape="poly" coords="295,116,300,125,315,131,317,138,324,140,327,146,326,150,320,150,314,151,311,159,300,161,296,161,293,158,291,150,287,146,289,139,287,133,288,127,286,121,290,118" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="BR" title="Bresil" shape="poly" coords="313,59,315,60,313,66,317,72,333,69,342,70,346,62,348,70,350,72,342,83,345,84,353,77,356,78,350,85,355,86,362,80,370,85,369,88,371,90,374,86,389,88,400,98,403,98,404,111,392,127,387,162,382,167,378,165,362,176,364,183,354,202,337,190,346,177,345,172,330,161,328,152,330,147,326,138,319,136,316,128,302,123,296,113,284,118,280,112,275,112,269,105,272,97,278,94,281,94,285,83,282,78,285,75,283,72,289,70,294,75,302,72,303,68,302,62,306,64,311,60" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="PE" title="Perou" shape="poly" coords="264,81,267,85,277,87,277,91,270,94,267,106,274,116,278,116,280,120,284,121,285,135,287,139,283,147,276,141,265,136,250,103,244,100,242,94,249,96,252,91,259,86,262,83,263,80" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="EC" title="Equateur" shape="poly" coords="249,73,260,77,261,80,258,84,251,89,250,94,244,92,247,86,243,84,244,77,247,75" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="CO" title="Colombie" shape="poly" coords="271,34,272,34,270,39,272,49,287,54,289,56,288,59,289,63,287,68,282,70,281,72,281,73,280,77,282,83,281,91,280,91,280,88,278,85,272,85,265,79,250,71,256,59,254,49,263,38,267,35,271,34" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="VE" title="Venezuela" shape="poly" coords="283,32,288,35,288,36,300,38,304,38,315,44,311,52,313,56,306,61,300,60,299,64,302,68,295,73,291,66,290,54,288,51,274,47,271,40,274,34,274,40,277,44,280,38,278,36,281,34" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="GY" title="Guyana" shape="poly" coords="318,46,322,52,326,54,322,60,326,68,318,71,316,67,317,60,313,53,315,48" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="SR" title="Suriname" shape="poly" coords="328,55,332,56,335,55,335,60,336,62,335,66,328,67,327,62,324,60,327,57" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="GF" title="Guyane" shape="poly" coords="339,56,344,60,341,67,336,65,338,63,336,58,337,56" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - </map> - - <!-- Zone délimitant l'Amérique du Nord--> - <map name="ameriqueNord"> - <area class="curseur" alt="CA" title="Canada" shape="poly" coords="209,71,261,70,261,64,278,55,309,60,331,57,367,37,436,31,423,38,371,60,384,61,400,79,371,101,371,108,383,103,387,122,395,124,397,127,398,144,382,147,353,163,351,155,350,148,345,148,337,155,298,166,311,155,294,142,185,141,178,133,178,122,185,117,185,105,173,100,194,82,204,75" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="GL" title="Groenland" shape="poly" coords="413,46,428,44,447,36,465,39,497,34,503,36,513,34,532,37,544,38,542,40,532,39,521,57,507,61,515,66,513,69,505,64,502,71,510,72,500,73,489,74,475,84,462,85,448,101,439,101,431,94,434,86,431,85,436,77,443,72,434,52,412,51,412,48" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="US" title="Etats-Unis d'Amerique" shape="poly" coords="187,146,272,146,280,149,277,155,281,155,285,153,297,154,280,170,282,173,298,158,300,159,296,164,298,166,296,174,302,174,311,168,317,168,328,161,338,159,347,152,350,153,350,159,338,164,337,170,311,186,310,195,287,213,287,229,284,234,278,217,258,219,247,216,230,224,228,230,224,229,219,218,215,217,211,219,207,211,202,209,199,209,196,211,186,211,170,203,162,200,159,176,177,149,175,140,174,115,164,104,98,118,117,109,109,107,114,96,130,93,135,87,125,86,128,83,140,83,144,81,142,75,181,67,207,72,172,101,176,107,181,107,183,113,177,122,178,135,185,144" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="MX" title="Mexique" shape="poly" coords="169,208,191,213,198,213,203,213,208,223,214,219,219,221,227,233,221,248,227,258,237,259,258,250,255,257,243,264,243,268,239,268,238,271,232,268,222,269,197,255,197,248,180,213,176,211,174,214,182,239,178,240,169,213" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="CU" title="Cuba" shape="poly" coords="269,248,276,242,283,242,304,253,299,255,291,254,280,246,271,248" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="HT" title="Haiti" shape="poly" coords="308,257,312,257,312,262,310,262,309,260,308,258" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="DO" title="Republique dominicaine" shape="poly" coords="314,256,315,261,322,259,317,257" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="JM" title="Jamaique" shape="poly" coords="302,261,306,261,306,263,303,263" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="BS" title="Bahamas" shape="poly" coords="291,230,291,235,300,247,302,244,294,235,293,229" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="GT" title="Guatemala" shape="poly" coords="245,265,249,265,248,269,250,272,246,278,239,276,241,272,243,272,245,268,245,266" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="BZ" title="Belize" shape="poly" coords="256,260,251,270,250,269,251,263,253,261" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="SV" title="El Salvador" shape="poly" coords="248,277,254,280,250,281,247,279" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="HN" title="Honduras" shape="poly" coords="252,275,255,281,269,274,267,272,260,271,254,272" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="NI" title="Nicaragua" shape="poly" coords="268,276,267,290,255,282,263,278" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="CR" title="Costa-Rica" shape="poly" coords="260,290,268,294,268,299,264,294,260,294,260,292" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="PA" title="Panama" shape="poly" coords="270,298,282,297,278,302,272,300" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - </map> - - <!-- Zone délimitant l'Océanie--> - <map name="oceanie"> - <area class="curseur" alt="AU" title="Australie" shape="poly" coords="343,84,345,97,355,105,354,126,381,166,380,192,332,246,312,252,305,246,312,264,297,280,294,277,296,263,302,248,286,241,270,224,253,206,172,227,163,222,171,205,173,150,202,136,215,136,226,119,251,98,265,107,268,104,275,92,291,86,305,92,299,102,322,125,334,111,337,94,338,88" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="NZ" title="Nouvelle-Zelande" shape="poly" coords="466,226,468,241,480,247,450,266,401,297,391,296,389,292,442,262,465,247,465,228" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="PG" title="Papouasie-Nouvelle-Guinee" shape="poly" coords="339,32,369,49,371,52,389,50,398,43,390,32,397,32,404,41,416,57,412,59,402,43,390,55,373,55,370,62,392,80,374,77,362,63,352,62,345,70,339,70,338,40" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="ID" title="Indonesie" shape="poly" coords="284,23,294,18,305,36,320,25,335,32,335,68,329,62,322,64,320,61,328,57,320,48,292,37,292,32,296,29,287,25" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="SB" title="Iles Salomon" shape="poly" coords="420,56,441,67,445,81,434,77,420,65,418,61" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="VU" title="Vanuatu" shape="poly" coords="473,105,478,114,475,117,471,110" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="NC" title="Nouvelle-Caledonie" shape="poly" coords="450,130,464,149,461,152,447,135" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - </map> - - <!-- Zone délimitant l'Eurasie--> - <map name="eurasie"> - <area class="curseur" alt="Europe" title="Europe" shape="poly" coords="179,14,188,38,188,42,188,47,191,53,190,57,193,60,190,64,189,73,190,81,198,84,199,93,199,96,205,94,211,98,224,103,226,107,222,109,220,118,229,122,256,130,256,135,252,135,245,137,242,139,242,141,220,144,213,153,187,151,178,143,156,144,141,138,125,137,96,146,90,142,91,122,104,105,92,95,66,55,78,53,86,53,137,60,138,12" - onMouseOver="document.getElementById('carteEurasie').innerHTML = imageEurope2" - onMouseOut="document.getElementById('carteEurasie').innerHTML = imageEurasie" - onClick="document.getElementById('carteEurope').innerHTML = imageEurope; apparition('carteEurope')" - /> - <area class="curseur" alt="AF" title="Afghanistan" shape="poly" coords="322,140,324,144,331,142,332,144,326,145,323,150,324,151,320,160,311,167,300,167,301,163,296,158,296,150,304,148,307,143,315,145,320,142" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="BH" title="Bahrein" shape="poly" coords="267,182,269,182,268,184,267,184" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="BD" title="Bangladesh" shape="poly" coords="385,183,391,187,395,185,395,190,398,194,396,196,395,192,388,194,387,190,387,190,384,183" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="BT" title="Bhoutan" shape="poly" coords="385,176,390,175,391,177,387,178,385,177" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="BN" title="Brunei" shape="poly" coords="471,253,473,254,474,252,472,251" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="KH" title="Cambodge" shape="poly" coords="445,222,447,225,446,229,436,234,434,229,434,226,432,226,436,222,443,224" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="TL" title="Timor-oriental" shape="poly" coords="502,299,505,303,509,298,506,298" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="IN" title="Inde" shape="poly" coords="349,151,347,161,354,166,355,172,380,181,384,179,391,179,399,172,402,172,406,176,400,177,398,191,397,185,393,182,391,184,385,180,382,183,386,194,361,216,360,233,353,239,337,202,337,194,332,199,324,189,329,189,332,184,326,178,327,176,333,176,339,166,339,160,334,154,335,153,339,154,344,150,346,151" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="ID" title="Indonesie" shape="poly" coords="480,257,491,267,514,263,517,282,503,269,497,274,497,283,501,301,497,304,493,298,470,298,445,294,413,252,421,255,443,281,454,267,460,269,473,264,477,257" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="IR" title="Iran" shape="poly" coords="254,138,258,144,267,148,281,142,293,145,293,151,298,165,297,170,302,176,300,184,291,183,286,176,280,179,270,176,265,166,261,166,259,161,252,155,252,149,246,141,251,139" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="IQ" title="Iraq" shape="poly" coords="245,145,248,149,248,153,255,161,259,167,255,166,252,170,238,161,232,160,231,157,236,155,239,145,241,144" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="IL" title="Israel" shape="poly" coords="222,161,222,164,220,164,220,160" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="JP" title="Japon" shape="poly" coords="516,118,527,124,523,125,526,144,528,146,524,151,517,151,516,155,506,163,502,157,506,150,514,150,519,144,522,140,519,133,515,125,515,122,515,119" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="JO" title="Jordanie" shape="poly" coords="230,160,227,163,227,167,222,169,223,165,224,162,229,158" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="KW" title="Koweit" shape="poly" coords="255,168,258,168,259,171,257,171,255,170" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="KG" title="Kirghizistan" shape="poly" coords="328,125,332,126,336,125,338,125,342,127,334,131,325,136,322,133,326,131,323,128,319,128,320,125,326,127,327,125" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="LA" title="Laos" shape="poly" coords="428,195,429,198,432,200,432,203,436,207,440,210,444,216,446,218,441,220,441,216,438,213,438,211,434,207,426,209,426,203,424,201,424,199,426,198,426,196" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="LB" title="Liban" shape="poly" coords="222,153,222,157,220,157,221,153" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="MY" title="Malaisie" shape="poly" coords="433,251,436,254,436,259,458,262,462,262,467,259,469,255,473,257,476,253,476,250,480,248,484,252,483,255,477,254,470,264,467,263,459,266,455,265,436,263,430,259,428,254,426,249,430,251" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="MV" title="Maldives" shape="poly" coords="343,243,348,244,348,255,341,255" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="MN" title="Mongolie" shape="poly" coords="370,99,378,103,384,101,385,99,384,98,384,96,389,96,394,99,401,102,404,100,419,105,424,104,426,102,432,103,436,108,437,110,440,109,443,109,441,113,435,115,431,115,428,118,431,122,430,124,421,124,415,127,408,125,392,124,380,116,374,117,371,114,371,111,365,107,361,106,359,105,364,100,366,100" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="MM" title="Myanmar" shape="poly" coords="413,180,410,185,413,191,419,198,415,202,413,205,414,209,417,215,419,221,421,226,421,232,415,214,414,213,408,216,406,212,397,199,401,198,400,190,403,186,404,180,407,179,409,176,411,177" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="NP" title="Nepal" shape="poly" coords="358,168,361,168,364,171,370,173,372,174,375,174,380,176,380,178,378,179,360,172,357,170" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="KP" title="Coree du Nord" shape="poly" coords="476,135,479,131,482,131,485,126,487,126,486,129,488,132,484,136,487,139,484,140,479,140,481,137,478,136" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="KR" title="Coree du Sud" shape="poly" coords="489,140,491,144,495,144,497,148,491,151,488,146,486,143,485,142,487,141" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="OM" title="Oman" shape="poly" coords="286,188,288,190,289,189,293,192,296,194,290,200,291,203,285,210,279,211,276,207,283,203,287,196,283,192,285,190" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="PK" title="Pakistan" shape="poly" coords="332,145,335,145,341,150,337,150,334,150,332,153,333,159,336,162,332,170,326,173,324,179,328,185,327,186,324,186,322,187,313,181,304,183,304,181,306,178,300,170,304,171,313,170,320,163,321,164,325,155,328,153,326,150,326,147,329,146" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="QA" title="Qatar" shape="poly" coords="270,183,272,185,268,185" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="SA" title="Arabie Saoudite" shape="poly" coords="231,163,235,163,241,166,246,170,261,174,265,185,267,186,270,189,278,194,280,194,284,197,281,200,274,203,267,202,259,209,248,207,244,211,222,174,228,170,230,164" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="SG" title="Singapour" shape="poly" coords="434,263,437,264,437,265,435,265" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="LK" title="Sri Lanka" shape="poly" coords="365,240,369,246,364,248,363,242" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="SY" title="Syrie" shape="poly" coords="226,145,230,146,233,145,236,145,236,151,224,159,225,155,224,151,222,150,225,147" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="TJ" title="Tadjikistan" shape="poly" coords="319,137,322,137,325,138,328,137,330,140,327,142,324,139,322,139,315,142,316,140,313,137,316,132,317,133,316,136" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="TH" title="Thailande" shape="poly" coords="422,202,424,205,424,210,426,213,429,209,433,211,433,209,435,211,436,214,439,216,438,220,434,219,431,222,431,226,426,224,423,239,426,244,419,240,421,239,422,225,420,213,415,208,416,205,419,203" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="CN" title="Chine" shape="poly" coords="439,90,449,90,460,101,469,105,475,105,476,110,481,111,486,108,489,113,483,116,486,122,479,127,469,135,466,131,462,131,456,137,464,146,467,142,471,142,467,149,471,155,473,162,476,165,480,169,471,191,454,197,452,204,452,207,450,203,450,197,445,196,441,194,439,190,428,191,425,192,424,194,421,193,414,186,416,179,413,174,404,169,397,169,391,174,389,172,380,172,376,170,369,170,363,165,356,164,351,162,352,149,342,146,335,143,330,136,333,135,335,135,348,127,346,123,343,119,347,116,349,112,355,111,355,106,361,109,365,111,371,118,376,121,380,119,385,122,390,127,397,127,413,130,431,126,434,122,431,118,436,119,445,112,449,113,449,111,446,107,438,107,437,105,441,103,441,95" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="PH" title="Philippines" shape="poly" coords="488,208,491,211,490,218,500,224,504,231,508,244,504,249,500,244,495,244,480,241,485,233,492,228,488,220,485,219,486,211" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="AE" title="Emirats arabes unis" shape="poly" coords="285,183,285,186,281,191,276,190,272,189,277,188,281,185" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="TM" title="Turkmenistan" shape="poly" coords="282,127,286,127,289,131,294,131,297,137,307,140,304,142,303,146,296,148,295,144,289,140,280,138,274,139,270,134,273,132,280,129" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="UZ" title="Ouzbekistan" shape="poly" coords="274,118,281,116,293,122,300,124,306,130,311,132,315,129,321,130,323,131,320,132,316,131,313,132,313,133,311,136,312,140,311,142,307,138,298,135,295,129,292,128,287,125,281,125,277,127,276,123" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="VN" title="Viet Nam" shape="poly" coords="436,192,442,197,438,200,433,197" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="YE" title="Yemen" shape="poly" coords="273,207,275,213,265,220,248,225,247,215,250,211,257,215,260,215,261,212,269,207" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="KZ" title="Kazakhstan" shape="poly" coords="255,96,267,100,271,98,280,101,285,96,281,95,281,90,297,85,301,85,312,90,317,90,322,93,331,99,335,98,339,101,341,99,350,104,351,108,347,110,341,116,343,122,343,124,329,122,324,124,319,124,311,128,302,120,291,119,285,115,271,115,273,124,268,124,264,124,259,120,264,117,267,116,265,111,253,111,247,103,252,101,252,98" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - <area class="curseur" alt="RU" title="Russie" shape="poly" coords="190,40,192,39,215,46,224,49,225,44,248,23,267,22,262,39,276,33,290,34,309,26,304,11,360,22,349,30,401,31,413,37,433,30,508,41,545,53,481,51,428,54,395,60,531,70,540,97,522,78,524,60,503,69,478,71,472,86,486,88,498,89,514,112,500,112,495,124,486,119,491,113,490,106,487,105,480,106,450,87,436,88,438,99,410,99,382,92,382,99,365,94,358,101,319,86,300,81,280,87,276,94,280,96,277,98,252,94,242,101,252,111,247,117,253,126,237,120,228,118,224,113,228,103,224,99,214,96,208,90,202,92,200,79,191,79,192,72,194,68,194,65,199,62,192,47" - onMouseOver="afficheInfoPays(this.alt)" - onMouseOut="cacherInfoPays()" - onMouseMove="deplacerInfo(event)" - onClick="recevoirPays(this.alt)"/> - </map> - </div> - - <!-- Divs contenant les differents continents--> - <div id="carteAfrique" class="carte"> - </div> - <div id="carteEurasie" class="carte"> - </div> - <div id="carteEurope" class="carte"> - </div> - <div id="carteOceanie" class="carte"> - </div> - <div id="carteAmeriqueNord" class="carte"> - </div> - <div id="carteAmeriqueSud" class="carte"> - </div> - - <!-- Bouton pour revenir au choix des continents--> - <div id="retour" class="retour"> - <img id="carteRetour" src="images/Cartes/Carte_Monde_1.png" onClick="disparition()"> - </div> - - <!-- La desription des continents lors du passage de la souris--> - <div class="texte"> - <p id="description"></p> - </div> - - <!-- Petite fenêtre qui contient le pays, la capitale et le drapeau--> - <div class="infoPays" id="infoPays"> - </div></br> - - <!-- Divs pour afficher les détails des pays comparés--> - <span class="comparer">Compare countries:<input id="compare" type="checkbox" onClick="vide()" ></span> - <table width="654px" border="0"> - <tr> - <td><div class="styleDiv" id="info1"></td> - <td><div class="styleDiv" id="info2"></td> - <td><div class="styleDiv" id="info3"></td> - <td><div class="styleDiv" id="info4"></td> - <td><div class="styleDiv" id="info5"></td> - </tr> - </table> - - <!-- Informations sur les pays d'Afrique--> - <div id="MA" class="cacher"> - <span class="nomPays">Morocco</span></br> - <span class="capitalePays">Capital city: Rabat</span></br> - <object data="images/Drapeaux/Afrique/Flag_of_Morocco.png" class="drapeaux"/> - </div> - - <div id="DZ" class="cacher"> - <span class="nomPays">Algeria</span></br> - <span class="capitalePays">Capital city: Alger</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Algeria.png" class="drapeaux"/> - </div> - - <div id="TN" class="cacher"> - <span class="nomPays">Tunisia/span></br> - <span class="capitalePays">Capital city: Tunis</span></br> - <object data="images/Drapeaux/Afrique/Flag_of_Tunisia.png" class="drapeaux"/> - </div> - - <div id="LY" class="cacher"> - <span class="nomPays">Libya</span></br> - <span class="capitalePays">Capital city: Tripoli</span></br> - <object data="images/Drapeaux/Afrique/Flag_of_Libya.png" class="drapeaux"/> - </div> - - <div id="EG" class="cacher"> - <span class="nomPays">Egypt</span></br> - <span class="capitalePays">Capital city: Cairo</span></br> - <object data="images/Drapeaux/Afrique/Flag_of_Egypt.png" class="drapeaux"/> - </div> - - <div id="Sahara occidental" class="cacher"> - <span class="nomPays">Sahara occidental</span></br> - <span class="capitalePays">Capital city: </span></br> - <object data="images/Drapeaux/Afrique/Flag_of_.png" class="drapeaux"/> - </div> - - <div id="MR" class="cacher"> - <span class="nomPays">Mauritania</span></br> - <span class="capitalePays">Capital city: Nouakchott</span></br> - <object data="images/Drapeaux/Afrique/Flag_of_Mauritania.png" class="drapeaux"/> - </div> - - <div id="ML" class="cacher"> - <span class="nomPays">Mali</span></br> - <span class="capitalePays">Capital city: Bamako</span></br> - <object data="images/Drapeaux/Afrique/Flag_of_Mali.png" class="drapeaux"/> - </div> - - <div id="NE" class="cacher"> - <span class="nomPays">Niger</span></br> - <span class="capitalePays">Capital city: Niamey</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Niger.png" class="drapeaux"/> - </div> - - <div id="TD" class="cacher"> - <span class="nomPays">Tchad</span></br> - <span class="capitalePays">Capital city: Ndjamena</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Chad.png" class="drapeaux"/> - </div> - - <div id="SD" class="cacher"> - <span class="nomPays">Soudan</span></br> - <span class="capitalePays">Capital city: Khartoum</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Sudan.png" class="drapeaux"/> - </div> - - <div id="ER" class="cacher"> - <span class="nomPays">Eritrea</span></br> - <span class="capitalePays">Capital city: Asmara</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Eritrea.png" class="drapeaux"/> - </div> - - <div id="DJ" class="cacher"><span class="nomPays">Djibouti</span></br> - <span class="capitalePays">Capital city: Djibouti</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Djibouti.png" class="drapeaux"/> - </div> - - <div id="ET" class="cacher"> - <span class="nomPays">Ethiopia</span></br> - <span class="capitalePays">Capital city: Addis Ababa</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Ethiopia.png" class="drapeaux"/> - </div> - - <div id="SO" class="cacher"> - <span class="nomPays">Somalia</span></br> - <span class="capitalePays">Capital city: Mogadiscio</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Somalia.png" class="drapeaux"/> - </div> - - <div id="KE" class="cacher"> - <span class="nomPays">Kenya</span></br> - <span class="capitalePays">Capital city: Nairobi</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Kenya.png" class="drapeaux"/> - </div> - - <div id="UG" class="cacher"> - <span class="nomPays">Uganda</span></br> - <span class="capitalePays">Capital city: Kampala</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Uganda.png" class="drapeaux"/> - </div> - - <div id="CD" class="cacher"> - <span class="nomPays">Democratic Republic of Congo</span></br> - <span class="capitalePays">Capital city: Kinshasa</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_the_Democratic_Republic_of_the_Congo.png" class="drapeaux"/> - </div> - - <div id="CF" class="cacher"> - <span class="nomPays">Central African Republic</span></br> - <span class="capitalePays">Capital city: Bangui</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_the_Central_African_Republic.png" class="drapeaux"/> - </div> - - <div id="CM" class="cacher"> - <span class="nomPays">Cameroun</span></br> - <span class="capitalePays">Capital city: Yaounde</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Cameroon.png" class="drapeaux"/> - </div> - - <div id="NG" class="cacher"> - <span class="nomPays">Nigeria</span></br> - <span class="capitalePays">Capital city: Abuja</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Nigeria.png" class="drapeaux"/> - </div> - - <div id="BJ" class="cacher"> - <span class="nomPays">Benin</span></br> - <span class="capitalePays">Capital city: Porto Novo</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Benin.png" class="drapeaux"/> - </div> - - <div id="TG" class="cacher"> - <span class="nomPays">Togo</span></br> - <span class="capitalePays">Capital city: Lome</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Togo.png" class="drapeaux"/> - </div> - - <div id="GH" class="cacher"> - <span class="nomPays">Ghana</span></br> - <span class="capitalePays">Capital city: Accra</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Ghana.png" class="drapeaux"/> - </div> - - <div id="CI" class="cacher"> - <span class="nomPays">Cote d'Ivoire</span></br> - <span class="capitalePays">Capital city: Yamoussoukro</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Cote_d'Ivoire.png" class="drapeaux"/> - </div> - - <div id="BF" class="cacher"> - <span class="nomPays">Burkina Faso</span></br> - <span class="capitalePays">Capital city: Ouagadougou</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Burkina_Faso.png" class="drapeaux"/> - </div> - - <div id="LR" class="cacher"> - <span class="nomPays">Liberia</span></br> - <span class="capitalePays">Capital city: Monravia</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Liberia.png" class="drapeaux"/> - </div> - - <div id="SL" class="cacher"> - <span class="nomPays">Sierra Leone</span></br> - <span class="capitalePays">Capital city: Freetown</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Sierra_Leone.png" class="drapeaux"/> - </div> - - <div id="GN" class="cacher"> - <span class="nomPays">Guinea</span></br> - <span class="capitalePays">Capital city: Conakry</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Guinea.png" class="drapeaux"/> - </div> - - <div id="GW" class="cacher"> - <span class="nomPays">Guinea-Bissau</span></br> - <span class="capitalePays">Capital city: Bissau</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Guinea-Bissau.png" class="drapeaux"/> - </div> - - <div id="SN" class="cacher"> - <span class="nomPays">Senegal</span></br> - <span class="capitalePays">Capital city: Dakar</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Senegal.png" class="drapeaux"/> - </div> - - <div id="GM" class="cacher"> - <span class="nomPays">Gambia</span></br> - <span class="capitalePays">Capital city: Banjul</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_The_Gambia.png" class="drapeaux"/> - </div> - - <div id="RW" class="cacher"> - <span class="nomPays">Rwanda</span></br> - <span class="capitalePays">Capital city: Kigali</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Rwanda.png" class="drapeaux"/> - </div> - - <div id="BI" class="cacher"> - <span class="nomPays">Burundi</span></br> - <span class="capitalePays">Capital city: Bujumbura</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Burundi.png" class="drapeaux"/> - </div> - - <div id="CG" class="cacher"> - <span class="nomPays">Republic of Congo</span></br> - <span class="capitalePays">Capital city: Brazzaville</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_the_Republic_of_the_Congo.png" class="drapeaux"/> - </div> - - <div id="GA" class="cacher"> - <span class="nomPays">Gabon</span></br> - <span class="capitalePays">Capital city: Libreville</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Gabon.png" class="drapeaux"/> - </div> - - <div id="GQ" class="cacher"> - <span class="nomPays">Equatorial Guinea</span></br> - <span class="capitalePays">Capital city: Malabo</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Equatorial_Guinea.png" class="drapeaux"/> - </div> - - <div id="TZ" class="cacher"> - <span class="nomPays">Tanzania</span></br> - <span class="capitalePays">Capital city: Dodoma</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Tanzania.png" class="drapeaux"/> - </div> - - <div id="MW" class="cacher"> - <span class="nomPays">Malawi</span></br> - <span class="capitalePays">Capital city: Lilongwe</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Malawi.png" class="drapeaux"/> - </div> - - <div id="ZM" class="cacher"> - <span class="nomPays">Zambia</span></br> - <span class="capitalePays">Capital city: Lusaka</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Zambia.png" class="drapeaux"/> - </div> - - <div id="AO" class="cacher"> - <span class="nomPays">Angola</span></br> - <span class="capitalePays">Capital city: Luanda</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Angola.png" class="drapeaux"/> - </div> - - <div id="MZ" class="cacher"> - <span class="nomPays">Mozambique</span></br> - <span class="capitalePays">Capital city: Maputo</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Mozambique.png" class="drapeaux"/> - </div> - - <div id="ZW" class="cacher"> - <span class="nomPays">Zimbabwe</span></br> - <span class="capitalePays">Capital city: Harare</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Zimbabwe.png" class="drapeaux"/> - </div> - - <div id="BW" class="cacher"> - <span class="nomPays">Botswana</span></br> - <span class="capitalePays">Capital city: Gaborone</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Botswana.png" class="drapeaux"/> - </div> - - <div id="NA" class="cacher"> - <span class="nomPays">Namibia</span></br> - <span class="capitalePays">Capital city: Windhoec</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Namibia.png" class="drapeaux"/> - </div> - - <div id="ZA" class="cacher"> - <span class="nomPays">South Africa</span></br> - <span class="capitalePays">Capital city: Pretoria</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_South_Africa.png" class="drapeaux"/> - </div> - - <div id="LS" class="cacher"> - <span class="nomPays">Lesotho</span></br> - <span class="capitalePays">Capital city: Maseru</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Lesotho.png" class="drapeaux"/> - </div> - - <div id="SZ" class="cacher"> - <span class="nomPays">Swaziland</span></br> - <span class="capitalePays">Capital city: Mbabane</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Swaziland.png" class="drapeaux"/> - </div> - - <div id="MG" class="cacher"> - <span class="nomPays">Madagascar</span></br> - <span class="capitalePays">Capital city: Antananarivo</span></br> - <img src="images/Drapeaux/Afrique/Flag_of_Madagascar.png" class="drapeaux"/> - </div> - - <!-- Informations sur les pays d'Amerique du Sud--> - <div id="AR" class="cacher"> - <span class="nomPays">Argentine</span></br> - <span class="capitalePays">Capital city: Buenos Aires</span></br> - <img src="images/Drapeaux/AmeriqueSud/Flag_of_Argentina.png" class="drapeaux"/> - </div> - - <div id="CL" class="cacher"> - <span class="nomPays">Chili</span></br> - <span class="capitalePays">Capital city: Santiago</span></br> - <img src="images/Drapeaux/AmeriqueSud/Flag_of_Chile.png" class="drapeaux"/> - </div> - - <div id="UY" class="cacher"> - <span class="nomPays">Uruguay</span></br> - <span class="capitalePays">Capital city: Montevideo</span></br> - <img src="images/Drapeaux/AmeriqueSud/Flag_of_Uruguay.png" class="drapeaux"/> - </div> - - <div id="PY" class="cacher"> - <span class="nomPays">Paraguay</span></br> - <span class="capitalePays">Capital city: Asuncion</span></br> - <img src="images/Drapeaux/AmeriqueSud/Flag_of_Paraguay.png" class="drapeaux"/> - </div> - - <div id="BO" class="cacher"> - <span class="nomPays">Bolivia</span></br> - <span class="capitalePays">Capital city: La Paz</span></br> - <img src="images/Drapeaux/AmeriqueSud/Flag_of_Bolivia.png" class="drapeaux"/> - </div> - - <div id="BR" class="cacher"> - <span class="nomPays">Brazil</span></br> - <span class="capitalePays">Capital city: Brasilia</span></br> - <img src="images/Drapeaux/AmeriqueSud/Flag_of_Brazil.png" class="drapeaux"/> - </div> - - <div id="PE" class="cacher"> - <span class="nomPays">Peru</span></br> - <span class="capitalePays">Capital city: Lima</span></br> - <img src="images/Drapeaux/AmeriqueSud/Flag_of_Peru.png" class="drapeaux"/> - </div> - - <div id="EC" class="cacher"> - <span class="nomPays">Ecuador</span></br> - <span class="capitalePays">Capital city: Quito</span></br> - <img src="images/Drapeaux/AmeriqueSud/Flag_of_Ecuador.png" class="drapeaux"/> - </div> - - <div id="CO" class="cacher"> - <span class="nomPays">Colombia</span></br> - <span class="capitalePays">Capital city: Bogota</span></br> - <img src="images/Drapeaux/AmeriqueSud/Flag_of_Colombia.png" class="drapeaux"/> - </div> - - <div id="VE" class="cacher"> - <span class="nomPays">Venezuela</span></br> - <span class="capitalePays">Capital city: Caracas</span></br> - <img src="images/Drapeaux/AmeriqueSud/Flag_of_Venezuela.png" class="drapeaux"/> - </div> - - <div id="GY" class="cacher"> - <span class="nomPays">Guyana</span></br> - <span class="capitalePays">Capital city: Georgetown</span></br> - <img src="images/Drapeaux/AmeriqueSud/Flag_of_Guyana.png" class="drapeaux"/> - </div> - - <div id="SR" class="cacher"> - <span class="nomPays">Suriname</span></br> - <span class="capitalePays">Capital city: Paramaribo</span></br> - <img src="images/Drapeaux/AmeriqueSud/Flag_of_Suriname.png" class="drapeaux"/> - </div> - - <div id="GF" class="cacher"> - <span class="nomPays">Guyana</span></br> - <span class="capitalePays">Capital city: Paris</span></br> - <img src="images/Drapeaux/AmeriqueSud/Flag_of_France.png" class="drapeaux"/> - </div> - - <!-- Informations sur les pays d'Amérique du Nord--> - <div id="CA" class="cacher"> - <span class="nomPays">Canada</span></br> - <span class="capitalePays">Capital city: Ottawa</span></br> - <img src="images/Drapeaux/AmeriqueNord/Flag_of_Canada.png" class="drapeaux"/> - </div> - - <div id="GL" class="cacher"> - <span class="nomPays">Greenland</span></br> - <span class="capitalePays">Capital city: Nuuk</span></br> - <img src="images/Drapeaux/AmeriqueNord/Flag_of_Greenland.png" class="drapeaux"/> - </div> - - <div id="US" class="cacher"> - <span class="nomPays">United States of America</span></br> - <span class="capitalePays">Capital city: Washington DC</span></br> - <img src="images/Drapeaux/AmeriqueNord/Flag_of_the_United_States.png" class="drapeaux"/> - </div> - - <div id="MX" class="cacher"> - <span class="nomPays">Mexico</span></br> - <span class="capitalePays">Capital city: Mexico</span></br> - <img src="images/Drapeaux/AmeriqueNord/Flag_of_Mexico.png" class="drapeaux"/> - </div> - - <div id="CU" class="cacher"> - <span class="nomPays">Cuba</span></br> - <span class="capitalePays">Capital city: Havana</span></br> - <img src="images/Drapeaux/AmeriqueNord/Flag_of_Cuba.png" class="drapeaux"/> - </div> - - <div id="HT" class="cacher"> - <span class="nomPays">Haiti</span></br> - <span class="capitalePays">Capital city: Port-au-Prince</span></br> - <img src="images/Drapeaux/AmeriqueNord/Flag_of_Haiti.png" class="drapeaux"/> - </div> - - <div id="DO" class="cacher"> - <span class="nomPays">Dominican Republic</span></br> - <span class="capitalePays">Capital city: Santo Domingo</span></br> - <img src="images/Drapeaux/AmeriqueNord/Flag_of_the_Dominican_Republic.png" class="drapeaux"/> - </div> - - <div id="JM" class="cacher"> - <span class="nomPays">Jamaica</span></br> - <span class="capitalePays">Capital city: Kingston</span></br> - <img src="images/Drapeaux/AmeriqueNord/Flag_of_Jamaica.png" class="drapeaux"/> - </div> - - <div id="BS" class="cacher"> - <span class="nomPays">Bahamas</span></br> - <span class="capitalePays">Capital city: Nassau</span></br> - <img src="images/Drapeaux/AmeriqueNord/Flag_of_the_Bahamas.png" class="drapeaux"/> - </div> - - <div id="GT" class="cacher"> - <span class="nomPays">Guatemala</span></br> - <span class="capitalePays">Capital city: Guatemala</span></br> - <img src="images/Drapeaux/AmeriqueNord/Flag_of_Guatemala.png" class="drapeaux"/> - </div> - - <div id="BZ" class="cacher"> - <span class="nomPays">Belize</span></br> - <span class="capitalePays">Capital city: Belmopan</span></br> - <img src="images/Drapeaux/AmeriqueNord/Flag_of_Belize.png" class="drapeaux"/> - </div> - - <div id="SV" class="cacher"> - <span class="nomPays">Salvador</span></br> - <span class="capitalePays">Capital city: San Salvador</span></br> - <img src="images/Drapeaux/AmeriqueNord/Flag_of_El_Salvador.png" class="drapeaux"/> - </div> - - <div id="HN" class="cacher"> - <span class="nomPays">Honduras</span></br> - <span class="capitalePays">Capital city: Tegucigalpa</span></br> - <img src="images/Drapeaux/AmeriqueNord/Flag_of_Honduras.png" class="drapeaux"/> - </div> - - <div id="NI" class="cacher"> - <span class="nomPays">Nicaragua</span></br> - <span class="capitalePays">Capital city: Managua</span></br> - <img src="images/Drapeaux/AmeriqueNord/Flag_of_Nicaragua.png" class="drapeaux"/> - </div> - - <div id="CR" class="cacher"> - <span class="nomPays">Costa-Rica</span></br> - <span class="capitalePays">Capital city: San Jose</span></br> - <img src="images/Drapeaux/AmeriqueNord/Flag_of_Costa_Rica.png" class="drapeaux"/> - </div> - - <div id="PA" class="cacher"> - <span class="nomPays">Panama</span></br> - <span class="capitalePays">Capital city: Panama</span></br> - <img src="images/Drapeaux/AmeriqueNord/Flag_of_Panama.png" class="drapeaux"/> - </div> - - <!-- Informations sur les pays d'Oceanie--> - <div id="AU" class="cacher"> - <span class="nomPays">Australia</span></br> - <span class="capitalePays">Capital city: Canberra</span></br> - <img src="images/Drapeaux/Oceanie/Flag_of_Australia.png" class="drapeaux"/> - </div> - - <div id="NZ" class="cacher"> - <span class="nomPays">New Zealand</span></br> - <span class="capitalePays">Capital city: Wellington</span></br> - <img src="images/Drapeaux/Oceanie/Flag_of_New_Zealand.png" class="drapeaux"/> - </div> - - <div id="PG" class="cacher"> - <span class="nomPays">Papua New Guinea</span></br> - <span class="capitalePays">Capital city: Port Moresby</span></br> - <img src="images/Drapeaux/Oceanie/Flag_of_Papua_New_Guinea.png" class="drapeaux"/> - </div> - - <div id="ID" class="cacher"> - <span class="nomPays">Indonesia</span></br> - <span class="capitalePays">Capital city: Jakarta</span></br> - <img src="images/Drapeaux/Oceanie/Flag_of_Indonesia.png" class="drapeaux"/> - </div> - - <div id="SB" class="cacher"> - <span class="nomPays">Solomon Islands</span></br> - <span class="capitalePays">Capital city: Honiara</span></br> - <img src="images/Drapeaux/Oceanie/Flag_of_the_Solomon_Islands.png" class="drapeaux"/> - </div> - - <div id="VU" class="cacher"> - <span class="nomPays">Vanuatu</span></br> - <span class="capitalePays">Capital city: Port-Vila</span></br> - <img src="images/Drapeaux/Oceanie/Flag_of_Vanuatu.png" class="drapeaux"/> - </div> - - <div id="NC" class="cacher"> - <span class="nomPays">New Caledonia</span></br> - <span class="capitalePays">Capital city: Paris</span></br> - <img src="images/Drapeaux/Oceanie/Flag_of_France.png" class="drapeaux"/> - </div> - - <!-- Informations sur les pays d'Europe--> - <div id="AL" class="cacher"> - <span class="nomPays">Albania</span></br> - <span class="capitalePays">Capital city: Tirana</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Albania.png" class="drapeaux"/> - </div> - - <div id="DE" class="cacher"> - <span class="nomPays">Germany</span></br> - <span class="capitalePays">Capital city: Berlin</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Germany.png" class="drapeaux"/> - </div> - - <div id="AD" class="cacher"> - <span class="nomPays">Andorra</span></br> - <span class="capitalePays">Capital city: Andorra la Vella</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Andorra.png" class="drapeaux"/> - </div> - - <div id="AM" class="cacher"> - <span class="nomPays">Armenia</span></br> - <span class="capitalePays">Capital city: Erevan</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Armenia.png" class="drapeaux"/> - </div> - - <div id="AT" class="cacher"> - <span class="nomPays">Austria</span></br> - <span class="capitalePays">Capital city: Vienne</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Austria.png" class="drapeaux"/> - </div> - - <div id="AZ" class="cacher"> - <span class="nomPays">Azerbaijan</span></br> - <span class="capitalePays">Capital city: Baku</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Azerbaijan.png" class="drapeaux"/> - </div> - - <div id="BE" class="cacher"> - <span class="nomPays">Belgium</span></br> - <span class="capitalePays">Capital city: Bruxelles</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Belgium.png" class="drapeaux"/> - </div> - - <div id="BY" class="cacher"> - <span class="nomPays">Belarus</span></br> - <span class="capitalePays">Capital city: Minsk</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Belarus.png" class="drapeaux"/> - </div> - - <div id="BA" class="cacher"> - <span class="nomPays">Bosnia</span></br> - <span class="capitalePays">Capital city: Sarajevo</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Bosnia_and_Herzegovina.png" class="drapeaux"/> - </div> - - <div id="BG" class="cacher"> - <span class="nomPays">Bulgaria</span></br> - <span class="capitalePays">Capital city: Sofia</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Bulgaria.png" class="drapeaux"/> - </div> - - <div id="CY" class="cacher"> - <span class="nomPays">Cyprus</span></br> - <span class="capitalePays">Capital city: Nicosia</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Cyprus.png" class="drapeaux"/> - </div> - - <div id="HR" class="cacher"> - <span class="nomPays">Croatia</span></br> - <span class="capitalePays">Capital city: Zagreb</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Croatia.png" class="drapeaux"/> - </div> - - <div id="DK" class="cacher"> - <span class="nomPays">Denmark</span></br> - <span class="capitalePays">Capital city: Copenhagen</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Denmark.png" class="drapeaux"/> - </div> - - <div id="ES" class="cacher"> - <span class="nomPays">Spain</span></br> - <span class="capitalePays">Capital city: Madrid</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Spain.png" class="drapeaux"/> - </div> - - <div id="EE" class="cacher"> - <span class="nomPays">Estonia</span></br> - <span class="capitalePays">Capital city: Tallinn</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Estonia.png" class="drapeaux"/> - </div> - - <div id="FI" class="cacher"> - <span class="nomPays">Finland</span></br> - <span class="capitalePays">Capital city: Helsinki</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Finland.png" class="drapeaux"/> - </div> - - <div id="FR" class="cacher"> - <span class="nomPays">France</span></br> - <span class="capitalePays">Capital city: Paris</span></br> - <img src="images/Drapeaux/Europe/Flag_of_France.png" class="drapeaux"/> - </div> - - <div id="GE" class="cacher"> - <span class="nomPays">Georgia</span></br> - <span class="capitalePays">Capital city: Tbilisi</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Georgia.png" class="drapeaux"/> - </div> - - <div id="EL" class="cacher"> - <span class="nomPays">Greece</span></br> - <span class="capitalePays">Capital city: Athenes</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Greece.png" class="drapeaux"/> - </div> - - <div id="HU" class="cacher"> - <span class="nomPays">Hungary</span></br> - <span class="capitalePays">Capital city: Budapest</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Hungary.png" class="drapeaux"/> - </div> - - <div id="IE" class="cacher"> - <span class="nomPays">Ireland</span></br> - <span class="capitalePays">Capital city: Dublin</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Ireland.png" class="drapeaux"/> - </div> - - <div id="IS" class="cacher"> - <span class="nomPays">Island</span></br> - <span class="capitalePays">Capital city: Reykjavik</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Iceland.png" class="drapeaux"/> - </div> - - <div id="IT" class="cacher"> - <span class="nomPays">Italy</span></br> - <span class="capitalePays">Capital city: Rome</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Italy.png" class="drapeaux"/> - </div> - - <div id="LV" class="cacher"> - <span class="nomPays">Latvia</span></br> - <span class="capitalePays">Capital city: Riga</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Latvia.png" class="drapeaux"/> - </div> - - <div id="LI" class="cacher"> - <span class="nomPays">Liechtenstein</span></br> - <span class="capitalePays">Capital city: Vaduz</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Liechtenstein.png" class="drapeaux"/> - </div> - - <div id="LT" class="cacher"> - <span class="nomPays">Lithuania</span></br> - <span class="capitalePays">Capital city: Vilnius</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Lithuania.png" class="drapeaux"/> - </div> - - <div id="LU" class="cacher"> - <span class="nomPays">Luxembourg</span></br> - <span class="capitalePays">Capital city: Luxembourg</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Luxembourg.png" class="drapeaux"/> - </div> - - <div id="MK" class="cacher"> - <span class="nomPays">Macedoine</span></br> - <span class="capitalePays">Capital city: Skopje</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Macedonia.png" class="drapeaux"/> - </div> - - <div id="MT" class="cacher"> - <span class="nomPays">Malta</span></br> - <span class="capitalePays">Capital city: La Valetta</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Malta.png" class="drapeaux"/> - </div> - - <div id="MD" class="cacher"> - <span class="nomPays">Moldavia</span></br> - <span class="capitalePays">Capital city: Chisinau</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Moldova.png" class="drapeaux"/> - </div> - - <div id="MC" class="cacher"> - <span class="nomPays">Monaco</span></br> - <span class="capitalePays">Capital city: Monaco</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Monaco.png" class="drapeaux"/> - </div> - - <div id="ME" class="cacher"> - <span class="nomPays">Montenegro</span></br> - <span class="capitalePays">Capital city: Podaorica</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Montenegro.png" class="drapeaux"/> - </div> - - <div id="NO" class="cacher"> - <span class="nomPays">Norway</span></br> - <span class="capitalePays">Capital city: Oslo</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Norway.png" class="drapeaux"/> - </div> - - <div id="NL" class="cacher"> - <span class="nomPays">Pays-Bas</span></br> - <span class="capitalePays">Capital city: Amsterdam</span></br> - <img src="images/Drapeaux/Europe/Flag_of_the_Netherlands.png" class="drapeaux"/> - </div> - - <div id="PL" class="cacher"> - <span class="nomPays">Poland</span></br> - <span class="capitalePays">Capital city: Warsaw</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Poland.png" class="drapeaux"/> - </div> - - <div id="PT" class="cacher"> - <span class="nomPays">Portugal</span></br> - <span class="capitalePays">Capital city: Lisbon</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Portugal.png" class="drapeaux"/> - </div> - - <div id="CZ" class="cacher"> - <span class="nomPays">Czech Republic</span></br> - <span class="capitalePays">Capital city: Prague</span></br> - <img src="images/Drapeaux/Europe/Flag_of_the_Czech_Republic.png" class="drapeaux"/> - </div> - - <div id="RO" class="cacher"> - <span class="nomPays">Romania</span></br> - <span class="capitalePays">Capital city: Bucharest</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Romania.png" class="drapeaux"/> - </div> - - <div id="UK" class="cacher"> - <span class="nomPays">United Kingdom</span></br> - <span class="capitalePays">Capital city: London</span></br> - <img src="images/Drapeaux/Europe/Flag_of_the_United_Kingdom.png" class="drapeaux"/> - </div> - - <div id="SM" class="cacher"> - <span class="nomPays">Saint-Marin</span></br> - <span class="capitalePays">Capital city: Saint-Marin</span></br> - <img src="images/Drapeaux/Europe/Flag_of_San_Marino.png" class="drapeaux"/> - </div> - - <div id="RS" class="cacher"> - <span class="nomPays">Serbia</span></br> - <span class="capitalePays">Capital city: Belgrade</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Serbia.png" class="drapeaux"/> - </div> - - <div id="SK" class="cacher"> - <span class="nomPays">Slovakia</span></br> - <span class="capitalePays">Capital city: Bratislava</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Slovakia.png" class="drapeaux"/> - </div> - - <div id="SI" class="cacher"> - <span class="nomPays">Slovenia</span></br> - <span class="capitalePays">Capital city: Ljubljana</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Slovenia.png" class="drapeaux"/> - </div> - - <div id="SE" class="cacher"> - <span class="nomPays">Suede</span></br> - <span class="capitalePays">Capital city: Stockholm</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Sweden.png" class="drapeaux"/> - </div> - - <div id="CH" class="cacher"> - <span class="nomPays">Suisse</span></br> - <span class="capitalePays">Capital city: Berne</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Switzerland.png" class="drapeaux"/> - </div> - - <div id="TR" class="cacher"> - <span class="nomPays">Turkey</span></br> - <span class="capitalePays">Capital city: Ankara</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Turkey.png" class="drapeaux"/> - </div> - - <div id="UA" class="cacher"> - <span class="nomPays">Ukraine</span></br> - <span class="capitalePays">Capital city: Kiev</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Ukraine.png" class="drapeaux"/> - </div> - - <div id="VA" class="cacher"> - <span class="nomPays">Vatican</span></br> - <span class="capitalePays">Capital city: Cite du Vatican</span></br> - <img src="images/Drapeaux/Europe/Flag_of_the_Vatican_City.png" class="drapeaux"/> - </div> - - <!-- Informations sur les pays d'Asie--> - <div id="AF" class="cacher"> - <span class="nomPays">Afghanistan</span></br> - <span class="capitalePays">Capital city: Kabul</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Afghanistan.png" class="drapeaux"/> - </div> - - <div id="SA" class="cacher"> - <span class="nomPays">Saudi Arabia</span></br> - <span class="capitalePays">Capital city: Riyadh</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Saudi_Arabia.png" class="drapeaux"/> - </div> - - <div id="BH" class="cacher"> - <span class="nomPays">Bahrein</span></br> - <span class="capitalePays">Capital city: Manama</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Bahrain.png" class="drapeaux"/> - </div> - - <div id="BD" class="cacher"> - <span class="nomPays">Bangladesh</span></br> - <span class="capitalePays">Capital city: Dhaka</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Bangladesh.png" class="drapeaux"/> - </div> - - <div id="BT" class="cacher"> - <span class="nomPays">Bhutan</span></br> - <span class="capitalePays">Capital city: Thimphu</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Bhutan.png" class="drapeaux"/> - </div> - - <div id="BN" class="cacher"> - <span class="nomPays">Brunei</span></br> - <span class="capitalePays">Capital city: Bandar Seri Begawan</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Brunei.png" class="drapeaux"/> - </div> - - <div id="KH" class="cacher"> - <span class="nomPays">Cambodia</span></br> - <span class="capitalePays">Capital city: Phnom Penh</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Cambodia.png" class="drapeaux"/> - </div> - - <div id="CN" class="cacher"> - <span class="nomPays">Chine</span></br> - <span class="capitalePays">Capital city: Pekin</span></br> - <img src="images/Drapeaux/Asie/Flag_of_the_People's_Republic_of_China.png" class="drapeaux"/> - </div> - - <div id="KP" class="cacher"> - <span class="nomPays">North Korea</span></br> - <span class="capitalePays">Capital city: Pyongyang</span></br> - <img src="images/Drapeaux/Asie/Flag_of_North_Korea.png" class="drapeaux"/> - </div> - - <div id="KR" class="cacher"> - <span class="nomPays">South Korea</span></br> - <span class="capitalePays">Capital city: Seoul</span></br> - <img src="images/Drapeaux/Asie/Flag_of_South_Korea.png" class="drapeaux"/> - </div> - - <div id="AE" class="cacher"> - <span class="nomPays">United Arab Emirates</span></br> - <span class="capitalePays">Capital city: Abu Dhabi</span></br> - <img src="images/Drapeaux/Asie/Flag_of_the_United_Arab_Emirates.png" class="drapeaux"/> - </div> - - <div id="IN" class="cacher"> - <span class="nomPays">India</span></br> - <span class="capitalePays">Capital city: New Delhi</span></br> - <img src="images/Drapeaux/Asie/Flag_of_India.png" class="drapeaux"/> - </div> - - <div id="ID" class="cacher"> - <span class="nomPays">Indonesia</span></br> - <span class="capitalePays">Capital city: Jakarta</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Indonesia.png" class="drapeaux"/> - </div> - - <div id="IR" class="cacher"> - <span class="nomPays">Iran</span></br> - <span class="capitalePays">Capital city: Teheran</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Iran.png" class="drapeaux"/> - </div> - - <div id="IQ" class="cacher"> - <span class="nomPays">Iraq</span></br> - <span class="capitalePays">Capital city: Bagdad</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Iraq.png" class="drapeaux"/> - </div> - - <div id="IL" class="cacher"> - <span class="nomPays">Israel</span></br> - <span class="capitalePays">Capital city: Jerusalem</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Israel.png" class="drapeaux"/> - </div> - - <div id="JP" class="cacher"> - <span class="nomPays">Japan</span></br> - <span class="capitalePays">Capital city: Tokyo</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Japan.png" class="drapeaux"/> - </div> - - <div id="JO" class="cacher"> - <span class="nomPays">Jordan</span></br> - <span class="capitalePays">Capital city: Amman</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Jordan.png" class="drapeaux"/> - </div> - - <div id="KZ" class="cacher"> - <span class="nomPays">Kazakhstan</span></br> - <span class="capitalePays">Capital city: Astana</span></br> - <img src="images/Drapeaux/Europe/Flag_of_Kazakhstan.png" class="drapeaux"/> - </div> - - <div id="KG" class="cacher"> - <span class="nomPays">Kyrgyzstan</span></br> - <span class="capitalePays">Capital city: Bishkek</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Kyrgyzstan.png" class="drapeaux"/> - </div> - - <div id="KW" class="cacher"> - <span class="nomPays">Koweit</span></br> - <span class="capitalePays">Capital city: Koweit</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Kuwait.png" class="drapeaux"/> - </div> - - <div id="LA" class="cacher"> - <span class="nomPays">Laos</span></br> - <span class="capitalePays">Capital city: Vientiane</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Laos.png" class="drapeaux"/> - </div> - - <div id="LB" class="cacher"> - <span class="nomPays">Lebanon</span></br> - <span class="capitalePays">Capital city: Beyrouth</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Lebanon.png" class="drapeaux"/> - </div> - - <div id="MY" class="cacher"> - <span class="nomPays">Malaysia</span></br> - <span class="capitalePays">Capital city: Kuala Lumpur</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Malaysia.png" class="drapeaux"/> - </div> - - <div id="MV" class="cacher"> - <span class="nomPays">Maldives</span></br> - <span class="capitalePays">Capital city: Male</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Maldives.png" class="drapeaux"/> - </div> - - <div id="MN" class="cacher"> - <span class="nomPays">Mongolia</span></br> - <span class="capitalePays">Capital city: Ulan-Bator</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Mongolia.png" class="drapeaux"/> - </div> - - <div id="MM" class="cacher"> - <span class="nomPays">Myanmar</span></br> - <span class="capitalePays">Capital city: Naypyidaw</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Myanmar.png" class="drapeaux"/> - </div> - - <div id="NP" class="cacher"> - <span class="nomPays">Nepal</span></br> - <span class="capitalePays">Capital city: Katmandu</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Nepal.png" class="drapeaux"/> - </div> - - <div id="OM" class="cacher"> - <span class="nomPays">Oman</span></br> - <span class="capitalePays">Capital city: Muscat</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Oman.png" class="drapeaux"/> - </div> - - <div id="UZ" class="cacher"> - <span class="nomPays">Uzbekistan</span></br> - <span class="capitalePays">Capital city: Tashkent</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Uzbekistan.png" class="drapeaux"/> - </div> - - <div id="PK" class="cacher"> - <span class="nomPays">Pakistan</span></br> - <span class="capitalePays">Capital city: Islamabad</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Pakistan.png" class="drapeaux"/> - </div> - - <div id="PH" class="cacher"> - <span class="nomPays">Philippines</span></br> - <span class="capitalePays">Capital city: Manille</span></br> - <img src="images/Drapeaux/Asie/Flag_of_the_Philippines.png" class="drapeaux"/> - </div> - - <div id="QA" class="cacher"> - <span class="nomPays">Qatar</span></br> - <span class="capitalePays">Capital city: Doha</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Qatar.png" class="drapeaux"/> - </div> - - <div id="RU" class="cacher"> - <span class="nomPays">Russia</span></br> - <span class="capitalePays">Capital city: Moscow</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Russia.png" class="drapeaux"/> - </div> - - <div id="SG" class="cacher"> - <span class="nomPays">Singapore</span></br> - <span class="capitalePays">Capital city: Singapore</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Singapore.png" class="drapeaux"/> - </div> - - <div id="LK" class="cacher"> - <span class="nomPays">Sri Lanka</span></br> - <span class="capitalePays">Capital city: Colombo</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Sri_Lanka.png" class="drapeaux"/> - </div> - - <div id="SY" class="cacher"> - <span class="nomPays">Syria</span></br> - <span class="capitalePays">Capital city: Damask</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Syria.png" class="drapeaux"/> - </div> - - <div id="TJ" class="cacher"> - <span class="nomPays">Tajikistan</span></br> - <span class="capitalePays">Capital city: Dushanbe</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Tajikistan.png" class="drapeaux"/> - </div> - - <div id="TH" class="cacher"> - <span class="nomPays">Thailand</span></br> - <span class="capitalePays">Capital city: Bangkok</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Thailand.png" class="drapeaux"/> - </div> - - <div id="TL" class="cacher"> - <span class="nomPays">Timor-oriental</span></br> - <span class="capitalePays">Capital city: Dili</span></br> - <img src="images/Drapeaux/Asie/Flag_of_East_Timor.png" class="drapeaux"/> - </div> - - <div id="TM" class="cacher"> - <span class="nomPays">Turkmenistan</span></br> - <span class="capitalePays">Capital city: Ashgabat</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Turkmenistan.png" class="drapeaux"/> - </div> - - <div id="VN" class="cacher"> - <span class="nomPays">Viet Nam</span></br> - <span class="capitalePays">Capital city: Hanoi</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Vietnam.png" class="drapeaux"/> - </div> - - <div id="YE" class="cacher"> - <span class="nomPays">Yemen</span></br> - <span class="capitalePays">Capital city: Sanaa</span></br> - <img src="images/Drapeaux/Asie/Flag_of_Yemen.png" class="drapeaux"/> - </div> - </body> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> + <title>GeoInfo</title> + + <link rel="stylesheet" type="text/css" href="css/GeoInfo.css"/> + + <!-- Scripts utilisés par le Widget GeoInfo--> + <script type="text/javascript" src="js/languages.js"></script> + <script type="text/javascript" src="js/soapclient.js"></script> + <script type="text/javascript" src="js/tinyxmldom.js"></script> + <script type="text/javascript" src="js/jquery-1.6.2.min.js"></script> + <script type="text/javascript" src="js/GeoInfo.js"></script> + <script type="text/javascript"> + + </script> + </head> + + <body onLoad="recevoirPays('')" onClick="coords = coords + (event.clientX-13) + ',' + (event.clientY-13) + ','"> + + <!-- Div contenant le point d'interrogation pour les satistiques--> + <div class="question"> + <img src="images/question.jpg" onclick='recevoirStats()'/> + </div> + + <!-- Div principale pour les pays du monde--> + <div id="carteMonde1" class="carteMonde1"> + <img src="images/Cartes/Carte_Monde_1.png" id="monde" class="monde" usemap="#monde1"/> + + <!-- Zones délimitant chaque continent--> + <map name="monde1"> + <area class="curseur" alt="North America" shape="poly" coords="10,57,45,32,103,31,120,20,142,25,172,10,210,8,283,9,270,24,262,37,197,74,198,83,134,119,168,149,171,169,159,166,139,160,124,167,114,173,65,146,46,106,49,89,57,68,47,56,22,65,9,64" + onMouseOver="writeText('North America'); document.getElementById('monde').src='images/Cartes/Carte_Monde_AmeriqueNord.bmp'" + onMouseOut="effaceTexte(); document.getElementById('monde').src='images/Cartes/Carte_Monde_1.png'" + onClick="document.getElementById('carteAmeriqueNord').innerHTML = imageAmeriqueNord; apparition('carteAmeriqueNord')" + /> + <area class="curseur" alt="Eurasia" shape="poly" coords="279,104,309,101,357,114,384,152,415,141,434,142,453,177,466,175,476,144,505,207,554,211,562,184,542,134,545,118,573,108,560,71,583,73,580,59,604,40,460,20,416,12,401,23,377,17,366,30,339,25,335,13,307,14,313,33,296,48,300,65,284,54,269,38,257,46,275,68,284,83,272,90,272,102,279,102,294,100" + onMouseOver="writeText('Eurasia'); document.getElementById('monde').src='images/Cartes/Carte_Monde_Eurasie.bmp'" + onMouseOut="effaceTexte(); document.getElementById('monde').src='images/Cartes/Carte_Monde_1.png'" + onClick="document.getElementById('carteEurasie').innerHTML = imageEurasie; apparition('carteEurasie')" + /> + <area class="curseur" alt="South America" shape="poly" coords="139,160,159,167,220,201,206,241,171,291,188,305,174,318,148,299,141,234,113,198,124,177,124,168,139,158" + onMouseOver="writeText('South America'); document.getElementById('monde').src='images/Cartes/Carte_Monde_AmeriqueSud.bmp'" + onMouseOut="effaceTexte(); document.getElementById('monde').src='images/Cartes/Carte_Monde_1.png'" + onClick="document.getElementById('carteAmeriqueSud').innerHTML = imageAmeriqueSud; apparition('carteAmeriqueSud')" + /> + <area class="curseur" alt="Africa" shape="poly" coords="279,107,356,119,395,165,390,237,334,267,301,179,257,174,265,135" + onMouseOver="writeText('Africa'); document.getElementById('monde').src='images/Cartes/Carte_Monde_Afrique.bmp'" + onMouseOut="effaceTexte(); document.getElementById('monde').src='images/Cartes/Carte_Monde_1.png'" + onClick="document.getElementById('carteAfrique').innerHTML = imageAfrique; apparition('carteAfrique')" + /> + <area class="curseur" alt="Oceania" shape="poly" coords="566,191,563,215,522,238,519,271,553,264,570,290,607,298,644,278,643,225,610,194,567,189,565,194,566,213,547,223" + onMouseOver="writeText('Oceania'); document.getElementById('monde').src='images/Cartes/Carte_Monde_Oceanie.bmp'" + onMouseOut="effaceTexte(); document.getElementById('monde').src='images/Cartes/Carte_Monde_1.png'" + onClick="document.getElementById('carteOceanie').innerHTML = imageOceanie; apparition('carteOceanie')"/> + </map> + + <!-- Zone délimitant l'Europe--> + <map name="europe"> + <area class="curseur" alt="Asie" title="Asie" shape="poly" coords="402,68,393,77,398,84,397,90,401,96,401,102,410,114,397,131,404,132,404,135,396,138,402,159,415,161,420,166,426,179,424,185,432,183,438,185,443,192,473,202,480,210,465,239,479,248,487,245,496,249,501,247,512,253,515,253,532,262,536,259,538,259,543,264,548,276,543,285,534,279,527,283,515,285,520,296,504,296,486,301,480,298,463,306,459,327,649,327,649,1,605,59,586,50,560,30,522,34,480,85,475,79,467,79,469,89,460,89,436,77,421,72,411,74,406,70" + onMouseOver="document.getElementById('carteEurope').innerHTML = imageAsie2" + onMouseOut="document.getElementById('carteEurope').innerHTML = imageEurope" + onClick="document.getElementById('carteEurope').style.display = 'none';document.getElementById('carteEurasie').innerHTML = imageEurasie"/> + <area class="curseur" alt="AL" title="Albanie" shape="poly" coords="358,262,359,258,361,261,365,269,361,275,359,272,359,263" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt) "/> + <area class="curseur" alt="DE" title="Allemagne" shape="poly" coords="299,170,305,176,317,171,322,175,326,192,311,198,310,202,318,210,311,216,306,216,302,218,300,217,298,219,295,215,289,210,280,203,280,192,284,179,290,178,295,172" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="AD" title="Andorre" shape="poly" coords="243,252,245,253,245,257,242,255" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="AM" title="Armenie" shape="poly" coords="511,265,516,268,527,278,522,280,508,270,508,267" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="AT" title="Autriche" shape="poly" coords="328,210,334,210,335,212,339,213,339,217,335,222,319,226,314,225,311,222,304,225,302,223,309,219,315,219,320,214,322,212,328,212" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="AZ" title="Azerbaidjan" shape="poly" coords="527,263,532,266,538,263,544,276,542,281,535,276,529,278,521,270,519,267,521,267,524,265" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="BE" title="Belgique" shape="poly" coords="263,192,269,192,274,194,275,198,271,202,262,199,259,194,262,192" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="BY" title="Belarus" shape="poly" coords="400,161,415,165,423,177,419,185,410,192,392,187,385,185,381,191,378,185,380,182,378,178,388,176,397,163" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="BA" title="Bosnie" shape="poly" coords="340,237,348,239,352,239,356,244,350,252,343,251,345,247,338,240,339,238" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="BG" title="Bulgarie" shape="poly" coords="376,246,395,248,402,243,410,248,408,257,393,261,380,261,376,256,379,252,378,248" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="CY" title="Chypre" shape="poly" coords="454,305,452,310,445,313,443,309,448,308,450,306" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="HR" title="Croatie" shape="poly" coords="337,228,344,232,352,233,353,235,350,236,341,233,334,239,341,248,340,250,330,241,320,239,335,230" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="DK" title="Danemark" shape="poly" coords="300,151,298,161,310,158,313,160,309,166,306,165,302,166,293,170,291,164,290,160,293,155,296,152" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="ES" title="Espagne" shape="poly" coords="189,248,228,249,244,258,254,255,257,259,249,264,241,269,258,276,254,281,242,268,234,284,221,295,203,300,190,294,196,283,193,276,201,259,184,255,186,250" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="EE" title="Estonie" shape="poly" coords="372,140,376,138,387,137,395,138,394,146,389,147,378,144,374,142" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="FI" title="Finlande" shape="poly" coords="383,69,392,73,389,81,395,83,392,88,398,96,398,107,406,114,395,127,374,131,362,127,360,118,375,98,369,93,364,79,373,78,379,72" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="FR" title="France" shape="poly" coords="257,196,261,202,274,209,278,209,285,211,274,226,280,234,277,236,281,244,296,254,296,261,292,258,281,246,277,250,264,248,253,253,230,247,229,222,215,213,217,211,227,213,235,207,252,196" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="GE" title="Georgie" shape="poly" coords="481,248,486,248,497,252,502,252,521,261,516,264,511,261,506,263,494,258,493,254,486,250" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="EL" title="Grece" shape="poly" coords="362,278,370,270,381,265,389,263,399,264,396,268,390,267,382,274,380,271,375,276,383,290,381,296,385,307,397,307,404,310,393,312,383,306,380,298,371,289,374,287,376,284,375,281,365,281" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="HU" title="Hongrie" shape="poly" coords="343,219,352,219,361,215,371,216,365,226,349,229,338,225,341,221" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="IE" title="Irlande" shape="poly" coords="198,168,197,172,206,177,207,183,197,187,188,192,186,187,190,178,187,174,193,172,195,168" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="IS" title="Islande" shape="poly" coords="131,106,133,100,149,94,153,97,168,93,176,96,165,106,146,110,135,104" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="IT" title="Italie" shape="poly" coords="285,244,285,231,294,231,308,226,311,229,317,229,319,232,310,237,306,241,304,245,308,246,311,244,352,272,348,273,343,272,339,272,341,279,330,296,316,291,324,287,328,288,335,283,337,279,333,274,318,263,319,258,315,255,313,259,296,278,291,281,291,270,293,265,298,269,308,256,296,241,290,242" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="LV" title="Lettonie" shape="poly" coords="381,147,395,151,397,157,393,163,380,155,374,158,362,157,363,150,369,151,374,154,378,149" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="LI" title="Liechtenstein" shape="poly" coords="298,222,300,220,302,222,300,223" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="LT" title="Lituanie" shape="poly" coords="379,158,392,163,376,176,370,170,372,167,365,163,365,158,374,160" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="LU" title="Luxembourg" shape="poly" coords="275,202,277,203,276,205,274,205,274,203" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="MK" title="Macedoine" shape="poly" coords="369,259,371,259,377,261,367,268,364,262,365,259" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="MT" title="Malte" shape="poly" coords="324,302,328,302,328,307,324,307" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="MD" title="Moldavie" shape="poly" coords="402,216,406,216,413,220,415,226,410,233,408,227,407,222,404,219" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="MC" title="Monaco" shape="poly" coords="283,245,280,248,283,248,284,246" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="ME" title="Montenegro" shape="poly" coords="358,246,361,250,361,254,354,259,352,254,356,250" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="NO" title="Norvege" shape="poly" coords="304,139,301,137,287,145,278,140,278,130,274,123,300,107,326,83,330,77,342,72,330,38,304,17,374,14,371,21,347,18,350,25,365,31,359,32,355,31,350,31,346,25,332,36,346,72,369,63,380,66,374,74,350,73,333,83,332,86,320,92,315,103,309,109,311,124,307,133" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="NL" title="Pays-Bas" shape="poly" coords="265,189,274,179,278,179,280,175,282,178,272,192,269,190,267,190" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur"alt="PL" title="Pologne" shape="poly" coords="326,176,345,169,350,174,352,172,371,174,373,174,377,183,374,186,379,198,374,200,372,204,349,204,344,198,328,195,330,190,326,179" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="PT" title="Portugal" shape="poly" coords="187,259,196,263,190,276,192,281,188,292,181,293,180,281,183,264" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="CZ" title="Republique tcheque" shape="poly" coords="327,197,337,200,344,202,346,204,342,209,334,207,328,206,322,209,314,203,313,200,322,198" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="RO" title="Roumanie" shape="poly" coords="376,220,391,220,398,218,404,225,408,235,414,239,411,245,404,241,395,244,384,244,374,238,364,229,370,228,372,222" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="UK" title="Royaume-Uni" shape="poly" coords="223,147,230,153,222,161,233,163,252,182,244,188,246,194,211,200,211,197,225,193,224,190,214,187,218,181,224,178,226,171,208,174,199,168,207,167,218,166,213,156,216,149" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="SM" title="Saint-Marin" shape="poly" coords="309,240,305,243,307,246,312,242,311,240" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="RS" title="Serbie" shape="poly" coords="355,232,359,231,374,242,373,244,374,250,373,254,363,257,365,249,359,244,356,234" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="SK" title="Slovaquie" shape="poly" coords="343,212,350,208,358,205,358,208,369,208,372,211,368,211,361,211,351,216,345,215" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="SI" title="Slovenie" shape="poly" coords="322,229,333,226,335,226,322,237,322,231" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="SE" title="Suede" shape="poly" coords="306,142,316,125,311,112,313,108,317,108,324,94,332,92,336,87,337,85,352,77,364,82,363,90,365,93,351,108,340,112,336,122,346,132,354,130,356,134,346,134,345,138,336,144,331,157,320,163,313,156,309,146" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="CH" title="Suisse" shape="poly" coords="278,226,283,220,294,220,298,224,298,225,294,228,287,229,280,231,280,228" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="TR" title="Turquie" shape="poly" coords="408,261,415,265,417,267,430,267,439,260,450,260,476,270,491,267,493,263,504,267,510,275,514,291,511,292,506,290,485,296,474,293,466,301,463,295,443,302,437,297,428,297,423,300,409,292,406,282,400,276,401,268,402,262" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="UA" title="Ukraine" shape="poly" coords="382,193,385,189,412,194,432,186,440,194,469,204,475,211,468,218,447,228,456,235,444,239,437,234,441,231,430,224,417,235,413,235,419,226,414,215,401,213,374,215,374,206,384,197" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="VA" title="Vatican" shape="poly" coords="313,260,316,258,318,260,317,261" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + </map> + + <!-- Zone délimitant l'Afrique--> + <map name="afrique"> + <area class="curseur" alt="MA" title="Maroc" shape="poly" coords="244,29,255,32,256,41,233,52,230,58,218,58,228,48,229,41,239,34" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="DZ" title="Algerie" shape="poly" coords="261,34,275,28,289,29,286,39,293,48,291,66,298,75,278,89,236,59,259,45,262,38" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="TN" title="Tunisie" shape="poly" coords="292,27,293,30,290,37,295,46,297,41,300,39,297,37,297,27" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="LY" title="Libye" shape="poly" coords="301,39,297,43,296,47,295,50,296,62,294,63,296,68,302,71,302,73,315,74,321,75,341,87,342,85,344,85,344,44,332,40,330,42,330,46,326,50,314,46,311,41,306,40" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="EG" title="Egypte" shape="poly" coords="348,45,347,79,377,79,382,76,381,71,370,55,371,49,370,47,361,48,351,46" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="MR" title="Mauritanie" shape="poly" coords="202,84,215,84,216,78,220,76,220,66,232,66,232,63,240,68,237,68,237,103,218,104,217,107,212,101,205,98,206,94,205,92,206,88" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="ML" title="Mali" shape="poly" coords="240,70,242,70,269,92,273,92,273,102,271,103,259,105,247,110,237,123,231,122,227,116,221,117,217,109,219,107,240,106,240,74" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="NE" title="Niger" shape="poly" coords="275,92,280,92,302,76,310,79,314,87,312,90,313,95,306,107,305,111,302,114,297,112,292,114,279,108,270,117,262,111,262,108,273,107,275,102,275,96" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="TD" title="Tchad" shape="poly" coords="314,78,320,79,342,93,342,102,337,107,337,120,316,135,313,129,316,124,309,111,317,96,317,87,315,82" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="SD" title="Soudan" shape="poly" coords="348,83,377,83,383,79,391,95,387,109,377,129,373,135,381,143,373,147,362,145,359,146,357,141,341,118,340,111,345,107,346,91,349,88" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="ER" title="Erythree" shape="poly" coords="395,99,391,101,391,105,390,107,399,108,403,110,409,117,411,116,398,105,397,100,395,98" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="DJ" title="Djibouti" shape="poly" coords="410,119,408,121,410,122,411,121,411,119" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="ET" title="Ethiopie" shape="poly" coords="391,111,383,125,383,131,379,135,384,138,388,144,396,149,406,148,417,144,424,136,412,132,409,125,404,121,404,119,406,117,400,112,395,112" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="SO" title="Somalie" shape="poly" coords="413,125,421,127,431,124,438,122,427,148,423,153,407,168,406,161,409,152,413,149,421,148,430,135,426,131,417,130" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="KE" title="Kenya" shape="poly" coords="382,150,386,149,396,155,404,151,405,153,402,161,404,171,397,181,395,174,382,167,386,159,383,151,383,150" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="UG" title="Ouganda" shape="poly" coords="371,153,376,153,378,151,382,157,378,166,368,168,367,164,371,157,371,154" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="CD" title="Republique democratique du Congo" shape="poly" coords="330,148,337,151,349,147,352,149,354,146,358,151,363,149,367,155,363,164,364,168,359,172,360,179,363,183,362,188,365,194,360,196,358,207,364,214,362,215,357,209,343,205,340,207,337,192,330,189,326,194,324,194,320,187,305,187,307,185,312,185,326,166,325,160,328,150,328,148" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="CF" title="Republique centrafricaine" shape="poly" coords="315,138,324,137,339,125,341,126,342,133,354,142,352,144,349,144,337,148,330,144,325,147,325,150,317,151,312,144,313,139" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="CM" title="Cameroun" shape="poly" coords="311,120,313,124,309,128,312,136,309,143,315,155,313,156,309,155,296,155,296,151,292,147,293,143,296,139,299,140,306,136,306,128,310,122" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="NG" title="Nigeria" shape="poly" coords="279,112,293,118,298,114,302,116,307,114,309,120,304,128,304,133,298,137,296,135,289,145,281,147,281,142,270,138,270,131,276,122,273,119,276,114" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="BJ" title="Benin" shape="poly" coords="269,120,272,123,270,129,269,139,267,139,266,137,266,128,263,124,268,120,268,119" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="TG" title="Togo" shape="poly" coords="260,125,261,124,264,129,264,137,265,140,264,140,262,137,262,128,261,125" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="GH" title="Ghana" shape="poly" coords="250,125,258,125,260,130,259,138,262,141,252,144,249,138,252,128,252,126" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="CI" title="Cote d'Ivoire" shape="poly" coords="233,125,236,127,239,125,244,130,246,128,248,129,247,136,246,139,248,143,234,147,235,142,231,140,233,132,232,126,232,125" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="BF" title="Burkina Faso" shape="poly" coords="241,123,247,114,256,112,257,109,259,109,259,112,267,117,263,122,261,120,258,122,249,122,248,126,244,126,241,124" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="LR" title="Liberia" shape="poly" coords="224,134,226,138,229,137,229,140,231,143,231,146,229,147,220,140,223,135,224,134" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="SL" title="Sierra Leone" shape="poly" coords="218,127,221,131,218,136,215,131,216,129" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="GN" title="Guinee" shape="poly" coords="213,118,216,120,218,118,221,120,227,119,229,124,231,131,228,135,226,131,222,127,219,125,214,127,209,122,211,120,213,119" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="GW" title="Guinee-Bissau" shape="poly" coords="211,117,211,118,207,121,204,118,209,117" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="SN" title="Senegal" shape="poly" coords="204,103,211,103,218,114,218,117,212,116,210,115,203,117,202,114,212,114,212,111,203,111,202,107,203,103" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="GM" title="Gambie" shape="poly" coords="203,114,211,114,208,112,203,112,202,113" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="RW" title="Rwanda" shape="poly" coords="365,171,369,171,366,174,363,175,363,174,363,172" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="BI" title="Burundi" shape="poly" coords="365,176,367,176,367,179,364,181,363,179,363,177" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="CG" title="Congo" shape="poly" coords="272,144,319,153,324,153,322,161,323,164,312,182,309,183,307,182,302,184,302,176,305,174,309,176,313,170,309,166,311,163,306,158,315,159,317,157,319,155" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="GA" title="Gabon" shape="poly" coords="301,159,305,158,309,163,307,164,309,169,309,172,306,172,302,173,300,177,292,170,294,163,301,162,301,160" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="GQ" title="Guinee Equatoriale" shape="poly" coords="295,158,298,158,298,159,295,160,295,159" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="TZ" title="Tanzanie" shape="poly" coords="371,170,378,170,391,176,397,185,397,195,400,205,389,209,383,209,382,201,376,201,371,196,365,189,365,182,369,181,369,174,371,172" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="MW" title="Malawi" shape="poly" coords="376,205,377,203,379,203,382,209,380,213,380,216,384,219,385,224,383,227,380,226,381,222,375,218,378,213,378,209,377,206" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="ZM" title="Zambie" shape="poly" coords="362,200,366,198,371,198,375,203,375,216,363,224,361,224,355,231,348,232,346,231,341,231,338,226,338,216,345,216,345,210,348,209,354,212,356,211,357,214,362,217,367,213,362,211,361,205,363,203,363,201" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="AO" title="Angola" shape="poly" coords="304,190,317,189,322,198,328,198,330,193,335,194,337,206,339,209,342,208,344,208,342,211,342,214,337,215,336,226,340,231,330,232,322,230,315,231,302,230,302,226,311,209,307,200,309,196,306,193" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="MZ" title="Mozambique" shape="poly" coords="383,210,386,211,390,212,402,208,401,215,402,220,397,229,379,244,384,252,381,258,374,261,372,267,371,264,370,252,375,246,377,235,375,229,366,226,374,220,380,222,380,228,382,229,387,226,386,219,382,215,382,213" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="ZW" title="Zimbabwe" shape="poly" coords="363,226,371,229,375,233,369,249,361,248,352,235,355,235,361,228,362,226" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="BW" title="Botswana" shape="poly" coords="333,237,337,236,344,237,348,235,356,248,359,249,359,252,357,252,346,263,340,260,337,267,333,266,332,261,330,261,330,254,334,245,334,240" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="NA" title="Namibie" shape="poly" coords="302,233,312,232,315,233,319,233,324,233,331,234,346,233,345,235,333,237,332,246,328,255,328,272,324,276,319,272,316,275,313,270,313,258,308,242,304,236" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="ZA" title="Afrique du Sud" shape="poly" coords="360,282,362,285,373,272,372,270,368,271,365,268,369,262,368,252,362,251,347,265,340,264,334,270,331,263,330,274,324,277,318,275,325,288,324,293,328,297,339,294,350,295,365,281,358,283,353,282,352,280,354,276,357,274,361,278,361,281,362,283" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="LS" title="Lesotho" shape="poly" coords="356,277,359,277,359,280,356,281,354,280,355,278" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="SZ" title="Swaziland" shape="poly" coords="369,266,367,266,367,268,369,269,371,268,370,267" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="MG" title="Madagascar" shape="poly" coords="433,214,436,222,423,259,416,262,411,260,411,255,410,251,415,244,415,231,417,228,423,228,427,222,429,220,432,215" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + </map> + + <!-- Zone délimitant l'Amérique du Sud--> + <map name="ameriqueSud"> + <area class="curseur" alt="AR" title="Argentine" shape="poly" coords="309,160,316,166,326,171,328,172,326,179,328,180,336,181,341,176,343,177,333,187,333,190,331,200,333,206,333,209,337,211,339,217,338,222,333,223,325,224,326,229,324,232,322,232,319,229,316,232,322,239,320,243,322,244,317,250,324,258,320,271,337,284,331,286,326,279,320,273,312,271,311,267,307,266,306,248,299,236,294,216,296,212,293,207,295,203,290,194,290,186,294,177,292,171,295,167,295,163,299,161,304,163,308,161" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="CL" title="Chili" shape="poly" coords="286,147,289,150,295,165,292,173,293,179,290,188,290,196,294,205,293,217,300,241,306,251,306,267,314,275,323,276,323,278,326,280,331,287,323,283,320,280,315,279,307,274,297,256,300,248,298,243,292,234,289,224,289,204,287,174,285,171,287,164,284,148" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="UY" title="Uruguay" shape="poly" coords="337,194,352,205,346,211,336,206,334,202,336,196" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="PY" title="Paraguay" shape="poly" coords="320,151,325,154,329,163,342,171,338,179,331,180,331,173,313,162,315,155,318,152" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="BO" title="Bolivie" shape="poly" coords="295,116,300,125,315,131,317,138,324,140,327,146,326,150,320,150,314,151,311,159,300,161,296,161,293,158,291,150,287,146,289,139,287,133,288,127,286,121,290,118" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="BR" title="Bresil" shape="poly" coords="313,59,315,60,313,66,317,72,333,69,342,70,346,62,348,70,350,72,342,83,345,84,353,77,356,78,350,85,355,86,362,80,370,85,369,88,371,90,374,86,389,88,400,98,403,98,404,111,392,127,387,162,382,167,378,165,362,176,364,183,354,202,337,190,346,177,345,172,330,161,328,152,330,147,326,138,319,136,316,128,302,123,296,113,284,118,280,112,275,112,269,105,272,97,278,94,281,94,285,83,282,78,285,75,283,72,289,70,294,75,302,72,303,68,302,62,306,64,311,60" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="PE" title="Perou" shape="poly" coords="264,81,267,85,277,87,277,91,270,94,267,106,274,116,278,116,280,120,284,121,285,135,287,139,283,147,276,141,265,136,250,103,244,100,242,94,249,96,252,91,259,86,262,83,263,80" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="EC" title="Equateur" shape="poly" coords="249,73,260,77,261,80,258,84,251,89,250,94,244,92,247,86,243,84,244,77,247,75" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="CO" title="Colombie" shape="poly" coords="271,34,272,34,270,39,272,49,287,54,289,56,288,59,289,63,287,68,282,70,281,72,281,73,280,77,282,83,281,91,280,91,280,88,278,85,272,85,265,79,250,71,256,59,254,49,263,38,267,35,271,34" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="VE" title="Venezuela" shape="poly" coords="283,32,288,35,288,36,300,38,304,38,315,44,311,52,313,56,306,61,300,60,299,64,302,68,295,73,291,66,290,54,288,51,274,47,271,40,274,34,274,40,277,44,280,38,278,36,281,34" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="GY" title="Guyana" shape="poly" coords="318,46,322,52,326,54,322,60,326,68,318,71,316,67,317,60,313,53,315,48" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="SR" title="Suriname" shape="poly" coords="328,55,332,56,335,55,335,60,336,62,335,66,328,67,327,62,324,60,327,57" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="GF" title="Guyane" shape="poly" coords="339,56,344,60,341,67,336,65,338,63,336,58,337,56" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + </map> + + <!-- Zone délimitant l'Amérique du Nord--> + <map name="ameriqueNord"> + <area class="curseur" alt="CA" title="Canada" shape="poly" coords="209,71,261,70,261,64,278,55,309,60,331,57,367,37,436,31,423,38,371,60,384,61,400,79,371,101,371,108,383,103,387,122,395,124,397,127,398,144,382,147,353,163,351,155,350,148,345,148,337,155,298,166,311,155,294,142,185,141,178,133,178,122,185,117,185,105,173,100,194,82,204,75" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="GL" title="Groenland" shape="poly" coords="413,46,428,44,447,36,465,39,497,34,503,36,513,34,532,37,544,38,542,40,532,39,521,57,507,61,515,66,513,69,505,64,502,71,510,72,500,73,489,74,475,84,462,85,448,101,439,101,431,94,434,86,431,85,436,77,443,72,434,52,412,51,412,48" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="US" title="Etats-Unis d'Amerique" shape="poly" coords="187,146,272,146,280,149,277,155,281,155,285,153,297,154,280,170,282,173,298,158,300,159,296,164,298,166,296,174,302,174,311,168,317,168,328,161,338,159,347,152,350,153,350,159,338,164,337,170,311,186,310,195,287,213,287,229,284,234,278,217,258,219,247,216,230,224,228,230,224,229,219,218,215,217,211,219,207,211,202,209,199,209,196,211,186,211,170,203,162,200,159,176,177,149,175,140,174,115,164,104,98,118,117,109,109,107,114,96,130,93,135,87,125,86,128,83,140,83,144,81,142,75,181,67,207,72,172,101,176,107,181,107,183,113,177,122,178,135,185,144" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="MX" title="Mexique" shape="poly" coords="169,208,191,213,198,213,203,213,208,223,214,219,219,221,227,233,221,248,227,258,237,259,258,250,255,257,243,264,243,268,239,268,238,271,232,268,222,269,197,255,197,248,180,213,176,211,174,214,182,239,178,240,169,213" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="CU" title="Cuba" shape="poly" coords="269,248,276,242,283,242,304,253,299,255,291,254,280,246,271,248" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="HT" title="Haiti" shape="poly" coords="308,257,312,257,312,262,310,262,309,260,308,258" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="DO" title="Republique dominicaine" shape="poly" coords="314,256,315,261,322,259,317,257" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="JM" title="Jamaique" shape="poly" coords="302,261,306,261,306,263,303,263" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="BS" title="Bahamas" shape="poly" coords="291,230,291,235,300,247,302,244,294,235,293,229" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="GT" title="Guatemala" shape="poly" coords="245,265,249,265,248,269,250,272,246,278,239,276,241,272,243,272,245,268,245,266" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="BZ" title="Belize" shape="poly" coords="256,260,251,270,250,269,251,263,253,261" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="SV" title="El Salvador" shape="poly" coords="248,277,254,280,250,281,247,279" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="HN" title="Honduras" shape="poly" coords="252,275,255,281,269,274,267,272,260,271,254,272" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="NI" title="Nicaragua" shape="poly" coords="268,276,267,290,255,282,263,278" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="CR" title="Costa-Rica" shape="poly" coords="260,290,268,294,268,299,264,294,260,294,260,292" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="PA" title="Panama" shape="poly" coords="270,298,282,297,278,302,272,300" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + </map> + + <!-- Zone délimitant l'Océanie--> + <map name="oceanie"> + <area class="curseur" alt="AU" title="Australie" shape="poly" coords="343,84,345,97,355,105,354,126,381,166,380,192,332,246,312,252,305,246,312,264,297,280,294,277,296,263,302,248,286,241,270,224,253,206,172,227,163,222,171,205,173,150,202,136,215,136,226,119,251,98,265,107,268,104,275,92,291,86,305,92,299,102,322,125,334,111,337,94,338,88" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="NZ" title="Nouvelle-Zelande" shape="poly" coords="466,226,468,241,480,247,450,266,401,297,391,296,389,292,442,262,465,247,465,228" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="PG" title="Papouasie-Nouvelle-Guinee" shape="poly" coords="339,32,369,49,371,52,389,50,398,43,390,32,397,32,404,41,416,57,412,59,402,43,390,55,373,55,370,62,392,80,374,77,362,63,352,62,345,70,339,70,338,40" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="ID" title="Indonesie" shape="poly" coords="284,23,294,18,305,36,320,25,335,32,335,68,329,62,322,64,320,61,328,57,320,48,292,37,292,32,296,29,287,25" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="SB" title="Iles Salomon" shape="poly" coords="420,56,441,67,445,81,434,77,420,65,418,61" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="VU" title="Vanuatu" shape="poly" coords="473,105,478,114,475,117,471,110" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="NC" title="Nouvelle-Caledonie" shape="poly" coords="450,130,464,149,461,152,447,135" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + </map> + + <!-- Zone délimitant l'Eurasie--> + <map name="eurasie"> + <area class="curseur" alt="Europe" title="Europe" shape="poly" coords="179,14,188,38,188,42,188,47,191,53,190,57,193,60,190,64,189,73,190,81,198,84,199,93,199,96,205,94,211,98,224,103,226,107,222,109,220,118,229,122,256,130,256,135,252,135,245,137,242,139,242,141,220,144,213,153,187,151,178,143,156,144,141,138,125,137,96,146,90,142,91,122,104,105,92,95,66,55,78,53,86,53,137,60,138,12" + onMouseOver="document.getElementById('carteEurasie').innerHTML = imageEurope2" + onMouseOut="document.getElementById('carteEurasie').innerHTML = imageEurasie" + onClick="document.getElementById('carteEurope').innerHTML = imageEurope; apparition('carteEurope')" + /> + <area class="curseur" alt="AF" title="Afghanistan" shape="poly" coords="322,140,324,144,331,142,332,144,326,145,323,150,324,151,320,160,311,167,300,167,301,163,296,158,296,150,304,148,307,143,315,145,320,142" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="BH" title="Bahrein" shape="poly" coords="267,182,269,182,268,184,267,184" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="BD" title="Bangladesh" shape="poly" coords="385,183,391,187,395,185,395,190,398,194,396,196,395,192,388,194,387,190,387,190,384,183" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="BT" title="Bhoutan" shape="poly" coords="385,176,390,175,391,177,387,178,385,177" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="BN" title="Brunei" shape="poly" coords="471,253,473,254,474,252,472,251" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="KH" title="Cambodge" shape="poly" coords="445,222,447,225,446,229,436,234,434,229,434,226,432,226,436,222,443,224" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="TL" title="Timor-oriental" shape="poly" coords="502,299,505,303,509,298,506,298" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="IN" title="Inde" shape="poly" coords="349,151,347,161,354,166,355,172,380,181,384,179,391,179,399,172,402,172,406,176,400,177,398,191,397,185,393,182,391,184,385,180,382,183,386,194,361,216,360,233,353,239,337,202,337,194,332,199,324,189,329,189,332,184,326,178,327,176,333,176,339,166,339,160,334,154,335,153,339,154,344,150,346,151" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="ID" title="Indonesie" shape="poly" coords="480,257,491,267,514,263,517,282,503,269,497,274,497,283,501,301,497,304,493,298,470,298,445,294,413,252,421,255,443,281,454,267,460,269,473,264,477,257" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="IR" title="Iran" shape="poly" coords="254,138,258,144,267,148,281,142,293,145,293,151,298,165,297,170,302,176,300,184,291,183,286,176,280,179,270,176,265,166,261,166,259,161,252,155,252,149,246,141,251,139" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="IQ" title="Iraq" shape="poly" coords="245,145,248,149,248,153,255,161,259,167,255,166,252,170,238,161,232,160,231,157,236,155,239,145,241,144" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="IL" title="Israel" shape="poly" coords="222,161,222,164,220,164,220,160" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="JP" title="Japon" shape="poly" coords="516,118,527,124,523,125,526,144,528,146,524,151,517,151,516,155,506,163,502,157,506,150,514,150,519,144,522,140,519,133,515,125,515,122,515,119" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="JO" title="Jordanie" shape="poly" coords="230,160,227,163,227,167,222,169,223,165,224,162,229,158" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="KW" title="Koweit" shape="poly" coords="255,168,258,168,259,171,257,171,255,170" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="KG" title="Kirghizistan" shape="poly" coords="328,125,332,126,336,125,338,125,342,127,334,131,325,136,322,133,326,131,323,128,319,128,320,125,326,127,327,125" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="LA" title="Laos" shape="poly" coords="428,195,429,198,432,200,432,203,436,207,440,210,444,216,446,218,441,220,441,216,438,213,438,211,434,207,426,209,426,203,424,201,424,199,426,198,426,196" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="LB" title="Liban" shape="poly" coords="222,153,222,157,220,157,221,153" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="MY" title="Malaisie" shape="poly" coords="433,251,436,254,436,259,458,262,462,262,467,259,469,255,473,257,476,253,476,250,480,248,484,252,483,255,477,254,470,264,467,263,459,266,455,265,436,263,430,259,428,254,426,249,430,251" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="MV" title="Maldives" shape="poly" coords="343,243,348,244,348,255,341,255" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="MN" title="Mongolie" shape="poly" coords="370,99,378,103,384,101,385,99,384,98,384,96,389,96,394,99,401,102,404,100,419,105,424,104,426,102,432,103,436,108,437,110,440,109,443,109,441,113,435,115,431,115,428,118,431,122,430,124,421,124,415,127,408,125,392,124,380,116,374,117,371,114,371,111,365,107,361,106,359,105,364,100,366,100" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="MM" title="Myanmar" shape="poly" coords="413,180,410,185,413,191,419,198,415,202,413,205,414,209,417,215,419,221,421,226,421,232,415,214,414,213,408,216,406,212,397,199,401,198,400,190,403,186,404,180,407,179,409,176,411,177" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="NP" title="Nepal" shape="poly" coords="358,168,361,168,364,171,370,173,372,174,375,174,380,176,380,178,378,179,360,172,357,170" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="KP" title="Coree du Nord" shape="poly" coords="476,135,479,131,482,131,485,126,487,126,486,129,488,132,484,136,487,139,484,140,479,140,481,137,478,136" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="KR" title="Coree du Sud" shape="poly" coords="489,140,491,144,495,144,497,148,491,151,488,146,486,143,485,142,487,141" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="OM" title="Oman" shape="poly" coords="286,188,288,190,289,189,293,192,296,194,290,200,291,203,285,210,279,211,276,207,283,203,287,196,283,192,285,190" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="PK" title="Pakistan" shape="poly" coords="332,145,335,145,341,150,337,150,334,150,332,153,333,159,336,162,332,170,326,173,324,179,328,185,327,186,324,186,322,187,313,181,304,183,304,181,306,178,300,170,304,171,313,170,320,163,321,164,325,155,328,153,326,150,326,147,329,146" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="QA" title="Qatar" shape="poly" coords="270,183,272,185,268,185" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="SA" title="Arabie Saoudite" shape="poly" coords="231,163,235,163,241,166,246,170,261,174,265,185,267,186,270,189,278,194,280,194,284,197,281,200,274,203,267,202,259,209,248,207,244,211,222,174,228,170,230,164" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="SG" title="Singapour" shape="poly" coords="434,263,437,264,437,265,435,265" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="LK" title="Sri Lanka" shape="poly" coords="365,240,369,246,364,248,363,242" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="SY" title="Syrie" shape="poly" coords="226,145,230,146,233,145,236,145,236,151,224,159,225,155,224,151,222,150,225,147" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="TJ" title="Tadjikistan" shape="poly" coords="319,137,322,137,325,138,328,137,330,140,327,142,324,139,322,139,315,142,316,140,313,137,316,132,317,133,316,136" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="TH" title="Thailande" shape="poly" coords="422,202,424,205,424,210,426,213,429,209,433,211,433,209,435,211,436,214,439,216,438,220,434,219,431,222,431,226,426,224,423,239,426,244,419,240,421,239,422,225,420,213,415,208,416,205,419,203" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="CN" title="Chine" shape="poly" coords="439,90,449,90,460,101,469,105,475,105,476,110,481,111,486,108,489,113,483,116,486,122,479,127,469,135,466,131,462,131,456,137,464,146,467,142,471,142,467,149,471,155,473,162,476,165,480,169,471,191,454,197,452,204,452,207,450,203,450,197,445,196,441,194,439,190,428,191,425,192,424,194,421,193,414,186,416,179,413,174,404,169,397,169,391,174,389,172,380,172,376,170,369,170,363,165,356,164,351,162,352,149,342,146,335,143,330,136,333,135,335,135,348,127,346,123,343,119,347,116,349,112,355,111,355,106,361,109,365,111,371,118,376,121,380,119,385,122,390,127,397,127,413,130,431,126,434,122,431,118,436,119,445,112,449,113,449,111,446,107,438,107,437,105,441,103,441,95" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="PH" title="Philippines" shape="poly" coords="488,208,491,211,490,218,500,224,504,231,508,244,504,249,500,244,495,244,480,241,485,233,492,228,488,220,485,219,486,211" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="AE" title="Emirats arabes unis" shape="poly" coords="285,183,285,186,281,191,276,190,272,189,277,188,281,185" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="TM" title="Turkmenistan" shape="poly" coords="282,127,286,127,289,131,294,131,297,137,307,140,304,142,303,146,296,148,295,144,289,140,280,138,274,139,270,134,273,132,280,129" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="UZ" title="Ouzbekistan" shape="poly" coords="274,118,281,116,293,122,300,124,306,130,311,132,315,129,321,130,323,131,320,132,316,131,313,132,313,133,311,136,312,140,311,142,307,138,298,135,295,129,292,128,287,125,281,125,277,127,276,123" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="VN" title="Viet Nam" shape="poly" coords="436,192,442,197,438,200,433,197" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="YE" title="Yemen" shape="poly" coords="273,207,275,213,265,220,248,225,247,215,250,211,257,215,260,215,261,212,269,207" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="KZ" title="Kazakhstan" shape="poly" coords="255,96,267,100,271,98,280,101,285,96,281,95,281,90,297,85,301,85,312,90,317,90,322,93,331,99,335,98,339,101,341,99,350,104,351,108,347,110,341,116,343,122,343,124,329,122,324,124,319,124,311,128,302,120,291,119,285,115,271,115,273,124,268,124,264,124,259,120,264,117,267,116,265,111,253,111,247,103,252,101,252,98" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + <area class="curseur" alt="RU" title="Russie" shape="poly" coords="190,40,192,39,215,46,224,49,225,44,248,23,267,22,262,39,276,33,290,34,309,26,304,11,360,22,349,30,401,31,413,37,433,30,508,41,545,53,481,51,428,54,395,60,531,70,540,97,522,78,524,60,503,69,478,71,472,86,486,88,498,89,514,112,500,112,495,124,486,119,491,113,490,106,487,105,480,106,450,87,436,88,438,99,410,99,382,92,382,99,365,94,358,101,319,86,300,81,280,87,276,94,280,96,277,98,252,94,242,101,252,111,247,117,253,126,237,120,228,118,224,113,228,103,224,99,214,96,208,90,202,92,200,79,191,79,192,72,194,68,194,65,199,62,192,47" + onMouseOver="afficheInfoPays(this.alt)" + onMouseOut="cacherInfoPays()" + onMouseMove="deplacerInfo(event)" + onClick="recevoirPays(this.alt)"/> + </map> + </div> + + <!-- Divs contenant les differents continents--> + <div id="carteAfrique" class="carte"> + </div> + <div id="carteEurasie" class="carte"> + </div> + <div id="carteEurope" class="carte"> + </div> + <div id="carteOceanie" class="carte"> + </div> + <div id="carteAmeriqueNord" class="carte"> + </div> + <div id="carteAmeriqueSud" class="carte"> + </div> + + <!-- Bouton pour revenir au choix des continents--> + <div id="retour" class="retour"> + <img id="carteRetour" src="images/Cartes/Carte_Monde_1.png" onClick="disparition()"> + </div> + + <!-- La desription des continents lors du passage de la souris--> + <div class="texte"> + <p id="description"></p> + </div> + + <!-- Petite fenêtre qui contient le pays, la capitale et le drapeau--> + <div class="infoPays" id="infoPays"> + </div></br> + + <!-- Divs pour afficher les détails des pays comparés--> + <!--<span class="comparer">Compare countries:<input id="compare" type="checkbox" onClick="vide()" ></span> + <table width="654px" border="0"> + <tr> + <td><div class="styleDiv" id="info1"></td> + <td><div class="styleDiv" id="info2"></td> + <td><div class="styleDiv" id="info3"></td> + <td><div class="styleDiv" id="info4"></td> + <td><div class="styleDiv" id="info5"></td> + </tr> + </table>--> + + <!-- Informations sur les pays d'Afrique--> + <div id="MA" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <object data="images/Drapeaux/Afrique/Flag_of_Morocco.png" class="drapeaux"/> + </div> + + <div id="DZ" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Algeria.png" class="drapeaux"/> + </div> + + <div id="TN" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <object data="images/Drapeaux/Afrique/Flag_of_Tunisia.png" class="drapeaux"/> + </div> + + <div id="LY" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <object data="images/Drapeaux/Afrique/Flag_of_Libya.png" class="drapeaux"/> + </div> + + <div id="EG" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <object data="images/Drapeaux/Afrique/Flag_of_Egypt.png" class="drapeaux"/> + </div> + + <div id="Sahara_occidental" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <object data="images/Drapeaux/Afrique/Flag_of_.png" class="drapeaux"/> + </div> + + <div id="MR" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <object data="images/Drapeaux/Afrique/Flag_of_Mauritania.png" class="drapeaux"/> + </div> + + <div id="ML" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <object data="images/Drapeaux/Afrique/Flag_of_Mali.png" class="drapeaux"/> + </div> + + <div id="NE" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Niger.png" class="drapeaux"/> + </div> + + <div id="TD" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Chad.png" class="drapeaux"/> + </div> + + <div id="SD" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Sudan.png" class="drapeaux"/> + </div> + + <div id="ER" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Eritrea.png" class="drapeaux"/> + </div> + + <div id="DJ" class="cacher"><span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Djibouti.png" class="drapeaux"/> + </div> + + <div id="ET" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Ethiopia.png" class="drapeaux"/> + </div> + + <div id="SO" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Somalia.png" class="drapeaux"/> + </div> + + <div id="KE" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Kenya.png" class="drapeaux"/> + </div> + + <div id="UG" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Uganda.png" class="drapeaux"/> + </div> + + <div id="CD" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_the_Democratic_Republic_of_the_Congo.png" class="drapeaux"/> + </div> + + <div id="CF" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_the_Central_African_Republic.png" class="drapeaux"/> + </div> + + <div id="CM" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Cameroon.png" class="drapeaux"/> + </div> + + <div id="NG" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Nigeria.png" class="drapeaux"/> + </div> + + <div id="BJ" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Benin.png" class="drapeaux"/> + </div> + + <div id="TG" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Togo.png" class="drapeaux"/> + </div> + + <div id="GH" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Ghana.png" class="drapeaux"/> + </div> + + <div id="CI" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Cote_d'Ivoire.png" class="drapeaux"/> + </div> + + <div id="BF" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Burkina_Faso.png" class="drapeaux"/> + </div> + + <div id="LR" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Liberia.png" class="drapeaux"/> + </div> + + <div id="SL" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Sierra_Leone.png" class="drapeaux"/> + </div> + + <div id="GN" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Guinea.png" class="drapeaux"/> + </div> + + <div id="GW" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Guinea-Bissau.png" class="drapeaux"/> + </div> + + <div id="SN" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Senegal.png" class="drapeaux"/> + </div> + + <div id="GM" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_The_Gambia.png" class="drapeaux"/> + </div> + + <div id="RW" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Rwanda.png" class="drapeaux"/> + </div> + + <div id="BI" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Burundi.png" class="drapeaux"/> + </div> + + <div id="CG" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_the_Republic_of_the_Congo.png" class="drapeaux"/> + </div> + + <div id="GA" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Gabon.png" class="drapeaux"/> + </div> + + <div id="GQ" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Equatorial_Guinea.png" class="drapeaux"/> + </div> + + <div id="TZ" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Tanzania.png" class="drapeaux"/> + </div> + + <div id="MW" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Malawi.png" class="drapeaux"/> + </div> + + <div id="ZM" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Zambia.png" class="drapeaux"/> + </div> + + <div id="AO" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Angola.png" class="drapeaux"/> + </div> + + <div id="MZ" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Mozambique.png" class="drapeaux"/> + </div> + + <div id="ZW" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Zimbabwe.png" class="drapeaux"/> + </div> + + <div id="BW" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Botswana.png" class="drapeaux"/> + </div> + + <div id="NA" class="cacher"> + <span class="nomPays">Namibia</span></br> + <span class="capitalePays">Capital city: Windhoec</span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Namibia.png" class="drapeaux"/> + </div> + + <div id="ZA" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_South_Africa.png" class="drapeaux"/> + </div> + + <div id="LS" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Lesotho.png" class="drapeaux"/> + </div> + + <div id="SZ" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Swaziland.png" class="drapeaux"/> + </div> + + <div id="MG" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Afrique/Flag_of_Madagascar.png" class="drapeaux"/> + </div> + + <!-- Informations sur les pays d'Amerique du Sud--> + <div id="AR" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueSud/Flag_of_Argentina.png" class="drapeaux"/> + </div> + + <div id="CL" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueSud/Flag_of_Chile.png" class="drapeaux"/> + </div> + + <div id="UY" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueSud/Flag_of_Uruguay.png" class="drapeaux"/> + </div> + + <div id="PY" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueSud/Flag_of_Paraguay.png" class="drapeaux"/> + </div> + + <div id="BO" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueSud/Flag_of_Bolivia.png" class="drapeaux"/> + </div> + + <div id="BR" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueSud/Flag_of_Brazil.png" class="drapeaux"/> + </div> + + <div id="PE" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueSud/Flag_of_Peru.png" class="drapeaux"/> + </div> + + <div id="EC" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueSud/Flag_of_Ecuador.png" class="drapeaux"/> + </div> + + <div id="CO" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueSud/Flag_of_Colombia.png" class="drapeaux"/> + </div> + + <div id="VE" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueSud/Flag_of_Venezuela.png" class="drapeaux"/> + </div> + + <div id="GY" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueSud/Flag_of_Guyana.png" class="drapeaux"/> + </div> + + <div id="SR" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueSud/Flag_of_Suriname.png" class="drapeaux"/> + </div> + + <div id="GF" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueSud/Flag_of_France.png" class="drapeaux"/> + </div> + + <!-- Informations sur les pays d'Amérique du Nord--> + <div id="CA" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueNord/Flag_of_Canada.png" class="drapeaux"/> + </div> + + <div id="GL" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueNord/Flag_of_Greenland.png" class="drapeaux"/> + </div> + + <div id="US" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueNord/Flag_of_the_United_States.png" class="drapeaux"/> + </div> + + <div id="MX" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueNord/Flag_of_Mexico.png" class="drapeaux"/> + </div> + + <div id="CU" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueNord/Flag_of_Cuba.png" class="drapeaux"/> + </div> + + <div id="HT" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueNord/Flag_of_Haiti.png" class="drapeaux"/> + </div> + + <div id="DO" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueNord/Flag_of_the_Dominican_Republic.png" class="drapeaux"/> + </div> + + <div id="JM" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueNord/Flag_of_Jamaica.png" class="drapeaux"/> + </div> + + <div id="BS" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueNord/Flag_of_the_Bahamas.png" class="drapeaux"/> + </div> + + <div id="GT" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueNord/Flag_of_Guatemala.png" class="drapeaux"/> + </div> + + <div id="BZ" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueNord/Flag_of_Belize.png" class="drapeaux"/> + </div> + + <div id="SV" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueNord/Flag_of_El_Salvador.png" class="drapeaux"/> + </div> + + <div id="HN" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueNord/Flag_of_Honduras.png" class="drapeaux"/> + </div> + + <div id="NI" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueNord/Flag_of_Nicaragua.png" class="drapeaux"/> + </div> + + <div id="CR" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueNord/Flag_of_Costa_Rica.png" class="drapeaux"/> + </div> + + <div id="PA" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/AmeriqueNord/Flag_of_Panama.png" class="drapeaux"/> + </div> + + <!-- Informations sur les pays d'Oceanie--> + <div id="AU" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Oceanie/Flag_of_Australia.png" class="drapeaux"/> + </div> + + <div id="NZ" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Oceanie/Flag_of_New_Zealand.png" class="drapeaux"/> + </div> + + <div id="PG" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Oceanie/Flag_of_Papua_New_Guinea.png" class="drapeaux"/> + </div> + + <div id="ID" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Oceanie/Flag_of_Indonesia.png" class="drapeaux"/> + </div> + + <div id="SB" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Oceanie/Flag_of_the_Solomon_Islands.png" class="drapeaux"/> + </div> + + <div id="VU" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Oceanie/Flag_of_Vanuatu.png" class="drapeaux"/> + </div> + + <div id="NC" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Oceanie/Flag_of_France.png" class="drapeaux"/> + </div> + + <!-- Informations sur les pays d'Europe--> + <div id="AL" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Albania.png" class="drapeaux"/> + </div> + + <div id="DE" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Germany.png" class="drapeaux"/> + </div> + + <div id="AD" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Andorra.png" class="drapeaux"/> + </div> + + <div id="AM" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Armenia.png" class="drapeaux"/> + </div> + + <div id="AT" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Austria.png" class="drapeaux"/> + </div> + + <div id="AZ" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Azerbaijan.png" class="drapeaux"/> + </div> + + <div id="BE" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Belgium.png" class="drapeaux"/> + </div> + + <div id="BY" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Belarus.png" class="drapeaux"/> + </div> + + <div id="BA" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Bosnia_and_Herzegovina.png" class="drapeaux"/> + </div> + + <div id="BG" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Bulgaria.png" class="drapeaux"/> + </div> + + <div id="CY" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Cyprus.png" class="drapeaux"/> + </div> + + <div id="HR" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Croatia.png" class="drapeaux"/> + </div> + + <div id="DK" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Denmark.png" class="drapeaux"/> + </div> + + <div id="ES" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Spain.png" class="drapeaux"/> + </div> + + <div id="EE" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Estonia.png" class="drapeaux"/> + </div> + + <div id="FI" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Finland.png" class="drapeaux"/> + </div> + + <div id="FR" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_France.png" class="drapeaux"/> + </div> + + <div id="GE" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Georgia.png" class="drapeaux"/> + </div> + + <div id="EL" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Greece.png" class="drapeaux"/> + </div> + + <div id="HU" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Hungary.png" class="drapeaux"/> + </div> + + <div id="IE" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Ireland.png" class="drapeaux"/> + </div> + + <div id="IS" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Iceland.png" class="drapeaux"/> + </div> + + <div id="IT" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Italy.png" class="drapeaux"/> + </div> + + <div id="LV" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Latvia.png" class="drapeaux"/> + </div> + + <div id="LI" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Liechtenstein.png" class="drapeaux"/> + </div> + + <div id="LT" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Lithuania.png" class="drapeaux"/> + </div> + + <div id="LU" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Luxembourg.png" class="drapeaux"/> + </div> + + <div id="MK" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Macedonia.png" class="drapeaux"/> + </div> + + <div id="MT" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Malta.png" class="drapeaux"/> + </div> + + <div id="MD" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Moldova.png" class="drapeaux"/> + </div> + + <div id="MC" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Monaco.png" class="drapeaux"/> + </div> + + <div id="ME" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Montenegro.png" class="drapeaux"/> + </div> + + <div id="NO" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Norway.png" class="drapeaux"/> + </div> + + <div id="NL" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_the_Netherlands.png" class="drapeaux"/> + </div> + + <div id="PL" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Poland.png" class="drapeaux"/> + </div> + + <div id="PT" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Portugal.png" class="drapeaux"/> + </div> + + <div id="CZ" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_the_Czech_Republic.png" class="drapeaux"/> + </div> + + <div id="RO" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Romania.png" class="drapeaux"/> + </div> + + <div id="UK" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_the_United_Kingdom.png" class="drapeaux"/> + </div> + + <div id="SM" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_San_Marino.png" class="drapeaux"/> + </div> + + <div id="RS" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Serbia.png" class="drapeaux"/> + </div> + + <div id="SK" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Slovakia.png" class="drapeaux"/> + </div> + + <div id="SI" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Slovenia.png" class="drapeaux"/> + </div> + + <div id="SE" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Sweden.png" class="drapeaux"/> + </div> + + <div id="CH" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Switzerland.png" class="drapeaux"/> + </div> + + <div id="TR" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Turkey.png" class="drapeaux"/> + </div> + + <div id="UA" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Ukraine.png" class="drapeaux"/> + </div> + + <div id="VA" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_the_Vatican_City.png" class="drapeaux"/> + </div> + + <!-- Informations sur les pays d'Asie--> + <div id="AF" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Afghanistan.png" class="drapeaux"/> + </div> + + <div id="SA" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Saudi_Arabia.png" class="drapeaux"/> + </div> + + <div id="BH" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Bahrain.png" class="drapeaux"/> + </div> + + <div id="BD" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Bangladesh.png" class="drapeaux"/> + </div> + + <div id="BT" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Bhutan.png" class="drapeaux"/> + </div> + + <div id="BN" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Brunei.png" class="drapeaux"/> + </div> + + <div id="KH" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Cambodia.png" class="drapeaux"/> + </div> + + <div id="CN" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_the_People's_Republic_of_China.png" class="drapeaux"/> + </div> + + <div id="KP" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_North_Korea.png" class="drapeaux"/> + </div> + + <div id="KR" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_South_Korea.png" class="drapeaux"/> + </div> + + <div id="AE" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_the_United_Arab_Emirates.png" class="drapeaux"/> + </div> + + <div id="IN" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_India.png" class="drapeaux"/> + </div> + + <div id="ID" class="cacher"> + <span class="nomPays">Indonesia</span></br> + <span class="capitalePays">Capital city: Jakarta</span></br> + <img src="images/Drapeaux/Asie/Flag_of_Indonesia.png" class="drapeaux"/> + </div> + + <div id="IR" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Iran.png" class="drapeaux"/> + </div> + + <div id="IQ" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Iraq.png" class="drapeaux"/> + </div> + + <div id="IL" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Israel.png" class="drapeaux"/> + </div> + + <div id="JP" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Japan.png" class="drapeaux"/> + </div> + + <div id="JO" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Jordan.png" class="drapeaux"/> + </div> + + <div id="KZ" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Europe/Flag_of_Kazakhstan.png" class="drapeaux"/> + </div> + + <div id="KG" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Kyrgyzstan.png" class="drapeaux"/> + </div> + + <div id="KW" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Kuwait.png" class="drapeaux"/> + </div> + + <div id="LA" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Laos.png" class="drapeaux"/> + </div> + + <div id="LB" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Lebanon.png" class="drapeaux"/> + </div> + + <div id="MY" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Malaysia.png" class="drapeaux"/> + </div> + + <div id="MV" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Maldives.png" class="drapeaux"/> + </div> + + <div id="MN" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Mongolia.png" class="drapeaux"/> + </div> + + <div id="MM" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Myanmar.png" class="drapeaux"/> + </div> + + <div id="NP" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Nepal.png" class="drapeaux"/> + </div> + + <div id="OM" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Oman.png" class="drapeaux"/> + </div> + + <div id="UZ" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Uzbekistan.png" class="drapeaux"/> + </div> + + <div id="PK" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Pakistan.png" class="drapeaux"/> + </div> + + <div id="PH" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_the_Philippines.png" class="drapeaux"/> + </div> + + <div id="QA" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Qatar.png" class="drapeaux"/> + </div> + + <div id="RU" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Russia.png" class="drapeaux"/> + </div> + + <div id="SG" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Singapore.png" class="drapeaux"/> + </div> + + <div id="LK" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Sri_Lanka.png" class="drapeaux"/> + </div> + + <div id="SY" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Syria.png" class="drapeaux"/> + </div> + + <div id="TJ" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Tajikistan.png" class="drapeaux"/> + </div> + + <div id="TH" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Thailand.png" class="drapeaux"/> + </div> + + <div id="TL" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_East_Timor.png" class="drapeaux"/> + </div> + + <div id="TM" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Turkmenistan.png" class="drapeaux"/> + </div> + + <div id="VN" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Vietnam.png" class="drapeaux"/> + </div> + + <div id="YE" class="cacher"> + <span class="nomPays"></span></br> + <span class="capitalePays"></span></br> + <img src="images/Drapeaux/Asie/Flag_of_Yemen.png" class="drapeaux"/> + </div> + </body> </html> \ No newline at end of file diff --git a/resources/library/interactive/GeoInfo.wgt/js/GeoInfo.js b/resources/library/interactive/GeoInfo.wgt/js/GeoInfo.js index 4c1aa31b..c1c5c9c0 100644 --- a/resources/library/interactive/GeoInfo.wgt/js/GeoInfo.js +++ b/resources/library/interactive/GeoInfo.wgt/js/GeoInfo.js @@ -33,6 +33,17 @@ var imageEurope = "<img src='images/Cartes/EuropeOuest.bmp' usemap='#europe'/>"; var imageEurope2 = "<img src='images/Cartes/Eurasie2.bmp' usemap='#eurasie'/>"; var imageAsie2 = "<img src='images/Cartes/EuropeOuestAsie.bmp' usemap='#europe'/>"; +var lang = ""; //locale language +if(window.sankore){ + try{ + lang = sankore.locale().substr(0,2); + sankoreLang[lang].europe; + } catch(e){ + lang = "en"; + } +} else + lang = "en"; + // adresse du serveur var url = "http://bapsot.dyndns.org/GeoInfo-GeoInfoServer/GeoInfoService"; @@ -182,6 +193,25 @@ function recevoirPaysReponse(resultat, soapResponse) // permet l'affichage de la description lors du passage de la souris function writeText(txt) { + switch(txt){ + case "North America": + txt = sankoreLang[lang].north_america; + break; + case "Eurasia": + txt = sankoreLang[lang].eurasia; + break; + case "South America": + txt = sankoreLang[lang].south_america; + break; + case "Africa": + txt = sankoreLang[lang].africa; + break; + case "Oceania": + txt = sankoreLang[lang].oceania; + break; + default: + break; + } document.getElementById("description").innerHTML = txt; } @@ -222,7 +252,8 @@ function fondu(carte) // permet de faire apparaître les infos du pays dans la petite fenêtre function afficheInfoPays(pays) { - //$("area[alt=" + pays + "]").css("z-index","9999"); + $("#" + pays + " .nomPays").html(sankoreLang[lang][pays].country); + $("#" + pays + " .capitalePays").html(sankoreLang[lang].capital + ": " + sankoreLang[lang][pays].city); document.getElementById("infoPays").innerHTML = "<div id='customCursor' class='customCursor'></div>" + document.getElementById(pays).innerHTML; } diff --git a/resources/library/interactive/GeoInfo.wgt/js/jquery-1.6.2.min.js b/resources/library/interactive/GeoInfo.wgt/js/jquery-1.6.2.min.js new file mode 100644 index 00000000..48590ecb --- /dev/null +++ b/resources/library/interactive/GeoInfo.wgt/js/jquery-1.6.2.min.js @@ -0,0 +1,18 @@ +/*! + * jQuery JavaScript Library v1.6.2 + * http://jquery.com/ + * + * Copyright 2011, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Thu Jun 30 14:16:56 2011 -0400 + */ +(function(a,b){function cv(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cs(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),b.appendChild(ch);if(!ci||!ch.createElement)ci=(ch.contentWindow||ch.contentDocument).document,ci.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),ci.close();d=ci.createElement(a),ci.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ch)}cg[a]=e}return cg[a]}function cr(a,b){var c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return c}function cq(){cn=b}function cp(){setTimeout(cq,0);return cn=f.now()}function cf(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ce(){try{return new a.XMLHttpRequest}catch(b){}}function b$(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function bZ(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function bY(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bC.test(a)?d(a,e):bY(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e in b)bY(a+"["+e+"]",b[e],c,d);else d(a,b)}function bX(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bR,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bX(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=bX(a,c,d,e,"*",g));return l}function bW(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bN),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bA(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bv:bw;if(d>0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bx(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function bm(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(be,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bl(a){f.nodeName(a,"input")?bk(a):"getElementsByTagName"in a&&f.grep(a.getElementsByTagName("input"),bk)}function bk(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bj(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function bi(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bh(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c=f.expando,d=f.data(a),e=f.data(b,d);if(d=d[c]){var g=d.events;e=e[c]=f.extend({},d);if(g){delete e.handle,e.events={};for(var h in g)for(var i=0,j=g[h].length;i<j;i++)f.event.add(b,h+(g[h][i].namespace?".":"")+g[h][i].namespace,g[h][i],g[h][i].data)}}}}function bg(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function W(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(R.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function V(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function N(a,b){return(a&&a!=="*"?a+".":"")+b.replace(z,"`").replace(A,"&")}function M(a){var b,c,d,e,g,h,i,j,k,l,m,n,o,p=[],q=[],r=f._data(this,"events");if(!(a.liveFired===this||!r||!r.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var s=r.live.slice(0);for(i=0;i<s.length;i++)g=s[i],g.origType.replace(x,"")===a.type?q.push(g.selector):s.splice(i--,1);e=f(a.target).closest(q,a.currentTarget);for(j=0,k=e.length;j<k;j++){m=e[j];for(i=0;i<s.length;i++){g=s[i];if(m.selector===g.selector&&(!n||n.test(g.namespace))&&!m.elem.disabled){h=m.elem,d=null;if(g.preType==="mouseenter"||g.preType==="mouseleave")a.type=g.preType,d=f(a.relatedTarget).closest(g.selector)[0],d&&f.contains(h,d)&&(d=h);(!d||d!==h)&&p.push({elem:h,handleObj:g,level:m.level})}}}for(j=0,k=p.length;j<k;j++){e=p[j];if(c&&e.level>c)break;a.currentTarget=e.elem,a.data=e.handleObj.data,a.handleObj=e.handleObj,o=e.handleObj.origHandler.apply(e.elem,arguments);if(o===!1||a.isPropagationStopped()){c=e.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function K(a,c,d){var e=f.extend({},d[0]);e.type=a,e.originalEvent={},e.liveFired=b,f.event.handle.call(c,e),e.isDefaultPrevented()&&d[0].preventDefault()}function E(){return!0}function D(){return!1}function m(a,c,d){var e=c+"defer",g=c+"queue",h=c+"mark",i=f.data(a,e,b,!0);i&&(d==="queue"||!f.data(a,g,b,!0))&&(d==="mark"||!f.data(a,h,b,!0))&&setTimeout(function(){!f.data(a,g,b,!0)&&!f.data(a,h,b,!0)&&(f.removeData(a,e,!0),i.resolve())},0)}function l(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function k(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(j,"$1-$2").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNaN(d)?i.test(d)?f.parseJSON(d):d:parseFloat(d)}catch(g){}f.data(a,c,d)}else d=b}return d}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z])/ig,x=function(a,b){return b.toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.resolveWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!A){A=e._Deferred();if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNaN:function(a){return a==null||!m.test(a)||isNaN(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a);return c===b||D.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(b,c,d){a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),d=c.documentElement,(!d||!d.nodeName||d.nodeName==="parsererror")&&e.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b){if(H)return H.call(b,a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=s.exec(a)||t.exec(a)||u.exec(a)||a.indexOf("compatible")<0&&v.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())});return e}(),g="done fail isResolved isRejected promise then always pipe".split(" "),h=[].slice;f.extend({_Deferred:function(){var a=[],b,c,d,e={done:function(){if(!d){var c=arguments,g,h,i,j,k;b&&(k=b,b=0);for(g=0,h=c.length;g<h;g++)i=c[g],j=f.type(i),j==="array"?e.done.apply(e,i):j==="function"&&a.push(i);k&&e.resolveWith(k[0],k[1])}return this},resolveWith:function(e,f){if(!d&&!b&&!c){f=f||[],c=1;try{while(a[0])a.shift().apply(e,f)}finally{b=[e,f],c=0}}return this},resolve:function(){e.resolveWith(this,arguments);return this},isResolved:function(){return!!c||!!b},cancel:function(){d=1,a=[];return this}};return e},Deferred:function(a){var b=f._Deferred(),c=f._Deferred(),d;f.extend(b,{then:function(a,c){b.done(a).fail(c);return this},always:function(){return b.done.apply(b,arguments).fail.apply(this,arguments)},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,pipe:function(a,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[c,"reject"]},function(a,c){var e=c[0],g=c[1],h;f.isFunction(e)?b[a](function(){h=e.apply(this,arguments),h&&f.isFunction(h.promise)?h.promise().then(d.resolve,d.reject):d[g](h)}):b[a](d[g])})}).promise()},promise:function(a){if(a==null){if(d)return d;d=a={}}var c=g.length;while(c--)a[g[c]]=b[g[c]];return a}}),b.done(c.cancel).fail(b.cancel),delete b.cancel,a&&a.call(b,b);return b},when:function(a){function i(a){return function(c){b[a]=arguments.length>1?h.call(arguments,0):c,--e||g.resolveWith(g,h.call(b,0))}}var b=arguments,c=0,d=b.length,e=d,g=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred();if(d>1){for(;c<d;c++)b[c]&&f.isFunction(b[c].promise)?b[c].promise().then(i(c),g.reject):--e;e||g.resolveWith(g,b)}else g!==a&&g.resolveWith(g,d?[a]:[]);return g.promise()}}),f.support=function(){var a=c.createElement("div"),b=c.documentElement,d,e,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;a.setAttribute("className","t"),a.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.firstChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0},m&&f.extend(p,{position:"absolute",left:-1e3,top:-1e3});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",q=a.getElementsByTagName("td"),u=q[0].offsetHeight===0,q[0].style.display="",q[1].style.display="none",k.reliableHiddenOffsets=u&&q[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",a.appendChild(j),k.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0),o.innerHTML="",n.removeChild(o);if(a.attachEvent)for(t in{submit:1,change:1,focusin:1})s="on"+t,u=s in a,u||(a.setAttribute(s,"return;"),u=typeof a[s]=="function"),k[t+"Bubbles"]=u;o=l=g=h=m=j=a=i=null;return k}(),f.boxModel=f.support.boxModel;var i=/^(?:\{.*\}|\[.*\])$/,j=/([a-z])([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!l(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g=f.expando,h=typeof c=="string",i,j=a.nodeType,k=j?f.cache:a,l=j?a[f.expando]:a[f.expando]&&f.expando;if((!l||e&&l&&!k[l][g])&&h&&d===b)return;l||(j?a[f.expando]=l=++f.uuid:l=f.expando),k[l]||(k[l]={},j||(k[l].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?k[l][g]=f.extend(k[l][g],c):k[l]=f.extend(k[l],c);i=k[l],e&&(i[g]||(i[g]={}),i=i[g]),d!==b&&(i[f.camelCase(c)]=d);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[f.camelCase(c)]||i[c]:i}},removeData:function(b,c,d){if(!!f.acceptData(b)){var e=f.expando,g=b.nodeType,h=g?f.cache:b,i=g?b[f.expando]:f.expando;if(!h[i])return;if(c){var j=d?h[i][e]:h[i];if(j){delete j[c];if(!l(j))return}}if(d){delete h[i][e];if(!l(h[i]))return}var k=h[i][e];f.support.deleteExpando||h!=a?delete h[i]:h[i]=null,k?(h[i]={},g||(h[i].toJSON=f.noop),h[i][e]=k):g&&(f.support.deleteExpando?delete b[f.expando]:b.removeAttribute?b.removeAttribute(f.expando):b[f.expando]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d=null;if(typeof a=="undefined"){if(this.length){d=f.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,g;for(var h=0,i=e.length;h<i;h++)g=e[h].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),k(this[0],g,d[g]))}}return d}if(typeof a=="object")return this.each(function(){f.data(this,a)});var j=a.split(".");j[1]=j[1]?"."+j[1]:"";if(c===b){d=this.triggerHandler("getData"+j[1]+"!",[j[0]]),d===b&&this.length&&(d=f.data(this[0],a),d=k(this[0],a,d));return d===b&&j[1]?this.data(j[0]):d}return this.each(function(){var b=f(this),d=[j[0],c];b.triggerHandler("setData"+j[1]+"!",d),f.data(this,a,c),b.triggerHandler("changeData"+j[1]+"!",d)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,c){a&&(c=(c||"fx")+"mark",f.data(a,c,(f.data(a,c,b,!0)||0)+1,!0))},_unmark:function(a,c,d){a!==!0&&(d=c,c=a,a=!1);if(c){d=d||"fx";var e=d+"mark",g=a?0:(f.data(c,e,b,!0)||1)-1;g?f.data(c,e,g,!0):(f.removeData(c,e,!0),m(c,d,"mark"))}},queue:function(a,c,d){if(a){c=(c||"fx")+"queue";var e=f.data(a,c,b,!0);d&&(!e||f.isArray(d)?e=f.data(a,c,f.makeArray(d),!0):e.push(d));return e||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e;d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),d.call(a,function(){f.dequeue(a,b)})),c.length||(f.removeData(a,b+"queue",!0),m(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){typeof a!="string"&&(c=a,a="fx");if(c===b)return f.queue(this[0],a);return this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){f.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f._Deferred(),!0))h++,l.done(m);m();return d.promise()}});var n=/[\n\t\r]/g,o=/\s+/,p=/\r/g,q=/^(?:button|input)$/i,r=/^(?:button|input|object|select|textarea)$/i,s=/^a(?:rea)?$/i,t=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,u=/\:|^on/,v,w;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(o);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(o);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(n," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(o);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ";for(var c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(n," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e=this[0];if(!arguments.length){if(e){c=f.valHooks[e.nodeName.toLowerCase()]||f.valHooks[e.type];if(c&&"get"in c&&(d=c.get(e,"value"))!==b)return d;d=e.value;return typeof d=="string"?d.replace(p,""):d==null?"":d}return b}var g=f.isFunction(a);return this.each(function(d){var e=f(this),h;if(this.nodeType===1){g?h=a.call(this,d,e.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c=a.selectedIndex,d=[],e=a.options,g=a.type==="select-one";if(c<0)return null;for(var h=g?c:0,i=g?c+1:e.length;h<i;h++){var j=e[h];if(j.selected&&(f.support.optDisabled?!j.disabled:j.getAttribute("disabled")===null)&&(!j.parentNode.disabled||!f.nodeName(j.parentNode,"optgroup"))){b=f(j).val();if(g)return b;d.push(b)}}if(g&&!d.length&&e.length)return f(e[c]).val();return d},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,c,d,e){var g=a.nodeType;if(!a||g===3||g===8||g===2)return b;if(e&&c in f.attrFn)return f(a)[c](d);if(!("getAttribute"in a))return f.prop(a,c,d);var h,i,j=g!==1||!f.isXMLDoc(a);j&&(c=f.attrFix[c]||c,i=f.attrHooks[c],i||(t.test(c)?i=w:v&&c!=="className"&&(f.nodeName(a,"form")||u.test(c))&&(i=v)));if(d!==b){if(d===null){f.removeAttr(a,c);return b}if(i&&"set"in i&&j&&(h=i.set(a,d,c))!==b)return h;a.setAttribute(c,""+d);return d}if(i&&"get"in i&&j&&(h=i.get(a,c))!==null)return h;h=a.getAttribute(c);return h===null?b:h},removeAttr:function(a,b){var c;a.nodeType===1&&(b=f.attrFix[b]||b,f.support.getSetAttribute?a.removeAttribute(b):(f.attr(a,b,""),a.removeAttributeNode(a.getAttributeNode(b))),t.test(b)&&(c=f.propFix[b]||b)in a&&(a[c]=!1))},attrHooks:{type:{set:function(a,b){if(q.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},tabIndex:{get:function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):r.test(a.nodeName)||s.test(a.nodeName)&&a.href?0:b}},value:{get:function(a,b){if(v&&f.nodeName(a,"button"))return v.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(v&&f.nodeName(a,"button"))return v.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e=a.nodeType;if(!a||e===3||e===8||e===2)return b;var g,h,i=e!==1||!f.isXMLDoc(a);i&&(c=f.propFix[c]||c,h=f.propHooks[c]);return d!==b?h&&"set"in h&&(g=h.set(a,d,c))!==b?g:a[c]=d:h&&"get"in h&&(g=h.get(a,c))!==b?g:a[c]},propHooks:{}}),w={get:function(a,c){return f.prop(a,c)?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},f.support.getSetAttribute||(f.attrFix=f.propFix,v=f.attrHooks.name=f.attrHooks.title=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&d.nodeValue!==""?d.nodeValue:b},set:function(a,b,c){var d=a.getAttributeNode(c);if(d){d.nodeValue=b;return b}}},f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})})),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}})),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var x=/\.(.*)$/,y=/^(?:textarea|input|select)$/i,z=/\./g,A=/ /g,B=/[^\w\s.|`]/g,C=function(a){return a.replace(B,"\\$&")};f.event={add:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){if(d===!1)d=D;else if(!d)return;var g,h;d.handler&&(g=d,d=g.handler),d.guid||(d.guid=f.guid++);var i=f._data(a);if(!i)return;var j=i.events,k=i.handle;j||(i.events=j={}),k||(i.handle=k=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.handle.apply(k.elem,arguments):b}),k.elem=a,c=c.split(" ");var l,m=0,n;while(l=c[m++]){h=g?f.extend({},g):{handler:d,data:e},l.indexOf(".")>-1?(n=l.split("."),l=n.shift(),h.namespace=n.slice(0).sort().join(".")):(n=[],h.namespace=""),h.type=l,h.guid||(h.guid=d.guid);var o=j[l],p=f.event.special[l]||{};if(!o){o=j[l]=[];if(!p.setup||p.setup.call(a,e,n,k)===!1)a.addEventListener?a.addEventListener(l,k,!1):a.attachEvent&&a.attachEvent("on"+l,k)}p.add&&(p.add.call(a,h),h.handler.guid||(h.handler.guid=d.guid)),o.push(h),f.event.global[l]=!0}a=null}},global:{},remove:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){d===!1&&(d=D);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=f.hasData(a)&&f._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(d=c.handler,c=c.type);if(!c||typeof c=="string"&&c.charAt(0)==="."){c=c||"";for(h in t)f.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+f.map(m.slice(0).sort(),C).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!d){for(j=0;j<p.length;j++){q=p[j];if(l||n.test(q.namespace))f.event.remove(a,r,q.handler,j),p.splice(j--,1)}continue}o=f.event.special[h]||{};for(j=e||0;j<p.length;j++){q=p[j];if(d.guid===q.guid){if(l||n.test(q.namespace))e==null&&p.splice(j--,1),o.remove&&o.remove.call(a,q);if(e!=null)break}}if(p.length===0||e!=null&&p.length===1)(!o.teardown||o.teardown.call(a,m)===!1)&&f.removeEvent(a,h,s.handle),g=null,delete t[h]}if(f.isEmptyObject(t)){var u=s.handle;u&&(u.elem=null),delete s.events,delete s.handle,f.isEmptyObject(s)&&f.removeData(a,b,!0)}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){var h=c.type||c,i=[],j;h.indexOf("!")>=0&&(h=h.slice(0,-1),j=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i. +shift(),i.sort());if(!!e&&!f.event.customEvent[h]||!!f.event.global[h]){c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.exclusive=j,c.namespace=i.join("."),c.namespace_re=new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)");if(g||!e)c.preventDefault(),c.stopPropagation();if(!e){f.each(f.cache,function(){var a=f.expando,b=this[a];b&&b.events&&b.events[h]&&f.event.trigger(c,d,b.handle.elem)});return}if(e.nodeType===3||e.nodeType===8)return;c.result=b,c.target=e,d=d!=null?f.makeArray(d):[],d.unshift(c);var k=e,l=h.indexOf(":")<0?"on"+h:"";do{var m=f._data(k,"handle");c.currentTarget=k,m&&m.apply(k,d),l&&f.acceptData(k)&&k[l]&&k[l].apply(k,d)===!1&&(c.result=!1,c.preventDefault()),k=k.parentNode||k.ownerDocument||k===c.target.ownerDocument&&a}while(k&&!c.isPropagationStopped());if(!c.isDefaultPrevented()){var n,o=f.event.special[h]||{};if((!o._default||o._default.call(e.ownerDocument,c)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)){try{l&&e[h]&&(n=e[l],n&&(e[l]=null),f.event.triggered=h,e[h]())}catch(p){}n&&(e[l]=n),f.event.triggered=b}}return c.result}},handle:function(c){c=f.event.fix(c||a.event);var d=((f._data(this,"events")||{})[c.type]||[]).slice(0),e=!c.exclusive&&!c.namespace,g=Array.prototype.slice.call(arguments,0);g[0]=c,c.currentTarget=this;for(var h=0,i=d.length;h<i;h++){var j=d[h];if(e||c.namespace_re.test(j.namespace)){c.handler=j.handler,c.data=j.data,c.handleObj=j;var k=j.handler.apply(this,g);k!==b&&(c.result=k,k===!1&&(c.preventDefault(),c.stopPropagation()));if(c.isImmediatePropagationStopped())break}}return c.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[f.expando])return a;var d=a;a=f.Event(d);for(var e=this.props.length,g;e;)g=this.props[--e],a[g]=d[g];a.target||(a.target=a.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),!a.relatedTarget&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){var h=a.target.ownerDocument||c,i=h.documentElement,j=h.body;a.pageX=a.clientX+(i&&i.scrollLeft||j&&j.scrollLeft||0)-(i&&i.clientLeft||j&&j.clientLeft||0),a.pageY=a.clientY+(i&&i.scrollTop||j&&j.scrollTop||0)-(i&&i.clientTop||j&&j.clientTop||0)}a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode),!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey),!a.which&&a.button!==b&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return a},guid:1e8,proxy:f.proxy,special:{ready:{setup:f.bindReady,teardown:f.noop},live:{add:function(a){f.event.add(this,N(a.origType,a.selector),f.extend({},a,{handler:M,guid:a.handler.guid}))},remove:function(a){f.event.remove(this,N(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}}},f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!this.preventDefault)return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?E:D):this.type=a,b&&f.extend(this,b),this.timeStamp=f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=E;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=E;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=E,this.stopPropagation()},isDefaultPrevented:D,isPropagationStopped:D,isImmediatePropagationStopped:D};var F=function(a){var b=a.relatedTarget,c=!1,d=a.type;a.type=a.data,b!==this&&(b&&(c=f.contains(this,b)),c||(f.event.handle.apply(this,arguments),a.type=d))},G=function(a){a.type=a.data,f.event.handle.apply(this,arguments)};f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={setup:function(c){f.event.add(this,b,c&&c.selector?G:F,a)},teardown:function(a){f.event.remove(this,b,a&&a.selector?G:F)}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(a,b){if(!f.nodeName(this,"form"))f.event.add(this,"click.specialSubmit",function(a){var b=a.target,c=b.type;(c==="submit"||c==="image")&&f(b).closest("form").length&&K("submit",this,arguments)}),f.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=b.type;(c==="text"||c==="password")&&f(b).closest("form").length&&a.keyCode===13&&K("submit",this,arguments)});else return!1},teardown:function(a){f.event.remove(this,".specialSubmit")}});if(!f.support.changeBubbles){var H,I=function(a){var b=a.type,c=a.value;b==="radio"||b==="checkbox"?c=a.checked:b==="select-multiple"?c=a.selectedIndex>-1?f.map(a.options,function(a){return a.selected}).join("-"):"":f.nodeName(a,"select")&&(c=a.selectedIndex);return c},J=function(c){var d=c.target,e,g;if(!!y.test(d.nodeName)&&!d.readOnly){e=f._data(d,"_change_data"),g=I(d),(c.type!=="focusout"||d.type!=="radio")&&f._data(d,"_change_data",g);if(e===b||g===e)return;if(e!=null||g)c.type="change",c.liveFired=b,f.event.trigger(c,arguments[1],d)}};f.event.special.change={filters:{focusout:J,beforedeactivate:J,click:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||f.nodeName(b,"select"))&&J.call(this,a)},keydown:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!f.nodeName(b,"textarea")||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&J.call(this,a)},beforeactivate:function(a){var b=a.target;f._data(b,"_change_data",I(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in H)f.event.add(this,c+".specialChange",H[c]);return y.test(this.nodeName)},teardown:function(a){f.event.remove(this,".specialChange");return y.test(this.nodeName)}},H=f.event.special.change.filters,H.focus=H.beforeactivate}f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){function e(a){var c=f.event.fix(a);c.type=b,c.originalEvent={},f.event.trigger(c,null,c.target),c.isDefaultPrevented()&&a.preventDefault()}var d=0;f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.each(["bind","one"],function(a,c){f.fn[c]=function(a,d,e){var g;if(typeof a=="object"){for(var h in a)this[c](h,d,a[h],e);return this}if(arguments.length===2||d===!1)e=d,d=b;c==="one"?(g=function(a){f(this).unbind(a,g);return e.apply(this,arguments)},g.guid=e.guid||f.guid++):g=e;if(a==="unload"&&c!=="one")this.one(a,d,e);else for(var i=0,j=this.length;i<j;i++)f.event.add(this[i],a,g,d);return this}}),f.fn.extend({unbind:function(a,b){if(typeof a=="object"&&!a.preventDefault)for(var c in a)this.unbind(c,a[c]);else for(var d=0,e=this.length;d<e;d++)f.event.remove(this[d],a,b);return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f.data(this,"lastToggle"+a.guid)||0)%d;f.data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var L={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};f.each(["live","die"],function(a,c){f.fn[c]=function(a,d,e,g){var h,i=0,j,k,l,m=g||this.selector,n=g?this:f(this.context);if(typeof a=="object"&&!a.preventDefault){for(var o in a)n[c](o,d,a[o],m);return this}if(c==="die"&&!a&&g&&g.charAt(0)==="."){n.unbind(g);return this}if(d===!1||f.isFunction(d))e=d||D,d=b;a=(a||"").split(" ");while((h=a[i++])!=null){j=x.exec(h),k="",j&&(k=j[0],h=h.replace(x,""));if(h==="hover"){a.push("mouseenter"+k,"mouseleave"+k);continue}l=h,L[h]?(a.push(L[h]+k),h=h+k):h=(L[h]||h)+k;if(c==="live")for(var p=0,q=n.length;p<q;p++)f.event.add(n[p],"live."+N(h,m),{data:d,selector:m,handler:e,origType:h,origHandler:e,preType:l});else n.unbind("live."+N(h,m),e)}return this}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}if(i.nodeType===1){f||(i.sizcache=c,i.sizset=g);if(typeof b!="string"){if(i===b){j=!0;break}}else if(k.filter(b,[i]).length>0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}i.nodeType===1&&!f&&(i.sizcache=c,i.sizset=g);if(i.nodeName.toLowerCase()===b){j=i;break}i=i[a]}d[g]=j}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d=0,e=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,f,g){f=f||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return f;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(e.call(n)==="[object Array]")if(!u)f.push.apply(f,n);else if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&f.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&f.push(j[t]);else p(n,f);o&&(k(o,h,f,g),k.uniqueSort(f));return f};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},k.matches=function(a,b){return k(a,null,null,b)},k.matchesSelector=function(a,b){return k(b,null,null,[a]).length>0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e<f;e++){var g,h=l.order[e];if(g=l.leftMatch[h].exec(a)){var j=g[1];g.splice(1,1);if(j.substr(j.length-1)!=="\\"){g[1]=(g[1]||"").replace(i,""),d=l.find[h](g,b,c);if(d!=null){a=a.replace(l.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},k.filter=function(a,c,d,e){var f,g,h=a,i=[],j=c,m=c&&c[0]&&k.isXML(c[0]);while(a&&c.length){for(var n in l.filter)if((f=l.leftMatch[n].exec(a))!=null&&f[2]){var o,p,q=l.filter[n],r=f[1];g=!1,f.splice(1,1);if(r.substr(r.length-1)==="\\")continue;j===i&&(i=[]);if(l.preFilter[n]){f=l.preFilter[n](f,j,d,i,e,m);if(!f)g=o=!0;else if(f===!0)continue}if(f)for(var s=0;(p=j[s])!=null;s++)if(p){o=q(p,f,s,j);var t=e^!!o;d&&o!=null?t?g=!0:j[s]=!1:t&&(i.push(p),g=!0)}if(o!==b){d||(j=i),a=a.replace(l.match[n],"");if(!g)return[];break}}if(a===h)if(g==null)k.error(a);else break;h=a}return j},k.error=function(a){throw"Syntax error, unrecognized expression: "+a};var l=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!j.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&k.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&k.filter(b,a,!0)}},"":function(a,b,c){var e,f=d++,g=u;typeof b=="string"&&!j.test(b)&&(b=b.toLowerCase(),e=b,g=t),g("parentNode",b,f,a,e,c)},"~":function(a,b,c){var e,f=d++,g=u;typeof b=="string"&&!j.test(b)&&(b=b.toLowerCase(),e=b,g=t),g("previousSibling",b,f,a,e,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(i,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=d++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}k.error(e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case"only":case"first":while(d=d.previousSibling)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case"last":while(d=d.nextSibling)if(d.nodeType===1)return!1;return!0;case"nth":var e=b[2],f=b[3];if(e===1&&f===0)return!0;var g=b[0],h=a.parentNode;if(h&&(h.sizcache!==g||!a.nodeIndex)){var i=0;for(d=h.firstChild;d;d=d.nextSibling)d.nodeType===1&&(d.nodeIndex=++i);h.sizcache=g}var j=a.nodeIndex-f;return e===0?j===0:j%e===0&&j/e>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(e.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var f=a.length;c<f;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var r,s;c.documentElement.compareDocumentPosition?r=function(a,b){if(a===b){g=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(r=function(a,b){if(a===b){g=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(h===i)return s(a,b);if(!h)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return s(e[k],f[k]);return k===c?s(a,f[k],-1):s(e[k],b,1)},s=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),k.getText=function(a){var b="",c;for(var d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=k.getText(c.childNodes));return b},function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(e||!l.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return k(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g<h;g++)k(a,f[g],d);return k.filter(e,d)};f.find=k,f.expr=k.selectors,f.expr[":"]=f.expr.filters,f.unique=k.uniqueSort,f.text=k.getText,f.isXMLDoc=k.isXML,f.contains=k.contains}();var O=/Until$/,P=/^(?:parents|prevUntil|prevAll)/,Q=/,/,R=/^.[^:#\[\.,]*$/,S=Array.prototype.slice,T=f.expr.match.POS,U={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(W(this,a,!1),"not",a)},filter:function(a){return this.pushStack(W(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(d=0,e=a.length;d<e;d++)i=a[d],j[i]||(j[i]=T.test(i)?f(i,b||this.context):i);while(g&&g.ownerDocument&&g!==b){for(i in j)h=j[i],(h.jquery?h.index(g)>-1:f(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=T.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(l?l.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a=="string")return f.inArray(this[0],a?f(a):this.parent().children());return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(V(c[0])||V(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=S.call(arguments);O.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!U[a]?f.unique(e):e,(this.length>1||Q.test(d))&&P.test(a)&&(e=e.reverse());return this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var X=/ jQuery\d+="(?:\d+|null)"/g,Y=/^\s+/,Z=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,$=/<([\w:]+)/,_=/<tbody/i,ba=/<|&#?\w+;/,bb=/<(?:script|object|embed|option|style)/i,bc=/checked\s*(?:[^=]|=\s*.checked.)/i,bd=/\/(java|ecma)script/i,be=/^\s*<!(?:\[CDATA\[|\-\-)/,bf={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};bf.optgroup=bf.option,bf.tbody=bf.tfoot=bf.colgroup=bf.caption=bf.thead,bf.th=bf.td,f.support.htmlSerialize||(bf._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(X,""):null;if(typeof a=="string"&&!bb.test(a)&&(f.support.leadingWhitespace||!Y.test(a))&&!bf[($.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Z,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bc.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bg(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,bm)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i;b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof a[0]=="string"&&a[0].length<512&&i===c&&a[0].charAt(0)==="<"&&!bb.test(a[0])&&(f.support.checkClone||!bc.test(a[0]))&&(g=!0,h=f.fragments[a[0]],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[a[0]]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j +)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bi(a,d),e=bj(a),g=bj(d);for(h=0;e[h];++h)bi(e[h],g[h])}if(b){bh(a,d);if(c){e=bj(a),g=bj(d);for(h=0;e[h];++h)bh(e[h],g[h])}}e=g=null;return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!ba.test(k))k=b.createTextNode(k);else{k=k.replace(Z,"<$1></$2>");var l=($.exec(k)||["",""])[1].toLowerCase(),m=bf[l]||bf._default,n=m[0],o=b.createElement("div");o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=_.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&Y.test(k)&&o.insertBefore(b.createTextNode(Y.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i<r;i++)bl(k[i]);else bl(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||bd.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.expando,g=f.event.special,h=f.support.deleteExpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&f.noData[j.nodeName.toLowerCase()])continue;c=j[f.expando];if(c){b=d[c]&&d[c][e];if(b&&b.events){for(var k in b.events)g[k]?f.event.remove(j,k):f.removeEvent(j,k,b.handle);b.handle&&(b.handle.elem=null)}h?delete j[f.expando]:j.removeAttribute&&j.removeAttribute(f.expando),delete d[c]}}}});var bn=/alpha\([^)]*\)/i,bo=/opacity=([^)]*)/,bp=/([A-Z]|^ms)/g,bq=/^-?\d+(?:px)?$/i,br=/^-?\d/,bs=/^[+\-]=/,bt=/[^+\-\.\de]+/g,bu={position:"absolute",visibility:"hidden",display:"block"},bv=["Left","Right"],bw=["Top","Bottom"],bx,by,bz;f.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bx(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d;if(h==="number"&&isNaN(d)||d==null)return;h==="string"&&bs.test(d)&&(d=+d.replace(bt,"")+parseFloat(f.css(a,c)),h="number"),h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bx)return bx(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c){if(a.offsetWidth!==0)return bA(a,b,d);f.swap(a,bu,function(){e=bA(a,b,d)});return e}},set:function(a,b){if(!bq.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bo.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle;c.zoom=1;var e=f.isNaN(b)?"":"alpha(opacity="+b*100+")",g=d&&d.filter||c.filter||"";c.filter=bn.test(g)?g.replace(bn,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bx(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(by=function(a,c){var d,e,g;c=c.replace(bp,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c));return d}),c.documentElement.currentStyle&&(bz=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bq.test(d)&&br.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bx=by||bz,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bB=/%20/g,bC=/\[\]$/,bD=/\r?\n/g,bE=/#.*$/,bF=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bG=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bH=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,bI=/^(?:GET|HEAD)$/,bJ=/^\/\//,bK=/\?/,bL=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bM=/^(?:select|textarea)/i,bN=/\s+/,bO=/([?&])_=[^&]*/,bP=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bQ=f.fn.load,bR={},bS={},bT,bU;try{bT=e.href}catch(bV){bT=c.createElement("a"),bT.href="",bT=bT.href}bU=bP.exec(bT.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bQ)return bQ.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bL,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bM.test(this.nodeName)||bG.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bD,"\r\n")}}):{name:b.name,value:c.replace(bD,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?f.extend(!0,a,f.ajaxSettings,b):(b=a,a=f.extend(!0,f.ajaxSettings,b));for(var c in{context:1,url:1})c in b?a[c]=b[c]:c in f.ajaxSettings&&(a[c]=f.ajaxSettings[c]);return a},ajaxSettings:{url:bT,isLocal:bH.test(bU[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML}},ajaxPrefilter:bW(bR),ajaxTransport:bW(bS),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a?4:0;var o,r,u,w=l?bZ(d,v,l):b,x,y;if(a>=200&&a<300||a===304){if(d.ifModified){if(x=v.getResponseHeader("Last-Modified"))f.lastModified[k]=x;if(y=v.getResponseHeader("Etag"))f.etag[k]=y}if(a===304)c="notmodified",o=!0;else try{r=b$(d,w),c="success",o=!0}catch(z){c="parsererror",u=z}}else{u=c;if(!c||a)c="error",a<0&&(a=0)}v.status=a,v.statusText=c,o?h.resolveWith(e,[r,c,v]):h.rejectWith(e,[v,c,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.resolveWith(e,[v,c]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f._Deferred(),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bF.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.done,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bE,"").replace(bJ,bU[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bN),d.crossDomain==null&&(r=bP.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bU[1]&&r[2]==bU[2]&&(r[3]||(r[1]==="http:"?80:443))==(bU[3]||(bU[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bX(bR,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bI.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bK.test(d.url)?"&":"?")+d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bO,"$1_="+x);d.url=y+(y===d.url?(bK.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", */*; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=bX(bS,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){status<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)bY(g,a[g],c,e);return d.join("&").replace(bB,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var b_=f.now(),ca=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+b_++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ca.test(b.url)||e&&ca.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ca,l),b.url===j&&(e&&(k=k.replace(ca,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cb=a.ActiveXObject?function(){for(var a in cd)cd[a](0,1)}:!1,cc=0,cd;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ce()||cf()}:ce,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cb&&delete cd[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cc,cb&&(cd||(cd={},f(a).unload(cb)),cd[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cg={},ch,ci,cj=/^(?:toggle|show|hide)$/,ck=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cl,cm=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cn,co=a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cr("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cs(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cr("hide",3),a,b,c);for(var d=0,e=this.length;d<e;d++)if(this[d].style){var g=f.css(this[d],"display");g!=="none"&&!f._data(this[d],"olddisplay")&&f._data(this[d],"olddisplay",g)}for(d=0;d<e;d++)this[d].style&&(this[d].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cr("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return this[e.queue===!1?"each":"queue"](function(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(f.support.inlineBlockNeedsLayout?(j=cs(this.nodeName),j==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)):this.style.display="inline-block"))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)k=new f.fx(this,b,i),h=a[i],cj.test(h)?k[h==="toggle"?d?"show":"hide":h]():(l=ck.exec(h),m=k.cur(),l?(n=parseFloat(l[2]),o=l[3]||(f.cssNumber[i]?"":"px"),o!=="px"&&(f.style(this,i,(n||1)+o),m=(n||1)/k.cur()*m,f.style(this,i,m+o)),l[1]&&(n=(l[1]==="-="?-1:1)*n+m),k.custom(m,n,o)):k.custom(m,h,""));return!0})},stop:function(a,b){a&&this.queue([]),this.each(function(){var a=f.timers,c=a.length;b||f._unmark(!0,this);while(c--)a[c].elem===this&&(b&&a[c](!0),a.splice(c,1))}),b||this.dequeue();return this}}),f.each({slideDown:cr("show",1),slideUp:cr("hide",1),slideToggle:cr("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default,d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue!==!1?f.dequeue(this):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,c){function h(a){return d.step(a)}var d=this,e=f.fx,g;this.startTime=cn||cp(),this.start=a,this.end=b,this.unit=c||this.unit||(f.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,h.elem=this.elem,h()&&f.timers.push(h)&&!cl&&(co?(cl=!0,g=function(){cl&&(co(g),e.tick())},co(g)):cl=setInterval(e.tick,e.interval))},show:function(){this.options.orig[this.prop]=f.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=cn||cp(),c=!0,d=this.elem,e=this.options,g,h;if(a||b>=e.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),e.animatedProperties[this.prop]=!0;for(g in e.animatedProperties)e.animatedProperties[g]!==!0&&(c=!1);if(c){e.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){d.style["overflow"+b]=e.overflow[a]}),e.hide&&f(d).hide();if(e.hide||e.show)for(var i in e.animatedProperties)f.style(d,i,e.orig[i]);e.complete.call(d)}return!1}e.duration==Infinity?this.now=b:(h=b-this.startTime,this.state=h/e.duration,this.pos=f.easing[e.animatedProperties[this.prop]](this.state,h,0,1,e.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){for(var a=f.timers,b=0;b<a.length;++b)a[b]()||a.splice(b--,1);a.length||f.fx.stop()},interval:13,stop:function(){clearInterval(cl),cl=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var ct=/^t(?:able|d|h)$/i,cu=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(d){}var e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=e.body,i=cv(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);f.offset.initialize();var c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.offset.supportsFixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.offsetLeft,f.offset.doesNotAddBorder&&(!f.offset.doesAddBorderForTableAndCells||!ct.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),e=d,d=b.offsetParent),f.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;f.offset.supportsFixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},f.offset={initialize:function(){var a=c.body,b=c.createElement("div"),d,e,g,h,i=parseFloat(f.css(a,"marginTop"))||0,j="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";f.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),d=b.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,this.doesNotAddBorder=e.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,e.style.position="fixed",e.style.top="20px",this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),f.offset.initialize=f.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.offset.initialize(),f.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cu.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cu.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cv(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cv(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a&&a.style?parseFloat(f.css(a,d,"padding")):null},f.fn["outer"+c]=function(a){var b=this[0];return b&&b.style?parseFloat(f.css(b,d,a?"margin":"border")):null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var h=f.css(e,d),i=parseFloat(h);return f.isNaN(i)?h:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f})(window); \ No newline at end of file diff --git a/resources/library/interactive/GeoInfo.wgt/js/languages.js b/resources/library/interactive/GeoInfo.wgt/js/languages.js new file mode 100644 index 00000000..53bc8839 --- /dev/null +++ b/resources/library/interactive/GeoInfo.wgt/js/languages.js @@ -0,0 +1,2133 @@ +var sankoreLang = { + "en":{ + "capital":"Capital city", + "europe":"Europe", + "asia":"Asia", + "north_america":"North America", + "south_america":"South America", + "oceania":"Oceania", + "africa":"Africa", + "eurasia": "Eurasia", + "MA":{ + "city":"Rabat", + "country":"Morocco" + }, + "DZ":{ + "city":"Alger", + "country":"Algeria" + }, + "TN":{ + "city":"Tunis", + "country":"Tunisia" + }, + "LY":{ + "city":"Tripoli", + "country":"Libya" + }, + "EG":{ + "city":"Cairo", + "country":"Egypt" + }, + "Sahara_occidental":{ + "city":"", + "country":"Sahara occidental" + }, + "MR":{ + "city":"Nouakchott", + "country":"Mauritania" + }, + "ML":{ + "city":"Bamako", + "country":"Mali" + }, + "NE":{ + "city":"Niamey", + "country":"Niger" + }, + "TD":{ + "city":"Ndjamena", + "country":"Tchad" + }, + "SD":{ + "city":"Khartoum", + "country":"Soudan" + }, + "ER":{ + "city":"Asmara", + "country":"Eritrea" + }, + "DJ":{ + "city":"Djibouti", + "country":"Djibouti" + }, + "ET":{ + "city":"Addis Ababa", + "country":"Ethiopia" + }, + "SO":{ + "city":"Mogadiscio", + "country":"Somalia" + }, + "KE":{ + "city":"Nairobi", + "country":"Kenya" + }, + "UG":{ + "city":"Kampala", + "country":"Uganda" + }, + "CD":{ + "city":"Kinshasa", + "country":"Democratic Republic of Congo" + }, + "CF":{ + "city":"Bangui", + "country":"Central African Republic" + }, + "CM":{ + "city":"Yaounde", + "country":"Cameroun" + }, + "NG":{ + "city":"Abuja", + "country":"Nigeria" + }, + "BJ":{ + "city":"Porto Novo", + "country":"Benin" + }, + "TG":{ + "city":"Lome", + "country":"Togo" + }, + "GH":{ + "city":"Accra", + "country":"Ghana" + }, + "CI":{ + "city":"Yamoussoukro", + "country":"Cote d'Ivoire" + }, + "BF":{ + "city":"Ouagadougou", + "country":"Burkina Faso" + }, + "LR":{ + "city":"Monravia", + "country":"Liberia" + }, + "SL":{ + "city":"Freetown", + "country":"Sierra Leone" + }, + "GN":{ + "city":"Conakry", + "country":"Guinea" + }, + "GW":{ + "city":"Bissau", + "country":"Guinea-Bissau" + }, + "SN":{ + "city":"Dakar", + "country":"Senegal" + }, + "GM":{ + "city":"Banjul", + "country":"Gambia" + }, + "RW":{ + "city":"Kigali", + "country":"Rwanda" + }, + "BI":{ + "city":"Bujumbura", + "country":"Burundi" + }, + "CG":{ + "city":"Brazzaville", + "country":"Republic of Congo" + }, + "GA":{ + "city":"Libreville", + "country":"Gabon" + }, + "GQ":{ + "city":"Malabo", + "country":"Equatorial Guinea" + }, + "TZ":{ + "city":"Dodoma", + "country":"Tanzania" + }, + "MW":{ + "city":"Lilongwe", + "country":"Malawi" + }, + "ZM":{ + "city":"Lusaka", + "country":"Zambia" + }, + "AO":{ + "city":"Luanda", + "country":"Angola" + }, + "MZ":{ + "city":"Maputo", + "country":"Mozambique" + }, + "ZW":{ + "city":"Harare", + "country":"Zimbabwe" + }, + "BW":{ + "city":"Gaborone", + "country":"Botswana" + }, + "NA":{ + "city":"Windhoec", + "country":"Namibia" + }, + "ZA":{ + "city":"Pretoria", + "country":"South Africa" + }, + "LS":{ + "city":"Maseru", + "country":"Lesotho" + }, + "SZ":{ + "city":"Mbabane", + "country":"Swaziland" + }, + "MG":{ + "city":"Antananarivo", + "country":"Madagascar" + }, + "AR":{ + "city":"Buenos Aires", + "country":"Argentine" + }, + "CL":{ + "city":"Santiago", + "country":"Chili" + }, + "UY":{ + "city":"Montevideo", + "country":"Uruguay" + }, + "PY":{ + "city":"Asuncion", + "country":"Paraguay" + }, + "BO":{ + "city":"La Paz", + "country":"Bolivia" + }, + "BR":{ + "city":"Brasilia", + "country":"Brazil" + }, + "PE":{ + "city":"Lima", + "country":"Peru" + }, + "EC":{ + "city":"Quito", + "country":"Ecuador" + }, + "CO":{ + "city":"Bogota", + "country":"Colombia" + }, + "VE":{ + "city":"Caracas", + "country":"Venezuela" + }, + "GY":{ + "city":"Georgetown", + "country":"Guyana" + }, + "SR":{ + "city":"Paramaribo", + "country":"Suriname" + }, + "GF":{ + "city":"Paris", + "country":"French Guyana" + }, + "CA":{ + "city":"Ottawa", + "country":"Canada" + }, + "GL":{ + "city":"Nuuk", + "country":"Greenland" + }, + "US":{ + "city":"Washington", + "country":"United States of America" + }, + "MX":{ + "city":"Mexico", + "country":"Mexico" + }, + "CU":{ + "city":"Havana", + "country":"Cuba" + }, + "HT":{ + "city":"Port-au-Prince", + "country":"Haiti" + }, + "DO":{ + "city":"Santo Domingo", + "country":"Dominican Republic" + }, + "JM":{ + "city":"Kingston", + "country":"Jamaica" + }, + "BS":{ + "city":"Nassau", + "country":"Bahamas" + }, + "GT":{ + "city":"Guatemala", + "country":"Guatemala" + }, + "BZ":{ + "city":"Belmopan", + "country":"Belize" + }, + "SV":{ + "city":"Salvador", + "country":"San Salvador" + }, + "HN":{ + "city":"Tegucigalpa", + "country":"Honduras" + }, + "NI":{ + "city":"Managua", + "country":"Nicaragua" + }, + "CR":{ + "city":"San Jose", + "country":"Costa-Rica" + }, + "PA":{ + "city":"Panama", + "country":"Panama" + }, + "AU":{ + "city":"Canberra", + "country":"Australia" + }, + "NZ":{ + "city":"Wellington", + "country":"New Zealand" + }, + "PG":{ + "city":"Port Moresby", + "country":"Papua New Guinea" + }, + "ID":{ + "city":"Jakarta", + "country":"Indonesia" + }, + "SB":{ + "city":"Honiara", + "country":"Solomon Islands" + }, + "VU":{ + "city":"Port-Vila", + "country":"Vanuatu" + }, + "NC":{ + "city":"Paris", + "country":"New Caledonia" + }, + "AL":{ + "city":"Tirana", + "country":"Albania" + }, + "DE":{ + "city":"Berlin", + "country":"Germany" + }, + "AD":{ + "city":"Andorra la Vella", + "country":"Andorra" + }, + "AM":{ + "city":"Erevan", + "country":"Armenia" + }, + "AT":{ + "city":"Vienna", + "country":"Austria" + }, + "AZ":{ + "city":"Baku", + "country":"Azerbaijan" + }, + "BE":{ + "city":"Bruxelles", + "country":"Belgium" + }, + "BY":{ + "city":"Minsk", + "country":"Belarus" + }, + "BA":{ + "city":"Sarajevo", + "country":"Bosnia" + }, + "BG":{ + "city":"Sofia", + "country":"Bulgaria" + }, + "CY":{ + "city":"Nicosia", + "country":"Cyprus" + }, + "HR":{ + "city":"Zagreb", + "country":"Croatia" + }, + "DK":{ + "city":"Copenhagen", + "country":"Denmark" + }, + "ES":{ + "city":"Madrid", + "country":"Spain" + }, + "EE":{ + "city":"Tallinn", + "country":"Estonia" + }, + "FI":{ + "city":"Helsinki", + "country":"Finland" + }, + "FR":{ + "city":"Paris", + "country":"France" + }, + "GE":{ + "city":"Tbilisi", + "country":"Georgia" + }, + "EL":{ + "city":"Athenes", + "country":"Greece" + }, + "HU":{ + "city":"Budapest", + "country":"Hungary" + }, + "IE":{ + "city":"Dublin", + "country":"Ireland" + }, + "IS":{ + "city":"Reykjavik", + "country":"Island" + }, + "IT":{ + "city":"Rome", + "country":"Italy" + }, + "LV":{ + "city":"Riga", + "country":"Latvia" + }, + "LI":{ + "city":"Vaduz", + "country":"Liechtenstein" + }, + "LT":{ + "city":"Vilnius", + "country":"Lithuania" + }, + "LU":{ + "city":"Luxembourg", + "country":"Luxembourg" + }, + "MK":{ + "city":"Skopje", + "country":"Macedoine" + }, + "MT":{ + "city":"La Valetta", + "country":"Malta" + }, + "MD":{ + "city":"Chisinau", + "country":"Moldavia" + }, + "MC":{ + "city":"Monaco", + "country":"Monaco" + }, + "ME":{ + "city":"Podgorica", + "country":"Montenegro" + }, + "NO":{ + "city":"Oslo", + "country":"Norway" + }, + "NL":{ + "city":"Amsterdam", + "country":"Netherlands" + }, + "PL":{ + "city":"Warsaw", + "country":"Poland" + }, + "PT":{ + "city":"Lisbon", + "country":"Portugal" + }, + "CZ":{ + "city":"Prague", + "country":"Czech Republic" + }, + "RO":{ + "city":"Bucharest", + "country":"Romania" + }, + "UK":{ + "city":"London", + "country":"United Kingdom" + }, + "SM":{ + "city":"Saint-Marin", + "country":"Saint-Marin" + }, + "RS":{ + "city":"Belgrade", + "country":"Serbia" + }, + "SK":{ + "city":"Bratislava", + "country":"Slovakia" + }, + "SI":{ + "city":"Ljubljana", + "country":"Slovenia" + }, + "SE":{ + "city":"Stockholm", + "country":"Sweden" + }, + "CH":{ + "city":"Berne", + "country":"Switzerland" + }, + "TR":{ + "city":"Ankara", + "country":"Turkey" + }, + "UA":{ + "city":"Kiev", + "country":"Ukraine" + }, + "VA":{ + "city":"Vatican", + "country":"Vatican" + }, + "AF":{ + "city":"Kabul", + "country":"Afghanistan" + }, + "SA":{ + "city":"Riyadh", + "country":"Saudi Arabia" + }, + "BH":{ + "city":"Manama", + "country":"Bahrein" + }, + "BD":{ + "city":"Dhaka", + "country":"Bangladesh" + }, + "BT":{ + "city":"Thimphu", + "country":"Bhutan" + }, + "BN":{ + "city":"andar Seri Begawan", + "country":"Brunei" + }, + "KH":{ + "city":"Phnom Penh", + "country":"Cambodia" + }, + "CN":{ + "city":"Pekin", + "country":"Chine" + }, + "KP":{ + "city":"Pyongyang", + "country":"North Korea" + }, + "KR":{ + "city":"Seoul", + "country":"South Korea" + }, + "AE":{ + "city":"Abu Dhabi", + "country":"United Arab Emirates" + }, + "IN":{ + "city":"Delhi", + "country":"India" + }, + "IR":{ + "city":"Teheran", + "country":"Iran" + }, + "IQ":{ + "city":"Bagdad", + "country":"Iraq" + }, + "IL":{ + "city":"Jerusalem", + "country":"Israel" + }, + "JP":{ + "city":"Tokyo", + "country":"Japan" + }, + "JO":{ + "city":"Amman", + "country":"Jordan" + }, + "KZ":{ + "city":"Astana", + "country":"Kazakhstan" + }, + "KG":{ + "city":"Bishkek", + "country":"Kyrgyzstan" + }, + "KW":{ + "city":"Koweit", + "country":"Koweit" + }, + "LA":{ + "city":"Laos", + "country":"Vientiane" + }, + "LB":{ + "city":"Beyrouth", + "country":"Lebanon" + }, + "MY":{ + "city":"Kuala Lumpur", + "country":"Malaysia" + }, + "MV":{ + "city":"Male", + "country":"Maldives" + }, + "MN":{ + "city":"Ulan-Bator", + "country":"Mongolia" + }, + "MM":{ + "city":"Naypyidaw", + "country":"Myanmar" + }, + "NP":{ + "city":"Katmandu", + "country":"Nepal" + }, + "OM":{ + "city":"Muscat", + "country":"Oman" + }, + "UZ":{ + "city":"Tashkent", + "country":"Uzbekistan" + }, + "PK":{ + "city":"Islamabad", + "country":"Pakistan" + }, + "PH":{ + "city":"Manille", + "country":"Philippines" + }, + "QA":{ + "city":"Doha", + "country":"Qatar" + }, + "RU":{ + "city":"Moscow", + "country":"Russia" + }, + "SG":{ + "city":"Singapore", + "country":"Singapore" + }, + "LK":{ + "city":"Colombo", + "country":"Sri Lanka" + }, + "SY":{ + "city":"Damask", + "country":"Syria" + }, + "TJ":{ + "city":"Dushanbe", + "country":"Tajikistan" + }, + "TH":{ + "city":"Bangkok", + "country":"Thailand" + }, + "TL":{ + "city":"Dili", + "country":"Timor-oriental" + }, + "TM":{ + "city":"Ashgabat", + "country":"Turkmenistan" + }, + "VN":{ + "city":"Hanoi", + "country":"Viet Nam" + }, + "YE":{ + "city":"Sana", + "country":"Yemen" + } + }, + "ru":{ + "capital":"Столица", + "europe":"Европа", + "asia":"Азия", + "north_america":"Северная Америка", + "south_america":"Южная Америка", + "oceania":"Океания", + "africa":"Африка", + "eurasia": "Евразия", + "MA":{ + "city":"Рабат", + "country":"Морокко" + }, + "DZ":{ + "city":"Алжир", + "country":"Алжир" + }, + "TN":{ + "city":"Тунис", + "country":"Тунис" + }, + "LY":{ + "city":"Триполи", + "country":"Ливия" + }, + "EG":{ + "city":"Каир", + "country":"Египет" + }, + "Sahara_occidental":{ + "city":"", + "country":"Западная сахара" + }, + "MR":{ + "city":"Нуакшот", + "country":"Мавритания" + }, + "ML":{ + "city":"Бамако", + "country":"Мали" + }, + "NE":{ + "city":"Ниамей", + "country":"Нигер" + }, + "TD":{ + "city":"Нджамена", + "country":"Чад" + }, + "SD":{ + "city":"Хартум", + "country":"Судан" + }, + "ER":{ + "city":"Асмара", + "country":"Еритрея" + }, + "DJ":{ + "city":"Джибути", + "country":"Джибути" + }, + "ET":{ + "city":"Аддис Абеба", + "country":"Ефиопия" + }, + "SO":{ + "city":"Могадишо", + "country":"Сомали" + }, + "KE":{ + "city":"Найроби", + "country":"Кения" + }, + "UG":{ + "city":"Кампала", + "country":"Уганда" + }, + "CD":{ + "city":"Киншаса", + "country":"Демократическая республика Конго" + }, + "CF":{ + "city":"Бангуй", + "country":"Центральная африканская республика" + }, + "CM":{ + "city":"Яунда", + "country":"Камерун" + }, + "NG":{ + "city":"Абуджа", + "country":"Нигерия" + }, + "BJ":{ + "city":"Порто Ново", + "country":"Бенин" + }, + "TG":{ + "city":"Ломе", + "country":"Того" + }, + "GH":{ + "city":"Аккра", + "country":"Гана" + }, + "CI":{ + "city":"Ямусукро", + "country":"Кот-д'Ивуар" + }, + "BF":{ + "city":"Уагадугу", + "country":"Буркина Фасо" + }, + "LR":{ + "city":"Монравия", + "country":"Либерия" + }, + "SL":{ + "city":"Фритаун", + "country":"Сьерра Леоне" + }, + "GN":{ + "city":"Конакри", + "country":"Гвинея" + }, + "GW":{ + "city":"Биссау", + "country":"Гвинея-Биссау" + }, + "SN":{ + "city":"Дакар", + "country":"Сенегал" + }, + "GM":{ + "city":"Банжул", + "country":"Гамбия" + }, + "RW":{ + "city":"Кигали", + "country":"Руанда" + }, + "BI":{ + "city":"Бужумбура", + "country":"Бурунди" + }, + "CG":{ + "city":"Киншаса", + "country":"Республика Конго" + }, + "GA":{ + "city":"Либревиль", + "country":"Габон" + }, + "GQ":{ + "city":"Малабо", + "country":"Экваториальная Гвинея" + }, + "TZ":{ + "city":"Додома", + "country":"Танзания" + }, + "MW":{ + "city":"Лилонгве", + "country":"Малави" + }, + "ZM":{ + "city":"Лусака", + "country":"Замбия" + }, + "AO":{ + "city":"Луанда", + "country":"Ангола" + }, + "MZ":{ + "city":"Мапуто", + "country":"Мозамбик" + }, + "ZW":{ + "city":"Хараре", + "country":"Зимбабве" + }, + "BW":{ + "city":"Габороне", + "country":"Ботсвана" + }, + "NA":{ + "city":"Виндхук", + "country":"Намибия" + }, + "ZA":{ + "city":"Претория", + "country":"Южно-африканская республика" + }, + "LS":{ + "city":"Масеру", + "country":"Лесото" + }, + "SZ":{ + "city":"Мбабане", + "country":"Свазиленд" + }, + "MG":{ + "city":"Антананариву", + "country":"Мадагаскар" + }, + "AR":{ + "city":"Буэнос Айрес", + "country":"Аргентина" + }, + "CL":{ + "city":"Сантьяго", + "country":"Чили" + }, + "UY":{ + "city":"Монтевидео", + "country":"Уругвай" + }, + "PY":{ + "city":"Ассунсьон", + "country":"Парагвай" + }, + "BO":{ + "city":"Ла Пас", + "country":"Боливия" + }, + "BR":{ + "city":"Бразилиа", + "country":"Бразилия" + }, + "PE":{ + "city":"Лима", + "country":"Перу" + }, + "EC":{ + "city":"Кито", + "country":"Эквадор" + }, + "CO":{ + "city":"Богота", + "country":"Колумбия" + }, + "VE":{ + "city":"Каракас", + "country":"Венесуэла" + }, + "GY":{ + "city":"Джорджтаун", + "country":"Гайана" + }, + "SR":{ + "city":"Парамарибо", + "country":"Суринам" + }, + "GF":{ + "city":"Париж", + "country":"Французская Гайана" + }, + "CA":{ + "city":"Оттава", + "country":"Канада" + }, + "GL":{ + "city":"Нуук", + "country":"Гренландия" + }, + "US":{ + "city":"Вашингтон", + "country":"США" + }, + "MX":{ + "city":"Мехико", + "country":"Мексика" + }, + "CU":{ + "city":"Гавана", + "country":"Куба" + }, + "HT":{ + "city":"Рорт-о-Пренс", + "country":"Гаити" + }, + "DO":{ + "city":"Санто Доминго", + "country":"Доминиканская республика" + }, + "JM":{ + "city":"Кингстон", + "country":"Ямайка" + }, + "BS":{ + "city":"Нассау", + "country":"Багамы" + }, + "GT":{ + "city":"Guatemala", + "country":"Гватемала" + }, + "BZ":{ + "city":"Бельмопан", + "country":"Белиз" + }, + "SV":{ + "city":"Сальвадор", + "country":"Сальвадор" + }, + "HN":{ + "city":"Тегусигальпа", + "country":"Гондурас" + }, + "NI":{ + "city":"Манагуа", + "country":"Никарагуа" + }, + "CR":{ + "city":"Сан Хосе", + "country":"Коста-Рика" + }, + "PA":{ + "city":"Панама", + "country":"Панама" + }, + "AU":{ + "city":"Канберра", + "country":"Австралия" + }, + "NZ":{ + "city":"Веллингтон", + "country":"Новая Зеландия" + }, + "PG":{ + "city":"Порт Моресби", + "country":"Папуа Новая Гвинея" + }, + "ID":{ + "city":"Джакарта", + "country":"Индонезия" + }, + "SB":{ + "city":"Хониара", + "country":"Соломоновы острова" + }, + "VU":{ + "city":"Порт-Вила", + "country":"Вануату" + }, + "NC":{ + "city":"Париж", + "country":"Новая Каледония" + }, + "AL":{ + "city":"Тирана", + "country":"Албания" + }, + "DE":{ + "city":"Верлин", + "country":"Германия" + }, + "AD":{ + "city":"Андорра ла Велья", + "country":"Андорра" + }, + "AM":{ + "city":"Ереван", + "country":"Армения" + }, + "AT":{ + "city":"Вена", + "country":"Австрия" + }, + "AZ":{ + "city":"Баку", + "country":"Азербайджан" + }, + "BE":{ + "city":"Брюссель", + "country":"Бельгия" + }, + "BY":{ + "city":"Минск", + "country":"Беларусь" + }, + "BA":{ + "city":"Сараево", + "country":"Босния" + }, + "BG":{ + "city":"София", + "country":"Болгария" + }, + "CY":{ + "city":"Никосия", + "country":"Кипр" + }, + "HR":{ + "city":"Загреб", + "country":"Хорватия" + }, + "DK":{ + "city":"Коппенгаген", + "country":"Дания" + }, + "ES":{ + "city":"Мадрид", + "country":"Испания" + }, + "EE":{ + "city":"Таллин", + "country":"Эстония" + }, + "FI":{ + "city":"Хельсинки", + "country":"Финляндия" + }, + "FR":{ + "city":"Париж", + "country":"Франция" + }, + "GE":{ + "city":"Тбилиси", + "country":"Грузия" + }, + "EL":{ + "city":"Афины", + "country":"Греция" + }, + "HU":{ + "city":"Будапешт", + "country":"Венгрия" + }, + "IE":{ + "city":"Дублин", + "country":"Ирландия" + }, + "IS":{ + "city":"Рейкявик", + "country":"Исландия" + }, + "IT":{ + "city":"Рим", + "country":"Италия" + }, + "LV":{ + "city":"Рига", + "country":"Латвия" + }, + "LI":{ + "city":"Вадуц", + "country":"Лихтенштейн" + }, + "LT":{ + "city":"Вильнюс", + "country":"Литва" + }, + "LU":{ + "city":"Люксембург", + "country":"Люксембург" + }, + "MK":{ + "city":"Скопье", + "country":"Македония" + }, + "MT":{ + "city":"Валетта", + "country":"Мальта" + }, + "MD":{ + "city":"Кишинев", + "country":"Молдавия" + }, + "MC":{ + "city":"Монако", + "country":"Монако" + }, + "ME":{ + "city":"Подгорица", + "country":"Черногория" + }, + "NO":{ + "city":"Осло", + "country":"Норвегия" + }, + "NL":{ + "city":"Амстердам", + "country":"Нидерланды" + }, + "PL":{ + "city":"Варшава", + "country":"Польша" + }, + "PT":{ + "city":"Лиссабон", + "country":"Португалия" + }, + "CZ":{ + "city":"Прага", + "country":"Чехия" + }, + "RO":{ + "city":"Бухарест", + "country":"Румыния" + }, + "UK":{ + "city":"Лондон", + "country":"Великобритания" + }, + "SM":{ + "city":"Сан-Марино", + "country":"Сан-Марино" + }, + "RS":{ + "city":"Белград", + "country":"Сербия" + }, + "SK":{ + "city":"Братислава", + "country":"Словакия" + }, + "SI":{ + "city":"Любляна", + "country":"Словения" + }, + "SE":{ + "city":"Стокгольм", + "country":"Швеция" + }, + "CH":{ + "city":"Берн", + "country":"Швейцария" + }, + "TR":{ + "city":"Анкара", + "country":"Турция" + }, + "UA":{ + "city":"Киев", + "country":"Украина" + }, + "VA":{ + "city":"Ватикан", + "country":"Ватикан" + }, + "AF":{ + "city":"Кабул", + "country":"Афганистан" + }, + "SA":{ + "city":"Аль-Риад", + "country":"Саудовская Аравия" + }, + "BH":{ + "city":"Манама", + "country":"Бахрейн" + }, + "BD":{ + "city":"Дака", + "country":"Бангладеш" + }, + "BT":{ + "city":"Тхимпху", + "country":"Бутан" + }, + "BN":{ + "city":"Андар Сери Бегаван", + "country":"Бруней" + }, + "KH":{ + "city":"Пном Пень", + "country":"Камбоджа" + }, + "CN":{ + "city":"Пекин", + "country":"Китай" + }, + "KP":{ + "city":"Пхеньян", + "country":"Северная Корея" + }, + "KR":{ + "city":"Сеул", + "country":"Южная Корея" + }, + "AE":{ + "city":"Абу Даби", + "country":"ОАЭ" + }, + "IN":{ + "city":"Дели", + "country":"Индия" + }, + "IR":{ + "city":"Тегеран", + "country":"Иран" + }, + "IQ":{ + "city":"Багдад", + "country":"Ирак" + }, + "IL":{ + "city":"Иерусалим", + "country":"Израиль" + }, + "JP":{ + "city":"Токио", + "country":"Япония" + }, + "JO":{ + "city":"Амман", + "country":"Иордания" + }, + "KZ":{ + "city":"Астана", + "country":"Казахстан" + }, + "KG":{ + "city":"Бишкек", + "country":"Кыргызстан" + }, + "KW":{ + "city":"Кувейт", + "country":"Кувейт" + }, + "LA":{ + "city":"Лаос", + "country":"Вьетнам" + }, + "LB":{ + "city":"Бейрут", + "country":"Ливан" + }, + "MY":{ + "city":"Куала Лумпур", + "country":"Малайзия" + }, + "MV":{ + "city":"Мале", + "country":"Мальдивы" + }, + "MN":{ + "city":"Улан-Батор", + "country":"Монголия" + }, + "MM":{ + "city":"Нейпьидо", + "country":"Мьянма" + }, + "NP":{ + "city":"Катманду", + "country":"Непал" + }, + "OM":{ + "city":"Мускат", + "country":"Оман" + }, + "UZ":{ + "city":"Ташкент", + "country":"Узбекистан" + }, + "PK":{ + "city":"Исламабад", + "country":"Пакистан" + }, + "PH":{ + "city":"Манила", + "country":"Филлипины" + }, + "QA":{ + "city":"Доха", + "country":"Катар" + }, + "RU":{ + "city":"Москва", + "country":"Россия" + }, + "SG":{ + "city":"Сингапур", + "country":"Сингапур" + }, + "LK":{ + "city":"Коломбо", + "country":"Шри Ланка" + }, + "SY":{ + "city":"Дамаск", + "country":"Сирия" + }, + "TJ":{ + "city":"Душанбе", + "country":"Таджикистан" + }, + "TH":{ + "city":"Бангкок", + "country":"Таиланд" + }, + "TL":{ + "city":"Дили", + "country":"Тимур" + }, + "TM":{ + "city":"Ашхабад", + "country":"Туркменистан" + }, + "VN":{ + "city":"Ханой", + "country":"Вьетнам" + }, + "YE":{ + "city":"Сана", + "country":"Йемен" + } + }, + "fr":{ + "capital":"Capital ville", + "europe":"l'Europe", + "asia":"l'Asie", + "north_america":"l'Amérique du Nord", + "south_america":"l'Amérique du Sud", + "oceania":"l'Océanie", + "africa":"l'Afrique", + "eurasia": "Eurasie", + "MA":{ + "city":"Rabat", + "country":"le Maroc" + }, + "DZ":{ + "city":"Alger", + "country":"Algérie" + }, + "TN":{ + "city":"Tunis", + "country":"la Tunisie" + }, + "LY":{ + "city":"Tripoli", + "country":"La Libye" + }, + "EG":{ + "city":"Le Caire", + "country":"l'Égypte" + }, + "Sahara_occidental":{ + "city":"", + "country":"Sahara occidental" + }, + "MR":{ + "city":"Nouakchott", + "country":"Mauritanie" + }, + "ML":{ + "city":"Bamako", + "country":"Mali" + }, + "NE":{ + "city":"Niamey", + "country":"Niger" + }, + "TD":{ + "city":"Ndjamena", + "country":"Tchad" + }, + "SD":{ + "city":"Khartoum", + "country":"Soudan" + }, + "ER":{ + "city":"Asmara", + "country":"Erythrée" + }, + "DJ":{ + "city":"Djibouti", + "country":"Djibouti" + }, + "ET":{ + "city":"Addis Ababa", + "country":"Ethiopie" + }, + "SO":{ + "city":"Mogadiscio", + "country":"Somalia" + }, + "KE":{ + "city":"Nairobi", + "country":"Kenya" + }, + "UG":{ + "city":"Kampala", + "country":"l'Ouganda" + }, + "CD":{ + "city":"Kinshasa", + "country":"République démocratique du Congo" + }, + "CF":{ + "city":"Bangui", + "country":"République centrafricaine" + }, + "CM":{ + "city":"Yaoundé", + "country":"Cameroun" + }, + "NG":{ + "city":"Abuja", + "country":"Nigeria" + }, + "BJ":{ + "city":"Porto Novo", + "country":"Bénin" + }, + "TG":{ + "city":"Lomé", + "country":"Togo" + }, + "GH":{ + "city":"Accra", + "country":"Ghana" + }, + "CI":{ + "city":"Yamoussoukro", + "country":"La Côte d'Ivoire" + }, + "BF":{ + "city":"Ouagadougou", + "country":"Burkina Faso" + }, + "LR":{ + "city":"Monravia", + "country":"Le Libéria" + }, + "SL":{ + "city":"Freetown", + "country":"Sierra Leone" + }, + "GN":{ + "city":"Conakry", + "country":"Guinée" + }, + "GW":{ + "city":"Bissau", + "country":"La Guinée-Bissau" + }, + "SN":{ + "city":"Dakar", + "country":"Sénégal" + }, + "GM":{ + "city":"Banjul", + "country":"Gambie" + }, + "RW":{ + "city":"Kigali", + "country":"Rwanda" + }, + "BI":{ + "city":"Bujumbura", + "country":"Burundi" + }, + "CG":{ + "city":"Brazzaville", + "country":"République du Congo" + }, + "GA":{ + "city":"Libreville", + "country":"Gabon" + }, + "GQ":{ + "city":"Malabo", + "country":"La Guinée Equatoriale" + }, + "TZ":{ + "city":"Dodoma", + "country":"Tanzanie" + }, + "MW":{ + "city":"Lilongwe", + "country":"Malawi" + }, + "ZM":{ + "city":"Lusaka", + "country":"Zambie" + }, + "AO":{ + "city":"Luanda", + "country":"Angola" + }, + "MZ":{ + "city":"Maputo", + "country":"Mozambique" + }, + "ZW":{ + "city":"Harare", + "country":"Zimbabwe" + }, + "BW":{ + "city":"Gaborone", + "country":"Botswana" + }, + "NA":{ + "city":"Windhoec", + "country":"Namibie" + }, + "ZA":{ + "city":"Pretoria", + "country":"l'Afrique du Sud" + }, + "LS":{ + "city":"Maseru", + "country":"Lesotho" + }, + "SZ":{ + "city":"Mbabane", + "country":"Swaziland" + }, + "MG":{ + "city":"Antananarivo", + "country":"Madagascar" + }, + "AR":{ + "city":"Buenos Aires", + "country":"Argentine" + }, + "CL":{ + "city":"Santiago", + "country":"Chili" + }, + "UY":{ + "city":"Montevideo", + "country":"Uruguay" + }, + "PY":{ + "city":"Asuncion", + "country":"Paraguay" + }, + "BO":{ + "city":"La Paz", + "country":"Bolivie" + }, + "BR":{ + "city":"Brasilia", + "country":"Brésil" + }, + "PE":{ + "city":"Lima", + "country":"Pérou" + }, + "EC":{ + "city":"Quito", + "country":"L'Equateur" + }, + "CO":{ + "city":"Bogota", + "country":"Colombie" + }, + "VE":{ + "city":"Caracas", + "country":"Venezuela" + }, + "GY":{ + "city":"Georgetown", + "country":"Guyana" + }, + "SR":{ + "city":"Paramaribo", + "country":"Suriname" + }, + "GF":{ + "city":"Paris", + "country":"Guyane française" + }, + "CA":{ + "city":"Ottawa", + "country":"Canada" + }, + "GL":{ + "city":"Nuuk", + "country":"Greenland" + }, + "US":{ + "city":"Washington", + "country":"Les États-Unis d'Amérique" + }, + "MX":{ + "city":"Mexique", + "country":"Mexique" + }, + "CU":{ + "city":"La Havane", + "country":"Cuba" + }, + "HT":{ + "city":"Port-au-Prince", + "country":"Haïti" + }, + "DO":{ + "city":"Santo Domingo", + "country":"République Dominicaine" + }, + "JM":{ + "city":"Kingston", + "country":"Jamaïque" + }, + "BS":{ + "city":"Nassau", + "country":"Bahamas" + }, + "GT":{ + "city":"Guatemala", + "country":"Guatemala" + }, + "BZ":{ + "city":"Belmopan", + "country":"Belize" + }, + "SV":{ + "city":"Salvador", + "country":"San Salvador" + }, + "HN":{ + "city":"Tegucigalpa", + "country":"Honduras" + }, + "NI":{ + "city":"Managua", + "country":"Nicaragua" + }, + "CR":{ + "city":"San José", + "country":"Costa-Rica" + }, + "PA":{ + "city":"Panama", + "country":"Panama" + }, + "AU":{ + "city":"Canberra", + "country":"Australie" + }, + "NZ":{ + "city":"Wellington", + "country":"New Zealand" + }, + "PG":{ + "city":"Port Moresby", + "country":"La Papouasie-Nouvelle-Guinée" + }, + "ID":{ + "city":"Jakarta", + "country":"Indonésie" + }, + "SB":{ + "city":"Honiara", + "country":"Îles Salomon" + }, + "VU":{ + "city":"Port-Vila", + "country":"Vanuatu" + }, + "NC":{ + "city":"Paris", + "country":"Nouvelle-Calédonie" + }, + "AL":{ + "city":"Tirana", + "country":"Albanie" + }, + "DE":{ + "city":"Berlin", + "country":"l'Allemagne" + }, + "AD":{ + "city":"Andorre la Vieille", + "country":"Andorre" + }, + "AM":{ + "city":"Erevan", + "country":"Arménie" + }, + "AT":{ + "city":"Vienna", + "country":"Autriche" + }, + "AZ":{ + "city":"Bakou", + "country":"Azerbaïdjan" + }, + "BE":{ + "city":"Bruxelles", + "country":"Belgique" + }, + "BY":{ + "city":"Minsk", + "country":"Biélorussie" + }, + "BA":{ + "city":"Sarajevo", + "country":"Bosnie" + }, + "BG":{ + "city":"Sofia", + "country":"La Bulgarie" + }, + "CY":{ + "city":"Nicosie", + "country":"Chypre" + }, + "HR":{ + "city":"Zagreb", + "country":"Croatie" + }, + "DK":{ + "city":"De Copenhague", + "country":"Danemark" + }, + "ES":{ + "city":"Madrid", + "country":"L'Espagne" + }, + "EE":{ + "city":"Tallinn", + "country":"Estonia" + }, + "FI":{ + "city":"Helsinki", + "country":"Finlande" + }, + "FR":{ + "city":"Paris", + "country":"France" + }, + "GE":{ + "city":"Tbilissi", + "country":"Georgia" + }, + "EL":{ + "city":"Athènes", + "country":"Grèce" + }, + "HU":{ + "city":"Budapest", + "country":"Hongrie" + }, + "IE":{ + "city":"Dublin", + "country":"L'Irlande" + }, + "IS":{ + "city":"Reykjavik", + "country":"L'île" + }, + "IT":{ + "city":"Rome", + "country":"Italie" + }, + "LV":{ + "city":"Riga", + "country":"Lettonie" + }, + "LI":{ + "city":"Vaduz", + "country":"Liechtenstein" + }, + "LT":{ + "city":"Vilnius", + "country":"Lituanie" + }, + "LU":{ + "city":"Luxembourg", + "country":"Luxembourg" + }, + "MK":{ + "city":"Skopje", + "country":"Macedoine" + }, + "MT":{ + "city":"La Valette", + "country":"Malte" + }, + "MD":{ + "city":"Chisinau", + "country":"La Moldavie" + }, + "MC":{ + "city":"Monaco", + "country":"Monaco" + }, + "ME":{ + "city":"Podgorica", + "country":"Monténégro" + }, + "NO":{ + "city":"Oslo", + "country":"Norvège" + }, + "NL":{ + "city":"Amsterdam", + "country":"Pays Bas" + }, + "PL":{ + "city":"Varsovie", + "country":"La Pologne" + }, + "PT":{ + "city":"De Lisbonne", + "country":"Portugal" + }, + "CZ":{ + "city":"Prague", + "country":"République tchèque" + }, + "RO":{ + "city":"Bucharest", + "country":"Roumanie" + }, + "UK":{ + "city":"London", + "country":"Royaume-Uni" + }, + "SM":{ + "city":"Saint-Marin", + "country":"Saint-Marin" + }, + "RS":{ + "city":"Belgrade", + "country":"Serbie" + }, + "SK":{ + "city":"Bratislava", + "country":"Slovakia" + }, + "SI":{ + "city":"Ljubljana", + "country":"Slovénie" + }, + "SE":{ + "city":"Stockholm", + "country":"Suède" + }, + "CH":{ + "city":"Berne", + "country":"La Suisse" + }, + "TR":{ + "city":"Ankara", + "country":"La Turquie" + }, + "UA":{ + "city":"Kiev", + "country":"Ukraine" + }, + "VA":{ + "city":"Vatican", + "country":"Vatican" + }, + "AF":{ + "city":"Kaboul", + "country":"Afghanistan" + }, + "SA":{ + "city":"Riyad", + "country":"L'Arabie Saoudite" + }, + "BH":{ + "city":"Manama", + "country":"Bahrein" + }, + "BD":{ + "city":"Dacca", + "country":"Bangladesh" + }, + "BT":{ + "city":"Thimphu", + "country":"Bhoutan" + }, + "BN":{ + "city":"Andar Seri Begawan", + "country":"Brunei" + }, + "KH":{ + "city":"Phnom Penh", + "country":"Cambodge" + }, + "CN":{ + "city":"Pékin", + "country":"Chine" + }, + "KP":{ + "city":"Pyongyang", + "country":"La Corée du Nord" + }, + "KR":{ + "city":"Seoul", + "country":"La Corée du Sud" + }, + "AE":{ + "city":"Abu Dhabi", + "country":"Emirats Arabes Unis" + }, + "IN":{ + "city":"Delhi", + "country":"L'Inde" + }, + "IR":{ + "city":"Téhéran", + "country":"L'Iran" + }, + "IQ":{ + "city":"Bagdad", + "country":"L'Irak" + }, + "IL":{ + "city":"Jérusalem", + "country":"Israël" + }, + "JP":{ + "city":"Tokyo", + "country":"Japon" + }, + "JO":{ + "city":"Amman", + "country":"Jordan" + }, + "KZ":{ + "city":"Astana", + "country":"Kazakhstan" + }, + "KG":{ + "city":"Bishkek", + "country":"Kirghizstan" + }, + "KW":{ + "city":"Koweit", + "country":"Koweit" + }, + "LA":{ + "city":"Laos", + "country":"Vientiane" + }, + "LB":{ + "city":"Beyrouth", + "country":"Liban" + }, + "MY":{ + "city":"Kuala Lumpur", + "country":"La Malaisie" + }, + "MV":{ + "city":"Male", + "country":"Maldives" + }, + "MN":{ + "city":"Oulan-Bator", + "country":"Mongolie" + }, + "MM":{ + "city":"Naypyidaw", + "country":"Myanmar" + }, + "NP":{ + "city":"Katmandou", + "country":"Népal" + }, + "OM":{ + "city":"Muscat", + "country":"Oman" + }, + "UZ":{ + "city":"Tachkent", + "country":"Ouzbékistan" + }, + "PK":{ + "city":"Islamabad", + "country":"Le Pakistan" + }, + "PH":{ + "city":"Manille", + "country":"Philippines" + }, + "QA":{ + "city":"De Doha", + "country":"Qatar" + }, + "RU":{ + "city":"Moscou", + "country":"La Russie" + }, + "SG":{ + "city":"Singapour", + "country":"Singapour" + }, + "LK":{ + "city":"Colombo", + "country":"Sri Lanka" + }, + "SY":{ + "city":"Damask", + "country":"La Syrie" + }, + "TJ":{ + "city":"Douchanbé", + "country":"Tajikistan" + }, + "TH":{ + "city":"Bangkok", + "country":"Thailande" + }, + "TL":{ + "city":"Dili", + "country":"Le Timor-oriental" + }, + "TM":{ + "city":"Achkhabad", + "country":"Turkménistan" + }, + "VN":{ + "city":"Hanoï", + "country":"Viet Nam" + }, + "YE":{ + "city":"Sana", + "country":"Yémen" + } + } +}; + diff --git a/resources/library/interactive/Graphme.wgt/Grapheur.xhtml b/resources/library/interactive/Graphme.wgt/Grapheur.xhtml index 7092abf5..3a94a9d3 100644 --- a/resources/library/interactive/Graphme.wgt/Grapheur.xhtml +++ b/resources/library/interactive/Graphme.wgt/Grapheur.xhtml @@ -8,22 +8,22 @@ <meta name="revised" content="2010/09/25"/> <title>Graphics</title> <link rel="stylesheet" type="text/css" href="Style/default.css"/> - <script type="text/javascript" src="JavaScript/ColorPicker.js"></script> - <script type="text/javascript" src="JavaScript/Etude.js"></script> + <script type="text/javascript" src="JavaScript/ColorPicker.js"></script> <script type="text/javascript" src="JavaScript/Interface.js"></script> <script type="text/javascript" src="JavaScript/Outils.js"></script> - <script type="text/javascript" src="JavaScript/Sauvegardes.js"></script> <script type="text/javascript" src="JavaScript/AffichageStandard.js"></script> <script type="text/javascript" src="JavaScript/Affichage3D.js"></script> <script type="text/javascript" src="JavaScript/AffichageUniboard.js"></script> <script type="text/javascript" src="JavaScript/AffichageXPM.js"></script> - + <script type="text/javascript" src="JavaScript/languages.js"></script> + <script type="text/javascript" src="JavaScript/Etude.js"></script> + <script type="text/javascript" src="JavaScript/Sauvegardes.js"></script> <script src="JavaScript/jquery-1.3.2.min.js" type="text/javascript"></script> <script src="JavaScript/jquery.disable.text.select.js" type="text/javascript"></script> <script type="text/javascript"> // <![CDATA[ // --- Variables nécessaires au fonctionnement du widget --- - + var lang = ""; //locale language var loadingFlag = false var largeur = 500 var hauteur = 400 @@ -58,6 +58,16 @@ var lineWidth = 3 + if(window.sankore){ + try{ + lang = sankore.locale().substr(0,2); + sankoreLang[lang].display; + } catch(e){ + lang = "en"; + } + } else + lang = "en"; + $(document).ready(function(){ if(window.sankore){ @@ -159,6 +169,507 @@ } actualiserGraph(); loadingFlag = true; + + ////////////////////////////////////// languages suppot + + document.getElementById("texteFonction").innerHTML = sankoreLang[lang].fnc; + $("#xAxis").html(sankoreLang[lang].x_axis); + $("#yAxis").html(sankoreLang[lang].y_axis); + $("#scaleZoom").html(sankoreLang[lang].zoom); + $("#graphColor").html(sankoreLang[lang].color); + $("#menuCouleur .contenuMenu em").text(sankoreLang[lang].choosing_color); + $("#colorValues tr").eq(0).find("td").eq(0).html(sankoreLang[lang].color + ":"); + $("#colorValues tr").eq(1).find("td").eq(0).html(sankoreLang[lang].value); + $("#colorValues tr").eq(2).find("td").eq(0).html(sankoreLang[lang].saturation); + $("#colorValues tr").eq(3).find("td").eq(0).html(sankoreLang[lang].red); + $("#colorValues tr").eq(4).find("td").eq(0).html(sankoreLang[lang].green); + $("#colorValues tr").eq(5).find("td").eq(0).html(sankoreLang[lang].blue); + $("#colorValues tr").eq(6).find("td").eq(0).html(sankoreLang[lang].opacity); + $("#menuOutils .contenuMenu h3").eq(0).text(sankoreLang[lang].tools); + $("#menuOutils .contenuMenu span").each(function(){ + switch($(this).html()){ + case "Mouse events:": + $(this).html(sankoreLang[lang].mouse_events); + break; + case "Derivative:": + $(this).html(sankoreLang[lang].derivative); + break; + case "Square under function:": + $(this).html(sankoreLang[lang].square_under_func); + break; + case "Calculate the point on the function:": + $(this).html(sankoreLang[lang].point_calculate); + break; + case "Analysis of function:": + $(this).html(sankoreLang[lang].analysis_of_func); + break; + case "Display test:": + $(this).html(sankoreLang[lang].display_test); + break; + case "From": + $(this).html(sankoreLang[lang].from); + break; + case "to": + $(this).html(sankoreLang[lang].to); + break; + default: + break; + } + return true; + }); + $("label[for*='checkAire']").text(sankoreLang[lang].draw); + $("label[for*='checkMaJ']").text(sankoreLang[lang].auto_update); + $("#menuOptions td").eq(0).html(sankoreLang[lang].widget); + $("#menuOptions h3").eq(0).text(sankoreLang[lang].widget_options); + $("#menuOptions2D h3").eq(0).text(sankoreLang[lang].options + " 2D"); + $("#menuOptions2D span").each(function(){ + switch($(this).html()){ + case "The graphical method displaying:": + $(this).html(sankoreLang[lang].the_graphical); + break; + case "Zoom default:": + $(this).html(sankoreLang[lang].zoom_def); + break; + case "Thickness:": + $(this).html(sankoreLang[lang].thickness); + break; + case "Offset diagram:": + $(this).html(sankoreLang[lang].offset_diagram); + break; + case "Accuracy graph:": + $(this).html(sankoreLang[lang].accuracy_graph); + break; + } + return true; + }); + $("#selectMethodeAffichage option").eq(0).text("canvas (" + sankoreLang[lang].lines + ")") + .next().text("canvas (" + sankoreLang[lang].points + ")") + .next().next().text("svg (1 " + sankoreLang[lang].image + ")"); + $("label[for*='checkGrille']").text(sankoreLang[lang].show_grid); + $("label[for*='checkAxes']").text(sankoreLang[lang].show_axis); + $("label[for*='checkEchelle']").text(sankoreLang[lang].scale); + $("#menuOptions3D h3").eq(0).text(sankoreLang[lang].options + " 3D"); + $("#menuOptions3D span").each(function(){ + switch($(this).html()){ + case "Show the style:": + $(this).html(sankoreLang[lang].show_the_style); + break; + case "Accuracy function:": + $(this).html(sankoreLang[lang].accuracy_func); + break; + case "Use the color": + $(this).html(sankoreLang[lang].use_the_color); + break; + case "red:": + $(this).html(sankoreLang[lang].red); + break; + case "green:": + $(this).html(sankoreLang[lang].green); + break; + case "blue:": + $(this).html(sankoreLang[lang].blue); + break; + case "General value:": + $(this).html(sankoreLang[lang].general_value); + break; + case "from": + $(this).html(sankoreLang[lang].from); + break; + case "to": + $(this).html(sankoreLang[lang].to); + break; + } + return true; + }); + + $("#selectAffichage3D option").eq(0).text(sankoreLang[lang].surfaces) + .next().text(sankoreLang[lang].points); + + $("#selectRouge3D option").eq(0).text(sankoreLang[lang].positive_value) + .next().text(sankoreLang[lang].negative_value) + .next().text(sankoreLang[lang].general_value); + + $("#selectVert3D option").eq(0).text(sankoreLang[lang].negative_value) + .next().text(sankoreLang[lang].positive_value) + .next().text(sankoreLang[lang].general_value); + + $("#selectBleu3D option").eq(0).text(sankoreLang[lang].general_value) + .next().text(sankoreLang[lang].positive_value) + .next().text(sankoreLang[lang].negative_value); + + $("#menuAide .ongletMenu td, #menuAideExemples .ongletMenu td, #menuAideAutres .ongletMenu td").each(function(){ + switch($(this).html()){ + case "Using": + $(this).html(sankoreLang[lang].using); + break; + case "Examples": + $(this).html(sankoreLang[lang].examples); + break; + case "Other": + $(this).html(sankoreLang[lang].other); + break; + } + }); + + $("#menuAide h1").each(function(){ + switch($(this).html()){ + case "How it work.": + $(this).html(sankoreLang[lang].how_it_work); + break; + case "Constants": + $(this).html(sankoreLang[lang].consts); + break; + case "Keyboard keys": + $(this).html(sankoreLang[lang].keys); + break; + } + return true; + }); + + $("#menuAide h2").each(function(){ + switch($(this).html()){ + case "Basic operations": + $(this).html(sankoreLang[lang].basic_operations); + break; + case "Trigonometric functions": + $(this).html(sankoreLang[lang].trigonometric); + break; + case "Hyperbolic functions": + $(this).html(sankoreLang[lang].hyperbolic_func); + break; + case "Square roots and degrees": + $(this).html(sankoreLang[lang].square_roots_and_degrees); + break; + case "Exponential and logarithm": + $(this).html(sankoreLang[lang].exponential); + break; + case "Absolute number value": + $(this).html(sankoreLang[lang].abs); + break; + case "Rounding": + $(this).html(sankoreLang[lang].rounding); + break; + } + return true; + }); + + $("#menuAide span").each(function(){ + switch($(this).html()){ + case "This widget allow to draw mathematical function. Enter function in the field in the top part of widget and press \"Show\".": + $(this).html(sankoreLang[lang].this_widget_allow); + break; + case "You can enter following mathematical function:": + $(this).html(sankoreLang[lang].you_can_enter); + break; + case "Plus": + $(this).html(sankoreLang[lang].plus); + break; + case "Minus": + $(this).html(sankoreLang[lang].minus); + break; + case "Multiplication": + $(this).html(sankoreLang[lang].multi); + break; + case "Division": + $(this).html(sankoreLang[lang].division); + break; + case "Mod": + $(this).html(sankoreLang[lang].mod); + break; + case "Sine": + $(this).html(sankoreLang[lang].sine); + break; + case "Cosine": + $(this).html(sankoreLang[lang].cosine); + break; + case "Tangent": + $(this).html(sankoreLang[lang].tangent); + break; + case "Cotangent": + $(this).html(sankoreLang[lang].cotangent); + break; + case "Secant": + $(this).html(sankoreLang[lang].secant); + break; + case "Cosecant": + $(this).html(sankoreLang[lang].cosecant); + break; + case "Arc sine": + $(this).html(sankoreLang[lang].arc_sine); + break; + case "Arc cosine": + $(this).html(sankoreLang[lang].arc_cosine); + break; + case "Arc tangent": + $(this).html(sankoreLang[lang].arc_tangent); + break; + case "Arc cotangent": + $(this).html(sankoreLang[lang].arc_cotangent); + break; + case "Hyperbolic sine": + $(this).html(sankoreLang[lang].hyp_sine); + break; + case "Hyperbolic cosine": + $(this).html(sankoreLang[lang].hyp_cosine); + break; + case "Hyperbolic tangent": + $(this).html(sankoreLang[lang].hyp_tangent); + break; + case "Hyperbolic cotangent": + $(this).html(sankoreLang[lang].hyp_cotangent); + break; + case "Hyperbolic secant": + $(this).html(sankoreLang[lang].hyp_secant); + break; + case "Hyperbolic cosecant": + $(this).html(sankoreLang[lang].hyp_cosecant); + break; + case "Hyperbolic arc sine": + $(this).html(sankoreLang[lang].hyp_arc_sine); + break; + case "Hyperbolic arc cosine": + $(this).html(sankoreLang[lang].hyp_arc_cosine); + break; + case "Hyperbolic arc tangent": + $(this).html(sankoreLang[lang].hyp_arc_tangent); + break; + case "Hyperbolic arc cotangent": + $(this).html(sankoreLang[lang].hyp_arc_cotangent); + break; + case "Square root": + $(this).html(sankoreLang[lang].square_root); + break; + case "Degree": + $(this).html(sankoreLang[lang].degree); + break; + case "Root": + $(this).html(sankoreLang[lang].root); + break; + case "Variable x to the power y": + $(this).html(sankoreLang[lang].variable_x); + break; + case "Root y of x": + $(this).html(sankoreLang[lang].root_y); + break; + case "Natural logarithm": + $(this).html(sankoreLang[lang].natural_log); + break; + case "Decimal logarithm": + $(this).html(sankoreLang[lang].decimal_log); + break; + case "rounding to the nearest whole number": + $(this).html(sankoreLang[lang].round_nearest); + break; + case "rounding to the nearest whole number in a big way": + $(this).html(sankoreLang[lang].round_nearest_big); + break; + case "rounding to the nearest whole number the smaller side": + $(this).html(sankoreLang[lang].round_nearest_small); + break; + case "Also are available some constants:": + $(this).html(sankoreLang[lang].available_const); + break; + case "reset widget": + $(this).html(sankoreLang[lang].reload_widget); + break; + case "left arrow": + $(this).html(sankoreLang[lang].left_arrow); + break; + case "top arrow": + $(this).html(sankoreLang[lang].top_arrow); + break; + case "right arrow": + $(this).html(sankoreLang[lang].right_arrow); + break; + case "bottom arrow": + $(this).html(sankoreLang[lang].bottom_arrow); + break; + case "graph will be moved left": + $(this).html(sankoreLang[lang].moved_left); + break; + case "graph will be moved top": + $(this).html(sankoreLang[lang].moved_top); + break; + case "graph will be moved right": + $(this).html(sankoreLang[lang].moved_right); + break; + case "graph will be moved bottom": + $(this).html(sankoreLang[lang].moved_bottom); + break; + case "or": + $(this).html(sankoreLang[lang].or); + break; + } + return true; + }); + + $("#menuAideExemples h1").each(function(){ + if($(this).text() == "Functions 2D") + $(this).text(sankoreLang[lang].funcs + " 2D"); + else + $(this).text(sankoreLang[lang].funcs + " 3D"); + }); + + $("#menuAideExemples span").eq(0).html("(" + sankoreLang[lang].you_can_view + ")"); + + $("#menuAideAutres h4").eq(0).text(sankoreLang[lang].save_graph); + $("#menuAideAutres h4").eq(1).text(sankoreLang[lang].offset); + $("#menuAideAutres span").eq(0).text(sankoreLang[lang].in_some_browsers); + $("#menuAideAutres span").eq(1).text(sankoreLang[lang].if_graph_isnt); + $("#credits h3").eq(0).text(sankoreLang[lang].widget_is_developed); + $("#menuCredits .texteSecondaire span").eq(0).html(sankoreLang[lang].if_you_want_to); + $("#menuCredits .texteSecondaire span").eq(1).html(sankoreLang[lang].if_you_want_to_change); + $("#menuFonctions td").eq(0).text(sankoreLang[lang].funcs); + $("#menuFonctions td").eq(1).text(sankoreLang[lang].history); + $("#menuFonctions em").eq(0).text(sankoreLang[lang].current); + $("#menuFonctions em").eq(1).text(sankoreLang[lang].additional); + $("#menuHistorique td").eq(0).text(sankoreLang[lang].funcs); + $("#menuHistorique td").eq(1).text(sankoreLang[lang].history); + + $("#menuEtude h3").text(sankoreLang[lang].analysis_of_func); + $("#menuEtude span").each(function(){ + switch($(this).html()){ + case "Set of definitions:": + $(this).html(sankoreLang[lang].set_of_def); + break; + case "Parity:": + $(this).html(sankoreLang[lang].parity); + break; + case "Zeros of functions:": + $(this).html(sankoreLang[lang].zeros); + break; + case "Signe:": + $(this).html(sankoreLang[lang].signe); + break; + case "Asymptotes": + $(this).html(sankoreLang[lang].asympt); + break; + case "AH left:": + $(this).html(sankoreLang[lang].ah_left); + break; + case "AH right:": + $(this).html(sankoreLang[lang].ah_right); + break; + case "AV:": + $(this).html(sankoreLang[lang].av); + break; + case "Tool for analysis of function is not reliable on 100%. Don't forget check results of analysis before use it.": + $(this).html(sankoreLang[lang].tool_for); + break; + } + return true; + }); + + $("#infoSauvegarde h1").text(sankoreLang[lang].options_saved); + $("#mAj h1").text(sankoreLang[lang].update); + $("#mAj span").each(function(){ + switch($(this).html()){ + case "Current version:": + $(this).html(sankoreLang[lang].cur_version); + break; + case "The last on-line version:": + $(this).html(sankoreLang[lang].last_version); + break; + case "This widget is available to using on web-site:": + $(this).html(sankoreLang[lang].using_web); + break; + } + }); + + $("#menuOptions span").each(function(){ + switch($(this).html()){ + case "Themes of widget:": + $(this).html(sankoreLang[lang].themes_of_widget); + break; + case "Control options:": + $(this).html(sankoreLang[lang].control_options); + break; + case "Save a widget options in cookies or load an options from cookies or delete a registered options.": + $(this).html(sankoreLang[lang].save_a_widget_options); + break; + } + return true; + }); + $("#selectTheme option").eq(0).text(sankoreLang[lang].black).next().text(sankoreLang[lang].blue).next().text(sankoreLang[lang].white); + $("input:button").each(function(){ + switch($(this).val()){ + case "Check": + $(this).val(sankoreLang[lang].check); + break; + case "Cancel": + $(this).val(sankoreLang[lang].quit); + break; + case "Tools": + $(this).val(sankoreLang[lang].tools); + break; + case "Options": + $(this).val(sankoreLang[lang].options); + break; + case "Help": + $(this).val(sankoreLang[lang].help); + break; + case "About": + $(this).val(sankoreLang[lang].about); + break; + case "Moving": + $(this).val(sankoreLang[lang].moving); + break; + case "Tangente": + $(this).val(sankoreLang[lang].tangente); + break; + case "Point": + $(this).val(sankoreLang[lang].point); + break; + case "Calculate": + $(this).val(sankoreLang[lang].calculate); + break; + case "Estimate": + $(this).val(sankoreLang[lang].estimate); + break; + case "Start to analysis": + $(this).val(sankoreLang[lang].start_to_analysis); + break; + case "Test XPM": + $(this).val(sankoreLang[lang].test + " XPM"); + break; + case "Test SVG": + $(this).val(sankoreLang[lang].test + " SVG"); + break; + case "Test Canvas": + $(this).val(sankoreLang[lang].test + " Canvas"); + break; + case "Save": + $(this).val(sankoreLang[lang].save); + break; + case "Load": + $(this).val(sankoreLang[lang].load); + break; + case "Delete": + $(this).val(sankoreLang[lang].del); + break; + case "Display": + $(this).val(sankoreLang[lang].display); + break; + case "Reload widget": + $(this).val(sankoreLang[lang].reload_widget); + break; + case "Updated": + $(this).val(sankoreLang[lang].update); + break; + case "Update zoom": + $(this).val(sankoreLang[lang].update_zoom); + break; + case "Reset display": + $(this).val(sankoreLang[lang].reset_display); + break; + case "User's guide": + $(this).val(sankoreLang[lang].guide); + break; + default: + break; + } + return true; + }); } $(document).disableTextSelect(); @@ -469,13 +980,13 @@ <div id="affichage" onmousedown="sourisDown()" onmouseup="sourisUp()" onmousemove="sourisMove(event)" ondblclick="doubleClick(event.ctrlKey)"></div> <!-- Zone de boutons gauche --> <div id="gauche"> - X-axis: <br/> - <input id="borneXGauche" class="smallInput" value="-5" onkeypress='if(event.keyCode==13) actualiserGraph()'/> à <input id="borneXDroite" class="smallInput" value="5" onkeypress='if(event.keyCode==13) actualiserGraph()'/> <br/> - Y-axis: <br/> - <input id="borneYGauche" class="smallInput" value="-5" onkeypress='if(event.keyCode==13) actualiserGraph()'/> à <input id="borneYDroite" class="smallInput" value="5" onkeypress='if(event.keyCode==13) actualiserGraph()'/> - <br/>Zoom: <br/> + <span id="xAxis">X-axis:</span> <br/> + <input id="borneXGauche" class="smallInput" value="-5" onkeypress='if(event.keyCode==13) actualiserGraph()'/> ... <input id="borneXDroite" class="smallInput" value="5" onkeypress='if(event.keyCode==13) actualiserGraph()'/> <br/> + <span id="yAxis">Y-axis:</span> <br/> + <input id="borneYGauche" class="smallInput" value="-5" onkeypress='if(event.keyCode==13) actualiserGraph()'/> ... <input id="borneYDroite" class="smallInput" value="5" onkeypress='if(event.keyCode==13) actualiserGraph()'/> + <br/><span id="scaleZoom">Zoom:</span> <br/> <input type="button" style="width:45%;" onclick='zoom(1.25)' value="-"/><input type="button" style="width:45%; position:relative; left: 9px;" onclick='zoom(0.8)' value="+"/><br/><br/> - Color: <br/> + <span id="graphColor">Color:</span> <br/> <div id="buttonColor" title="couleurFonction" onclick="colorPicker(this.id); afficherMenu('menuCouleur')"></div> <br/><br/> <hr/> @@ -513,7 +1024,7 @@ <div class="contenuMenu avecBordures"> <h3>Widget options</h3> - Themes of widget: <select id="selectTheme" onchange="changerTheme(this.value)"> + <span>Themes of widget:</span> <select id="selectTheme" onchange="changerTheme(this.value)"> <option value="noir">Black</option> <option value="bleu">Blue</option> <option value="blanc">White</option> @@ -543,7 +1054,7 @@ </table> <div class="contenuMenu avecBordures"> <h3>Options 2D</h3> - The graphical method displaying:<select id="selectMethodeAffichage"> + <span>The graphical method displaying:</span><select id="selectMethodeAffichage"> <option value="canvas">canvas (lines)</option> <option value="canvas2">canvas (points)</option> <option value="svg">svg</option> @@ -551,21 +1062,21 @@ <option value="xpm">xpm</option> <option value="sankore">sankore</option> </select> <br/> - Zoom default: + <span>Zoom default:</span> <input value="5" class="smallInput" id="zoomDefaut"/> <input type="button" onclick='reinitialiserZoom(document.getElementById("zoomDefaut").value)' value="Update zoom"/> <br/> <br/> <input type="checkbox" id="checkGrille" checked="true" onclick="actualiserGraph()"/><label for="checkGrille">Show grid</label> <br/> <input type="checkbox" id="checkAxes" checked="true" onclick="actualiserGraph()"/><label for="checkAxes">Show axis</label> <br/> <input type="checkbox" id="checkEchelle" checked="true" onclick="actualiserGraph()"/><label for="checkEchelle">Scale</label> <br/> - Thickness: <input id="inputTaille" class="smallInput" value="3" onkeypress='if(event.keyCode==13) actualiserGraph()' style=""/> + <span>Thickness:</span> <input id="inputTaille" class="smallInput" value="3" onkeypress='if(event.keyCode==13) actualiserGraph()' style=""/> <div class="boutonPlus" type="button" onclick="boutonPlus('inputTaille', 1); actualiserGraph()">+</div><div class="boutonMoins" type="button" onclick="boutonMoins('inputTaille', 1); actualiserGraph()">-</div> <br/> <br/> - Offset diagram: + <span>Offset diagram:</span> x=<input value="0" class="smallInput" id="inputDecalageX" onkeyup="decalageX = parseFloat(this.value)"/> y=<input value="0" class="smallInput" id="inputDecalageY" onkeyup="decalageY = parseFloat(this.value)"/> <br/> - Accuracy graph: + <span>Accuracy graph:</span> <input value="0.02" class="smallInput" id="inputPrecision" onkeyup="precision = parseFloat(this.value)"/> <div class="boutonPlus" type="button" onclick="boutonPlus('inputPrecision', 0.01); precision = parseFloat(document.getElementById('inputPrecision').value); actualiserGraph()">+</div><div class="boutonMoins" type="button" onclick="boutonMoins('inputPrecision', 0.01); precision = parseFloat(document.getElementById('inputPrecision').value); actualiserGraph()">-</div> <br/> <br/> @@ -583,38 +1094,38 @@ </table> <div class="contenuMenu avecBordures"> <h3>Options 3D</h3> - Show the style: + <span>Show the style:</span> <select id="selectAffichage3D"> <option value="surfaces"> surfaces </option> <option value="points"> points </option> </select> <input type="button" onclick='reinitialiserZoom(5)' value="Reset display"/> <br/> <br/> - Accuracy function: <input value="0.2" class="smallInput" id="inputPrecision3D" onkeyup="precisionFonction3D = parseFloat(this.value)"/> + <span>Accuracy function:</span> <input value="0.2" class="smallInput" id="inputPrecision3D" onkeyup="precisionFonction3D = parseFloat(this.value)"/> <div class="boutonPlus" type="button" onclick="boutonPlus('inputPrecision3D', 0.1); precisionFonction3D = parseFloat(document.getElementById('inputPrecision3D').value); actualiserGraph()">+</div><div class="boutonMoins" type="button" onclick="boutonMoins('inputPrecision3D', 0.1); precisionFonction3D = parseFloat(document.getElementById('inputPrecision3D').value); actualiserGraph()">-</div> <br/> <br/> - Use the color:<br/> - red: + <span>Use the color:</span><br/> + <span>red:</span> <select onchange="checkCouleurs3D()" id="selectRouge3D"> <option value="plus">positive value</option> <option value="moins">negative value</option> <option value="tout">general value</option> </select> <br/> - green : + <span>green:</span> <select onchange="checkCouleurs3D()" id="selectVert3D"> <option value="moins">negative value</option> <option value="plus">positive value</option> <option value="tout">general value</option> </select> <br/> - blue : + <span>blue:</span> <select onchange="checkCouleurs3D()" id="selectBleu3D"> <option value="tout">general value</option> <option value="plus">positive value</option> <option value="moins">negative value</option> </select> <br/> - General value : <input class="smallInput" id="couleur3Dgenerale" type="texte" value="0" onkeyup="checkCouleurs3D()"/> (from 0 to 255) + <span>General value:</span> <input class="smallInput" id="couleur3Dgenerale" type="texte" value="0" onkeyup="checkCouleurs3D()"/> (<span>from</span> 0 <span>to</span> 255) <br/> <span id="apercuCouleur3D"></span> </div> @@ -632,57 +1143,57 @@ </table> <div class="contenuMenu avecBordures"> <h1>How it work.</h1> - <p>This widget allow to draw mathematical function. Enter function in the field in the top part of widget and press "Show".</p> - <p>You can enter following mathematical function:<br/> + <p><span>This widget allow to draw mathematical function. Enter function in the field in the top part of widget and press "Show".</span></p> + <p><span>You can enter following mathematical function:</span><br/> <h2>Basic operations</h2> <ul> - <li>Plus -> <span class="gras">+</span></li> - <li>Minus -> <span class="gras">-</span></li> - <li>Multiplication -> <span class="gras">*</span></li> - <li>Division -> <span class="gras">/</span></li> - <li>Mod -> <span class="gras">%</span></li> + <li><span>Plus</span> -> <span class="gras">+</span></li> + <li><span>Minus</span> -> <span class="gras">-</span></li> + <li><span>Multiplication</span> -> <span class="gras">*</span></li> + <li><span>Division</span> -> <span class="gras">/</span></li> + <li><span>Mod</span> -> <span class="gras">%</span></li> </ul> <h2>Trigonometric functions</h2> <ul> - <li>Sine -> <span class="gras">sin(x)</span></li> - <li>Cosine -> <span class="gras">cos(x)</span></li> - <li>Tangent -> <span class="gras">tan(x)</span></li> - <li>Cotangent -> <span class="gras">cot(x)</span></li> - <li>Secant -> <span class="gras">sec(x)</span></li> - <li>Cosecant -> <span class="gras">csc(x)</span></li> + <li><span>Sine</span> -> <span class="gras">sin(x)</span></li> + <li><span>Cosine</span> -> <span class="gras">cos(x)</span></li> + <li><span>Tangent</span> -> <span class="gras">tan(x)</span></li> + <li><span>Cotangent</span> -> <span class="gras">cot(x)</span></li> + <li><span>Secant</span> -> <span class="gras">sec(x)</span></li> + <li><span>Cosecant</span> -> <span class="gras">csc(x)</span></li> </ul> <ul> - <li>Arc sine -> <span class="gras">arcsin(x)</span> ou <span class="gras">asin(x)</span></li> - <li>Arc cosine -> <span class="gras">arccos(x)</span> ou <span class="gras">acos(x)</span></li> - <li>Arc tangent -> <span class="gras">arctan(x)</span> ou <span class="gras">atan(x)</span></li> - <li>Arc cotangent -> <span class="gras">arccot(x)</span> ou <span class="gras">acot(x)</span></li> + <li><span>Arc sine</span> -> <span class="gras">arcsin(x)</span> <span>or</span> <span class="gras">asin(x)</span></li> + <li><span>Arc cosine</span> -> <span class="gras">arccos(x)</span> <span>or</span> <span class="gras">acos(x)</span></li> + <li><span>Arc tangent</span> -> <span class="gras">arctan(x)</span> <span>or</span> <span class="gras">atan(x)</span></li> + <li><span>Arc cotangent</span> -> <span class="gras">arccot(x)</span> <span>or</span> <span class="gras">acot(x)</span></li> </ul> <h2>Hyperbolic functions</h2> <ul> - <li>Hyperbolic sine -> <span class="gras">sinh(x)</span></li> - <li>Hyperbolic cosine -> <span class="gras">cosh(x)</span></li> - <li>Hyperbolic tangent -> <span class="gras">tanh(x)</span></li> - <li>Hyperbolic cotangent -> <span class="gras">coth(x)</span></li> - <li>Hyperbolic secant -> <span class="gras">sech(x)</span></li> - <li>Hyperbolic cosecant -> <span class="gras">csch(x)</span></li> + <li><span>Hyperbolic sine</span> -> <span class="gras">sinh(x)</span></li> + <li><span>Hyperbolic cosine</span> -> <span class="gras">cosh(x)</span></li> + <li><span>Hyperbolic tangent</span> -> <span class="gras">tanh(x)</span></li> + <li><span>Hyperbolic cotangent</span> -> <span class="gras">coth(x)</span></li> + <li><span>Hyperbolic secant</span> -> <span class="gras">sech(x)</span></li> + <li><span>Hyperbolic cosecant</span> -> <span class="gras">csch(x)</span></li> </ul> <ul> - <li>Hyperbolic arc sine -> <span class="gras">arcsinh(x)</span> or <span class="gras">asinh(x)</span></li> - <li>Hyperbolic arc cosine -> <span class="gras">arccosh(x)</span> or <span class="gras">acosh(x)</span></li> - <li>Hyperbolic arc tangent -> <span class="gras">arctanh(x)</span> or <span class="gras">atanh(x)</span></li> - <li>Hyperbolic arc cotangent -> <span class="gras">arccoth(x)</span> or <span class="gras">acoth(x)</span></li> + <li><span>Hyperbolic arc sine</span> -> <span class="gras">arcsinh(x)</span> <span>or</span> <span class="gras">asinh(x)</span></li> + <li><span>Hyperbolic arc cosine</span> -> <span class="gras">arccosh(x)</span> <span>or</span> <span class="gras">acosh(x)</span></li> + <li><span>Hyperbolic arc tangent</span> -> <span class="gras">arctanh(x)</span> <span>or</span> <span class="gras">atanh(x)</span></li> + <li><span>Hyperbolic arc cotangent</span> -> <span class="gras">arccoth(x)</span> <span>or</span> <span class="gras">acoth(x)</span></li> </ul> <h2>Square roots and degrees</h2> <ul> - <li>Square root -> <span class="gras">sqrt(x)</span></li> - <li>Degree -> <span class="gras">pow(x, y)</span> <span class="texteSecondaire">Variable x to the power y</span></li> - <li>Root -> <span class="gras">root(x, y)</span> <span class="texteSecondaire">Root y of x</span></li> + <li><span>Square root</span> -> <span class="gras">sqrt(x)</span></li> + <li><span>Degree</span> -> <span class="gras">pow(x, y)</span> <span class="texteSecondaire">Variable x to the power y</span></li> + <li><span>Root</span> -> <span class="gras">root(x, y)</span> <span class="texteSecondaire">Root y of x</span></li> </ul> <h2>Exponential and logarithm</h2> <ul> <li>e<span style="vertical-align:super;">x</span> -> <span class="gras">exp(x)</span></li> - <li>Natural logarithm -> <span class="gras">ln(x)</span></li> - <li>Decimal logarithm -> <span class="gras">log(x)</span></li> + <li><span>Natural logarithm</span> -> <span class="gras">ln(x)</span></li> + <li><span>Decimal logarithm</span> -> <span class="gras">log(x)</span></li> </ul> <h2>Absolute number value</h2> <ul> @@ -690,14 +1201,14 @@ </ul> <h2>Rounding</h2> <ul> - <li><span class="gras">round(x)</span> -> rounding to the nearest whole number</li> - <li><span class="gras">ceil(x)</span> -> rounding to the nearest whole number in a big way</li> - <li><span class="gras">floor(x)</span> -> rounding to the nearest whole number the smaller side</li> + <li><span class="gras">round(x)</span> -> <span>rounding to the nearest whole number</span></li> + <li><span class="gras">ceil(x)</span> -> <span>rounding to the nearest whole number in a big way</span></li> + <li><span class="gras">floor(x)</span> -> <span>rounding to the nearest whole number the smaller side</span></li> </ul> </p> <br/> <hr/> <h1>Constants</h1> - <p>Also are available some constants:<br/> + <p><span>Also are available some constants:</span><br/> <ul> <li><span class="gras">pi</span> = 4 * atan(1) ≈ 3,141592653589793</li> <li><span class="gras">e</span> = exp(1) ≈ 2.718281828459045</li> @@ -707,11 +1218,11 @@ <hr/> <h1>Keyboard keys</h1> <p style="font-size:90%;"> - esc -> reset widget <br/> - ctrl + left arrow -> graph will be moved left<br/> - ctrl + top arrow -> graph will be moved top<br/> - ctrl + right arrow -> graph will be moved right<br/> - ctrl + bottom arrow -> graph will be moved bottom<br/> + esc -> <span>reset widget</span> <br/> + ctrl + <span>left arrow</span> -> <span>graph will be moved left</span><br/> + ctrl + <span>top arrow</span> -> <span>graph will be moved top</span><br/> + ctrl + <span>right arrow</span> -> <span>graph will be moved right</span><br/> + ctrl + <span>bottom arrow</span> -> <span>graph will be moved bottom</span><br/> <br/> </p> <br/> @@ -768,10 +1279,10 @@ </table> <div class="contenuMenu avecBordures"> <h4>Save graph</h4> - In some browsers when used display method "Canvas" you can save graph by clicking it with right mouse button and selecting "Save image". Also you can save 3D-graphs. + <span>In some browsers when used display method "Canvas" you can save graph by clicking it with right mouse button and selecting "Save image". Also you can save 3D-graphs.</span> <br/><br/> <h4>Offset</h4> - If graph isn't in the right place (larger than canvas) then can you set necessary parameters graph displaying in settings menu. + <span>If graph isn't in the right place (larger than canvas) then can you set necessary parameters graph displaying in settings menu.</span> </div> <div class="barreBasMenu"><input type="button" onclick='cacherMenu()' value="Cancel"/></div> </div> @@ -792,9 +1303,9 @@ </table> <span class="texteSecondaire"> <br/><br/> - If you want to inform about bug, make a proposal or just ask some questions then you can contact to me at the following e-mail: <a href='mailto:yannick.vessaz@gmail.com'>e-mail</a>. + <span>If you want to inform about bug, make a proposal or just ask some questions then you can contact to me at the following e-mail:</span> <a href='mailto:yannick.vessaz@gmail.com'>e-mail</a>. <br/><br/> - If you want to change background design then you can contact at following address: <a href="http://kde.org">KDE</a>. + <span>If you want to change background design then you can contact at following address:</span> <a href="http://kde.org">KDE</a>. </span> <span id="version" class="texteSecondaire" style="position:absolute;bottom:10px;left:15px;">version 1.3</span> </div> @@ -805,27 +1316,27 @@ <div id="menuOutils" class="menu"> <div class="contenuMenu"> <h3 style="margin-top:0px; margin-bottom:15px;">Tools</h3> - Mouse events:<br/> + <span>Mouse events:</span><br/> <input type="button" class="choixOutil" onclick="choixOutil('deplacement');cacherMenu()" value="Moving"/> <input type="button" class="choixOutil" onclick="choixOutil('tangente');cacherMenu()" value="Tangente"/> <input type="button" class="choixOutil" onclick="choixOutil('point');cacherMenu()" value="Point"/> <br/><br/> - Derivative:<br/> + <span>Derivative:</span><br/> <label for="checkDerivee"> f'(x) </label><input type="checkbox" id="checkDerivee" onclick="actualiserGraph()"/><label for="checkDerivee2"> f''(x) </label><input type="checkbox" id="checkDerivee2" onclick="actualiserGraph()"/> <br/><br/> - Square under function:<br/> - From <input value="-5" class="smallInput" id="aireG"/> to <input value="5" class="smallInput" id="aireD"/> <input type="button" onclick='calculerAire()' value="Calculate"/> <span id="outputAire"></span> + <span>Square under function:</span><br/> + <span>From</span> <input value="-5" class="smallInput" id="aireG"/> <span>to</span> <input value="5" class="smallInput" id="aireD"/> <input type="button" onclick='calculerAire()' value="Calculate"/> <span id="outputAire"></span> <div style="float: right;"><label for="checkAire">Draw </label><input type="checkbox" id="checkAire" onclick="actualiserGraph()"/></div> <br/><br/> - Calculate the point on the function:<br/> + <span>Calculate the point on the function:</span><br/> x=<input value="0" class="smallInput" id="inputX" onkeypress='if(event.keyCode==13) execute(document.getElementById("inputEq").value)'/> <input type="button" onclick='execute(document.getElementById("inputEq").value)' value="Estimate"/> <span id="outputX"></span> <br/><br/> - Analysis of function: <br/> + <span>Analysis of function:</span> <br/> f(x) = <span id="etudeFct"></span> <input type="button" value="Start to analysis" onclick='etudier(document.getElementById("inputEq").value);afficherMenu("menuEtude")'/> <br/><br/> - Display test:<br/> + <span>Display test:</span><br/> <input type="button" onclick='cacherMenu(); testXPM()' value="Test XPM"/><input type="button" onclick='cacherMenu(); testSVG()' value="Test SVG"/><input type="button" onclick='cacherMenu(); testCanvas()' value="Test Canvas"/> </div> <div class="barreBasMenu"><input type="button" onclick='cacherMenu()' value="Cancel"/></div> @@ -834,25 +1345,25 @@ <!--Etude de fonction --> <div id="menuEtude" class="menu"> <div class="contenuMenu"> - <h3>Analysis of function in the</h3> - Set of definitions : <span id="etudeEDF">...</span> <br/> - Parity : <span id="etudeParite">...</span> <br/> - Zeros of functions : <span id="etudeZeros">...</span> <br/> + <h3>Analysis of function</h3> + <span>Set of definitions:</span> <span id="etudeEDF">...</span> <br/> + <span>Parity:</span> <span id="etudeParite">...</span> <br/> + <span>Zeros of functions:</span> <span id="etudeZeros">...</span> <br/> <table> <tr id="etudeSigne"> <td>Sign : ...</td> </tr> </table> - Asymptotes <br/> - AH left : <span id="etudeAHG">...</span> <br/> - AH right : <span id="etudeAHD">...</span> <br/> - AV : <span id="etudeAV">...</span> + <span>Asymptotes</span> <br/> + <span>AH left:</span> : <span id="etudeAHG">...</span> <br/> + <span>AH right:</span> <span id="etudeAHD">...</span> <br/> + <span>AV:</span> <span id="etudeAV">...</span> <span id="etudeMin">...</span> <span id="etudeMax">...</span> <span id="etudeI">...</span> <br/><br/> <span class="texteSecondaire" style="font-size:10px;">Tool for analysis of function is not reliable on 100%. Don't forget check results of analysis before use it.</span> </div> - <div class="barreBasMenu"><input type="button" onclick="etudier(document.getElementById('inputEq').value)" value="Actualize" style="position:relative;right:310px;"/> <input type="button" onclick='cacherMenu()' value="Cancel"/></div> + <div class="barreBasMenu"><input type="button" onclick='cacherMenu()' value="Cancel"/></div> </div> <!-- Fonctions multiples --> @@ -1035,10 +1546,10 @@ <!-- Menu des mises à jour --> <div id="mAj" class="menu"> <h1>Updated</h1> - Current version: <br/><span id="thisVersion"></span><br/> - The last on-line version: <br/><span id="newVersion"></span><br/> + <span>Current version:</span> <br/><span id="thisVersion"></span><br/> + <span>The last on-line version:</span> <br/><span id="newVersion"></span><br/> <br/> - This widget is available to using on web-site: <em>http://gyb.educanet2.ch/tm-widgets/yannick</em><br/> + <span>This widget is available to using on web-site:</span> <em>http://gyb.educanet2.ch/tm-widgets/yannick</em><br/> <br/> </div> diff --git a/resources/library/interactive/Graphme.wgt/JavaScript/Affichage3D.js b/resources/library/interactive/Graphme.wgt/JavaScript/Affichage3D.js index 6e0e003e..b6ff0e70 100644 --- a/resources/library/interactive/Graphme.wgt/JavaScript/Affichage3D.js +++ b/resources/library/interactive/Graphme.wgt/JavaScript/Affichage3D.js @@ -15,288 +15,318 @@ var bleu3D = 2 var couleurGenerale = 0 function activer3D(){ - if(fonction3D){ // Si activé alors on le désative - fonction3D = false - choixOutil(outilPrecedent) - document.getElementById('onglet3D').innerHTML = "3D" - largeur = 500 - document.getElementById("affichage").style.width = largeur+"px" - document.getElementById("affichage").style.left = "129px" - document.getElementById("flecheGauche").style.left = "137px" - document.getElementById("flecheHaut").style.left = "345px" - document.getElementById("flecheBas").style.left = "345px" - document.getElementById("gauche").style.display = "block" - document.getElementById("gauche3D").style.display = "none" - var elements = document.getElementsByClassName("menu") - for(var i=0; i<elements.length; i++){ - elements[i].style.left = "121px" - } - reinitialiserZoom(5) - } - else{ // Sinon on l'active - fonction3D = true - outilPrecedent = outil - choixOutil("deplacement") - document.getElementById('onglet3D').innerHTML = "2D" - largeur = 570 - document.getElementById("affichage").style.width = largeur+"px" - document.getElementById("affichage").style.left = "59px" - document.getElementById("flecheGauche").style.left = "67px" - document.getElementById("flecheHaut").style.left = "290px" - document.getElementById("flecheBas").style.left = "290px" - document.getElementById("gauche").style.display = "none" - document.getElementById("gauche3D").style.display = "block" - var elements = document.getElementsByClassName("menu") - for(var i=0; i<elements.length; i++){ - elements[i].style.left = "61px" - } - initialise3D() - } + if(fonction3D){ // Si activé alors on le désative + fonction3D = false + choixOutil(outilPrecedent) + document.getElementById('onglet3D').innerHTML = "3D" + largeur = 500 + document.getElementById("affichage").style.width = largeur+"px" + document.getElementById("affichage").style.left = "129px" + document.getElementById("flecheGauche").style.left = "137px" + document.getElementById("flecheHaut").style.left = "345px" + document.getElementById("flecheBas").style.left = "345px" + document.getElementById("gauche").style.display = "block" + document.getElementById("gauche3D").style.display = "none" + var elements = document.getElementsByClassName("menu") + for(var i=0; i<elements.length; i++){ + elements[i].style.left = "121px" + } + reinitialiserZoom(5) + } + else{ // Sinon on l'active + fonction3D = true + outilPrecedent = outil + choixOutil("deplacement") + document.getElementById('onglet3D').innerHTML = "2D" + largeur = 570 + document.getElementById("affichage").style.width = largeur+"px" + document.getElementById("affichage").style.left = "59px" + document.getElementById("flecheGauche").style.left = "67px" + document.getElementById("flecheHaut").style.left = "290px" + document.getElementById("flecheBas").style.left = "290px" + document.getElementById("gauche").style.display = "none" + document.getElementById("gauche3D").style.display = "block" + var elements = document.getElementsByClassName("menu") + for(var i=0; i<elements.length; i++){ + elements[i].style.left = "61px" + } + initialise3D() + } } function initialise3D() { - centreX = largeur / 2 - centreY = hauteur / 2 - document.getElementById("affichage").innerHTML = '<canvas id="canvas" width="'+largeur+'" height="'+hauteur+'"></canvas>' - ctx = document.getElementById('canvas').getContext('2d') - ctx.clearRect(0, 0, 640, 480) - ctx.fillStyle = "rgba(0, 0, 0, 0.5)" - ctx.fillRect(0,0,640,480) - axes() + centreX = largeur / 2 + centreY = hauteur / 2 + document.getElementById("affichage").innerHTML = '<canvas id="canvas" width="'+largeur+'" height="'+hauteur+'"></canvas>' + ctx = document.getElementById('canvas').getContext('2d') + ctx.clearRect(0, 0, 640, 480) + ctx.fillStyle = "rgba(0, 0, 0, 0.5)" + ctx.fillRect(0,0,640,480) + axes() } function dessiner3D(eq){ - initialise3D() - if(document.getElementById("selectAffichage3D").value == "points"){ - var coordX, coordY, coordZ - for(var x=gauche3D; x<droite3D; x+=precisionFonction3D){ - for(var y=gauche3D; y<droite3D; y+=precisionFonction3D){ - coordX = x - coordY = y - coordZ = eval(eq) - if(isNaN(coordZ)){ - continue - } - point3D(coordX, coordY, coordZ) - } - } - } - else{ - var x1, y1, z1, x2, y2, z2, x3, y3, z3 - var x, y - for(var x1=gauche3D; x1<droite3D; x1+=precisionFonction3D){ - for(var y1=gauche3D; y1<droite3D; y1+=precisionFonction3D){ - x = x1 - y = y1 - z1 = eval(eq) - x2 = x1 + precisionFonction3D - y2 = y1 - x = x2 - //y = y2 - z2 = eval(eq) - x3 = x2 - y3 = y2 + precisionFonction3D - //x = x3 - y = y3 - z3 = eval(eq) - x4 = x3 - precisionFonction3D - y4 = y3 - x = x4 - //y = y4 - z4 = eval(eq) - if(isNaN(z1)||isNaN(z2)||isNaN(z3)||isNaN(z4)){ - continue - } - polygone3D(x1, y1, z1, x2, y2, z2, x3, y3, z3, x4, y4, z4) - } - } - } + initialise3D() + if(document.getElementById("selectAffichage3D").value == "points"){ + var coordX, coordY, coordZ + for(var x=gauche3D; x<droite3D; x+=precisionFonction3D){ + for(var y=gauche3D; y<droite3D; y+=precisionFonction3D){ + coordX = x + coordY = y + coordZ = eval(eq) + if(isNaN(coordZ)){ + continue + } + point3D(coordX, coordY, coordZ) + } + } + } + else{ + var x1, y1, z1, x2, y2, z2, x3, y3, z3 + var x, y + for(var x1=gauche3D; x1<droite3D; x1+=precisionFonction3D){ + for(var y1=gauche3D; y1<droite3D; y1+=precisionFonction3D){ + x = x1 + y = y1 + z1 = eval(eq) + x2 = x1 + precisionFonction3D + y2 = y1 + x = x2 + //y = y2 + z2 = eval(eq) + x3 = x2 + y3 = y2 + precisionFonction3D + //x = x3 + y = y3 + z3 = eval(eq) + x4 = x3 - precisionFonction3D + y4 = y3 + x = x4 + //y = y4 + z4 = eval(eq) + if(isNaN(z1)||isNaN(z2)||isNaN(z3)||isNaN(z4)){ + continue + } + polygone3D(x1, y1, z1, x2, y2, z2, x3, y3, z3, x4, y4, z4) + } + } + } } // Dessine un point à la position (x, y, z) function point3D(x, y, z){ - var posX = (Math.sin(angle)*x + Math.cos(angle)*y)*echelle3D - var posZ = -(z - Math.cos(angle)*x/2.6 + Math.sin(angle)*y/2.6)*echelle3D + var posX = (Math.sin(angle)*x + Math.cos(angle)*y)*echelle3D + var posZ = -(z - Math.cos(angle)*x/2.6 + Math.sin(angle)*y/2.6)*echelle3D - var opacity = Math.round((1-((5+y*Math.sin(angle)-x*Math.cos(angle)) / 450)*echelle3D)*1000)/1000 - var couleur = new Array() - couleur[0] = Math.round((5+z)*echelle3D) - couleur[1] = Math.round(510 - (5+z)*echelle3D) - couleur[2] = couleurGenerale - if(opacity > 1){ opacity = 1 } - if(opacity < 0){ opacity = 0 } - if(couleur[0] > 255){ couleur[0] = 255 } - if(couleur[0] < 0){ couleur[0] = 0 } - if(couleur[1] > 255){ couleur[1] = 255 } - if(couleur[1] < 0){ couleur[1] = 0 } + var opacity = Math.round((1-((5+y*Math.sin(angle)-x*Math.cos(angle)) / 450)*echelle3D)*1000)/1000 + var couleur = new Array() + couleur[0] = Math.round((5+z)*echelle3D) + couleur[1] = Math.round(510 - (5+z)*echelle3D) + couleur[2] = couleurGenerale + if(opacity > 1){ + opacity = 1 + } + if(opacity < 0){ + opacity = 0 + } + if(couleur[0] > 255){ + couleur[0] = 255 + } + if(couleur[0] < 0){ + couleur[0] = 0 + } + if(couleur[1] > 255){ + couleur[1] = 255 + } + if(couleur[1] < 0){ + couleur[1] = 0 + } - ctx.save() - ctx.translate(centreX, centreY) - ctx.scale(valeurZoom3D, valeurZoom3D) - ctx.fillStyle = "rgba("+couleur[rouge3D]+","+couleur[vert3D]+", "+couleur[bleu3D]+", "+opacity+")" - ctx.fillRect(posX-1, posZ-1, 2, 2) - ctx.restore() + ctx.save() + ctx.translate(centreX, centreY) + ctx.scale(valeurZoom3D, valeurZoom3D) + ctx.fillStyle = "rgba("+couleur[rouge3D]+","+couleur[vert3D]+", "+couleur[bleu3D]+", "+opacity+")" + ctx.fillRect(posX-1, posZ-1, 2, 2) + ctx.restore() } // Dessine un polygone qui a comme sommets : (x1, y1, z1) , (x2, y2, z2), (x3, y3, z3) et (x4, y4, z4) function polygone3D(x1, y1, z1, x2, y2, z2, x3, y3, z3, x4, y4, z4){ - ctx.save() - ctx.translate(centreX, centreY) - ctx.scale(valeurZoom3D, valeurZoom3D) - ctx.beginPath() - ctx.moveTo((Math.sin(angle)*x1 + Math.cos(angle)*y1)*echelle3D , -(z1 - Math.cos(angle)*x1/2.6 + Math.sin(angle)*y1/2.6)*echelle3D) - ctx.lineTo((Math.sin(angle)*x2 + Math.cos(angle)*y2)*echelle3D , -(z2 - Math.cos(angle)*x2/2.6 + Math.sin(angle)*y2/2.6)*echelle3D) - ctx.lineTo((Math.sin(angle)*x3 + Math.cos(angle)*y3)*echelle3D , -(z3 - Math.cos(angle)*x3/2.6 + Math.sin(angle)*y3/2.6)*echelle3D) - ctx.lineTo((Math.sin(angle)*x4 + Math.cos(angle)*y4)*echelle3D , -(z4 - Math.cos(angle)*x4/2.6 + Math.sin(angle)*y4/2.6)*echelle3D) + ctx.save() + ctx.translate(centreX, centreY) + ctx.scale(valeurZoom3D, valeurZoom3D) + ctx.beginPath() + ctx.moveTo((Math.sin(angle)*x1 + Math.cos(angle)*y1)*echelle3D , -(z1 - Math.cos(angle)*x1/2.6 + Math.sin(angle)*y1/2.6)*echelle3D) + ctx.lineTo((Math.sin(angle)*x2 + Math.cos(angle)*y2)*echelle3D , -(z2 - Math.cos(angle)*x2/2.6 + Math.sin(angle)*y2/2.6)*echelle3D) + ctx.lineTo((Math.sin(angle)*x3 + Math.cos(angle)*y3)*echelle3D , -(z3 - Math.cos(angle)*x3/2.6 + Math.sin(angle)*y3/2.6)*echelle3D) + ctx.lineTo((Math.sin(angle)*x4 + Math.cos(angle)*y4)*echelle3D , -(z4 - Math.cos(angle)*x4/2.6 + Math.sin(angle)*y4/2.6)*echelle3D) - var opacity = Math.round((1-((5+y1*Math.sin(angle)-x1*Math.cos(angle)) / 450)*echelle3D)*1000)/1000 - var couleur = new Array() - couleur[0] = Math.round((5+z1)*echelle3D) - couleur[1] = Math.round(510 - (5+z1)*echelle3D) - couleur[2] = couleurGenerale - if(opacity > 1){ opacity = 1 } - if(opacity < 0){ opacity = 0 } - if(couleur[0] > 255){ couleur[0] = 255 } - if(couleur[0] < 0){ couleur[0] = 0 } - if(couleur[1] > 255){ couleur[1] = 255 } - if(couleur[1] < 0){ couleur[1] = 0 } + var opacity = Math.round((1-((5+y1*Math.sin(angle)-x1*Math.cos(angle)) / 450)*echelle3D)*1000)/1000 + var couleur = new Array() + couleur[0] = Math.round((5+z1)*echelle3D) + couleur[1] = Math.round(510 - (5+z1)*echelle3D) + couleur[2] = couleurGenerale + if(opacity > 1){ + opacity = 1 + } + if(opacity < 0){ + opacity = 0 + } + if(couleur[0] > 255){ + couleur[0] = 255 + } + if(couleur[0] < 0){ + couleur[0] = 0 + } + if(couleur[1] > 255){ + couleur[1] = 255 + } + if(couleur[1] < 0){ + couleur[1] = 0 + } - ctx.fillStyle = "rgba("+couleur[rouge3D]+","+couleur[vert3D]+", "+couleur[bleu3D]+", "+opacity+")" - ctx.closePath() - ctx.fill() - ctx.restore() + ctx.fillStyle = "rgba("+couleur[rouge3D]+","+couleur[vert3D]+", "+couleur[bleu3D]+", "+opacity+")" + ctx.closePath() + ctx.fill() + ctx.restore() } // Dessine les axes function axes(){ - for(var i=-5; i<5; i+=precisionDroite3D){ - point3D(0, 0, i) - } - for(var i=-5.5; i<5.5; i+=precisionDroite3D){ - point3D(i, 0, 0) - } - for(var i=-5.5; i<5.5; i+=precisionDroite3D){ - point3D(0, i, 0) - } + for(var i=-5; i<5; i+=precisionDroite3D){ + point3D(0, 0, i) + } + for(var i=-5.5; i<5.5; i+=precisionDroite3D){ + point3D(i, 0, 0) + } + for(var i=-5.5; i<5.5; i+=precisionDroite3D){ + point3D(0, i, 0) + } } function cube(x, y, z, r){ - // Face de devant - for(var i=0; i<r; i+=precisionDroite3D){ - point3D(x+i, y, z) - } - for(var i=0; i<r; i+=precisionDroite3D){ - point3D(x+r, y+i, z) - } - for(var i=0; i<r; i+=precisionDroite3D){ - point3D(x+r-i, y+r, z) - } - for(var i=0; i<r; i+=precisionDroite3D){ - point3D(x, y+r-i, z) - } - // Face de derrière - for(var i=0; i<r; i+=precisionDroite3D){ - point3D(x+i, y, z+r) - } - for(var i=0; i<r; i+=precisionDroite3D){ - point3D(x+r, y+i, z+r) - } - for(var i=0; i<r; i+=precisionDroite3D){ - point3D(x+r-i, y+r, z+r) - } - for(var i=0; i<r; i+=precisionDroite3D){ - point3D(x, y+r-i, z+r) - } - // Arrêtes - for(var i=0; i<r; i+=precisionDroite3D){ - point3D(x, y, z+i) - } - for(var i=0; i<r; i+=precisionDroite3D){ - point3D(x, y+r, z+i) - } - for(var i=0; i<r; i+=precisionDroite3D){ - point3D(x+r, y, z+i) - } - for(var i=0; i<r; i+=precisionDroite3D){ - point3D(x+r, y+r, z+i) - } + // Face de devant + for(var i=0; i<r; i+=precisionDroite3D){ + point3D(x+i, y, z) + } + for(var i=0; i<r; i+=precisionDroite3D){ + point3D(x+r, y+i, z) + } + for(var i=0; i<r; i+=precisionDroite3D){ + point3D(x+r-i, y+r, z) + } + for(var i=0; i<r; i+=precisionDroite3D){ + point3D(x, y+r-i, z) + } + // Face de derrière + for(var i=0; i<r; i+=precisionDroite3D){ + point3D(x+i, y, z+r) + } + for(var i=0; i<r; i+=precisionDroite3D){ + point3D(x+r, y+i, z+r) + } + for(var i=0; i<r; i+=precisionDroite3D){ + point3D(x+r-i, y+r, z+r) + } + for(var i=0; i<r; i+=precisionDroite3D){ + point3D(x, y+r-i, z+r) + } + // Arrêtes + for(var i=0; i<r; i+=precisionDroite3D){ + point3D(x, y, z+i) + } + for(var i=0; i<r; i+=precisionDroite3D){ + point3D(x, y+r, z+i) + } + for(var i=0; i<r; i+=precisionDroite3D){ + point3D(x+r, y, z+i) + } + for(var i=0; i<r; i+=precisionDroite3D){ + point3D(x+r, y+r, z+i) + } } // Change les couleurs de l'affichage 3D et affiche l'aperçu de celles-ci. function checkCouleurs3D(){ - var rouge, vert, bleu - var sensRouge, sensVert, sensBleu - var precisionApercu = 64 - couleurGenerale = parseInt(document.getElementById("couleur3Dgenerale").value) - if(!couleurGenerale){ couleurGenerale = 0 } - if(couleurGenerale < 0){ couleurGenerale = 0 } - if(couleurGenerale > 255){ couleurGenerale = 255 } - switch(document.getElementById("selectRouge3D").value){ - case "plus": - rouge3D = 0 - rouge = 255 - sensRouge = -1 - break - case "moins": - rouge3D = 1 - rouge = 0 - sensRouge = 1 - break - case "tout": - rouge3D = 2 - rouge = couleurGenerale - sensRouge = 0 - break - } - switch(document.getElementById("selectVert3D").value){ - case "plus": - vert3D = 0 - vert = 255 - sensVert = -1 - break - case "moins": - vert3D = 1 - vert = 0 - sensVert = 1 - break - case "tout": - vert3D = 2 - vert = couleurGenerale - sensVert = 0 - break - } - switch(document.getElementById("selectBleu3D").value){ - case "plus": - bleu3D = 0 - bleu = 255 - sensBleu = -1 - break - case "moins": - bleu3D = 1 - bleu = 0 - sensBleu = 1 - break - case "tout": - bleu3D = 2 - bleu = couleurGenerale - sensBleu = 0 - break - } - document.getElementById("apercuCouleur3D").innerHTML = "<span style='background-color:rgba("+rouge+","+vert+","+bleu+",1);color:rgba(0,0,0,0);'>.</span>" - for(var i=0; i<precisionApercu; i++){ - rouge = rouge + sensRouge*(256/precisionApercu) - vert = vert + sensVert*(256/precisionApercu) - bleu = bleu + sensBleu*(256/precisionApercu) - document.getElementById("apercuCouleur3D").innerHTML = document.getElementById("apercuCouleur3D").innerHTML + "<span style='background-color:rgba("+rouge+","+vert+","+bleu+",1);color:rgba(0,0,0,0);'>.</span>" - } + var rouge, vert, bleu + var sensRouge, sensVert, sensBleu + var precisionApercu = 64 + couleurGenerale = parseInt(document.getElementById("couleur3Dgenerale").value) + if(!couleurGenerale){ + couleurGenerale = 0 + } + if(couleurGenerale < 0){ + couleurGenerale = 0 + } + if(couleurGenerale > 255){ + couleurGenerale = 255 + } + switch(document.getElementById("selectRouge3D").value){ + case "plus": + rouge3D = 0 + rouge = 255 + sensRouge = -1 + break + case "moins": + rouge3D = 1 + rouge = 0 + sensRouge = 1 + break + case "tout": + rouge3D = 2 + rouge = couleurGenerale + sensRouge = 0 + break + } + switch(document.getElementById("selectVert3D").value){ + case "plus": + vert3D = 0 + vert = 255 + sensVert = -1 + break + case "moins": + vert3D = 1 + vert = 0 + sensVert = 1 + break + case "tout": + vert3D = 2 + vert = couleurGenerale + sensVert = 0 + break + } + switch(document.getElementById("selectBleu3D").value){ + case "plus": + bleu3D = 0 + bleu = 255 + sensBleu = -1 + break + case "moins": + bleu3D = 1 + bleu = 0 + sensBleu = 1 + break + case "tout": + bleu3D = 2 + bleu = couleurGenerale + sensBleu = 0 + break + } + document.getElementById("apercuCouleur3D").innerHTML = "<span style='background-color:rgba("+rouge+","+vert+","+bleu+",1);color:rgba(0,0,0,0);'>.</span>" + for(var i=0; i<precisionApercu; i++){ + rouge = rouge + sensRouge*(256/precisionApercu) + vert = vert + sensVert*(256/precisionApercu) + bleu = bleu + sensBleu*(256/precisionApercu) + document.getElementById("apercuCouleur3D").innerHTML = document.getElementById("apercuCouleur3D").innerHTML + "<span style='background-color:rgba("+rouge+","+vert+","+bleu+",1);color:rgba(0,0,0,0);'>.</span>" + } } function zoom3D(valeur){ - valeurZoom3D *= valeur - gauche3D /= valeur - droite3D /= valeur - precisionFonction3D /= valeur - precisionDroite3D /= valeur - //alert(valeurZoom3D+" ; "+gauche3D+" ; "+droite3D+" ; "+precisionFonction3D+" ; "+precisionDroite3D) - actualiserGraph() + valeurZoom3D *= valeur + gauche3D /= valeur + droite3D /= valeur + precisionFonction3D /= valeur + precisionDroite3D /= valeur + //alert(valeurZoom3D+" ; "+gauche3D+" ; "+droite3D+" ; "+precisionFonction3D+" ; "+precisionDroite3D) + actualiserGraph() } \ No newline at end of file diff --git a/resources/library/interactive/Graphme.wgt/JavaScript/Etude.js b/resources/library/interactive/Graphme.wgt/JavaScript/Etude.js index 79e39bb4..fea7d280 100644 --- a/resources/library/interactive/Graphme.wgt/JavaScript/Etude.js +++ b/resources/library/interactive/Graphme.wgt/JavaScript/Etude.js @@ -13,314 +13,313 @@ var intervalEtudeDroite = 50 var precisionEtude = 0.001 function etudier(fct){ - if(check(fct)){ - prepareEtude(fct) - pariteFct() - signeFct(fct) + if(check(fct)){ + prepareEtude(fct) + pariteFct() + signeFct(fct) asymptotes() courbure() - ensembleDefinition() - } + ensembleDefinition() + } } // Préparation à l'étude de fonction function prepareEtude(fct){ - listeIndefini = new Array() + listeIndefini = new Array() var f = function(x){ return eval(fct) } - // Calcul de tous les points de la fonction - var i = 0 - for(var x=intervalEtudeGauche; x<=intervalEtudeDroite; x+=precisionEtude){ - etudeX[i] = x - etudeY[i] = Math.round(f(x)*10000)/10000 - etudeD[i] = Math.round(1000000*(f(x+0.0001)-f(x-0.0001))/(2*0.0001))/1000000 - i++ - } - // Calcul des extrémités de la fonction - var x = -100000 - limGauche[0] = f(x) - x = -10000 - limGauche[1] = f(x) - x = 100000 - limDroite[0] = f(x) - x = 10000 - limDroite[1] = f(x) + // Calcul de tous les points de la fonction + var i = 0 + for(var x=intervalEtudeGauche; x<=intervalEtudeDroite; x+=precisionEtude){ + etudeX[i] = x + etudeY[i] = Math.round(f(x)*10000)/10000 + etudeD[i] = Math.round(1000000*(f(x+0.0001)-f(x-0.0001))/(2*0.0001))/1000000 + i++ + } + // Calcul des extrémités de la fonction + var x = -100000 + limGauche[0] = f(x) + x = -10000 + limGauche[1] = f(x) + x = 100000 + limDroite[0] = f(x) + x = 10000 + limDroite[1] = f(x) } // Recherche de l'ensemble de définition function ensembleDefinition(){ - var fctDefinie = false - var dejaDefinie = false - var EDF = "" - if(!isNaN(limGauche[0])){ - fctDefinie = true - dejaDefinie = true - EDF += "]-∞;" - } - if(!isNaN(limGauche[1]) && !fctDefinie){ - fctDefinie = true - dejaDefinie = true - EDF += "]-∞;" - } - for(var i=0; i<etudeX.length; i++){ - if(fctDefinie && isNaN(etudeY[i])){ - fctDefinie = false - EDF += (parseInt(etudeX[i]/precisionEtude)*precisionEtude)+"[" - } - else if(!fctDefinie && !isNaN(etudeY[i])){ - fctDefinie = true - if(dejaDefinie){ - EDF += " u " - } - EDF += "["+(parseInt(etudeX[i]/precisionEtude)*precisionEtude)+";" - dejaDefinie = true - } - } - if(fctDefinie && !isNaN(limDroite[1])){ - fctDefinie = false - EDF += "+∞[" - } - if(fctDefinie && !isNaN(limDroite[0])){ - fctDefinie = false - EDF += "+∞[" - } - for(var i=0; i<listeIndefini.length; i++){ - if(i==0){ - EDF += " - {" - } - EDF += listeIndefini[i] - if(i==listeIndefini.length-1){ - EDF += "}" - } - else - EDF += ";" - } - document.getElementById('etudeEDF').innerHTML = EDF + var fctDefinie = false + var dejaDefinie = false + var EDF = "" + if(!isNaN(limGauche[0])){ + fctDefinie = true + dejaDefinie = true + EDF += "]-∞;" + } + if(!isNaN(limGauche[1]) && !fctDefinie){ + fctDefinie = true + dejaDefinie = true + EDF += "]-∞;" + } + for(var i=0; i<etudeX.length; i++){ + if(fctDefinie && isNaN(etudeY[i])){ + fctDefinie = false + EDF += (parseInt(etudeX[i]/precisionEtude)*precisionEtude)+"[" + } + else if(!fctDefinie && !isNaN(etudeY[i])){ + fctDefinie = true + if(dejaDefinie){ + EDF += " u " + } + EDF += "["+(parseInt(etudeX[i]/precisionEtude)*precisionEtude)+";" + dejaDefinie = true + } + } + if(fctDefinie && !isNaN(limDroite[1])){ + fctDefinie = false + EDF += "+∞[" + } + if(fctDefinie && !isNaN(limDroite[0])){ + fctDefinie = false + EDF += "+∞[" + } + for(var i=0; i<listeIndefini.length; i++){ + if(i==0){ + EDF += " - {" + } + EDF += listeIndefini[i] + if(i==listeIndefini.length-1){ + EDF += "}" + } + else + EDF += ";" + } + document.getElementById('etudeEDF').innerHTML = EDF } // Etude de la parité function pariteFct(){ - var posZero - var paire = true - var impaire = true - var positif, negatif - var precisionParite = 1000 - for(var i=0;i<etudeX.length;i++){ - if(Math.round(etudeX[i]*precisionParite)/precisionParite==0){ - posZero = i - } - } - for(var i=1; i<etudeX.length/2; i++){ - if(etudeY[posZero+i]>0){ - positif = Math.floor(etudeY[posZero+i]) - } - else{ - positif = Math.ceil(etudeY[posZero+i]) - } - if(etudeY[posZero-i]>0){ - negatif = Math.floor(etudeY[posZero-i]) - } - else{ - negatif = Math.ceil(etudeY[posZero-i]) - } + var posZero + var paire = true + var impaire = true + var positif, negatif + var precisionParite = 1000 + for(var i=0;i<etudeX.length;i++){ + if(Math.round(etudeX[i]*precisionParite)/precisionParite==0){ + posZero = i + } + } + for(var i=1; i<etudeX.length/2; i++){ + if(etudeY[posZero+i]>0){ + positif = Math.floor(etudeY[posZero+i]) + } + else{ + positif = Math.ceil(etudeY[posZero+i]) + } + if(etudeY[posZero-i]>0){ + negatif = Math.floor(etudeY[posZero-i]) + } + else{ + negatif = Math.ceil(etudeY[posZero-i]) + } - if(positif<25000 && positif>-25000){ - if(positif != negatif){ - paire = false - //alert(i+" ; "+posZero+" ; "+etudeX.length+" ; "+positif+" ; "+negatif) - } - if(positif != (-negatif)){ - impaire = false - } - } - } - if(paire){ - document.getElementById("etudeParite").innerHTML = "even" - } - else if(impaire){ - document.getElementById("etudeParite").innerHTML = "uneven" - } - else{ - document.getElementById("etudeParite").innerHTML = "n/a" - } + if(positif<25000 && positif>-25000){ + if(positif != negatif){ + paire = false + //alert(i+" ; "+posZero+" ; "+etudeX.length+" ; "+positif+" ; "+negatif) + } + if(positif != (-negatif)){ + impaire = false + } + } + } + if(paire){ + document.getElementById("etudeParite").innerHTML = sankoreLang[lang].ev; + } + else if(impaire){ + document.getElementById("etudeParite").innerHTML = sankoreLang[lang].unev; + } + else{ + document.getElementById("etudeParite").innerHTML = sankoreLang[lang].na; + } } function zeroFct(){ - listeZeros = new Array() - var listeZerosArr = new Array() - var precZeros = 5 - for(var i=0; i<etudeX.length; i++){ - if(Math.round(etudeY[i]*1000)/1000==0){ - var nouveauZero = Math.round(etudeX[i]*precZeros)/precZeros - if(listeZerosArr[listeZerosArr.length-1]!=nouveauZero){ - listeZeros.push(Math.round(etudeX[i]*10)/10) - listeZerosArr.push(nouveauZero) - } - } - } + listeZeros = new Array() + var listeZerosArr = new Array() + var precZeros = 5 + for(var i=0; i<etudeX.length; i++){ + if(Math.round(etudeY[i]*1000)/1000==0){ + var nouveauZero = Math.round(etudeX[i]*precZeros)/precZeros + if(listeZerosArr[listeZerosArr.length-1]!=nouveauZero){ + listeZeros.push(Math.round(etudeX[i]*10)/10) + listeZerosArr.push(nouveauZero) + } + } + } } function signeFct(fct){ - var signe = new Array() - var signePlus = new Array() - var signeMoins = new Array() - var dernier = 0 - if(limGauche[0]>0){ - signe[0] = "+" - signePlus[0] = limGauche[1] - signeMoins[0] = limGauche[0] - } - else{ - signe[0] = "-" - signePlus[0] = limGauche[1] - signeMoins[0] = limGauche[0] - } - for(var i=0; i<etudeY.length; i++){ - if(signe[signe.length-1]=="+"){ - if(etudeY[i]<0){ - signe.push("-") - signePlus.push(etudeX[i]) - signeMoins.push(etudeX[dernier]) - } - else if(etudeY[i]>0){ - dernier = i - } - } - if(signe[signe.length-1]=="-"){ - if(etudeY[i]>0){ - signe.push("+") - signePlus.push(etudeX[i]) - signeMoins.push(etudeX[dernier]) - //alert(signe+" ; "+signePlus+'\n'+etudeY[i+1]+" ; "+etudeY[i]+" ; "+etudeY[i-1]+" ; "+etudeY[i-2]+'\n'+etudeX[i+1]+" ; "+etudeX[i]+" ; "+etudeX[i-1]+" ; "+etudeX[i-2]) - } - else if(etudeY[i]<0){ - dernier = i - } - } - } - var valeurPlus, valeurMoins, millieu, precisionZero - listeZeros = new Array() - for(var i=1; i<signePlus.length; i++){ - valeurPlus = signePlus[i] - valeurMoins = signeMoins[i] - for(var k=0;k<10000;k++){ - millieu = (valeurPlus + valeurMoins)/2 - x = valeurPlus - if(eval(fct)>0){ - x = millieu - if(eval(fct)>0){ - valeurPlus=millieu - } - else if(eval(fct)<0){ - valeurMoins=millieu - } - else{ - break - } - } - else if(eval(fct)<0){ - x = millieu - if(eval(fct)<0){ - valeurPlus=millieu - } - else if(eval(fct)>0){ - valeurMoins=millieu - } - else{ - break - } - } - else{ - millieu = valeurPlus - break - } - x = valeurPlus - precisionZero = eval(fct) - x = valeurMoins - precisionZero -= eval(fct) - if(precisionZero>0.0001){ - break - } - } - //alert(signePlus[i]+" et "+signeMoins[i]+" -> "+millieu) - listeZeros.push(Math.round(millieu*100)/100) - } - var texteZeros = "" - if(listeZeros==""){ - zeroFct() - texteZeros = "~ " - } - var texte = "Signe : " - var aSupprimer = new Array() - for(var i=0; i<signe.length; i++){ - texte += "<td>"+signe[i]+"</td>" - if(listeZeros[i]!=undefined){ - x = listeZeros[i] - if(isFinite(eval(fct))){ - texte += "<td class='border'>"+listeZeros[i]+"</td>" - } - else{ - texte += "<td class='border infini'>"+listeZeros[i]+"</td>" - listeIndefini.push(listeZeros[i]) - aSupprimer.push(i) - } - } - } - document.getElementById("etudeSigne").innerHTML = texte - for(var i=0; i<aSupprimer.length; i++){ - listeZeros.splice((aSupprimer[i]-i), 1) - } - if(listeZeros==""){ - texteZeros = "n/a" - } - document.getElementById("etudeZeros").innerHTML = texteZeros+listeZeros + var signe = new Array() + var signePlus = new Array() + var signeMoins = new Array() + var dernier = 0 + if(limGauche[0]>0){ + signe[0] = "+" + signePlus[0] = limGauche[1] + signeMoins[0] = limGauche[0] + } + else{ + signe[0] = "-" + signePlus[0] = limGauche[1] + signeMoins[0] = limGauche[0] + } + for(var i=0; i<etudeY.length; i++){ + if(signe[signe.length-1]=="+"){ + if(etudeY[i]<0){ + signe.push("-") + signePlus.push(etudeX[i]) + signeMoins.push(etudeX[dernier]) + } + else if(etudeY[i]>0){ + dernier = i + } + } + if(signe[signe.length-1]=="-"){ + if(etudeY[i]>0){ + signe.push("+") + signePlus.push(etudeX[i]) + signeMoins.push(etudeX[dernier]) + //alert(signe+" ; "+signePlus+'\n'+etudeY[i+1]+" ; "+etudeY[i]+" ; "+etudeY[i-1]+" ; "+etudeY[i-2]+'\n'+etudeX[i+1]+" ; "+etudeX[i]+" ; "+etudeX[i-1]+" ; "+etudeX[i-2]) + } + else if(etudeY[i]<0){ + dernier = i + } + } + } + var valeurPlus, valeurMoins, millieu, precisionZero + listeZeros = new Array() + for(var i=1; i<signePlus.length; i++){ + valeurPlus = signePlus[i] + valeurMoins = signeMoins[i] + for(var k=0;k<10000;k++){ + millieu = (valeurPlus + valeurMoins)/2 + x = valeurPlus + if(eval(fct)>0){ + x = millieu + if(eval(fct)>0){ + valeurPlus=millieu + } + else if(eval(fct)<0){ + valeurMoins=millieu + } + else{ + break + } + } + else if(eval(fct)<0){ + x = millieu + if(eval(fct)<0){ + valeurPlus=millieu + } + else if(eval(fct)>0){ + valeurMoins=millieu + } + else{ + break + } + } + else{ + millieu = valeurPlus + break + } + x = valeurPlus + precisionZero = eval(fct) + x = valeurMoins + precisionZero -= eval(fct) + if(precisionZero>0.0001){ + break + } + } + listeZeros.push(Math.round(millieu*100)/100) + } + var texteZeros = "" + if(listeZeros==""){ + zeroFct() + texteZeros = "~ " + } + var texte = sankoreLang[lang].signe; + var aSupprimer = new Array() + for(var i=0; i<signe.length; i++){ + texte += "<td>"+signe[i]+"</td>" + if(listeZeros[i]!=undefined){ + x = listeZeros[i] + if(isFinite(eval(fct))){ + texte += "<td class='border'>"+listeZeros[i]+"</td>" + } + else{ + texte += "<td class='border infini'>"+listeZeros[i]+"</td>" + listeIndefini.push(listeZeros[i]) + aSupprimer.push(i) + } + } + } + document.getElementById("etudeSigne").innerHTML = texte + for(var i=0; i<aSupprimer.length; i++){ + listeZeros.splice((aSupprimer[i]-i), 1) + } + if(listeZeros==""){ + texteZeros = sankoreLang[lang].na; + } + document.getElementById("etudeZeros").innerHTML = texteZeros+listeZeros } function asymptotes(){ - // Horizontales - if(Math.abs(limGauche[0])<1000){ - var limRound = Math.round(limGauche[0]*100)/100 - if(limGauche[0]<limRound){ - document.getElementById("etudeAHG").innerHTML = "y = "+limRound +" <span class='texteSecondaire'>(curve is higher than a l'AH)</span>" - } - else if(limGauche[0]>limRound){ - document.getElementById("etudeAHG").innerHTML = "y = "+limRound +" <span class='texteSecondaire'>(curve is lower than a l'AH)</span>" - } - else{ - document.getElementById("etudeAHG").innerHTML = "y = "+limRound - } - } - else{ - document.getElementById("etudeAHG").innerHTML = "n/a" - } - if(Math.abs(limDroite[0])<1000){ - var limRound = Math.round(limDroite[0]*100)/100 - if(limDroite[0]<limRound){ - document.getElementById("etudeAHD").innerHTML = "y = "+limRound +" <span class='texteSecondaire'>(curve is lower than a l'AH)</span>" - } - else if(limDroite[0]>limRound){ - document.getElementById("etudeAHD").innerHTML = "y = "+limRound +" <span class='texteSecondaire'>(curve is higher than a l'AH)</span>" - } - else{ - document.getElementById("etudeAHD").innerHTML = "y = "+limRound - } - } - else{ - document.getElementById("etudeAHD").innerHTML = "n/a" - } - // Verticales - var texteAV = "" - for(var i=0; i<listeIndefini.length; i++){ - texteAV += "x = "+listeIndefini[i] - if(listeIndefini[i+1]!=undefined){ - texteAV += " ; " - } - } - if(texteAV==""){ - texteAV = "n/a <br/>" - } - document.getElementById("etudeAV").innerHTML = texteAV + // Horizontales + if(Math.abs(limGauche[0])<1000){ + var limRound = Math.round(limGauche[0]*100)/100 + if(limGauche[0]<limRound){ + document.getElementById("etudeAHG").innerHTML = "y = "+limRound +" <span class='texteSecondaire'>" + sankoreLang[lang].curve_higher + "</span>" + } + else if(limGauche[0]>limRound){ + document.getElementById("etudeAHG").innerHTML = "y = "+limRound +" <span class='texteSecondaire'>" + sankoreLang[lang].curve_lower + "</span>" + } + else{ + document.getElementById("etudeAHG").innerHTML = "y = "+limRound + } + } + else{ + document.getElementById("etudeAHG").innerHTML = sankoreLang[lang].na; + } + if(Math.abs(limDroite[0])<1000){ + var limRound = Math.round(limDroite[0]*100)/100 + if(limDroite[0]<limRound){ + document.getElementById("etudeAHD").innerHTML = "y = "+limRound +" <span class='texteSecondaire'>" + sankoreLang[lang].curve_lower + "</span>" + } + else if(limDroite[0]>limRound){ + document.getElementById("etudeAHD").innerHTML = "y = "+limRound +" <span class='texteSecondaire'>" + sankoreLang[lang].curve_higher + "</span>" + } + else{ + document.getElementById("etudeAHD").innerHTML = "y = "+limRound + } + } + else{ + document.getElementById("etudeAHD").innerHTML = sankoreLang[lang].na; + } + // Verticales + var texteAV = "" + for(var i=0; i<listeIndefini.length; i++){ + texteAV += "x = "+listeIndefini[i] + if(listeIndefini[i+1]!=undefined){ + texteAV += " ; " + } + } + if(texteAV==""){ + texteAV = sankoreLang[lang].na + " <br/>" + } + document.getElementById("etudeAV").innerHTML = texteAV } function courbure(){ @@ -332,10 +331,10 @@ function courbure(){ for(i=0; i<etudeD.length; i++){ if(etudeD[i]==0){ if(etudeD[i-1]<0 && etudeD[i+1]>0){ - texteMin += "<br/>Min("+Math.round(etudeX[i]*10000)/10000+";"+etudeY[i]+")"; + texteMin += "<br/>" + sankoreLang[lang].min + "("+Math.round(etudeX[i]*10000)/10000+";"+etudeY[i]+")"; } else if(etudeD[i-1]>0 && etudeD[i+1]<0){ - texteMax += "<br/>Max("+Math.round(etudeX[i]*10000)/10000+";"+etudeY[i]+")"; + texteMax += "<br/>" + sankoreLang[lang].max + "("+Math.round(etudeX[i]*10000)/10000+";"+etudeY[i]+")"; } else{ nbrI++; @@ -343,10 +342,15 @@ function courbure(){ } } } - if(texteMin==""){texteMin = "<br/>No minimum";} - if(texteMax==""){texteMax = "<br/>No maximum";} - if(texteI==""){texteI = "<br/>Aucun I";} + if(texteMin==""){ + texteMin = "<br/>" + sankoreLang[lang].no_min; + } + if(texteMax==""){ + texteMax = "<br/>" + sankoreLang[lang].no_max; + } + if(texteI==""){ + texteI = "<br/>Aucun I"; + } document.getElementById("etudeMin").innerHTML = texteMin; document.getElementById("etudeMax").innerHTML = texteMax; - document.getElementById("etudeI").innerHTML = texteI; } \ No newline at end of file diff --git a/resources/library/interactive/Graphme.wgt/JavaScript/Sauvegardes.js b/resources/library/interactive/Graphme.wgt/JavaScript/Sauvegardes.js index b9f6cf10..91b3514a 100644 --- a/resources/library/interactive/Graphme.wgt/JavaScript/Sauvegardes.js +++ b/resources/library/interactive/Graphme.wgt/JavaScript/Sauvegardes.js @@ -115,5 +115,5 @@ function checkOptions(){ } function alertOptions(){ - alert("Now parameters will be saved\n------------------------------------------------------------\n"+document.cookie); + alert(sankoreLang[lang].show_saved + "\n------------------------------------------------------------\n"+document.cookie); } \ No newline at end of file diff --git a/resources/library/interactive/Graphme.wgt/JavaScript/languages.js b/resources/library/interactive/Graphme.wgt/JavaScript/languages.js new file mode 100644 index 00000000..9bb6a246 --- /dev/null +++ b/resources/library/interactive/Graphme.wgt/JavaScript/languages.js @@ -0,0 +1,506 @@ +var sankoreLang = { + "en":{ + "fnc":"Function: ", + "display":"Display", + "x_axis":"X-axis", + "y_axis":"Y-axis", + "zoom":"Zoom", + "color":"Color:", + "menus":"Menu", + "tools":"Tools", + "options":"Options", + "help":"Help", + "about":"About", + "mouse_events":"Mouse events:", + "moving":"Moving", + "tangente":"Tangente", + "point":"Point", + "choosing_color":"Choosing the color:", + "value":"Value:", + "saturation":"Saturation:", + "red":"Red:", + "green":"Green:", + "blue":"Blue:", + "opacity":"Opacity:", + "check":"Check", + "derivative":"Derivative:", + "square_under_func":"Square under function:", + "from":"From", + "to":"To", + "calculate":"Calculate", + "draw":"Draw", + "point_calculate":"Calculate the point on the function:", + "estimate":"Estimate", + "analysis_of_func":"Analysis of function:", + "start_to_analysis":"Start to analysis", + "quit":"Quit", + "display_test":"Display the test:", + "test":"Test", + "widget":"Widget", + "widget_options":"Widget options", + "themes_of_widget":"Themes of the widget:", + "black":"Black", + "white":"White", + "control_options":"Control options:", + "save":"Save", + "load":"Load", + "del":"Delete", + "save_a_widget_options":"Save a widget options in cookies or load an options from cookies or delete a registered options.", + "auto_update":"Automatically update when a widget opening.", + "reload_widget":"Reload widget", + "update":"Update", + "the_graphical":"The graphical method displaying:", + "lines":"lines", + "points":"points", + "image":"image", + "zoom_def":"Zoom default:", + "update_zoom":"Update zoom", + "show_grid":"Show grid", + "show_axis":"Show axis", + "scale":"Scale", + "thickness":"Thickness:", + "offset_diagram":"Offset diagram:", + "accuracy_graph":"Accuracy graph:", + "show_the_style":"Show the style:", + "surfaces":"surfaces", + "points":"points", + "reset_display":"Reset display", + "accuracy_func":"Accuracy function:", + "use_the_color":"Use the color:", + "positive_value":"positive value", + "negative_value":"negative value", + "general_value":"general value", + "how_it_work":"How it works", + "this_widget_allow":"This widget allows to draw mathematical function. Enter function in the field in the top part of the widget and press\"Display\"", + "you_can_enter":"You can enter following mathematical functions:", + "basic_operations":"Basic operations", + "plus":"Plus", + "minus":"Minus", + "multi":"Multiplication", + "division":"Division", + "mod":"Mod", + "trigonometric":"Trigonometric functions", + "sine":"Sine", + "cosine":"Cosine", + "tangent":"Tangent", + "cotangent":"Cotangent", + "secant":"Secant", + "cosecant":"Cosecant", + "arc_sine":"Arc sine", + "arc_cosine":"Arc cosine", + "arc_tangent":"Arc tangent", + "arc_cotangent":"Arc cotangent", + "hyperbolic_func":"Hyperbolic functions", + "hyp_sine":"Hyperbolic sine", + "hyp_cosine":"Hyperbolic cosine", + "hyp_tangent":"Hyperbolic tangent", + "hyp_cotangent":"Hyperbolic cotangent", + "hyp_secant":"Hyperbolic secant", + "hyp_cosecant":"Hyperbolic cosecant", + "hyp_arc_sine":"Hyperbolic arc sine", + "hyp_arc_cosine":"Hyperbolic arc cosine", + "hyp_arc_tangent":"Hyperbolic arc tangent", + "hyp_arc_cotangent":"Hyperbolic arc cotangent", + "square_roots_and_degrees":"Square roots and degrees", + "square_root":"Square root", + "degree":"Degree", + "root":"Root", + "variable_x":"Variable x to the power y", + "root_y":"Root y of x", + "exponential":"Exponential and logarithm", + "natural_log":"Natural logarithm", + "decimal_log":"Decimal logarithm", + "abs":"Absolute number value", + "rounding":"Rounding", + "round_nearest":"Rounding to the nearest whole number", + "round_nearest_big":"Rounding to the nearest whole number in a big way", + "round_nearest_small":"Rounding to the nearest whole number the smaller side", + "consts":"Constants", + "available_const":"Also are some constants available:", + "keys":"Keyboard keys", + "moved_left":"Graph will be moved left", + "moved_top":"Graph will be moved top", + "moved_right":"Graph will be moved right", + "moved_botom":"Graph will be moved bottom", + "guide":"User's guide", + "using":"Using", + "examples":"Examples", + "other":"Other", + "you_can_view":"You can view example. Don't forget to set a accuracy in option if it will be necessary.", + "save_graph":"Save graph", + "in_some_browsers":"In some browsers when display method \"Canvas\" used you can save graph by clcking it with right mouse button and selecting \"Save image\". Also you can save 3D-graphs.", + "offset":"Offset", + "if_graph_isnt":"If graph isn't in the right plase (larger than canvas) then can you set necessary parameters graph displaying in settings menu.", + "history":"History", + "current":"Current", + "additional":"Additional", + "left_arrow":"left arrow", + "right_arrow":"right arrow", + "top_arrow":"top arrow", + "bottom_arrow":"bottom arrow", + "or":"or", + "funcs":"Functions", + "widget_is_developed":"Widget is developed by", + "if_you_want_to":"If you want to inform about a bug, make a proposal or just ask some questions. You can contact to me at the following e-mail:", + "if_you_want_to_change":"If you want to change background design then you can contact at following address:", + "set_of_def":"Set of definitions:", + "parity":"Parity:", + "zeros":"Zeros of function:", + "signe":"Sign:", + "asympt":"Asymptotes", + "min":"Min", + "ev":"even", + "unev":"uneven", + "na":"n/a", + "curve_lower":"curve is lower than a AH", + "curve_higher":"curve is higher than a AH", + "max":"Max", + "no_min":"No minimum", + "no_max":"No maximum", + "tool_for":"Tool for analysis of function is not reliable on 100%. Don't forget check results of analysis before use it.", + "ah_left":"AH left:", + "ah_right":"AH right:", + "av":"AV:", + "options_saved":"Options saved!", + "cur_version":"Current version:", + "last_version":"The last on-line version:", + "using_web":"This widget is available to using on web-site:", + "show_saved":"Now parameters will be saved" + }, + "ru":{ + "fnc": "Функция: ", + "display":"Показать", + "x_axis":"ось X", + "y_axis":"ось Y", + "zoom":"Размер", + "color":"Цвет:", + "menus":"Меню", + "tools":"Инструменты", + "options":"Опции", + "help":"Помощь", + "about":"О программе", + "mouse_events":"События мыши:", + "moving":"Движение", + "tangente":"Касательная", + "point":"Точка", + "choosing_color":"Выбор цвета:", + "value":"Значение:", + "saturation":"Насыщенность:", + "red":"Красный:", + "green":"Зеленый:", + "blue":"Голубой:", + "opacity":"Прозрачность:", + "check":"Применить", + "derivative":"Производная:", + "square_under_func":"Область функции:", + "from":"От", + "to":"До", + "calculate":"Посчитать", + "draw":"Зарисовать", + "point_calculate":"Рассчитать точку функции:", + "estimate":"Оценить", + "analysis_of_func":"Анализ функции:", + "start_to_analysis":"Начать анализ", + "quit":"Выйти", + "display_test":"Показать тест:", + "test":"Тест", + "widget":"Виджет", + "widget_options":"Настройки виджета", + "themes_of_widget":"Темы виджета:", + "black":"Черный", + "white":"Белый", + "control_options":"Опции управления:", + "save":"Сохранить", + "load":"Загрузить", + "del":"Удалить", + "save_a_widget_options":"Сохранить или загрузить настройки виджета в/из куки-файлов, или же удалить выбранные опции", + "auto_update":"Автоматическое обновление виджета при загрузке", + "reload_widget":"Перегрузить виджет", + "update":"Обновить", + "the_graphical":"Графический метод отображения:", + "lines":"линии", + "points":"точки", + "image":"изображения", + "zoom_def":"Размер по-умолчанию:", + "update_zoom":"Изменить размер:", + "show_grid":"Показать таблицу", + "show_axis":"Показать оси", + "scale":"Масштаб", + "thickness":"Толщина", + "offset_diagram":"Смещение диаграммы:", + "accuracy_graph":"Точность графика:", + "show_the_style":"Показать стиль:", + "surfaces":"поверхности", + "points":"точки", + "reset_display":"Обновить отображение", + "accuracy_func":"Точность функции:", + "use_the_color":"Использовать цвет:", + "positive_value":"положительное значение", + "negative_value":"отрицательное значение", + "general_value":"основное значение", + "how_it_work":"Как это работает", + "this_widget_allow":"Этот виджет позволяет рисовать математические функции. Введите функцию в верхней части виджета и нажмите \"Показать\"", + "you_can_enter":"Вы можете использовать следующие математические функции:", + "basic_operations":"Основные операции", + "plus":"Сложение", + "minus":"Вычетание", + "multi":"Произведение", + "division":"Частное", + "mod":"Остаток от деления", + "trigonometric":"Тригонометрические функции", + "sine":"Синус", + "cosine":"Косинус", + "tangent":"Тангенс", + "cotangent":"Котангенс", + "secant":"Секанс", + "cosecant":"Косеканс", + "arc_sine":"Арксинус", + "arc_cosine":"Арккосинус", + "arc_tangent":"Арктангенс", + "arc_cotangent":"Арккотангенс", + "hyperbolic_func":"Гиперболические функции", + "hyp_sine":"Гиперболический синус", + "hyp_cosine":"Гиперболический косинус", + "hyp_tangent":"Гиперболический тангенс", + "hyp_cotangent":"Гиперболический котангенс", + "hyp_secant":"Гиперболический секанс", + "hyp_cosecant":"Гиперболический косеканс", + "hyp_arc_sine":"Гиперболический арксинус", + "hyp_arc_cosine":"Гиперболический арккосинус", + "hyp_arc_tangent":"Гиперболический арктангенс", + "hyp_arc_cotangent":"Гиперболический арккотангенс", + "square_roots_and_degrees":"Квардатные корни и степени", + "square_root":"Квадратный корень", + "degree":"Степень", + "root":"Корень", + "variable_x":"Переменная х в степени у", + "root_y":"Корень y степени x", + "exponential":"Экспоненты и логарифмы", + "natural_log":"Натуральный логарифм", + "decimal_log":"Десятичный логарифм", + "abs":"Абсолютное значение числа", + "rounding":"Округление", + "round_nearest":"Округление до ближайшего целого числа", + "round_nearest_big":"Округление до ближайшего целого числа в большую сторону", + "round_nearest_small":"Округление до ближайшего целого числа в меньую сторону", + "consts":"Константы", + "available_const":"Также доступны некоторые константы:", + "keys":"Горячие клавиши", + "moved_left":"График будет сдвинут влево", + "moved_top":"График будет сдвинут вверх", + "moved_right":"График будет сдвинут вправо", + "moved_bottom":"График будет сдвинут вниз", + "guide":"Руководство пользователя", + "using":"Использование", + "examples":"Примеры", + "other":"Другое", + "you_can_view":"Вы можете посмотреть примеры. Не забывайте выставить точность в настройках, если это необходимо.", + "save_graph":"Сохранить график", + "in_some_browsers":"В некоторых браузерах при выборе метода отоюражения \"Canvas\" вы можете сохранить гафик кликом ПКМ на нем и выбором пункта \"Сохранить изображение\". Таким же способом вы можете сохранять 3D-графики.", + "offset":"Смещение", + "if_graph_isnt":"Если график арсположен в неправильном месте (больше, чем холст), то Вы можете выставить необходимые параметры отображения графа в настройках виджета.", + "history":"История", + "current":"Текущие", + "additional":"Дополнительные", + "left_arrow":"стрелка влево", + "right_arrow":"стрелка вправо", + "top_arrow":"стрелка вверх", + "bottom_arrow":"стрелка вниз", + "or":"или", + "funcs":"Функции", + "widget_is_developed":"Виджет разработан ", + "if_you_want_to":"Если вы хотите сообщить о проблеме, внести предложение или задать некоторые вопросы, то можете связаться со мной через электронную почту:", + "if_you_want_to_change":"Если вы хотите изменить дизайн, обращайтесь по адресу:", + "set_of_def":"Набор определений:", + "parity":"Равенство:", + "zeros":"Нули функции:", + "signe":"Знак:", + "asympt":"Ассимптоты", + "min":"Мин", + "ev":"равны", + "unev":"не равны", + "na":"не определено", + "curve_lower":"кривая ниже, чем горизонтальная ассимптота", + "curve_higher":"кривая выше, чем горизонтальная ассимптота", + "max":"Макс", + "no_min":"Нет минимума", + "no_max":"Нет максимума", + "tool_for":"Анализ функции не надежен на 100%. Не забывайте проверить результат анализа перед их использованием.", + "ah_left":"ГА слева:", + "ah_right":"ГА справа:", + "av":"ВА:", + "options_saved":"Настройки сохранены!", + "cur_version":"Текущая версия:", + "last_version":"Последняя он-лайн версия:", + "using_web":"Этот виджет доступен для использования на сайте:", + "show_saved":"Теперь параметры будут сохранены" + }, + "fr":{ + "fnc":"Fonction: ", + "display":"Afficher", + "x_axis":"Axe des X de:", + "y_axis":"Axe des Y de:", + "zoom":"Zoom", + "color":"Couleur:", + "menus":"Menus", + "tools":"Outils", + "options":"Options", + "help":"Aide", + "about":"À propos", + "mouse_events":"Action de la souris:", + "moving":"Déplacement", + "tangente":"Tangente", + "point":"Point", + "choosing_color":"Choix de la couleur:", + "value":"Valeur:", + "saturation":"Saturation:", + "red":"Rouge:", + "green":"Vert:", + "blue":"Bleu:", + "opacity":"Opacité:", + "check":"Valider", + "derivative":"Dessiner la dérivée de la fonction:", + "square_under_func":"Aire sous la fonction:", + "from":"From", + "to":"To", + "calculate":"Calculer", + "draw":"Dessiner", + "point_calculate":"Calculer un point de la fonction:", + "estimate":"Évaluer", + "analysis_of_func":"Analysis of function:", + "start_to_analysis":"Démarrer l'étude", + "quit":"Fermer", + "display_test":"Display the test:", + "test":"Test", + "widget":"Widget", + "widget_options":"Options du widget", + "themes_of_widget":"Thème du widget:", + "black":"Noir", + "white":"Blanc", + "control_options":"Gèrer les options:", + "save":"Sauvegarder", + "load":"Charger", + "del":"Supprimer", + "save_a_widget_options":"Sauvegarder les options du widget dans les cookies, charger les options depuis les cookies ou supprimer les options actuellement enregistrées.", + "auto_update":"Mise à jour automatique à l'ouverture du widget.", + "reload_widget":"Recharger le widget", + "update":"Mise à jour", + "the_graphical":"Méthode d'affichage du graphique:", + "lines":"lignes", + "points":"points", + "image":"image", + "zoom_def":"Zoom par défau:", + "update_zoom":"Réinitialiser le zoom", + "show_grid":"Afficher la grille", + "show_axis":"Afficher les axes ", + "scale":"Afficher l'échelle ", + "thickness":"Épaisseur de la fonction:", + "offset_diagram":"Décalage du graphique:", + "accuracy_graph":"Précision des calculs du graphique:", + "show_the_style":"Style d'affichage:", + "surfaces":"surfaces", + "points":"points", + "reset_display":"Réinitialiser l'affichage", + "accuracy_func":"Précision de la fonction:", + "use_the_color":"Utilisation des couleurs:", + "positive_value":"valeur positive", + "negative_value":"valeur négative", + "general_value":"valeur générale", + "how_it_work":"Fonctionnement", + "this_widget_allow":"Ce widget vous permet de dessiner des fonctions mathématiques. Entrez une fonction dans le champ en haut du widget et cliquez sur le bouton \"Afficher\".", + "you_can_enter":"Vous pouvez saisir les fonctions mathématiques suivantes:", + "basic_operations":"Les opérations de base", + "plus":"Addition", + "minus":"Soustraction", + "multi":"Multiplication", + "division":"Division", + "mod":"Modulo", + "trigonometric":"Les fonctions trigonométriques", + "sine":"Sinus", + "cosine":"Cosinus", + "tangent":"Tangente", + "cotangent":"Cotangente", + "secant":"Secante", + "cosecant":"Cosecante", + "arc_sine":"Arcsinus", + "arc_cosine":"Arccosinus", + "arc_tangent":"Arctangente", + "arc_cotangent":"Arccotangente", + "hyperbolic_func":"Les fonctions hyperboliques", + "hyp_sine":"Sinus hyp", + "hyp_cosine":"Cosinus hyp", + "hyp_tangent":"Tangente hyp", + "hyp_cotangent":"Cotangente hyp", + "hyp_secant":"Secante hyp", + "hyp_cosecant":"Cosecante hyp", + "hyp_arc_sine":"Arcsinus hyp", + "hyp_arc_cosine":"Arccosinus hyp", + "hyp_arc_tangent":"Arctangente hyp", + "hyp_arc_cotangent":"Arccotangente hyp", + "square_roots_and_degrees":"Les racines et les puissances", + "square_root":"Racine carrée", + "degree":"Puissances", + "root":"Racines", + "variable_x":"Élève x à une puissance y", + "root_y":"Racine y d'un nombre x", + "exponential":"Les exponentielles et logarithmes", + "natural_log":"logarithme naturel", + "decimal_log":"logarithme de base", + "abs":"La valeur absolue d'un nombre", + "rounding":"Les arrondis", + "round_nearest":"arrondit à l'entier le plus proche", + "round_nearest_big":"arrondit à l'entier supérieur", + "round_nearest_small":"arrondit à l'entier inférieur", + "consts":"Constantes", + "available_const":"Quelques constantes sont aussi disponibles:", + "keys":"Touches clavier", + "moved_left":"déplacer le graphique à gauche", + "moved_top":"déplacer le graphique en haut", + "moved_right":"déplacer le graphique à droite", + "moved_botom":"déplacer le graphique en bas", + "guide":"Guide d'utilisation", + "using":"Utilisation", + "examples":"Exemples", + "other":"Autres", + "you_can_view":"Vous pouvez cliquer sur un exemple pour l'afficher. Pensez à ajuster la précision du graphique dans les options si nécessaire", + "save_graph":"Enregistrer le graphique", + "in_some_browsers":"Dans certains navigateurs, lorsque vous utilisez la méthode d'affichage \"Canvas\", vous pouvez sauvegarder le graphique en cliquant avec le bouton de droite de la souris sur celui-ci et en séléctionnant \"Enregistrer l'image\". Vous pouvez aussi sauvegarder le graphique 3D. ", + "offset":"Décalage", + "if_graph_isnt":"Si le graphique n'est pas à la bonne place (il dépasse de la zone prévue), ajustez le \"décalage du graphique\" dans le menu des options. Pour Konqueror, il faut utiliser un décalage de x=122 et y=48.", + "history":"Historique", + "current":"Actuelle", + "additional":"Supplémentaires", + "left_arrow":"flèche gauche", + "right_arrow":"flèche droite", + "top_arrow":"flèche haut", + "bottom_arrow":"flèche bas", + "or":"ou", + "funcs":"Fonction", + "widget_is_developed":"Widget réalisé par", + "if_you_want_to":"Si vous voulez rapporter un bug, avez une suggestion par rapport au widget ou voulez simplement poser une question, merci de me contacter par:", + "if_you_want_to_change":"Les images d'arrière-plan du widget on été tirées des thèmes du bureau \"plasma-desktop\" de l'environnement:", + "set_of_def":"Ensemble de définition:", + "parity":"Parité:", + "zeros":"Zéros de la fonction:", + "signe":"Signe:", + "asympt":"Asymptotes", + "min":"Min", + "ev":"paire", + "unev":"impaire", + "na":"aucune", + "curve_lower":"courbe au-dessus de l'AH", + "curve_higher":"courbe au-dessous de l'AH", + "max":"Max", + "no_min":"Aucun minimum", + "no_max":"Aucun maximum", + "tool_for":"L'outil permettant d'étudier les fonctions n'est pas fiable à 100%. Pensez à vérifier les résultats de l'étude avant d'en faire une quelconque utilisation.", + "ah_left":"AH gauche:", + "ah_right":"AH droite:", + "av":"AV:", + "options_saved":"Options sauvegardées!", + "cur_version":"Version en cours d'utilisation:", + "last_version":"Dernière version disponible en ligne:", + "using_web":"Ce widget est également utilisable dans un navigateur internet sur le site:", + "show_saved":"Options actuellement sauvegardées" + } +}; \ No newline at end of file diff --git a/resources/library/interactive/Html.wgt/index.html b/resources/library/interactive/Html.wgt/index.html index de5bb8fc..9394faea 100644 --- a/resources/library/interactive/Html.wgt/index.html +++ b/resources/library/interactive/Html.wgt/index.html @@ -1,23 +1,32 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>markItUp! Universal markup editor</title> <link rel="stylesheet" type="text/css" href="images/style.css" /> - <!-- jQuery --> <script type="text/javascript" src="jquery.pack.js"></script> - <!-- markItUp! --> + <script type="text/javascript" src="languages.js"></script> <script type="text/javascript" src="markitup/jquery.markitup.js"></script> - <!-- markItUp! toolbar settings --> <script type="text/javascript" src="markitup/sets/html/set.js"></script> - <!-- markItUp! toolbar skin --> <link rel="stylesheet" type="text/css" href="markitup/skins/markitup/style.css" /> <link rel="stylesheet" type="text/css" href="markitup/sets/html/style.css" /> </head> <body> <script type="text/javascript" > - $(document).ready(function() { + var lang = ""; + + if(window.sankore){ + try{ + lang = sankore.locale().substr(0,2); + sankoreLang[lang].welcome; + } catch(e){ + lang = "en"; + } + } else + lang = "en"; + + $(document).ready(function(){ $("#reset-btn").hide(); @@ -27,7 +36,7 @@ $('iframe').width($(window).width()-24) .height($(window).height()-46); if(window.sankore){ - var html = window.sankore.preference("iHtml", "Welcome to HTML EDITOR"); + var html = window.sankore.preference("iHtml", sankoreLang[lang].welcome); $("#markItUp").val(html); }; @@ -59,6 +68,7 @@ .height($(window).height()-46); $('#markItUpFooter').width($(window).width()-30); + $("#markitUp").html(sankoreLang[lang].welcome); }); </script> diff --git a/resources/library/interactive/Html.wgt/languages.js b/resources/library/interactive/Html.wgt/languages.js new file mode 100644 index 00000000..4e45f2c1 --- /dev/null +++ b/resources/library/interactive/Html.wgt/languages.js @@ -0,0 +1,29 @@ +var sankoreLang = { + "en":{ + "enter_title": "Enter yuor title here...", + "welcome":"Welcome to HTML Editor", + "source":"Source", + "link":"Link", + "preview":"Preview", + "text_to_link":"Your text to link", + "alt_text":"Alternative text" + }, + "ru":{ + "enter_title": "Введите Ваш заголовок ...", + "welcome":"Добро пожаловать в HTML-редактор", + "source":"Источник", + "link":"Ссылка", + "preview":"Предпросмотр", + "text_to_link":"Текст ссылки", + "alt_text":"Альтернативный текст" + }, + "fr":{ + "enter_title": "Entrer le titre yuor ici ...", + "welcome":"Bienvenue à HTML Editor", + "source":"Source", + "link":"Link", + "preview":"Aperçu", + "text_to_link":"Votre texte à lier", + "alt_text":"Texte alternatif" + } +}; \ No newline at end of file diff --git a/resources/library/interactive/Html.wgt/markitup/sets/html/set.js b/resources/library/interactive/Html.wgt/markitup/sets/html/set.js index e1a5504e..cdcf9f10 100644 --- a/resources/library/interactive/Html.wgt/markitup/sets/html/set.js +++ b/resources/library/interactive/Html.wgt/markitup/sets/html/set.js @@ -9,30 +9,43 @@ // ---------------------------------------------------------------------------- // Basic set. Feel free to add more tags // ---------------------------------------------------------------------------- + +var lang = ""; + +if(window.sankore){ + try{ + lang = sankore.locale().substr(0,2); + sankoreLang[lang].welcome; + } catch(e){ + lang = "en"; + } +} else + lang = "en"; + mySettings = { onShiftEnter: {keepDefault:false, replaceWith:'<br />\n'}, onCtrlEnter: {keepDefault:false, openWith:'\n<p>', closeWith:'</p>\n'}, onTab: {keepDefault:false, openWith:' '}, markupSet: [ - {name:'Heading 1', key:'1', openWith:'<h1(!( class="[![Class]!]")!)>', closeWith:'</h1>', placeHolder:'Your title here...' }, - {name:'Heading 2', key:'2', openWith:'<h2(!( class="[![Class]!]")!)>', closeWith:'</h2>', placeHolder:'Your title here...' }, - {name:'Heading 3', key:'3', openWith:'<h3(!( class="[![Class]!]")!)>', closeWith:'</h3>', placeHolder:'Your title here...' }, - {name:'Heading 4', key:'4', openWith:'<h4(!( class="[![Class]!]")!)>', closeWith:'</h4>', placeHolder:'Your title here...' }, - {name:'Heading 5', key:'5', openWith:'<h5(!( class="[![Class]!]")!)>', closeWith:'</h5>', placeHolder:'Your title here...' }, - {name:'Heading 6', key:'6', openWith:'<h6(!( class="[![Class]!]")!)>', closeWith:'</h6>', placeHolder:'Your title here...' }, - {name:'Paragraph', openWith:'<p(!( class="[![Class]!]")!)>', closeWith:'</p>' }, - {separator:'---------------' }, - {name:'Bold', key:'B', openWith:'(!(<strong>|!|<b>)!)', closeWith:'(!(</strong>|!|</b>)!)' }, - {name:'Italic', key:'I', openWith:'(!(<em>|!|<i>)!)', closeWith:'(!(</em>|!|</i>)!)' }, - {name:'Stroke through', key:'S', openWith:'<del>', closeWith:'</del>' }, - {separator:'---------------' }, - {name:'Ul', openWith:'<ul>\n', closeWith:'</ul>\n' }, - {name:'Ol', openWith:'<ol>\n', closeWith:'</ol>\n' }, - {name:'Li', openWith:'<li>', closeWith:'</li>' }, - {separator:'---------------' }, - {name:'Picture', key:'P', replaceWith:'<img src="[![Source:!:http://]!]" alt="[![Alternative text]!]" />' }, - {name:'Link', key:'L', openWith:'<a target="_blank" href="[![Link:!:http://]!]"(!( title="[![Title]!]")!)>', closeWith:'</a>', placeHolder:'Your text to link...' }, - {separator:'---------------' }, + {name:'Heading 1', key:'1', openWith:'<h1(!( class="[![Class]!]")!)>', closeWith:'</h1>', placeHolder:sankoreLang[lang].enter_title}, + {name:'Heading 2', key:'2', openWith:'<h2(!( class="[![Class]!]")!)>', closeWith:'</h2>', placeHolder:sankoreLang[lang].enter_title}, + {name:'Heading 3', key:'3', openWith:'<h3(!( class="[![Class]!]")!)>', closeWith:'</h3>', placeHolder:sankoreLang[lang].enter_title}, + {name:'Heading 4', key:'4', openWith:'<h4(!( class="[![Class]!]")!)>', closeWith:'</h4>', placeHolder:sankoreLang[lang].enter_title}, + {name:'Heading 5', key:'5', openWith:'<h5(!( class="[![Class]!]")!)>', closeWith:'</h5>', placeHolder:sankoreLang[lang].enter_title}, + {name:'Heading 6', key:'6', openWith:'<h6(!( class="[![Class]!]")!)>', closeWith:'</h6>', placeHolder:sankoreLang[lang].enter_title}, + {name:'Paragraph', openWith:'<p(!( class="[![Class]!]")!)>', closeWith:'</p>'}, + {separator:'---------------'}, + {name:'Bold', key:'B', openWith:'(!(<strong>|!|<b>)!)', closeWith:'(!(</strong>|!|</b>)!)'}, + {name:'Italic', key:'I', openWith:'(!(<em>|!|<i>)!)', closeWith:'(!(</em>|!|</i>)!)'}, + {name:'Stroke through', key:'S', openWith:'<del>', closeWith:'</del>'}, + {separator:'---------------'}, + {name:'Ul', openWith:'<ul>\n', closeWith:'</ul>\n'}, + {name:'Ol', openWith:'<ol>\n', closeWith:'</ol>\n'}, + {name:'Li', openWith:'<li>', closeWith:'</li>'}, + {separator:'---------------'}, + {name:'Picture', key:'P', replaceWith:'<img src="[![' + sankoreLang[lang].source + ':!:http://]!]" alt="[![' + sankoreLang[lang].alt_text + ']!]" />'}, + {name:'Link', key:'L', openWith:'<a target="_blank" href="[![' + sankoreLang[lang].link + ':!:http://]!]"(!( title="[![Title]!]")!)>', closeWith:'</a>', placeHolder:sankoreLang[lang].text_to_link}, + {separator:'---------------'}, //{name:'Editor', className:'clean', replaceWith:function() { $('textarea').show(); $('iframe').remove();} }, {name:'', className:'preview', call:'preview'} ] diff --git a/resources/library/interactive/Stopwatch.wgt/index.html b/resources/library/interactive/Stopwatch.wgt/index.html index 55139583..da4e599f 100644 --- a/resources/library/interactive/Stopwatch.wgt/index.html +++ b/resources/library/interactive/Stopwatch.wgt/index.html @@ -24,7 +24,8 @@ init(); }); </script> - <audio id='audio'></audio> + <audio id='audio1' src='beep.wav'></audio> + <audio id='audio2' src='finalbeep.wav'></audio> <div id="ubwidget"></div> </body> diff --git a/resources/library/interactive/Stopwatch.wgt/js/ubw-main.js b/resources/library/interactive/Stopwatch.wgt/js/ubw-main.js index fa08dbf0..54104b3e 100644 --- a/resources/library/interactive/Stopwatch.wgt/js/ubw-main.js +++ b/resources/library/interactive/Stopwatch.wgt/js/ubw-main.js @@ -15,19 +15,19 @@ function init(){ - var tempHours; - var tempMinutes; - var tempSeconds; + var tempHours; + var tempMinutes; + var tempSeconds; - if(window.sankore){ - tempHours = window.sankore.preference("hours","00"); - tempMinutes = window.sankore.preference("minutes","00"); - tempSeconds = window.sankore.preference("seconds","00"); - } else { - tempHours = "00"; - tempMinutes = "00"; - tempSeconds = "00"; - } + if(window.sankore){ + tempHours = window.sankore.preference("hours","00"); + tempMinutes = window.sankore.preference("minutes","00"); + tempSeconds = window.sankore.preference("seconds","00"); + } else { + tempHours = "00"; + tempMinutes = "00"; + tempSeconds = "00"; + } var ubwidget = $("#ubwidget").ubwidget({ width:252, @@ -268,22 +268,22 @@ function init(){ } function timeButtonDownHandler(m){ - var button = m.data.button; - var content = button.find(".ubw-button-content"); - if(window.sankore){ - var temp = button.attr("id"); - switch(temp){ - case "seconds": - window.sankore.setPreference("seconds", content.text()); - break; - case "minutes": - window.sankore.setPreference("minutes", content.text()); - break; - case "hours": - window.sankore.setPreference("hours", content.text()); - break; - } - } + var button = m.data.button; + var content = button.find(".ubw-button-content"); + if(window.sankore){ + var temp = button.attr("id"); + switch(temp){ + case "seconds": + window.sankore.setPreference("seconds", content.text()); + break; + case "minutes": + window.sankore.setPreference("minutes", content.text()); + break; + case "hours": + window.sankore.setPreference("hours", content.text()); + break; + } + } /*var mouseStart = { pageX:m.pageX, pageY:m.pageY @@ -353,9 +353,9 @@ function init(){ updateChronometerReverse(seconds-1) }, 1000); if (seconds < 6 && seconds > 0){ - DHTMLSound('beep.wav'); + DHTMLSound(1); }else if(seconds === 0){ - DHTMLSound('finalbeep.wav'); + DHTMLSound(2); } if(seconds < 1){ @@ -375,11 +375,11 @@ function init(){ minutesValue.text(formatTime(currentMinute)); secondsValue.text(formatTime(currentSecond)); - if(window.sankore){ - window.sankore.setPreference("hours", hoursValue.text()); - window.sankore.setPreference("minutes", minutesValue.text()); - window.sankore.setPreference("seconds", secondsValue.text()); - } + if(window.sankore){ + window.sankore.setPreference("hours", hoursValue.text()); + window.sankore.setPreference("minutes", minutesValue.text()); + window.sankore.setPreference("seconds", secondsValue.text()); + } } @@ -398,8 +398,8 @@ function init(){ return time; } - function DHTMLSound(surl) { - document.getElementById("audio").innerHTML= - "<audio src='"+surl+"' autoplay=true >"; + function DHTMLSound(type) { + var ad = document.getElementById("audio" + type); + ad.play(); } } \ No newline at end of file diff --git a/resources/library/interactive/VideoPicker.wgt/index.html b/resources/library/interactive/VideoPicker.wgt/index.html index eb4116cb..52ea368a 100644 --- a/resources/library/interactive/VideoPicker.wgt/index.html +++ b/resources/library/interactive/VideoPicker.wgt/index.html @@ -13,201 +13,205 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. --> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" - "http://www.w3.org/TR/html4/loose.dtd"> + "http://www.w3.org/TR/html4/loose.dtd"> <html> -<head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <title>Video Picker</title> - <link rel="stylesheet" type="text/css" href="css/main.css"> - <script src="scripts/jquery-1.3.2.min.js" type="text/javascript"></script> - <script src="scripts/jquery.oembed.js" type="text/javascript"></script> - <!--DEFAULT FR--> -</head> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title>Video Picker</title> + <link rel="stylesheet" type="text/css" href="css/main.css"> + <script src="scripts/jquery-1.3.2.min.js" type="text/javascript"></script> + <script src="scripts/languages.js" type="text/javascript"></script> + <script src="scripts/jquery.oembed.js" type="text/javascript"></script> + <!--DEFAULT FR--> + </head> -<body> - <script type="text/javascript"> - - var oembedUrl = ""; - var language = "en"; + <body> + <script type="text/javascript"> + var oembedUrl = ""; + var lang = "en"; + + if(window.sankore){ + try{ + lang = sankore.locale().substr(0,2); + sankoreLang[lang].show; + } catch(e){ + lang = "en"; + } + } else + lang = "en"; - function initialize() { - if(window.sankore){ - oembedUrl = window.sankore.preference("oembedUrl", ""); - } + function initialize() { + if(window.sankore){ + oembedUrl = window.sankore.preference("oembedUrl", ""); + } - window.resizeTo(426, 630); - if(oembedUrl.length > 0){ - $("#textbox").val(oembedUrl); - $("#search-button").trigger("click"); - }else{ - //var language = navigator.userAgent.split(";"); - //language = language[3].replace(/\s/g, "").substr(0, 2); - $("#embeded-content").load("locales/" + language + "/howto.html"); // Welcome note with some explanations - }; - }; + window.resizeTo(426, 630); + if(oembedUrl.length > 0){ + $("#textbox").val(oembedUrl); + $("#search-button").trigger("click"); + }else{ + $("#embeded-content").load("locales/" + lang + "/howto.html"); // Welcome note with some explanations + }; + }; - $(document).ready(function(){ - var resizer; // Timer - var resizerIndex; + $(document).ready(function(){ + var resizer; // Timer + var resizerIndex; - resizerIndex = 0; + resizerIndex = 0; - $("#search-button") - .click(function(){ - window.resizeTo(385, 80); - $("#container").removeClass("welcome").removeClass("change").removeClass("error").addClass("load"); - $("#container-shadow").hide(); - $("#arrow").hide(); - $("#embeded-content").css({ - marginLeft:-9000, - marginTop:-9000 - }).empty().oembed($("#textbox").val()); - checkcontent(); - }) - .mouseenter(function(){ - $(this) - .addClass("over"); - }) - .mouseleave(function(){ - $(this) - .removeClass("over"); - }); + $("#search-button") + .click(function(){ + window.resizeTo(385, 80); + $("#container").removeClass("welcome").removeClass("change").removeClass("error").addClass("load"); + $("#container-shadow").hide(); + $("#arrow").hide(); + $("#embeded-content").css({ + marginLeft:-9000, + marginTop:-9000 + }).empty().oembed($("#textbox").val()); + checkcontent(); + }) + .mouseenter(function(){ + $(this) + .addClass("over"); + }) + .mouseleave(function(){ + $(this) + .removeClass("over"); + }); - $('#textbox').keypress(function(e){ - if (e.which == 13){ - $('#search-button').click(); - }; - }); + $('#textbox').keypress(function(e){ + if (e.which == 13){ + $('#search-button').click(); + }; + }); - $("#show-inputfield-button") - .click( - function(){ - $("#show-area").fadeOut(0); - $("#inputfield").show(); - $("#shadow").show(); - $("#container").removeClass("show").addClass("change"); - adaptWidgetSize(18, 88); - }) - .mouseenter(function(){ - $(this).addClass("over"); - }) - .mouseleave(function(){ - $(this).removeClass("over"); - }); + $("#show-inputfield-button") + .click( + function(){ + $("#show-area").fadeOut(0); + $("#inputfield").show(); + $("#shadow").show(); + $("#container").removeClass("show").addClass("change"); + adaptWidgetSize(18, 88); + }) + .mouseenter(function(){ + $(this).addClass("over"); + }) + .mouseleave(function(){ + $(this).removeClass("over"); + }); - function checkcontent(){ - if($("#embeded-content").html().length != 0 && $("#embeded-content").children(":first").width() > 0){ - $("#embeded-content embed").attr("wmode", "opaque"); - var embeded_content_html = $("#embeded-content").html(); - $("#embeded-content").empty().html(embeded_content_html); - - clearTimeout(resizer); - resizerIndex = 0; + function checkcontent(){ + if($("#embeded-content").html().length != 0 && $("#embeded-content").children(":first").width() > 0){ + $("#embeded-content embed").attr("wmode", "opaque"); + var embeded_content_html = $("#embeded-content").html(); + $("#embeded-content").empty().html(embeded_content_html); + clearTimeout(resizer); + resizerIndex = 0; - if(window.sankore){ - window.sankore.setPreference("oembedUrl", $("#textbox").val()); - }; + if(window.sankore){ + window.sankore.setPreference("oembedUrl", $("#textbox").val()); + }; - $("#inputfield").hide(); - $("#shadow").hide(); - $("#embeded-content").css({ - marginLeft:0, - marginTop:0 - }) - .width($("#embeded-content").children(":first").width()) - .height($("#embeded-content").children(":first").height()); - $("#container").removeClass("load").addClass("show"); - $("#show-area").fadeIn(2000).css({ - left:$("#embeded-content").children(":first").width()-25, - top:($("#embeded-content").children(":first").height()-35)/2 - }); + $("#inputfield").hide(); + $("#shadow").hide(); + $("#embeded-content").css({ + marginLeft:0, + marginTop:0 + }) + .width($("#embeded-content").children(":first").width()) + .height($("#embeded-content").children(":first").height()); + $("#container").removeClass("load").addClass("show"); + $("#show-area").fadeIn(2000).css({ + left:$("#embeded-content").children(":first").width()-25, + top:($("#embeded-content").children(":first").height()-35)/2 + }); - adaptWidgetSize(5, 13); - return false; - }; + adaptWidgetSize(5, 13); + return false; + }; - if(resizerIndex > 50){ - resizerIndex = 0; - $("#container").removeClass("show").addClass("error"); - $("#arrow").show(); - $("#embeded-content").css({ - marginTop:0, - marginLeft:0 - }).width(395) - .load("locales/" + language + "/error.html", - function(){ - adaptWidgetSize(20, 125); - }); - $("#container-shadow").show(); - }else{ - resizer = setTimeout(function(){checkcontent()}, 100); - resizerIndex++; - }; - }; + if(resizerIndex > 50){ + resizerIndex = 0; + $("#container").removeClass("show").addClass("error"); + $("#arrow").show(); + $("#embeded-content").css({ + marginTop:0, + marginLeft:0 + }).width(395) + .load("locales/" + lang + "/error.html", + function(){ + adaptWidgetSize(20, 125); + }); + $("#container-shadow").show(); + }else{ + resizer = setTimeout(function(){checkcontent()}, 100); + resizerIndex++; + }; + }; - function adaptWidgetSize(adjustmentX, adjustmentY){ - var margins = { - top: cssToInt($("body").css("margin-top")), - right: cssToInt($("body").css("margin-right")), - bottom: cssToInt($("body").css("margin-bottom")), - left: cssToInt($("body").css("margin-left")) - }; - var widgetWidth = $("#embeded-content").width() + margins.right + margins.left + adjustmentX; - var widgetHeight = $("#embeded-content").position().top + $("#embeded-content").height() + margins.bottom + adjustmentY; + function adaptWidgetSize(adjustmentX, adjustmentY){ + var margins = { + top: cssToInt($("body").css("margin-top")), + right: cssToInt($("body").css("margin-right")), + bottom: cssToInt($("body").css("margin-bottom")), + left: cssToInt($("body").css("margin-left")) + }; + var widgetWidth = $("#embeded-content").width() + margins.right + margins.left + adjustmentX; + var widgetHeight = $("#embeded-content").position().top + $("#embeded-content").height() + margins.bottom + adjustmentY; - window.resizeTo(widgetWidth, widgetHeight); - window.sankore.resize(widgetWidth, widgetHeight); - }; + window.resizeTo(widgetWidth, widgetHeight); + window.sankore.resize(widgetWidth, widgetHeight); + }; - function cssToInt(cssvalue){ - return(parseInt(cssvalue.replace("px", ""))); - }; + function cssToInt(cssvalue){ + return(parseInt(cssvalue.replace("px", ""))); + }; - if (window.widget) { - window.widget.onremove = function(){ - //$("#show-inputfield-button").trigger("click"); - $("#embeded-content") - .empty(); - //.oembed($("#textbox").val()); - } - } + if (window.widget) { + window.widget.onremove = function(){ + $("#embeded-content").empty(); + } + } + $("#search-button").html(sankoreLang[lang].show); + initialize(); + }); + </script> - initialize(); - }); - </script> + <div id="ubwidget"> + <div id="shadow"></div> - <div id="ubwidget"> - <div id="shadow"></div> - - <div id="inputfield"> - <input id="textbox" type="text"> - <div id="search-button" class="button">Show</div> - </div> + <div id="inputfield"> + <input id="textbox" type="text"> + <div id="search-button" class="button">Show</div> + </div> - <div id="container" class="welcome"> - <div id="arrow"><img src="imgs/arrow.png" alt="arrow-top"></div> - - <div id="show-container"> - <div id="embeded-content"></div> - - <div id="show-area"> - <img id="show-inputfield-button" src="imgs/bts.png"> - </div> - </div> - - <table cellspacing="0" cellpadding="0" id="container-shadow"> - <tr> - <td id="shadow-left"></td> - <td id="shadow-center"> </td> - <td id="shadow-right"></td> - </tr> - </table> - </div> - - </div> -</body> + <div id="container" class="welcome"> + <div id="arrow"><img src="imgs/arrow.png" alt="arrow-top"></div> + + <div id="show-container"> + <div id="embeded-content"></div> + + <div id="show-area"> + <img id="show-inputfield-button" src="imgs/bts.png"> + </div> + </div> + + <table cellspacing="0" cellpadding="0" id="container-shadow"> + <tr> + <td id="shadow-left"></td> + <td id="shadow-center"> </td> + <td id="shadow-right"></td> + </tr> + </table> + </div> + + </div> + </body> </html> \ No newline at end of file diff --git a/resources/library/interactive/VideoPicker.wgt/locales/ru/capture_widget.jpg b/resources/library/interactive/VideoPicker.wgt/locales/ru/capture_widget.jpg new file mode 100644 index 0000000000000000000000000000000000000000..284ebece5fb26a2cae8f8ed2f0c6a2c11d770f30 GIT binary patch literal 15452 zcmeHu2Urxzwr~RyL{U&N6GXs-FgYR2Dw13gB?l3QVSpjbzyv@MW=&vN!LY6oFd)GI z0wM|m*8rFikf?wd$%qn!VWwYo6V!dayZ3wdz3+Sf_uEjXt4^v@r%qR&Y6`d(eg&zn zv9Pv)WMpL^EARus%}QbB;cOoWvax}dLJ*_`DauTP<UmaZ{6I2uA$hb8L0&TR#_Rqv zi${560S^`e5YhyNCxb)lGeG@d3>%s-Dw_oE&miUD-ymp_>ezjyH`j}$z21*2;PU;r z!P;i_1Z^7zlg&Ze5DtT((vV+@Hh=^?4Nrg|xic~&{lYK=osk{a|LTm~czp@z3%L|z z<VI~&_;wsJnqS8uqyOzVfKNv4l`)hZ*R8m6L>=NS#3Lhj_*-8hIK-Eo&}4K>o@O?X zEZhZ6L0gdbZ-^xP0@?*lR#H-$s5E)v#K~%tlqadFPn|q@s`~8d)77U>pRG0-y+&^% zjlV(}l}VFSrl_b+nW8#l%9JTH5HMxNh=|(1q5%E}q^1OEKxgD+bRbzZ896l>xB(1X z8NMe&2Ug0<pcgP0x#U2gOpsSlRGO$f353J<L>Wj{Zj7i3$xM)ulbs+duc)9TFE<$v zh-z{Z7EHs+uiU_xt`o8yr!eEt+00c7b=B=|d*KPZ9pz?<dWY>lHuo_3#F^)^cIvM_ z;^1w5=e&S4tHSX$>r?iwyOqK>pDh;sk+l2T(R<I|_Fl*-u6oz!<P#eGXY%!u>i7L* zOK0D(m}4oqr8OT0)F4?|VC@9dCPf8#B5J|{?6e8Mf)JhQ^0@7XW*`>awk!XL*Y#@V z?Ko^^ug>HXdh`?!0~Ga%cPfAp=Vy7FJCX#f*W)Jq*A^`LY64sjO_oFZRD<YH@1>xt zF0bbQB2Vgwn-%$hKKNO(`6`bVJ8NCaeD_L=O~XunC;PG*!`PqIn14c|U&agq;A3OF zXOi_gDJsLc-xK!oX1}oOK;gd5Rz~dog4)j7jtFRHY)O6hy6%sE`c!sYdLAi|=5SNu zhRj1>e4N8Nnw?xdKx*r$Ezjn65F>M!9PkS`m9I6uu}sw3C7Ie%6mPvQ;T!E4gAIKv zu-Eg|I?leI$4`~XTrNs0OKX)Jez-MOlK6~!vFQVS^%bwaqDzBL-sR5gvO6h9PZ^wf z{*Tx1rEwj7bkX@B7z*gSIwz~FHT<U5D;QeSo5BsX++X-M*E>AF%Y`U}p-ZHVCBI`H zN4VA09PY0!`Ln3OvGG)5d(D0pJz4Bn<!t#yt5xgluUZ+A8*iR^swd2PG;h-q(?g{0 z**@7hv7t|3=vrEx^XIsf-Umw>8xFnhzPY?k(@=bjS|QEsH5h1q)^*(f{=+NPZf*}d zl9Mz4c-iiG)V{$!RpOJukL(lGpKP&*q0@9{pL1KcsCz_S%M>q*zgBqbS0kZ&foH2T zG0~^4zsRz0zuy%-6NRtNxf+sJ_Ups+yPlRpr{Bsf@(UmXlFQ>zauo6Ari7XXCkYG< zEuWHch3=5fh;+Fdz)hKdth&UyK)RcADWYg?b-@YK<TCNj6Vm;?du`407Zx}1+_P4A z3>b#QN2GWhXe+OnD|QKyxRE#H_r-JuEDK9(EiAD!@#q%1ycl>BdA?J9<HJV>s%SxV zW>XiY)Y!fV(>xaNi)q2CqD|uYkLKC8MCoxes$s~wEh?=&>PY39FcWuCcpB%v)VV=g z?6~W+sx`iUOTy<?-c8d}G5x34bl-2YJ$vtP+wQC$`;|;i{eWbVw@P9Udr4=mw`f@x z40*X{(T@&@GI>U=HZMQmFRie@<g#%vSU?_ZI7V)zHmy7$4d_iccO@|<R7JR=4|`Co z`Hy86y2DHdZkF}YPjTNzh-`*;{n1~TQ*>)X&t-mnXMLwY?i~a}>YK_wX!I<u6<L(E z!;nH!3jD11)Z~qCUOD==7G8W|kJ~u=cFvjVJDY>`)h|hm9AJoQ(jT-}TA|fa)Lhh} zo19VW-j*eK+;@@93LR4C1Z<pJni(4xu(1StF{mVBqvi{@8pT;L$^jFocLO?(4{^Db zJUS|>H)QmMJ2Y|0Y>t&G&PuCi?Z^7#*?M<04qBa%vQK~7KSGY$FP$gdvBp1F=E~+P z>6@?QD9<fhm8w4Vd|c`0<uGKC(jP%q9J<T5;(N5zXm8I<S1>)|+F>b~HB6RFC^Cm3 z6&PBnM~v32&e`6fa`{H)xqW9Zd@@)*FS0OspxbVC+0;JyGj!3V{POg$KZi`yTcrGQ z$xImPjk+f)7u^*-`?c5eV^i-myIJ=9{_b1Gj49q#uJz5mo0=N<c9CQkC`<Bcj!c!) z=GdXQcMC_X^*jed(J*x8@IkU>NnIQ1m4Wt-9-Ga#!!C9UL>Ej`hP@7DEM)sV(D7zF zM)oc)8f8B=>QUM2`y$nh%}l7>^CIb=uV3EKM^A<nGY&GPM%NQt{_OtFdv{>ygaj`k zSxOaQDCtPtMGb<g`Jk-QikjN8A-$X5Inh4$!?cJKmUo9pBF`^GIdov^zk8h0$PTL* z;O;%n?E=$Z2Y0IAzP|eLh8T#l%GzcE@&bk+#rYtiKynHcr-$NHTY5HrHo86g?70Zv zE5+Vbc?eCebA&efa+V#tqjLHvZ3+reK>ux2qYBzY`qD%>=X~Fm`;4|Hq7VQX)DDoi zAeS<l1Ryn8)Pg>w3i>tj@d1=T071F|E}2ox*%K$nF*p?O2H+SE5ydS3ia~XL0c{8h z1}Vi4FS!<k{6iA_@6b?RC?UEbWUL_Bk^N<)jQR~p@gOuw8kw27NK<YD03+i;nh=B} zV6Q-#0x=;57=-{5LOh5Cc|u_j8}f#HL0tgoNHX=;>s#C_Kpacv#`(Tw7(<R4i!?dH zz(8<AVn@M?E97|dZN2=NpfxII#}r^e3k@>|kaGrdIliEcUTaxCf^XZa1l*v}Hfn~Q zuiqH`6%bJ12eO$gzEj{@K4{5&*N;3(1L$d>D54GP)!*n=^yP7d!QY`2xIDHmo5SJ= zgMiFrb9+R)Es6te6^2m2wPbNvJcfYf4G@sSmSEN>v+@Wtf<Y+OLB87H_P;%TIUz65 z!Q90GbT#T+#QEQ2Z1}#c?=T9CK!F3p_dDDaCJV^1!UfiRD+imkUR-V<qEKlJ{T=f} zKQ3?U%0Ra7n5U+W4Bl!C4I~x4Sw0M5AQEE}Ls>k*57?c?(BHF9^71v~26B1dI9F{% z|0>II0uX`LaXE;uCknX1wn71)H5M2MO*s$*(tpBE_TmaaK>a8DBrwH(e`QCX#Knj* zXfi0W^p9wL<f&6b>oOy&(u5gk3khgBR0`pT6g>byoOlKl4N!drL8Q$9zY>}awjw__ zFF!Xg@B4plUVd&~er{fVZeD(FUcd%%bO-paZC*y+!wbN>6@nZ=0q<f6nhLE1$t@T1 z0_m+bv>x&Ubpa@Rv<8xSX!_r9XhUX@Jw!khj`T2+RV#vzvS=T0vs#s(KoCqbGUD(J z8OY~TLnb%KD4Y>&gf+w%K`ZFt!3<^qOQ7w=0=cA#PIrEhjyBudM8}zEgRu!VWBIYI zw(?l^Th}=-w+1k&-a2$s?G@p)@SxxzmVluh9u&yo)51-3P~|jGN6<z(+9-=4z(fcA zq^a#<vtHYb%VTL13~`3I<xC6-uT8`o;)ysCj$oh-zTHxcFk~Y<W;vEZ!w_i%toG=o z1N!56`_SxGTa5MwS|&Q9!wL%vGYrEUa(TW+SSpojguxl%aLWP5a{d;MfDyi&!(TY2 zVKs}-<gtSVY%WI|(Z~S#zQ9BW*g7(Zpx|+}KlIiZqc?M$FBqh>Xy@KcBUT_Qh{X}` zfoHLZ15l;GV;`%>MZQx#PDZC=Ob9sF#^%QYV>1^NG~NYYU>*vF@z3U&kEEwYb}T+u z$YZk1LxGtK$2t?ReZIQ$JL3?_cXqMBcmE%Egiyv=gK1_w7DE7%Vvv}R1;E#>`*&aM z5i3UdS*yWL#Y6}BjK3WD#X4Y#G(3q$pe)1SXc){0s}0wi?X%@CtQ3c_FaF=Lf=Kjc z2pE6M?9HV4aCt!t;6-*2!<S{`AI$RA(H@^18k)(2o`HFI)C?ONnl*<nU~rf$>(wSY zU<`(Awl@ufqhPRDG66%zVMr7#mP)iRr&>@~uEt<i5^z-FnCxmUQ;5XMn5;LDC1A<s zW>oW4Sj?y_m0(6)MZ{xPnGwtg=Hs#>J3L0<e@_Q8r!=4fbk0B?1QQ*sjy8&PLBb<Y zID!QBgUbkuz)`yE-_XC39XV{^N!+O1I?zujYc<=K#YeD2k^zoL2899&)c`#H1~@VS z6o8`;48V9n!Gb!#Q}6~jD#-wk!5ZMP6i}!JL>wr19KZoRWDF>PmyEQDfDQ_tfX5l* z$%NGy9CkHjC5eb3U@cYwHD*-uY7Er^i#MmN($Pi&mbRW9&I)u{%?4A!M}2|A5xyn4 zenTPvKcPZsEZBop69fZ^NW_DQLGj;@6HlU$2nGZUm4rbd7y%iJ8-X|!GXn7dPsEP! z5DXA0G77<H!AJlGK!71oh!_-tk%BrHCxE~+WIXU20s%jOR0L80CxA#_c;H0@BE8^& zcM%9=0YqhiZwXiepdt`h3*ZQbjMga#qyjquM0u!0P$%OMJQ>UbfMB)=SSrwoKtz^G zL1d{EgojE&c&JpAhl)k(h&C#!jY>s&q@p^hh$T1-mSg~C)Br?*0m*=DKrx^i0M}r# z23VW{7H@zh7=RfDOjxo32nQVC1wjI01cVO}L=p%D5HlbYj91|ZX68gZ!JJ}_Az7?k zg*5|xlFg|&0ue(dSWu8R0=mf3tk`_8P;D7~$Jnz%Mr(m=ZFF6wF_<Gy1QS`(Sl&9L zX!Z}D{=a{MM^uLSvA}cpmvs)j^{``$*9aS*>mvwb@K`H-!NdA@%c#+RWjCJ@`p>P# zVE=B-`k~b$OD>K^#Qhsqk2;g-$Kd#~K+<8P^KXpfZ`a;`G7jXA#sA~uFhY`yk&rU_ zYqX)XZxRwPeJBcKIY@Op!7?37gMQwBdf=xAetO`i2Y!0srw9H&^1#<mG%OBCk;1?S zm~T#s{epbxK~IW}oWuH;pzPO6Zv6U25;+$oJ5KmlD<dbxmO!uMWWdp?uP4RkgOg(C zfSC%i;Iz~DrKqGJKVhPrGB`sAPKrSaa-jclA|S~r$|}iBgp?<#Lb5V);H;P&Vv(%E zM4=2gMW!Y{O<{rJbR9?uJ7Xnoq58xPt7bBE@w4ngw$JuDq-S<E^P@h2r#$C&IdM_5 zJ!wbJ;d84U_~sU5OXgxnC+E3YcPd_g^4=*pvWs;-`)=i%B@~~}!lhK2mGv4IS2tfj zwtr|?_?E4^qht2$-S@}QKaU+haWd&ba!P92#cMg&b8p<tyH{LNdjG-0=T+4;wRQDx z-@X6P(%RPB*FW%Oa0m<^IomctPJY6K2?`4GLBM1+aJEezs{rXtU%5dM$CweKv}*gp zL+W;Cy=LMkX6oK9H{*Sr)x3iMj=0TcuI@RPrB9sWKr;7Uq|D!W#6p1B>&Oy1k$3Gz z4gS1j?jK3lkV9@qM^3pdwsiKPj30FSddkhp#V>r%@zfjlYg@ihtzFq$_MS+)`Jk?K za4Bt#oB!5*CokqbtZy6o{xDjjduUfj|1uL-Gjpdy_N%Uy5D3pJRJ|`mJNG@9PR+kb z_l#<9(1)R-7w4tUZ(!)@Qu<I&cSA&mNR(?ioKXr+PdSMC-ZbS6Y?8tdCvMO)4u&YH zFw|aJB<w1XNE@_16=_LBHo#C#98eV@mgLdjMbU>}pNF9gO-W7Oz<^jFdN?c^EVhK9 zO(x<DVRv_b3k)6o0z;qo#Yt~P3~Xv|YU(V9p=CWV^g&%q5<bvXP*e2Nr2meW(&M~1 zZkzpeFYY@>Q9Nm-LNr(<*kAqe#5CESLB}<1^Y=G_xim|kw_w<F>b{3xqME)WkYX0R zs(JS@veUrPR7-!)Z~|RF-p#4MAO_5E5&W#7Gzx}FD-XfYjt!zN6*|Cfza0H*q<2{3 zyv>306)GNjU+Ry3)#z9yzAJbi+MuE_Whyxr6JTj|!{$O>TY!IC8(E3x!LX{B{%9r? zks(NuzTO6+D8UniNUtBaTUuF&#>w=zqTx>xEf_j)CKC0>qd{;ZaUqC_W55%Vx%0%} zIAAv#cJ~GW+lnF(Q7zA!nj|TaNLY0(x(`Ex?}q5$)K)Zz)=pzIkV8xXTbU7vuOR|? z0EXC2Xq@i-M3-)f0(O+2Eh-YP6C+Xh(iV*J^P^so^neOD<5wSs#{K{M)~>B_2#v02 zG{y&ZOLDHV7Z2PrPGx3AkRvz-5*rPl+IywP!!KplJ&DPAL&&-IxJ@@U)bH&Ef%ajO zn!NA^*W!Ayvw#zt>|gc5olm~uwwI+!^lHw`q0UTleQ2fazuoo>)k)c=1DS;lt-}o; zFCV(uvhC!cx|MxVi}doDRz>kOLxfl+)u@?NI=uOGA}JS4X3OA>8@b~C!5ip0F>IVX zw;!CPn`2zx4`y#eV@W?r+9^>f0D?`!#tB-|ZKmKfr&$|aT7ux%1+In6j;?F9CUG-~ zAIrP1q(nDhU+Z3UtHbU;p0wud>c0Idv?`)$f&R+53OOAn;tavH%P{ntP}HYFm-ur* z6wGNj1w)$ARWNjys|Z7R50TYS1egCH<aajggdx^K0Pf8x5)HiS%K(9xw$mS+!o+d1 z>LSf^a<v3ujZN*<jr1A$i;QoCmX`i*!4(P{pEl5!<ttth8z<xIOv(>*%ujE*osjw< zXgIm~zO(&x%Q^iOZ<*pXOWb1V!mgbi-H$yJ3)tCPXC<?ZKjh&(b+c8s-Fp1HLf@CT z?G5hTx%r-#qSid?+;qA1%3X!VJ3$?$rLAkz?>xvfK9``S7rNwpddfrXJqCsC4IVS! zHbyi>geDf7Chm;jv;`(OXGiS6W$eFZzHnXHVbh|Pi!Y<6#a+@nGXDlO%iYxUWs^JS z@Z5@}jF;h;bu+N3(dnxi+Z$91>$`2=FSp6^GY)8e+Hkpp21Cb9B%h}HbSe!bKW#96 z<RdVASx<0zlJiXCX2PA@$7954&u@CfJaf&vSerI?Hhx~rw)IsTpO9m1!O~$6^OXK! ziLGH{;}_4p;zvueb2}9t3~FfJx!?Qw8P{ZYl}VGUYq`7o>nf&bmfPO^qNIqqMe4OL z(v#B{TMn3Yz0oJ{LCl)e5cFx$;H}DSr|Jq+3b#H@F{yHhOo&?1EjpCrp(m*;e)~xh z;9_dlO+P|Vtzh~7qg>F$8IE{dDQs+v)jPB#UwL1M?j7bUPhr<-@v-;aPlwV!cN->s zsmj8+r_A}a$L+|6QoAmb2bDQXP8Rn)ZLXcSGwpg!@qyx+qkUp-m}SEp`oR}oHqB-O zJ@(I?J8xvoey0<z0~W1{1*Thu%i0rC%UBEUgr!6>vOnZpPb`jly8kt2bH8P1*IEy{ zb9LwGT<^Z*>bslMuB&Tm=^cLg{GhX~*{;%enY{{Ts;S9U8@dXfUyS>+h)_rq#t5A_ zd5MSP-_>G6!2%`og0fb(Y0fMG>w05Pac4`I<sHfXt04u#?2xM;wzdnNksFw}quI|Z zok|zlRXJL;%mVA!FY$D+j^j12b<j@|;^pHyp4N5j<-w4C#MJ3MO<7x)EkDpMNj<nN zyv?NMdH%rW(0;FE+LbcLJY&w*-yLVxpHHRa9ZgF=7aKeGmUj*hJWT=3gU+9KY7G}* z22-=uHFkblv?zY3(c#Xg1uY(}`2nP`lDu^_VCjeol@BesRBJpnkW+N9AtIBXU2UDa zxaXi<RhhMJZ?7=e{;}S`rq)yVPZ96?jf+SMHEmBG)O%dXT8cIC+S;{~H!M7Ju6X#j zmY2Du4R`a!?r$xb{Ujs5PB%_r=au-EAIqCtu6L>%&Q;M=rUvKOv%Ib(A*=b^e51i6 zuZV>yxmx#Q%O7$IGahoI63%rz$#Cznm9PFX99rGU-F368y;J43V}8%g`r(9G+}@f9 zhTrurN{FH9xpP^^jO;i0oEIYxX4Hd0^Wn!s+1`CIe%r#@f_j?75pUNiW}9yGN%JQi z2p!z%-LWpe>6&<uM&~@R*`U5@DsS8FFHP=o#T^$l)K;3`^oqa5C7Nvq5n`KP=pw>z zjP7cbSm$6(#96tKqT8CUAHMw@;dz$y-dQErbd7n%Da(SqeYq(Yj`;cLq&}ivF6*ej zkxf0B+CDIa<mR?jdCRLETOw=n-1_6Zh6}n9vIq04|B&PW3sN*HJxmnuoz|OGIys># zxx@6v(?IF&vZ~=rPrBDC;5qMeX9eZ@_>wJ*vDZ?0Vz-?dHv6|Sf0q&MCFc#S0c+%j z;rAULccVKf`OBib3eAU|9}TBmej(ZQ{FK<&?9+Z$pJ`8tUGIP!hqLR&mU`Q`!=0ve zrQD^p?O7k2FY>4Dn`=>OJ!$ZRW_!at&GQ|FAG)rb=waT>FZ1r2a=9Ts<IirJf!(d0 zZ?5asN3^H(>j(H}*2RYug=Ft((`!6FpRl-YPEza~&2wIp*(p{7n_B!j;|7mvT!5iH zP1{7>_`~2Kt1e8OCU$;f>(-a()tUaf^aI{i+A656n|nF5Y3D-gt0aw?%E{?*A&>j8 zCr_WR?i#wmI(%e)c~wj4g%@V(Twzyia@SySPe6p%qFVR!Q{yhSr(G(Fev1`zFSlP+ zAB@b1xi4HB!JEE5yVQg-d)uZhx^eeoGxxl?fs+MmkNi=OrjORC(-|C-_-nbE52Za_ zDo;E;GKVsRofENrpI+y6C2S{6rrO;0^xU(b6f$S=vRj|N)TRooW+HDGIr>uZ!sbR> z|96<gd0PkkD||nn%GS`g4T(RMaPP^U7Y-C<`=BF+PRW$3ck*%3wEK_slCo*PX&eV{ zJ@8KzGejN7qv)d7x^*IPS`3oT<@gTEU4o%hHpt8EK|bB`w4>=uFDXMhFPtu^wnK6o zxZ(#dwe6=%YMwf9ZmsLB&ld*=u8<mW-iKzF#oX(hUq!N1IrX5K*QZ)l!FfD|vp8i( zzMPz;uBLv4hx>XR;Doi6FJWllptuZ%eld)Pp^mA*6q~pm9j$m(&JyFh!KSY+lsb4V z$<C;b)UDgM&BkN3y3pl5E~uvDx`EKf(ZKG3@{I#;54fZ)RT|jT=6bHP(jlj`DA)Ch zTWFHo-I{p(z^`jQ>6Wd{(R!)1IAsgdX-TBsAM-X&1s>!jCv^_d!WXwlf8o@xS>xiB za^XU9d*g{62`3X~xHRuj(y9G*KBjo?ZpZcN4v;*OE}XLE!%!o59Y~<OFc`W@2WldI zfFs`C-ci4?#4@-tEGjCIe*A0+6E}FD_9*G>V;1&?HP4=rIXM4x<hGog=ajwK#JFE) zq?cFbIFw+LovXSEDw7jFz|gIjM$wRrpc{rZM}gF~|9=?wx+hFGwdcX7>ERFN?|Y!j zy-EuyFTd?%=~T;db+y^ELJj1->8kc&Dh8^R_S?2MJnwzpV<~U4LL;(r{p|^=XJQvK z_L=O;ES|9;)zJ}JJaay>1vC6NjO2J^<b$^+hZEmkA8~%$qibi%N_P~$4VB)x{id~z ztZBN!BQo$)P-MoQ`;Ke=uyP`>Z~c<#m9%?dL&OEm<~tQ#9tDXn94l<qr@Xnt3MOV% zWL<D@*s^a<Pan>H#a><Z`h(B0s~$d_J!uC8Jo{Avi$2AF8Qzyl?&i5VEQTST*jTJR zb?}YoE{MR5Ma?NvumvdF@-lJoOI?#B1{qz`$4VFidxj6Ux@?Ds1G}Ynk(hWh3|OT= zjU4z_rbrOOwP7HuyG+lx?zHU6b^WL9FK6`ixda`_#kw<RIsS2YPL|^g%1Q4FDJS#X z!r5tWFCLoKWk;}!+Gm;orrF*}^bcCmP;{a+hYZyG-Ua@BDbCCvhMIFh+StG{0>~n` zve7uI^LNQQ=9gHlS%yBemYT;0tJasF)V~m&Fu_$NXmyn6MkZ^q3C)VWAG~B^r0v~t zgKsX;Klki{p|&C<YQ-6a^bfIMoh~bx4nr3uU?kmLg<wCOK+A?9`fOY2C3N$YCw?Oh zZz~%fX3&Q+fNM7W)b)SKUtWpq?h|KDF34_s{%FRbXzI2FP@ejP?Jg6cL@>*<pJZEa zSb4o)qO#Fv=|uzmrH7Ms?!RBU&tEy*=l5%YJ(<?3`_r^v?1%)j4?k~0KhYqwj>L60 P5+%rl|F0uNaNU0ZDJJnj literal 0 HcmV?d00001 diff --git a/resources/library/interactive/VideoPicker.wgt/locales/ru/error.html b/resources/library/interactive/VideoPicker.wgt/locales/ru/error.html new file mode 100644 index 00000000..488e961b --- /dev/null +++ b/resources/library/interactive/VideoPicker.wgt/locales/ru/error.html @@ -0,0 +1,8 @@ +<!--EN--> + +<link rel="stylesheet" type="text/css" href="css/howto.css" /> + +<div id="content"> + <h1>Неверный адрес.</h1> + <a href="javascript:window.location.reload();">Назад</a> +</div> diff --git a/resources/library/interactive/VideoPicker.wgt/locales/ru/howto.html b/resources/library/interactive/VideoPicker.wgt/locales/ru/howto.html new file mode 100644 index 00000000..87206607 --- /dev/null +++ b/resources/library/interactive/VideoPicker.wgt/locales/ru/howto.html @@ -0,0 +1,24 @@ +<!--EN--> + +<link rel="stylesheet" type="text/css" href="css/howto.css" /> + +<div id="content"> + <img src="imgs/info_ico.png" id="info-ico"> + <div class="column"> + <h1>Просмотр видео</h1> + <p class="spacer">Вставьте ссылку на видео для его просмотра.</p> + <img class="lspacer" src="imgs/logos_web.jpg"> + + <h1>Как использовать</h1> + </div> + <table> + <tr> + <td class="column"><img src="imgs/capture_youtube.jpg" class="spacer"></td> + <td><img id="f" class="img" src="imgs/keys_copy.jpg"></td> + </tr> + <tr> + <td class="column"><img src="locales/fr/capture_widget.jpg"></td> + <td><img class="img" src="imgs/keys_paste.jpg"></td> + </tr> + </table> +</div> diff --git a/resources/library/interactive/VideoPicker.wgt/scripts/index.html b/resources/library/interactive/VideoPicker.wgt/scripts/index.html deleted file mode 100644 index 3c083f2e..00000000 --- a/resources/library/interactive/VideoPicker.wgt/scripts/index.html +++ /dev/null @@ -1,230 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" - "http://www.w3.org/TR/html4/loose.dtd"> - -<html> - -<head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <title>Video Picker</title> - <link rel="stylesheet" type="text/css" href="css/main.css"> - <script src="scripts/jquery-1.3.2.min.js" type="text/javascript"></script> - <script src="scripts/jquery.oembed.js" type="text/javascript"></script> - <!--DEFAULT FR--> -</head> - -<body> - <script type="text/javascript"> - - var oembedUrl = ""; - var language = "en"; - - function initialize() { - if(window.sankore){ - oembedUrl = window.sankore.preference("oembedUrl", ""); - } - - if(oembedUrl.length > 0){ - $("#textbox").val(oembedUrl); - $("#search-button").trigger("click"); - }else{ - //var language = navigator.userAgent.split(";"); - //language = language[3].replace(/\s/g, "").substr(0, 2); - $("#embeded-content").load("locales/" + language + "/howto.html"); // Welcome note with some explanations - }; - }; - - $(document).ready(function(){ - var resizer; // Timer - var resizerIndex; - - resizerIndex = 0; - - //language = navigator.userAgent.split(";"); - //language = language[3].replace(/\s/g, "").substr(0, 2); - - $("#search-button") - .click(function(){ - window.resizeTo(385, 80); - $("#container") - .removeClass("welcome") - .removeClass("change") - .removeClass("error") - .addClass("load"); - $("#container-shadow") - .hide(); - $("#arrow") - .hide(); - $("#embeded-content") - .css({ - marginLeft:-9000, - marginTop:-9000 - }) - .empty() - .oembed($("#textbox").val()); - checkcontent(); - }) - .mouseenter(function(){ - $(this) - .addClass("over"); - }) - .mouseleave(function(){ - $(this) - .removeClass("over"); - }); - - /*$("#ubwidget").mouseenter(function(){ - $("#show-area").fadeIn(1000); - }); - - $("#ubwidget").mouseout(function(){ - $("#show-area").fadeOut(600); - });*/ - - $('#textbox').keypress(function(e){ - if (e.which == 13){ - $('#search-button').click(); - }; - }); - - $("#show-inputfield-button") - .click( - function(){ - $("#show-area").fadeOut(0); - $("#inputfield").show(); - $("#shadow").show(); - $("#container") - .removeClass("show").addClass("change"); - adaptWidgetSize(18, 88); - }) - .mouseenter(function(){ - $(this) - .addClass("over"); - }) - .mouseleave(function(){ - $(this) - .removeClass("over"); - }); - - function checkcontent(){ - if($("#embeded-content").html().length != 0 && $("#embeded-content").children(":first").width() > 0){ - clearTimeout(resizer); - resizerIndex = 0; - - if(window.sankore){ - window.sankore.setPreference("oembedUrl", $("#textbox").val()); - }; - - $("#inputfield") - .hide(); - $("#shadow") - .hide(); - $("#embeded-content") - .css({ - marginLeft:0, - marginTop:0 - }) - .width($("#embeded-content").children(":first").width()) - .height($("#embeded-content").children(":first").height()); - - $("#container") - .removeClass("load").addClass("show"); - $("#show-area") - .fadeIn(2000) - .css({ - left:$("#embeded-content").children(":first").width()-25, - top:($("#embeded-content").children(":first").height()-35)/2 - }); - - adaptWidgetSize(5, 13); - - return false; - }; - - if(resizerIndex > 30){ - resizerIndex = 0; - $("#container") - .removeClass("show").addClass("error"); - $("#arrow") - .show(); - $("#embeded-content") - .css({ - marginTop:0, - marginLeft:0 - }) - .width(395) - .load("locales/" + language + "/error.html", - function(){ - adaptWidgetSize(20, 125); - }); - $("#container-shadow") - .show(); - }else{ - resizer = setTimeout(function(){checkcontent()}, 100); - resizerIndex++; - }; - }; - - function adaptWidgetSize(adjustmentX, adjustmentY){ - var margins = { - top: cssToInt($("body").css("margin-top")), - right: cssToInt($("body").css("margin-right")), - bottom: cssToInt($("body").css("margin-bottom")), - left: cssToInt($("body").css("margin-left")) - }; - var widgetWidth = $("#embeded-content").width() + margins.right + margins.left + adjustmentX; - var widgetHeight = $("#embeded-content").position().top + $("#embeded-content").height() + margins.bottom + adjustmentY; - - window.resizeTo(widgetWidth, $(window).height()); - window.resizeTo($(window).width(), widgetHeight); - window.sankore.resize(widgetWidth, widgetHeight); - }; - - function cssToInt(cssvalue){ - return(parseInt(cssvalue.replace("px", ""))); - }; - - if (window.widget) { - window.widget.onremove = function(){ - //$("#show-inputfield-button").trigger("click"); - $("#embeded-content") - .empty() - .oembed($("#textbox").val()); - } - } - - window.initialize(); - }); - </script> - - <div id="ubwidget"> - <div id="shadow"></div> - - <div id="inputfield"> - <input id="textbox" type="text"> - <div id="search-button" class="button">Show</div> - </div> - - <div id="container" class="welcome"> - <div id="arrow"><img src="imgs/arrow.png" alt="arrow-top"></div> - - <div id="show-container"> - <div id="embeded-content"></div> - - <div id="show-area"> - <img id="show-inputfield-button" src="imgs/bts.png"> - </div> - </div> - - <table cellspacing="0" cellpadding="0" id="container-shadow"> - <tr> - <td id="shadow-left"></td> - <td id="shadow-center"> </td> - <td id="shadow-right"></td> - </tr> - </table> - </div> - - </div> -</body> - -</html> \ No newline at end of file diff --git a/resources/library/interactive/VideoPicker.wgt/scripts/languages.js b/resources/library/interactive/VideoPicker.wgt/scripts/languages.js new file mode 100644 index 00000000..c66aeed6 --- /dev/null +++ b/resources/library/interactive/VideoPicker.wgt/scripts/languages.js @@ -0,0 +1,12 @@ +var sankoreLang = { + "en":{ + "show": "Show" + }, + "ru":{ + "show": "Смотреть" + }, + "fr":{ + "show": "Voir" + } +}; + diff --git a/resources/library/interactive/WebBrowser.wgt/index.html b/resources/library/interactive/WebBrowser.wgt/index.html index 5b3db53b..53a7c5de 100644 --- a/resources/library/interactive/WebBrowser.wgt/index.html +++ b/resources/library/interactive/WebBrowser.wgt/index.html @@ -8,19 +8,33 @@ <title>Web Browser</title> <link rel="stylesheet" type="text/css" href="css/main.css"> <script src="scripts/jquery-1.3.2.min.js" type="text/javascript"></script> + <script src="scripts/languages.js" type="text/javascript"></script> <script type="text/javascript"> var loadingState = false; + var lang = "en"; + if(window.sankore){ + try{ + lang = sankore.locale().substr(0,2); + sankoreLang[lang].next; + } catch(e){ + lang = "en"; + } + } else + lang = "en"; function changeLoadingState(){ loadingState = true; } $(document).ready(function(){ - //var resizer; // Timer - //var resizerIndex; + $("body").css({height: $(window).height() - 40}); + $("#back-button").html(sankoreLang[lang].previous); + $("#forward-button").html(sankoreLang[lang].next); + $("#search-button").html(sankoreLang[lang].show); + var popupFlag = false; var currentHistory = 0; var references = new Array(); @@ -72,8 +86,8 @@ popupFlag = true; popupText.css("top", evt.pageY + 5) .css("left", evt.pageX + 13) - .css({width:"100px"}) - .text("Go to the site") + .css({width:"110px"}) + .text(sankoreLang[lang].open) .show("fast", function(){ if(!popupFlag) popupText.hide(); @@ -84,8 +98,8 @@ popupFlag = true; popupText.css("top", evt.pageY + 5) .css("left", evt.pageX + 13) - .css({width:"90px"}) - .text("Previous site") + .css({width:"130px"}) + .text(sankoreLang[lang].prev_page) .show("fast", function(){ if(!popupFlag) popupText.hide(); @@ -96,8 +110,8 @@ popupFlag = true; popupText.css("top", evt.pageY + 5) .css("left", evt.pageX + 13) - .css({width:"70px"}) - .text("Next site") + .css({width:"130px"}) + .text(sankoreLang[lang].next_page) .show("fast", function(){ if(!popupFlag) popupText.hide(); @@ -149,7 +163,7 @@ checkcontent(); checkLoading(); } else { - $("#embeded-content").load("locales/" + "en" + "/howto.html"); // Welcome screen with some explanations + $("#embeded-content").load("locales/" + lang + "/howto.html"); // Welcome screen with some explanations $("#container") .addClass("welcome") .addClass("change") @@ -175,7 +189,7 @@ $("#textbox").val(url); $("#search-button").trigger("click"); }else{ - $("#embeded-content").load("locales/" + "en" + "/howto.html"); // Welcome screen with some explanations + $("#embeded-content").load("locales/" + lang + "/howto.html"); // Welcome screen with some explanations }; $(window).resize(function(){ @@ -201,13 +215,13 @@ function checkLoading(){ if(loadingState){ - + clearTimeout(resizer); resizerIndex = 0; $("#web-content") .attr("width", globalWidth - 25) - .attr("height", globalHeight - 90); - $("#web-content").show(); + .attr("height", globalHeight - 90) + .show(); $(window).trigger("resize"); return false; }; @@ -241,7 +255,13 @@ } else newArr[j] = arr[i]; return newArr; - } + } + + if (window.widget) { + window.widget.onremove = function(){ + $("#web-content").empty(); + } + } }); </script> diff --git a/resources/library/interactive/WebBrowser.wgt/locales/en/error.html b/resources/library/interactive/WebBrowser.wgt/locales/en/error.html index 68b99f56..5b3953a7 100644 --- a/resources/library/interactive/WebBrowser.wgt/locales/en/error.html +++ b/resources/library/interactive/WebBrowser.wgt/locales/en/error.html @@ -4,5 +4,5 @@ <div id="content"> <h1>This Url cannot be used.</h1> - <a href="javascript:$('#container').load('html/howto_' + language + '.html');">Back</a> + <a href="javascript:$('#container').load('html/howto_' + lang + '.html');">Back</a> </div> diff --git a/resources/library/interactive/WebBrowser.wgt/locales/en/howto.html b/resources/library/interactive/WebBrowser.wgt/locales/en/howto.html index 6d0f52eb..e2b3ace7 100644 --- a/resources/library/interactive/WebBrowser.wgt/locales/en/howto.html +++ b/resources/library/interactive/WebBrowser.wgt/locales/en/howto.html @@ -6,6 +6,6 @@ <img src="imgs/info_ico.png" id="info-ico"> <div class="column"> <h1>Web Browser</h1> - <p class="spacer">Please use the adress bar to add a website to your presentation</p> + <p class="spacer">Please use the adress bar to add a website to your presentation.</p> </div> </div> diff --git a/resources/library/interactive/WebBrowser.wgt/locales/ru/capture_widget.jpg b/resources/library/interactive/WebBrowser.wgt/locales/ru/capture_widget.jpg new file mode 100644 index 0000000000000000000000000000000000000000..284ebece5fb26a2cae8f8ed2f0c6a2c11d770f30 GIT binary patch literal 15452 zcmeHu2Urxzwr~RyL{U&N6GXs-FgYR2Dw13gB?l3QVSpjbzyv@MW=&vN!LY6oFd)GI z0wM|m*8rFikf?wd$%qn!VWwYo6V!dayZ3wdz3+Sf_uEjXt4^v@r%qR&Y6`d(eg&zn zv9Pv)WMpL^EARus%}QbB;cOoWvax}dLJ*_`DauTP<UmaZ{6I2uA$hb8L0&TR#_Rqv zi${560S^`e5YhyNCxb)lGeG@d3>%s-Dw_oE&miUD-ymp_>ezjyH`j}$z21*2;PU;r z!P;i_1Z^7zlg&Ze5DtT((vV+@Hh=^?4Nrg|xic~&{lYK=osk{a|LTm~czp@z3%L|z z<VI~&_;wsJnqS8uqyOzVfKNv4l`)hZ*R8m6L>=NS#3Lhj_*-8hIK-Eo&}4K>o@O?X zEZhZ6L0gdbZ-^xP0@?*lR#H-$s5E)v#K~%tlqadFPn|q@s`~8d)77U>pRG0-y+&^% zjlV(}l}VFSrl_b+nW8#l%9JTH5HMxNh=|(1q5%E}q^1OEKxgD+bRbzZ896l>xB(1X z8NMe&2Ug0<pcgP0x#U2gOpsSlRGO$f353J<L>Wj{Zj7i3$xM)ulbs+duc)9TFE<$v zh-z{Z7EHs+uiU_xt`o8yr!eEt+00c7b=B=|d*KPZ9pz?<dWY>lHuo_3#F^)^cIvM_ z;^1w5=e&S4tHSX$>r?iwyOqK>pDh;sk+l2T(R<I|_Fl*-u6oz!<P#eGXY%!u>i7L* zOK0D(m}4oqr8OT0)F4?|VC@9dCPf8#B5J|{?6e8Mf)JhQ^0@7XW*`>awk!XL*Y#@V z?Ko^^ug>HXdh`?!0~Ga%cPfAp=Vy7FJCX#f*W)Jq*A^`LY64sjO_oFZRD<YH@1>xt zF0bbQB2Vgwn-%$hKKNO(`6`bVJ8NCaeD_L=O~XunC;PG*!`PqIn14c|U&agq;A3OF zXOi_gDJsLc-xK!oX1}oOK;gd5Rz~dog4)j7jtFRHY)O6hy6%sE`c!sYdLAi|=5SNu zhRj1>e4N8Nnw?xdKx*r$Ezjn65F>M!9PkS`m9I6uu}sw3C7Ie%6mPvQ;T!E4gAIKv zu-Eg|I?leI$4`~XTrNs0OKX)Jez-MOlK6~!vFQVS^%bwaqDzBL-sR5gvO6h9PZ^wf z{*Tx1rEwj7bkX@B7z*gSIwz~FHT<U5D;QeSo5BsX++X-M*E>AF%Y`U}p-ZHVCBI`H zN4VA09PY0!`Ln3OvGG)5d(D0pJz4Bn<!t#yt5xgluUZ+A8*iR^swd2PG;h-q(?g{0 z**@7hv7t|3=vrEx^XIsf-Umw>8xFnhzPY?k(@=bjS|QEsH5h1q)^*(f{=+NPZf*}d zl9Mz4c-iiG)V{$!RpOJukL(lGpKP&*q0@9{pL1KcsCz_S%M>q*zgBqbS0kZ&foH2T zG0~^4zsRz0zuy%-6NRtNxf+sJ_Ups+yPlRpr{Bsf@(UmXlFQ>zauo6Ari7XXCkYG< zEuWHch3=5fh;+Fdz)hKdth&UyK)RcADWYg?b-@YK<TCNj6Vm;?du`407Zx}1+_P4A z3>b#QN2GWhXe+OnD|QKyxRE#H_r-JuEDK9(EiAD!@#q%1ycl>BdA?J9<HJV>s%SxV zW>XiY)Y!fV(>xaNi)q2CqD|uYkLKC8MCoxes$s~wEh?=&>PY39FcWuCcpB%v)VV=g z?6~W+sx`iUOTy<?-c8d}G5x34bl-2YJ$vtP+wQC$`;|;i{eWbVw@P9Udr4=mw`f@x z40*X{(T@&@GI>U=HZMQmFRie@<g#%vSU?_ZI7V)zHmy7$4d_iccO@|<R7JR=4|`Co z`Hy86y2DHdZkF}YPjTNzh-`*;{n1~TQ*>)X&t-mnXMLwY?i~a}>YK_wX!I<u6<L(E z!;nH!3jD11)Z~qCUOD==7G8W|kJ~u=cFvjVJDY>`)h|hm9AJoQ(jT-}TA|fa)Lhh} zo19VW-j*eK+;@@93LR4C1Z<pJni(4xu(1StF{mVBqvi{@8pT;L$^jFocLO?(4{^Db zJUS|>H)QmMJ2Y|0Y>t&G&PuCi?Z^7#*?M<04qBa%vQK~7KSGY$FP$gdvBp1F=E~+P z>6@?QD9<fhm8w4Vd|c`0<uGKC(jP%q9J<T5;(N5zXm8I<S1>)|+F>b~HB6RFC^Cm3 z6&PBnM~v32&e`6fa`{H)xqW9Zd@@)*FS0OspxbVC+0;JyGj!3V{POg$KZi`yTcrGQ z$xImPjk+f)7u^*-`?c5eV^i-myIJ=9{_b1Gj49q#uJz5mo0=N<c9CQkC`<Bcj!c!) z=GdXQcMC_X^*jed(J*x8@IkU>NnIQ1m4Wt-9-Ga#!!C9UL>Ej`hP@7DEM)sV(D7zF zM)oc)8f8B=>QUM2`y$nh%}l7>^CIb=uV3EKM^A<nGY&GPM%NQt{_OtFdv{>ygaj`k zSxOaQDCtPtMGb<g`Jk-QikjN8A-$X5Inh4$!?cJKmUo9pBF`^GIdov^zk8h0$PTL* z;O;%n?E=$Z2Y0IAzP|eLh8T#l%GzcE@&bk+#rYtiKynHcr-$NHTY5HrHo86g?70Zv zE5+Vbc?eCebA&efa+V#tqjLHvZ3+reK>ux2qYBzY`qD%>=X~Fm`;4|Hq7VQX)DDoi zAeS<l1Ryn8)Pg>w3i>tj@d1=T071F|E}2ox*%K$nF*p?O2H+SE5ydS3ia~XL0c{8h z1}Vi4FS!<k{6iA_@6b?RC?UEbWUL_Bk^N<)jQR~p@gOuw8kw27NK<YD03+i;nh=B} zV6Q-#0x=;57=-{5LOh5Cc|u_j8}f#HL0tgoNHX=;>s#C_Kpacv#`(Tw7(<R4i!?dH zz(8<AVn@M?E97|dZN2=NpfxII#}r^e3k@>|kaGrdIliEcUTaxCf^XZa1l*v}Hfn~Q zuiqH`6%bJ12eO$gzEj{@K4{5&*N;3(1L$d>D54GP)!*n=^yP7d!QY`2xIDHmo5SJ= zgMiFrb9+R)Es6te6^2m2wPbNvJcfYf4G@sSmSEN>v+@Wtf<Y+OLB87H_P;%TIUz65 z!Q90GbT#T+#QEQ2Z1}#c?=T9CK!F3p_dDDaCJV^1!UfiRD+imkUR-V<qEKlJ{T=f} zKQ3?U%0Ra7n5U+W4Bl!C4I~x4Sw0M5AQEE}Ls>k*57?c?(BHF9^71v~26B1dI9F{% z|0>II0uX`LaXE;uCknX1wn71)H5M2MO*s$*(tpBE_TmaaK>a8DBrwH(e`QCX#Knj* zXfi0W^p9wL<f&6b>oOy&(u5gk3khgBR0`pT6g>byoOlKl4N!drL8Q$9zY>}awjw__ zFF!Xg@B4plUVd&~er{fVZeD(FUcd%%bO-paZC*y+!wbN>6@nZ=0q<f6nhLE1$t@T1 z0_m+bv>x&Ubpa@Rv<8xSX!_r9XhUX@Jw!khj`T2+RV#vzvS=T0vs#s(KoCqbGUD(J z8OY~TLnb%KD4Y>&gf+w%K`ZFt!3<^qOQ7w=0=cA#PIrEhjyBudM8}zEgRu!VWBIYI zw(?l^Th}=-w+1k&-a2$s?G@p)@SxxzmVluh9u&yo)51-3P~|jGN6<z(+9-=4z(fcA zq^a#<vtHYb%VTL13~`3I<xC6-uT8`o;)ysCj$oh-zTHxcFk~Y<W;vEZ!w_i%toG=o z1N!56`_SxGTa5MwS|&Q9!wL%vGYrEUa(TW+SSpojguxl%aLWP5a{d;MfDyi&!(TY2 zVKs}-<gtSVY%WI|(Z~S#zQ9BW*g7(Zpx|+}KlIiZqc?M$FBqh>Xy@KcBUT_Qh{X}` zfoHLZ15l;GV;`%>MZQx#PDZC=Ob9sF#^%QYV>1^NG~NYYU>*vF@z3U&kEEwYb}T+u z$YZk1LxGtK$2t?ReZIQ$JL3?_cXqMBcmE%Egiyv=gK1_w7DE7%Vvv}R1;E#>`*&aM z5i3UdS*yWL#Y6}BjK3WD#X4Y#G(3q$pe)1SXc){0s}0wi?X%@CtQ3c_FaF=Lf=Kjc z2pE6M?9HV4aCt!t;6-*2!<S{`AI$RA(H@^18k)(2o`HFI)C?ONnl*<nU~rf$>(wSY zU<`(Awl@ufqhPRDG66%zVMr7#mP)iRr&>@~uEt<i5^z-FnCxmUQ;5XMn5;LDC1A<s zW>oW4Sj?y_m0(6)MZ{xPnGwtg=Hs#>J3L0<e@_Q8r!=4fbk0B?1QQ*sjy8&PLBb<Y zID!QBgUbkuz)`yE-_XC39XV{^N!+O1I?zujYc<=K#YeD2k^zoL2899&)c`#H1~@VS z6o8`;48V9n!Gb!#Q}6~jD#-wk!5ZMP6i}!JL>wr19KZoRWDF>PmyEQDfDQ_tfX5l* z$%NGy9CkHjC5eb3U@cYwHD*-uY7Er^i#MmN($Pi&mbRW9&I)u{%?4A!M}2|A5xyn4 zenTPvKcPZsEZBop69fZ^NW_DQLGj;@6HlU$2nGZUm4rbd7y%iJ8-X|!GXn7dPsEP! z5DXA0G77<H!AJlGK!71oh!_-tk%BrHCxE~+WIXU20s%jOR0L80CxA#_c;H0@BE8^& zcM%9=0YqhiZwXiepdt`h3*ZQbjMga#qyjquM0u!0P$%OMJQ>UbfMB)=SSrwoKtz^G zL1d{EgojE&c&JpAhl)k(h&C#!jY>s&q@p^hh$T1-mSg~C)Br?*0m*=DKrx^i0M}r# z23VW{7H@zh7=RfDOjxo32nQVC1wjI01cVO}L=p%D5HlbYj91|ZX68gZ!JJ}_Az7?k zg*5|xlFg|&0ue(dSWu8R0=mf3tk`_8P;D7~$Jnz%Mr(m=ZFF6wF_<Gy1QS`(Sl&9L zX!Z}D{=a{MM^uLSvA}cpmvs)j^{``$*9aS*>mvwb@K`H-!NdA@%c#+RWjCJ@`p>P# zVE=B-`k~b$OD>K^#Qhsqk2;g-$Kd#~K+<8P^KXpfZ`a;`G7jXA#sA~uFhY`yk&rU_ zYqX)XZxRwPeJBcKIY@Op!7?37gMQwBdf=xAetO`i2Y!0srw9H&^1#<mG%OBCk;1?S zm~T#s{epbxK~IW}oWuH;pzPO6Zv6U25;+$oJ5KmlD<dbxmO!uMWWdp?uP4RkgOg(C zfSC%i;Iz~DrKqGJKVhPrGB`sAPKrSaa-jclA|S~r$|}iBgp?<#Lb5V);H;P&Vv(%E zM4=2gMW!Y{O<{rJbR9?uJ7Xnoq58xPt7bBE@w4ngw$JuDq-S<E^P@h2r#$C&IdM_5 zJ!wbJ;d84U_~sU5OXgxnC+E3YcPd_g^4=*pvWs;-`)=i%B@~~}!lhK2mGv4IS2tfj zwtr|?_?E4^qht2$-S@}QKaU+haWd&ba!P92#cMg&b8p<tyH{LNdjG-0=T+4;wRQDx z-@X6P(%RPB*FW%Oa0m<^IomctPJY6K2?`4GLBM1+aJEezs{rXtU%5dM$CweKv}*gp zL+W;Cy=LMkX6oK9H{*Sr)x3iMj=0TcuI@RPrB9sWKr;7Uq|D!W#6p1B>&Oy1k$3Gz z4gS1j?jK3lkV9@qM^3pdwsiKPj30FSddkhp#V>r%@zfjlYg@ihtzFq$_MS+)`Jk?K za4Bt#oB!5*CokqbtZy6o{xDjjduUfj|1uL-Gjpdy_N%Uy5D3pJRJ|`mJNG@9PR+kb z_l#<9(1)R-7w4tUZ(!)@Qu<I&cSA&mNR(?ioKXr+PdSMC-ZbS6Y?8tdCvMO)4u&YH zFw|aJB<w1XNE@_16=_LBHo#C#98eV@mgLdjMbU>}pNF9gO-W7Oz<^jFdN?c^EVhK9 zO(x<DVRv_b3k)6o0z;qo#Yt~P3~Xv|YU(V9p=CWV^g&%q5<bvXP*e2Nr2meW(&M~1 zZkzpeFYY@>Q9Nm-LNr(<*kAqe#5CESLB}<1^Y=G_xim|kw_w<F>b{3xqME)WkYX0R zs(JS@veUrPR7-!)Z~|RF-p#4MAO_5E5&W#7Gzx}FD-XfYjt!zN6*|Cfza0H*q<2{3 zyv>306)GNjU+Ry3)#z9yzAJbi+MuE_Whyxr6JTj|!{$O>TY!IC8(E3x!LX{B{%9r? zks(NuzTO6+D8UniNUtBaTUuF&#>w=zqTx>xEf_j)CKC0>qd{;ZaUqC_W55%Vx%0%} zIAAv#cJ~GW+lnF(Q7zA!nj|TaNLY0(x(`Ex?}q5$)K)Zz)=pzIkV8xXTbU7vuOR|? z0EXC2Xq@i-M3-)f0(O+2Eh-YP6C+Xh(iV*J^P^so^neOD<5wSs#{K{M)~>B_2#v02 zG{y&ZOLDHV7Z2PrPGx3AkRvz-5*rPl+IywP!!KplJ&DPAL&&-IxJ@@U)bH&Ef%ajO zn!NA^*W!Ayvw#zt>|gc5olm~uwwI+!^lHw`q0UTleQ2fazuoo>)k)c=1DS;lt-}o; zFCV(uvhC!cx|MxVi}doDRz>kOLxfl+)u@?NI=uOGA}JS4X3OA>8@b~C!5ip0F>IVX zw;!CPn`2zx4`y#eV@W?r+9^>f0D?`!#tB-|ZKmKfr&$|aT7ux%1+In6j;?F9CUG-~ zAIrP1q(nDhU+Z3UtHbU;p0wud>c0Idv?`)$f&R+53OOAn;tavH%P{ntP}HYFm-ur* z6wGNj1w)$ARWNjys|Z7R50TYS1egCH<aajggdx^K0Pf8x5)HiS%K(9xw$mS+!o+d1 z>LSf^a<v3ujZN*<jr1A$i;QoCmX`i*!4(P{pEl5!<ttth8z<xIOv(>*%ujE*osjw< zXgIm~zO(&x%Q^iOZ<*pXOWb1V!mgbi-H$yJ3)tCPXC<?ZKjh&(b+c8s-Fp1HLf@CT z?G5hTx%r-#qSid?+;qA1%3X!VJ3$?$rLAkz?>xvfK9``S7rNwpddfrXJqCsC4IVS! zHbyi>geDf7Chm;jv;`(OXGiS6W$eFZzHnXHVbh|Pi!Y<6#a+@nGXDlO%iYxUWs^JS z@Z5@}jF;h;bu+N3(dnxi+Z$91>$`2=FSp6^GY)8e+Hkpp21Cb9B%h}HbSe!bKW#96 z<RdVASx<0zlJiXCX2PA@$7954&u@CfJaf&vSerI?Hhx~rw)IsTpO9m1!O~$6^OXK! ziLGH{;}_4p;zvueb2}9t3~FfJx!?Qw8P{ZYl}VGUYq`7o>nf&bmfPO^qNIqqMe4OL z(v#B{TMn3Yz0oJ{LCl)e5cFx$;H}DSr|Jq+3b#H@F{yHhOo&?1EjpCrp(m*;e)~xh z;9_dlO+P|Vtzh~7qg>F$8IE{dDQs+v)jPB#UwL1M?j7bUPhr<-@v-;aPlwV!cN->s zsmj8+r_A}a$L+|6QoAmb2bDQXP8Rn)ZLXcSGwpg!@qyx+qkUp-m}SEp`oR}oHqB-O zJ@(I?J8xvoey0<z0~W1{1*Thu%i0rC%UBEUgr!6>vOnZpPb`jly8kt2bH8P1*IEy{ zb9LwGT<^Z*>bslMuB&Tm=^cLg{GhX~*{;%enY{{Ts;S9U8@dXfUyS>+h)_rq#t5A_ zd5MSP-_>G6!2%`og0fb(Y0fMG>w05Pac4`I<sHfXt04u#?2xM;wzdnNksFw}quI|Z zok|zlRXJL;%mVA!FY$D+j^j12b<j@|;^pHyp4N5j<-w4C#MJ3MO<7x)EkDpMNj<nN zyv?NMdH%rW(0;FE+LbcLJY&w*-yLVxpHHRa9ZgF=7aKeGmUj*hJWT=3gU+9KY7G}* z22-=uHFkblv?zY3(c#Xg1uY(}`2nP`lDu^_VCjeol@BesRBJpnkW+N9AtIBXU2UDa zxaXi<RhhMJZ?7=e{;}S`rq)yVPZ96?jf+SMHEmBG)O%dXT8cIC+S;{~H!M7Ju6X#j zmY2Du4R`a!?r$xb{Ujs5PB%_r=au-EAIqCtu6L>%&Q;M=rUvKOv%Ib(A*=b^e51i6 zuZV>yxmx#Q%O7$IGahoI63%rz$#Cznm9PFX99rGU-F368y;J43V}8%g`r(9G+}@f9 zhTrurN{FH9xpP^^jO;i0oEIYxX4Hd0^Wn!s+1`CIe%r#@f_j?75pUNiW}9yGN%JQi z2p!z%-LWpe>6&<uM&~@R*`U5@DsS8FFHP=o#T^$l)K;3`^oqa5C7Nvq5n`KP=pw>z zjP7cbSm$6(#96tKqT8CUAHMw@;dz$y-dQErbd7n%Da(SqeYq(Yj`;cLq&}ivF6*ej zkxf0B+CDIa<mR?jdCRLETOw=n-1_6Zh6}n9vIq04|B&PW3sN*HJxmnuoz|OGIys># zxx@6v(?IF&vZ~=rPrBDC;5qMeX9eZ@_>wJ*vDZ?0Vz-?dHv6|Sf0q&MCFc#S0c+%j z;rAULccVKf`OBib3eAU|9}TBmej(ZQ{FK<&?9+Z$pJ`8tUGIP!hqLR&mU`Q`!=0ve zrQD^p?O7k2FY>4Dn`=>OJ!$ZRW_!at&GQ|FAG)rb=waT>FZ1r2a=9Ts<IirJf!(d0 zZ?5asN3^H(>j(H}*2RYug=Ft((`!6FpRl-YPEza~&2wIp*(p{7n_B!j;|7mvT!5iH zP1{7>_`~2Kt1e8OCU$;f>(-a()tUaf^aI{i+A656n|nF5Y3D-gt0aw?%E{?*A&>j8 zCr_WR?i#wmI(%e)c~wj4g%@V(Twzyia@SySPe6p%qFVR!Q{yhSr(G(Fev1`zFSlP+ zAB@b1xi4HB!JEE5yVQg-d)uZhx^eeoGxxl?fs+MmkNi=OrjORC(-|C-_-nbE52Za_ zDo;E;GKVsRofENrpI+y6C2S{6rrO;0^xU(b6f$S=vRj|N)TRooW+HDGIr>uZ!sbR> z|96<gd0PkkD||nn%GS`g4T(RMaPP^U7Y-C<`=BF+PRW$3ck*%3wEK_slCo*PX&eV{ zJ@8KzGejN7qv)d7x^*IPS`3oT<@gTEU4o%hHpt8EK|bB`w4>=uFDXMhFPtu^wnK6o zxZ(#dwe6=%YMwf9ZmsLB&ld*=u8<mW-iKzF#oX(hUq!N1IrX5K*QZ)l!FfD|vp8i( zzMPz;uBLv4hx>XR;Doi6FJWllptuZ%eld)Pp^mA*6q~pm9j$m(&JyFh!KSY+lsb4V z$<C;b)UDgM&BkN3y3pl5E~uvDx`EKf(ZKG3@{I#;54fZ)RT|jT=6bHP(jlj`DA)Ch zTWFHo-I{p(z^`jQ>6Wd{(R!)1IAsgdX-TBsAM-X&1s>!jCv^_d!WXwlf8o@xS>xiB za^XU9d*g{62`3X~xHRuj(y9G*KBjo?ZpZcN4v;*OE}XLE!%!o59Y~<OFc`W@2WldI zfFs`C-ci4?#4@-tEGjCIe*A0+6E}FD_9*G>V;1&?HP4=rIXM4x<hGog=ajwK#JFE) zq?cFbIFw+LovXSEDw7jFz|gIjM$wRrpc{rZM}gF~|9=?wx+hFGwdcX7>ERFN?|Y!j zy-EuyFTd?%=~T;db+y^ELJj1->8kc&Dh8^R_S?2MJnwzpV<~U4LL;(r{p|^=XJQvK z_L=O;ES|9;)zJ}JJaay>1vC6NjO2J^<b$^+hZEmkA8~%$qibi%N_P~$4VB)x{id~z ztZBN!BQo$)P-MoQ`;Ke=uyP`>Z~c<#m9%?dL&OEm<~tQ#9tDXn94l<qr@Xnt3MOV% zWL<D@*s^a<Pan>H#a><Z`h(B0s~$d_J!uC8Jo{Avi$2AF8Qzyl?&i5VEQTST*jTJR zb?}YoE{MR5Ma?NvumvdF@-lJoOI?#B1{qz`$4VFidxj6Ux@?Ds1G}Ynk(hWh3|OT= zjU4z_rbrOOwP7HuyG+lx?zHU6b^WL9FK6`ixda`_#kw<RIsS2YPL|^g%1Q4FDJS#X z!r5tWFCLoKWk;}!+Gm;orrF*}^bcCmP;{a+hYZyG-Ua@BDbCCvhMIFh+StG{0>~n` zve7uI^LNQQ=9gHlS%yBemYT;0tJasF)V~m&Fu_$NXmyn6MkZ^q3C)VWAG~B^r0v~t zgKsX;Klki{p|&C<YQ-6a^bfIMoh~bx4nr3uU?kmLg<wCOK+A?9`fOY2C3N$YCw?Oh zZz~%fX3&Q+fNM7W)b)SKUtWpq?h|KDF34_s{%FRbXzI2FP@ejP?Jg6cL@>*<pJZEa zSb4o)qO#Fv=|uzmrH7Ms?!RBU&tEy*=l5%YJ(<?3`_r^v?1%)j4?k~0KhYqwj>L60 P5+%rl|F0uNaNU0ZDJJnj literal 0 HcmV?d00001 diff --git a/resources/library/interactive/WebBrowser.wgt/locales/ru/error.html b/resources/library/interactive/WebBrowser.wgt/locales/ru/error.html new file mode 100644 index 00000000..3b3fb118 --- /dev/null +++ b/resources/library/interactive/WebBrowser.wgt/locales/ru/error.html @@ -0,0 +1,8 @@ +<!--EN--> + +<link rel="stylesheet" type="text/css" href="css/howto.css" /> + +<div id="content"> + <h1>Неверный адрес.</h1> + <a href="javascript:$('#container').load('html/howto_' + lang + '.html');">Назад</a> +</div> diff --git a/resources/library/interactive/WebBrowser.wgt/locales/ru/howto.html b/resources/library/interactive/WebBrowser.wgt/locales/ru/howto.html new file mode 100644 index 00000000..a93732d3 --- /dev/null +++ b/resources/library/interactive/WebBrowser.wgt/locales/ru/howto.html @@ -0,0 +1,11 @@ +<!--EN--> + +<link rel="stylesheet" type="text/css" href="css/howto.css" /> + +<div id="content"> + <img src="imgs/info_ico.png" id="info-ico"> + <div class="column"> + <h1>Браузер</h1> + <p class="spacer">Используйте адресную строку для добавления сайта в Вашу презентацию.</p> + </div> +</div> diff --git a/resources/library/interactive/WebBrowser.wgt/scripts/languages.js b/resources/library/interactive/WebBrowser.wgt/scripts/languages.js new file mode 100644 index 00000000..2683dfd8 --- /dev/null +++ b/resources/library/interactive/WebBrowser.wgt/scripts/languages.js @@ -0,0 +1,28 @@ +var sankoreLang = { + "en":{ + "previous":"Previous", + "next":"Next", + "show":"Show", + "prev_page":"Previous page", + "next_page":"Next page", + "open":"Open the site" + }, + "ru":{ + "previous":"Пред.", + "next":"След.", + "show":"Показать", + "prev_page":"Пред. страница", + "next_page":"След. страница", + "open":"Перейти" + }, + "fr":{ + "previous":"Précédente", + "next":"Suivant", + "show":"Voir", + "prev_page":"Page précédente", + "next_page":"Page suivante", + "open":"Ouvrez le site" + } +}; + + diff --git a/resources/library/interactive/Wikipedia.wgt/index.html b/resources/library/interactive/Wikipedia.wgt/index.html index 1cb92bba..81996272 100644 --- a/resources/library/interactive/Wikipedia.wgt/index.html +++ b/resources/library/interactive/Wikipedia.wgt/index.html @@ -11,6 +11,7 @@ <!-- jQuery --> <script type="text/javascript" src="script/jquery.min.js"></script> <script type="text/javascript" src="script/superfish.js"></script> + <script type="text/javascript" src="script/languages.js"></script> <script type="text/javascript"> @@ -18,6 +19,18 @@ var browsing = false; var lang = 'en'; var internalChange = false; + var syslang = "en"; + + if(window.sankore){ + try{ + syslang = sankore.locale().substr(0,2); + sankoreLang[syslang].search; + } catch(e){ + syslang = "en"; + } + } else + syslang = "en"; + var toolbar = { state:"begin", loading:false @@ -43,7 +56,9 @@ var ubHistoryList = ""; var ubHistoryIndex = ""; - + + $("#toolbar-down").html(sankoreLang[syslang].wikipedia); + var popupText = $("<div id='popupWordInfo' class='popupWordInfo'></div>").appendTo("body"); lang = navigator.userAgent.split(";"); @@ -100,10 +115,10 @@ $("#toolbar-button-search").mouseover(function(evt){ popupFlag = true; - popupText.text("Search") + popupText.text(sankoreLang[syslang].search) .css("top", evt.pageY + 5) .css("left", evt.pageX + 13) - .css({width:"70px"}) + .css({width:"100px"}) .show("fast", function(){ if(!popupFlag) popupText.hide(); @@ -132,10 +147,10 @@ $("#toolbar-button-back").mouseover(function(evt){ popupFlag = true; - popupText.text("Previous word") + popupText.text(sankoreLang[syslang].prev_word) .css("top", evt.pageY + 5) .css("left", evt.pageX + 13) - .css({width:"100px"}) + .css({width:"110px"}) .show("fast", function(){ if(!popupFlag) popupText.hide(); @@ -149,10 +164,10 @@ $("#toolbar-button-forward").mouseover(function(evt){ popupFlag = true; - popupText.text("Next word") + popupText.text(sankoreLang[syslang].next_word) .css("top", evt.pageY + 5) .css("left", evt.pageX + 13) - .css({width:"70px"}) + .css({width:"100px"}) .show("fast", function(){ if(!popupFlag) popupText.hide(); diff --git a/resources/library/interactive/Wikipedia.wgt/script/languages.js b/resources/library/interactive/Wikipedia.wgt/script/languages.js new file mode 100644 index 00000000..708b2a42 --- /dev/null +++ b/resources/library/interactive/Wikipedia.wgt/script/languages.js @@ -0,0 +1,20 @@ +var sankoreLang = { + "en":{ + "wikipedia": "Wikipedia", + "prev_word":"Previous word", + "next_word":"Next word", + "search":"Search" + }, + "ru":{ + "wikipedia": "Википедия", + "prev_word":"Пред. слово", + "next_word":"След. слово", + "search":"Поиск" + }, + "fr":{ + "wikipedia": "Wikipedia", + "prev_word":"Mot précédent", + "next_word":"Mot suivant", + "search":"Rechercher" + } +}; \ No newline at end of file diff --git a/resources/library/interactive/Wiktionary.wgt/index.html b/resources/library/interactive/Wiktionary.wgt/index.html index c38208ff..1a83d887 100644 --- a/resources/library/interactive/Wiktionary.wgt/index.html +++ b/resources/library/interactive/Wiktionary.wgt/index.html @@ -10,6 +10,7 @@ <!-- jQuery --> <script type="text/javascript" src="script/jquery.min.js"></script> <script type="text/javascript" src="script/superfish.js"></script> + <script type="text/javascript" src="script/languages.js"></script> <script type="text/javascript"> @@ -17,7 +18,19 @@ var browsing = false; var mode = 'wiki'; var lang = 'en'; - var internalChange = false; + var internalChange = false; + var syslang = "en"; + + if(window.sankore){ + try{ + syslang = sankore.locale().substr(0,2); + sankoreLang[syslang].search; + } catch(e){ + syslang = "en"; + } + } else + syslang = "en"; + var toolbar = { state:"", loading:false @@ -43,6 +56,8 @@ var ubHistoryList = ""; var ubHistoryIndex = ""; + + $("#toolbar-down").html(sankoreLang[syslang].wikipedia); var popupText = $("<div id='popupWordInfo' class='popupWordInfo'></div>").appendTo("body"); @@ -106,7 +121,7 @@ $("#toolbar-button-search").mouseover(function(evt){ popupFlag = true; - popupText.text("Search") + popupText.text(sankoreLang[syslang].search) .css("top", evt.pageY + 5) .css("left", evt.pageX + 13) .css({width:"70px"}) @@ -133,7 +148,7 @@ $("#toolbar-button-back").mouseover(function(evt){ popupFlag = true; - popupText.text("Previous word") + popupText.text(sankoreLang[syslang].prev_word) .css("top", evt.pageY + 5) .css("left", evt.pageX + 13) .css({width:"100px"}) @@ -150,7 +165,7 @@ $("#toolbar-button-forward").mouseover(function(evt){ popupFlag = true; - popupText.text("Next word") + popupText.text(sankoreLang[syslang].next_word) .css("top", evt.pageY + 5) .css("left", evt.pageX + 13) .css({width:"70px"}) diff --git a/resources/library/interactive/Wiktionary.wgt/script/languages.js b/resources/library/interactive/Wiktionary.wgt/script/languages.js new file mode 100644 index 00000000..b2c8e1fa --- /dev/null +++ b/resources/library/interactive/Wiktionary.wgt/script/languages.js @@ -0,0 +1,21 @@ +var sankoreLang = { + "en":{ + "wikipedia": "Wiktionary", + "prev_word":"Previous word", + "next_word":"Next word", + "search":"Search" + }, + "ru":{ + "wikipedia": "Викисловарь", + "prev_word":"Пред. слово", + "next_word":"След. слово", + "search":"Поиск" + }, + "fr":{ + "wikipedia": "Wiktionnaire", + "prev_word":"Mot précédent", + "next_word":"Mot suivant", + "search":"Rechercher" + } +}; + diff --git a/resources/library/interactive/iCell.wgt/js/textes_descriptifs.js b/resources/library/interactive/iCell.wgt/js/textes_descriptifs.js index 4daaedaa..003d0c8e 100644 --- a/resources/library/interactive/iCell.wgt/js/textes_descriptifs.js +++ b/resources/library/interactive/iCell.wgt/js/textes_descriptifs.js @@ -1,63 +1,272 @@ -/* Pour info, les span йtaient une tentative de mise en forme via CSS mais j'ai trouvй plus pratique, et je les ai laissйs au cas oщ... */ +var txt_vesicule = ""; +var txt_lysosome = ""; +var txt_mitoch = ""; +var txt_golgi = ""; +var txt_rer = ""; +var txt_noy = ""; +var txt_rel = ""; +var txt_adn = ""; +var txt_centr = ""; +var txt_rib = ""; +var txt_arn = ""; +var txt_nucl = ""; + +var lang = ""; //locale language + +if(window.sankore){ + try{ + lang = sankore.locale().substr(0,2); + } catch(e){ + lang = "en"; + } +} else + lang = "en"; + +switch(lang){ + case "en": + txt_vesicule = "<h2>Vesicle<br/>Transporter</h2>"+ + "<h4>Structure:</h4><span><p>Phospholipid bilayer</p></span>"+ + "<h4>Role:</h4><span><p>Transport of proteins and other components inside the cell to the exterior (exocytosis) or inward (endocytosis).</p></span>"+ + '<h4>Operation:</h4><span><p>Transport "towed" by Protein building on the cytoskeleton.</p></span>' + + txt_lysosome = "<h2>Lysosome<br/>A stomach cell.</h2>"+ + "<h4>Structure:</h4><span><p>Phospholipid bilayer</p></span>"+ + "<h4>Role:</h4><span><p>a intracellular digestion with enzymes.</p></span>"+ + "<h4>Operation:</h4><span><p>Absorbes nutrient uptake or damaged cellular components by endocytosis, digest them and then distributes the results of the chemical reaction in the cell and finally expels of waste by exocytosis.</p></span>" + + txt_mitoch = "<h2>Mitochondrie<br/>Batteries</h2>"+ + "<h4>Structure:</h4><span><p>Two phospholipid bilayers called mitochondrial membranes, one external and one internal. The mitochondria contain ribosomes, ATP of DNA and other molecules.</p></span>"+ + "<h4>Role:</h4><span><p>Powerhouse of the cell.</p></span>"+ + "<h4>Operation:</h4><span><p>Energy - in the form of ATP (adenosine triphosphate) - comes from various stages of chemical reactions starting from a glucose molecule.</p></span>" + + txt_golgi = "<h2>Apparatus golgi<br/>Miniature plants</h2>"+ + "<h4>Structure:</h4><span><p>Has a stack of flattened membrane saccules.</p></span>"+ + "<h4>Role:</h4><span><p>Modification of proteins during a journey through its saccules.</p></span>"+ + "<h4>Operation:</h4><span><p>Chemical reactions, including glycosylation.</p></span>" + + txt_rer = "<h2>Rough endoplasmic reticulum - Tunnel</h2>"+ + "<h4>Structure:</h4><span><p>Consists of a phospholipid bilayer studded with ribosomes (an aspect <i> rough </ i>) define the light, an internal space that can be compared to a tunnel.</p></span>"+ + "<h4>Role:</h4><span><p>More specialized than the real, he participated in the transport and a finalizing the proteins that are synthesized by ribosomes.</p></span>"+ + '<h4>Operation:</h4><span><p>Proteins "fall" in the light of the RER where they are modified and displaced. They leave the RER in a vesicle membrane after it.</p></span>' + + txt_noy = "<h2>Core - The safe</h2>"+ + "<h4>Structure:</h4><span><p>Surrounded by a double membrane, that called the nuclear envelope, in places linked with the RER. These two membranes protect regular intervals formed nuclear pores. It located within the nucleolus and the DNA in the form of chromatin or chromosomes.</p></span>"+ + "<h4>Role:</h4><span><p>Storing all the genetic information necessary for a life of the cell.</p></span>"+ + "<h4>Operation:</h4><span><p>Copying of genetic information on mRNA.</p></span>" + + txt_rel = "<h2>Smooth endoplasmic reticulum - REL</h2>"+ + "<h4>Structure:</h4><span><p>Like that of the RER, with the difference that the membrane is studded with ribosomes, as its smooth <i>appearance</i>.</p></span>"+ + "<h4>Role:</h4><span><p>Phospholipid synthesis, calcium storage, transformation of certain molecules external (drugs, alcohol, ...). In some cells, the LRA also performs additional functions, such as the production of hormones, gastric acid, etc.</p></span>"+ + "<h4>Operation:</h4><span><p>It is the seat of many complex chemical reactions (eg detoxification, various syntheses).</p></span>" + + txt_adn = "<h2>DNA - The Book of Life</h2>"+ + "<h4>Structure:</h4><span><p>A scale in form of the famous double helix consists of two columns sugar-phosphate-sugar-phosphate ... and whose levels are called nitrogenous bases.</p></span>"+ + "<h4>Role:</h4><span><p>DNA contains all the information needed for a life.</p></span>"+ + "<h4>Operation:</h4><span><p>All information is written using the four letters A, T, G and C. Using these combinations, it is possible to write anything useful about cell.</p></span>" + + txt_centr = "<h2>Centrioles - Tug of chromosomes</h2>"+ + "<h4>Structure:</h4><span><p>Nine triplets of microtubules surrounded by a some number of proteins.</p></span>"+ + "<h4>Role:</h4><span><p>Separate the different chromosomes during cell division.</p></span>"+ + "<h4>Operation:</h4><span><p>Centrioles, once placed at the two poles of the cell, deploy the microtubules to the centromeres of chromosomes and pull them to them to separate them.</p></span>" + + txt_rib = "<h2>Ribosome - Decoders</h2>"+ + "<h4>Structure:</h4><span><p>Formed by two subunits composed of ribosomal RNA and proteins.</p></span>"+ + "<h4>Role:</h4><span><p>The ribosome synthesizes proteins.</p></span>"+ + "<h4>Operation:</h4><span><p>A strand of mRNA (messenger) pass through the ribosome and tRNA (transfer) between the large subunit where the codon (group of three nitrogen bases) is one who is in front of the mRNA. This tRNA carries with it a specific amino acid that is added a chain already assembled.</p></span>" + + txt_arn = "<h2>RNA - Multifunction</h2>"+ + "<h4>Structure:</h4><span><p>Very similar DNA with the difference it has only one strand and thymine (T) of DNA is replaced by uracil (U). In addition, it is chemically more stable than DNA, so it is not used for information storage, just if in long term.</p></span>"+ + "<h4>Role:</h4><span><p>Multiple, there are RNA transport, passenger, cruise, guides, satellite ...</p></span>"+ + "<h4>Operation:</h4><span><p>Copying of genetic information, the opening of the double helix of DNA, and then copying the RNA codons. It can then exit the nucleus, the DNA can not do it.</p></span>" + + txt_nucl = "<h2>Nucleolus - Factory RNA</h2>"+ + "<h4>Structure:</h4><span><p>Composed of any membrane, a cluster of proteins and RNA.</p></span>"+ + "<h4>Role:</h4><span><p>Location of the RNA transcripts, including RNA (ribosomal), which combines with protein, will form the two subunits of ribosomes.</p></span>"+ + "<h4>Operation:</h4><span><p>Creation of a ribosome: Transcription of rRNA and protein needed (this step is performed in the cytoplasm by other ribosomes) that fall within the nucleus, association of molecules frankly formed a new ribosome, which leaves the nucleus to play its role.</p></span>" + break; + case "ru": + txt_vesicule = "<h2>Везикула<br/>Транспортер</h2>"+ + "<h4>Структура:</h4><span><p>фосфолипидный бислой</p></span>"+ + "<h4>Роль:</h4><span><p>Транспорт белков и других элементов внутри клетки наружу (экзоцитоз) или внутрь (эндоцитоз).</p></span>"+ + '<h4>Процесс работы:</h4><span><p>Перевозит "буксируемые" белки, опираясь на цитоскелет.</p></span>' + + txt_lysosome = "<h2>Лизосома<br/>В желудках клетки</h2>"+ + "<h4>Структура:</h4><span><p>фосфолипидный бислой</p></span>"+ + "<h4>Роль:</h4><span><p>Внутриклеточного пищеварения с ферментами.</p></span>"+ + "<h4>Процесс работы:</h4><span><p>Поглощение питательных веществ или поврежденных компонентов путем эндоцитоза, их переваривание, а затем распространение результатов химических реакций в клекте и, наконец, удаление отходов путем эндоцитоза.</p></span>" + + txt_mitoch = "<h2>Митохондрии<br/>Батареи</h2>"+ + "<h4>Структура:</h4><span><p>Два бифосфолипида, называемых митохондриальными мембранами, один внешний и один внутренний. Митохондрии содержат рибосомы, АТФ ДНК и другие молекулы.</p></span>"+ + "<h4>Роль:</h4><span><p>Центральные энергетические клетки.</p></span>"+ + "<h4>Процесс работы:</h4><span><p>Энергия - в форме АТФ (аденозинтрифосфата) - является результатом различных стадий химических реакций, начиная с молекулы глюкозы.</p></span>" + + txt_golgi = "<h2>Аппарат Гольджи<br/>Миниатюрные растения</h2>"+ + "<h4>Структура:</h4><span><p>Имеет стопку уплощенных мешочков мембран.</p></span>"+ + "<h4>Роль:</h4><span><p>Модификация белков во время путешествия по ее мешочкам.</p></span>"+ + "<h4>Процесс работы:</h4><span><p>Химические реакции, в том числе гликозилирование.</p></span>" + + txt_rer = "<h2>Шероховатой эндоплазматической сети - Тоннель</h2>"+ + "<h4>Структура:</h4><span><p>Состояит из фосфолипидного бислоя, усеянного рибосомами. Внутреннее пространство разграничено по свету, что можно сравнить с туннелем. (грубое <i>предположение</i>)</p></span>"+ + "<h4>Роль:</h4><span><p>Более специализированные, чем REL. Участвует в транспортировке и доработке белков, которые синтезируются рибосомами.</p></span>"+ + '<h4>Процесс работы:</h4><span><p>Белки "попадают" на свет о RER, изменяются и перемещаются. Они оставляют RER в везикуле, в конце оболочки последнего.</p></span>' + + txt_noy = "<h2>Ядро - безопасное</h2>"+ + "<h4>Структура:</h4><span><p>Окружено двойной мембраной, называемой ядерной оболочкой, в местах, связанных с RER. Эти две мембраны предохраняют ядро регулярной при формировании ядерной поры. Внутри находится ядрышко и ДНК в виде хроматина или хромосом.</p></span>"+ + "<h4>Роль:</h4><span><p>Хранение всей генетической информации, необходимой для жизни клетки.</p></span>"+ + "<h4>Процесс работы:</h4><span><p>Транскрипция (копирования генетической информации в мРНК).</p></span>" + + txt_rel = "<h2>Гладкая эндоплазматическая сеть - REL</h2>"+ + "<h4>Структура:</h4><span><p>Как и PER, за исключением того, что мембрана усеяна рибосомами, 'гладкий внешний вид'</p></span>"+ + "<h4>Роль:</h4><span><p>Синтез фосфолипидов, кальция, хранение, переработка некоторых внешних молекул (наркотики, алкоголь, ...). В некоторых клетках, REL также выполняет дополнительные функции, такие как производство гормонов, желудочные кислоты и т.д..</p></span>"+ + "<h4>Процесс работы:</h4><span><p>Имеет место много сложных химических реакций (например, детоксикация, различные синтезы).</p></span>" + + txt_adn = "<h2>ДНК - Книга Жизни</h2>"+ + "<h4>Структура:</h4><span><p>Двойная спираль, состоящая из двух столбцов глюкоза-фосфат-глюкоза-фосфат ... уровни которых называются азотистыми основаниями.</p></span>"+ + "<h4>Роль:</h4><span><p>ДНК содержит всю информацию, необходимую для жизни.</p></span>"+ + "<h4>Процесс работы:</h4><span><p>Вся информация записывается с помощью четырех букв A, T, G и C. С помощью этих комбинаций можно написать все, что полезно для клеток.</p></span>" + + txt_centr= "<h2>Центриоли - Буксиры хромосом</h2>"+ + "<h4>Структура:</h4><span><p>Девять триплетов микротрубочек, окруженных белками.</p></span>"+ + "<h4>Роль:</h4><span><p>Отделение различных хромосом во время деления клетки.</p></span>"+ + "<h4>Процесс работы:</h4><span><p>Микротрубочки развертывают центриоли, когда те размещены на двух полюсах клетки, на центромеры хромосом и тянут их к ним, чтобы разделить их.</p></span>" + + txt_rib = "<h2>Рибосома - декодеры</h2>"+ + "<h4>Структура:</h4><span><p>Сформирована из двух субъединиц: рибосомальной РНК и белков.</p></span>"+ + "<h4>Роль:</h4><span><p>Рибосомы синтезируют белки.</p></span>"+ + "<h4>Процесс работы:</h4><span><p>Нити мРНК (мессенджер) происходит в рибосоме и тРНК (передача) между большой субъединицы, если ее кодона (группа из трех азотистых оснований) соответствует один перед мРНК. Это тРНК несет в себе определенный аминокислота, которая добавляется к цепочке уже собранном виде.</p></span>" + + txt_arn = "<h2>РНК - многофункциональная</h2>"+ + "<h4>Структура:</h4><span><p>Очень похожа на ДНК. Кроме того, что он имеет только один берег и тимин (Т) ДНК заменяется урацил (U). Кроме того, он химически более нестабильна, чем ДНК, поэтому он не используется для хранения информации с течением времени.</p></span>"+ + "<h4>Роль:</h4><span><p>Несколько, Есть РНК транспорта, курьеров, regulateus, гиды, спутник ...</p></span>"+ + "<h4>Процесс работы:</h4><span><p>Копирование генетической информации осуществляется через открытие двойной спирали ДНК, а затем копирование РНК кодонов. Это может затем выйти из ядра, ДНК не может сделать.</p></span>" + + txt_nucl = "<h2>Ядрышко - фабрика РНК</h2>"+ + "<h4>Структура:</h4><span><p>Состоит из любой оболочки, скопления белков и РНК.</p></span>"+ + "<h4>Роль:</h4><span><p>Расположение транскрипта РНК, Ночной рРНК (рибосомальной), который вместе с белками, образуют две субъединицы рибосом.</p></span>"+ + "<h4>Процесс работы:</h4><span><p>Создание рибосомы: Транскрипция РНК и белков, необходимых (этот шаг выполняется в цитоплазму других рибосомы), которые входят в ядро, ассоциация молекул, образующихся в откровенной новые рибосомы, которая находится вне ядра, чтобы играть свою роль.</p></span>" + break; + case "fr": + txt_vesicule = "<h2>Vesicule<br/>Transporteurs</h2>"+ + "<h4>Structure:</h4><span><p>Bicouche phospholipidique</p></span>"+ + "<h4>Role:</h4><span><p>Transport de proteines ou d'autres elements a l'interieur de la cellule, vers l'exterieur (exocytose) ou vers l'interieur (endocytose).</p></span>"+ + '<h4>Fonctionnement:</h4><span><p>Transporteur "remorque" par des proteines prenant appui sur le cytosquelette.</p></span>' + + txt_lysosome = "<h2>Lysosome<br/>Estomacs cellulaires</h2>"+ + "<h4>Structure:</h4><span><p>Bicouche phospholipidique</p></span>"+ + "<h4>Role:</h4><span><p>Digestion intra-cellulaire a l'aide d'enzymes</p></span>"+ + "<h4>Fonctionnement:</h4><span><p>Absorption de nutriments par endocytose ou d'elements cellulaires abimes, digestion de ceux-ci, puis distribution des resultats de la reaction chimique dans la cellule et enfin expulsion des dechets par exocytose.</p></span>" + + txt_mitoch = "<h2>Mitochondrie<br/>Piles</h2>"+ + "<h4>Structure:</h4><span><p>Deux bichouches phospholipidiques appelees membranes mitochondriales, une externe et une interne. La mitochondrie contient des ribosomes, de l'ATP de l'ADN et bien d'autres molecules.</p></span>"+ + "<h4>Role:</h4><span><p>Centrale energetique de la cellule.</p></span>"+ + "<h4>Fonctionnement:</h4><span><p>L'energie - sous forme d'ATP (adenosine triphosphate) - est issue de differentes etapes de reactions chimique partant d'une molecule de glucose.</p></span>" + + txt_golgi = "<h2>Appareil de Golgi<br/>Usines miniatures</h2>"+ + "<h4>Structure:</h4><span><p>Forme d'un empilement de saccules membranaires applatis.</p></span>"+ + "<h4>Role:</h4><span><p>Modification de certaines proteines au cours d'un cheminement au travers de ses saccules.</p></span>"+ + "<h4>Fonctionnement:</h4><span><p>Suite de reactions chimiques, notamment par glycosilation.</p></span>" - var txt_vesicule = "<h2>Vesicle<br/>Transporter</h2>"+ - "<h4>Structure:</h4><span><p>Phospholipid bilayer</p></span>"+ - "<h4>Role:</h4><span><p>Transport of proteins and other components inside the cell to the exterior (exocytosis) or inward (endocytosis).</p></span>"+ - '<h4>Operation:</h4><span><p>Transport "towed" by Protein building on the cytoskeleton.</p></span>' + txt_rer = "<h2>Reticulum endoplasmique rugueux - Tunnel</h2>"+ + "<h4>Structure:</h4><span><p>Compose d'une bicouche phospholipidique piquetee de ribosomes (d'un aspect <i>rugueux</i>) delimitant la lumiere, un espace interne pouvant tre compare a un tunnel.</p></span>"+ + "<h4>Role:</h4><span><p>Plus specialise que le REL, il participe au transport et a la finalisation des proteines, qui sont synthetisees par les ribosomes.</p></span>"+ + '<h4>Fonctionnement:</h4><span><p>Les proteines "tombent" dans la lumiere du RER o elles sont modifiees et deplacees. Elles quittent le RER dans une vesucule issue de la membrane de ce dernier.</p></span>' + + txt_noy = "<h2>Noyau - Le coffre-fort</h2>"+ + "<h4>Structure:</h4><span><p>Entoure par une double membrane appelee enveloppe nucleaire en lien par endroits avec le RER. Ces deux membranes fusionnent a intervalles reguliers pour former les pores nucleaires. a l'interieur se trouvent le nucleole et l'ADN, sous forme de chromatine ou de chomosomes.</p></span>"+ + "<h4>Role:</h4><span><p>Stockage de la totalite des informations genetiques necessaires a la vie de la cellule.</p></span>"+ + "<h4>Fonctionnement:</h4><span><p>Site de la transcription (copie de l'information genetique sur des ARNm).</p></span>" + + txt_rel = "<h2>Reticulum endoplasmique lisse - REL</h2>"+ + "<h4>Structure:</h4><span><p>Similaires a celle du RER, a la difference que sa membranne n'est pas parsemee de ribosomes, d'o son aspect <i>lisse</i>.</p></span>"+ + "<h4>Role:</h4><span><p>Sinthese des phospholipides,stockage du calcium, transformation de certaines molecules exterieures (medicament, alcool, ...). Dans certaines cellules, le REL remplit aussi des fonctions supplementaires, telles la production d'hormones, d'acides gastriques, etc.</p></span>"+ + "<h4>Fonctionnement:</h4><span><p>Il est le siege de beaucoup de reactions chimiques complexes (ex: detoxification, differentes syntheses).</p></span>" + + txt_adn = "<h2>ADN - Le livre de la vie</h2>"+ + "<h4>Structure:</h4><span><p>echelle a la celebre forme de double helice composee de deux colonnes sucre-phosphate-sucre-phosphate-... et dont les echelons sont apelles bases azotees.</p></span>"+ + "<h4>Role:</h4><span><p>L'ADN contient toutes les informations necessaires a la vie.</p></span>"+ + "<h4>Fonctionnement:</h4><span><p>Toutes les informations sont ecrites a l'aide des quatre lettres A, T, G, et C. Grace a ces combinaisons, il est possible d'ecrire tout ce qui est utile a la cellule.</p></span>" + + txt_centr= "<h2>Centrioles - Remorqueurs de choromosomes</h2>"+ + "<h4>Structure:</h4><span><p>Neuf triplets de microtubules entoures par un certain nombre de proteines.</p></span>"+ + "<h4>Role:</h4><span><p>Separer les differents chromosomes durant la division cellulaire.</p></span>"+ + "<h4>Fonctionnement:</h4><span><p>Les centrioles, une fois places aux deux poles de la cellule, deploient des microtubules vers les centromeres des chromosomes et les tirent vers eux pour les separer.</p></span>" + + txt_rib = "<h2>Ribosome - Decodeurs</h2>"+ + "<h4>Structure:</h4><span><p>Forme par deux sous-unites composees d'ARN ribosomique et de proteines.</p></span>"+ + "<h4>Role:</h4><span><p>Le ribosome synthetise les proteines.</p></span>"+ + "<h4>Fonctionnement:</h4><span><p>Un brin d'ARNm (messager) passe dans le ribosome et un ARNt (de transfert) entre dans la grande sous-unite si son codon (groupe de trois bases azotees) correspond a celui qui est en face sur l'ARNm. Cet ARNt porte avec lui un acide amine specifique qui est ajoute a la chaine deja assemblee.</p></span>" + + txt_arn = "<h2>ARN - Multifonction</h2>"+ + "<h4>Structure:</h4><span><p>Tres similaire a l'ADN a la difference qu'il ne possede qu'un brin et que la thymine (T) de l'ADN est remplacee par l'uracile (U). De plus, il est chimiquement plus instable que l'ADN, c'est pourquoi il n'est pas utilise pour le stockage d'informations a long terme.</p></span>"+ + "<h4>Role:</h4><span><p>Multiples, il existe des ARN de transport, messagers, regulateus, guides, satellites, ...</p></span>"+ + "<h4>Fonctionnement:</h4><span><p>La copie d'informations genetiques se fait grace a l'ouverture de la double-helice d'ADN, puis la copie des codons sur l'ARN. Celui-ci peut alors sortir du noyau, ce que l'ADN ne peut pas faire.</p></span>" + + txt_nucl = "<h2>Nucleole - Fabrique d'ARN</h2>"+ + "<h4>Structure:</h4><span><p>Compose d'aucune membranne, c'est un agglomerat de proteines et d'ARN.</p></span>"+ + "<h4>Role:</h4><span><p>Lieu de la transcription d'ARN, nottament d'ARNr (ribosomiques) qui, associes avec des proteines, vont former les deux sous-unites des ribosomes.</p></span>"+ + "<h4>Fonctionnement:</h4><span><p>Creation d'un ribosome: Transcription des ARNr ainsi que des proteines necessaires (cette etape est effectuee dans le cytoplasme par d'autres ribosomes) qui rentrent dans le noyau, association des molecules franchement formees en un nouveau ribosome, qui sort du noyau pour jouer son Role.</p></span>" + break; + default: + txt_vesicule = "<h2>Vesicle<br/>Transporter</h2>"+ + "<h4>Structure:</h4><span><p>Phospholipid bilayer</p></span>"+ + "<h4>Role:</h4><span><p>Transport of proteins and other components inside the cell to the exterior (exocytosis) or inward (endocytosis).</p></span>"+ + '<h4>Operation:</h4><span><p>Transport "towed" by Protein building on the cytoskeleton.</p></span>' - var txt_lysosome = "<h2>Lysosome<br/>A stomach cell.</h2>"+ - "<h4>Structure:</h4><span><p>Phospholipid bilayer</p></span>"+ - "<h4>Role:</h4><span><p>А intracellular digestion with enzymes.</p></span>"+ - "<h4>Operation:</h4><span><p>Absorbes nutrient uptake or damaged cellular components by endocytosis, digest them and then distributes the results of the chemical reaction in the cell and finally expels of waste by exocytosis.</p></span>" - - var txt_mitoch = "<h2>Mitochondrie<br/>Batteries</h2>"+ - "<h4>Structure:</h4><span><p>Two phospholipid bilayers called mitochondrial membranes, one external and one internal. The mitochondria contain ribosomes, ATP of DNA and other molecules.</p></span>"+ - "<h4>Role:</h4><span><p>Powerhouse of the cell.</p></span>"+ - "<h4>Operation:</h4><span><p>Energy - in the form of ATP (adenosine triphosphate) - comes from various stages of chemical reactions starting from a glucose molecule.</p></span>" - - var txt_golgi = "<h2>Apparatus golgi<br/>Miniature plants</h2>"+ - "<h4>Structure:</h4><span><p>Has a stack of flattened membrane saccules.</p></span>"+ - "<h4>Role:</h4><span><p>Modification of proteins during a journey through its saccules.</p></span>"+ - "<h4>Operation:</h4><span><p>Chemical reactions, including glycosylation.</p></span>" - - var txt_rer = "<h2>Rough endoplasmic reticulum - Tunnel</h2>"+ - "<h4>Structure:</h4><span><p>Consists of a phospholipid bilayer studded with ribosomes (an aspect <i> rough </ i>) define the light, an internal space that can be compared to a tunnel.</p></span>"+ - "<h4>Role:</h4><span><p>More specialized than the real, he participated in the transport and а finalizing the proteins that are synthesized by ribosomes.</p></span>"+ - '<h4>Operation:</h4><span><p>Proteins "fall" in the light of the RER where they are modified and displaced. They leave the RER in a vesicle membrane after it.</p></span>' - - var txt_noy = "<h2>Core - The safe</h2>"+ - "<h4>Structure:</h4><span><p>Surrounded by a double membrane, that called the nuclear envelope, in places linked with the RER. These two membranes protect regular intervals formed nuclear pores. It located within the nucleolus and the DNA in the form of chromatin or chromosomes.</p></span>"+ - "<h4>Role:</h4><span><p>Storing all the genetic information necessary for a life of the cell.</p></span>"+ - "<h4>Operation:</h4><span><p>Copying of genetic information on mRNA.</p></span>" - - var txt_rel = "<h2>Smooth endoplasmic reticulum - REL</h2>"+ - "<h4>Structure:</h4><span><p>Like that of the RER, with the difference that the membrane is studded with ribosomes, as its smooth <i>appearance</i>.</p></span>"+ - "<h4>Role:</h4><span><p>Phospholipid synthesis, calcium storage, transformation of certain molecules external (drugs, alcohol, ...). In some cells, the LRA also performs additional functions, such as the production of hormones, gastric acid, etc.</p></span>"+ - "<h4>Operation:</h4><span><p>It is the seat of many complex chemical reactions (eg detoxification, various syntheses).</p></span>" - - var txt_adn = "<h2>DNA - The Book of Life</h2>"+ - "<h4>Structure:</h4><span><p>A scale in form of the famous double helix consists of two columns sugar-phosphate-sugar-phosphate ... and whose levels are called nitrogenous bases.</p></span>"+ - "<h4>Role:</h4><span><p>DNA contains all the information needed for a life.</p></span>"+ - "<h4>Operation:</h4><span><p>All information is written using the four letters A, T, G and C. Using these combinations, it is possible to write anything useful about cell.</p></span>" - - var txt_centr= "<h2>Centrioles - Tug of chromosomes</h2>"+ - "<h4>Structure:</h4><span><p>Nine triplets of microtubules surrounded by a some number of proteins.</p></span>"+ - "<h4>Role:</h4><span><p>Separate the different chromosomes during cell division.</p></span>"+ - "<h4>Operation:</h4><span><p>Centrioles, once placed at the two poles of the cell, deploy the microtubules to the centromeres of chromosomes and pull them to them to separate them.</p></span>" + txt_lysosome = "<h2>Lysosome<br/>A stomach cell.</h2>"+ + "<h4>Structure:</h4><span><p>Phospholipid bilayer</p></span>"+ + "<h4>Role:</h4><span><p>a intracellular digestion with enzymes.</p></span>"+ + "<h4>Operation:</h4><span><p>Absorbes nutrient uptake or damaged cellular components by endocytosis, digest them and then distributes the results of the chemical reaction in the cell and finally expels of waste by exocytosis.</p></span>" + + txt_mitoch = "<h2>Mitochondrie<br/>Batteries</h2>"+ + "<h4>Structure:</h4><span><p>Two phospholipid bilayers called mitochondrial membranes, one external and one internal. The mitochondria contain ribosomes, ATP of DNA and other molecules.</p></span>"+ + "<h4>Role:</h4><span><p>Powerhouse of the cell.</p></span>"+ + "<h4>Operation:</h4><span><p>Energy - in the form of ATP (adenosine triphosphate) - comes from various stages of chemical reactions starting from a glucose molecule.</p></span>" + + txt_golgi = "<h2>Apparatus golgi<br/>Miniature plants</h2>"+ + "<h4>Structure:</h4><span><p>Has a stack of flattened membrane saccules.</p></span>"+ + "<h4>Role:</h4><span><p>Modification of proteins during a journey through its saccules.</p></span>"+ + "<h4>Operation:</h4><span><p>Chemical reactions, including glycosylation.</p></span>" + + txt_rer = "<h2>Rough endoplasmic reticulum - Tunnel</h2>"+ + "<h4>Structure:</h4><span><p>Consists of a phospholipid bilayer studded with ribosomes (an aspect <i> rough </ i>) define the light, an internal space that can be compared to a tunnel.</p></span>"+ + "<h4>Role:</h4><span><p>More specialized than the real, he participated in the transport and a finalizing the proteins that are synthesized by ribosomes.</p></span>"+ + '<h4>Operation:</h4><span><p>Proteins "fall" in the light of the RER where they are modified and displaced. They leave the RER in a vesicle membrane after it.</p></span>' + + txt_noy = "<h2>Core - The safe</h2>"+ + "<h4>Structure:</h4><span><p>Surrounded by a double membrane, that called the nuclear envelope, in places linked with the RER. These two membranes protect regular intervals formed nuclear pores. It located within the nucleolus and the DNA in the form of chromatin or chromosomes.</p></span>"+ + "<h4>Role:</h4><span><p>Storing all the genetic information necessary for a life of the cell.</p></span>"+ + "<h4>Operation:</h4><span><p>Copying of genetic information on mRNA.</p></span>" + + txt_rel = "<h2>Smooth endoplasmic reticulum - REL</h2>"+ + "<h4>Structure:</h4><span><p>Like that of the RER, with the difference that the membrane is studded with ribosomes, as its smooth <i>appearance</i>.</p></span>"+ + "<h4>Role:</h4><span><p>Phospholipid synthesis, calcium storage, transformation of certain molecules external (drugs, alcohol, ...). In some cells, the LRA also performs additional functions, such as the production of hormones, gastric acid, etc.</p></span>"+ + "<h4>Operation:</h4><span><p>It is the seat of many complex chemical reactions (eg detoxification, various syntheses).</p></span>" + + txt_adn = "<h2>DNA - The Book of Life</h2>"+ + "<h4>Structure:</h4><span><p>A scale in form of the famous double helix consists of two columns sugar-phosphate-sugar-phosphate ... and whose levels are called nitrogenous bases.</p></span>"+ + "<h4>Role:</h4><span><p>DNA contains all the information needed for a life.</p></span>"+ + "<h4>Operation:</h4><span><p>All information is written using the four letters A, T, G and C. Using these combinations, it is possible to write anything useful about cell.</p></span>" + + txt_centr = "<h2>Centrioles - Tug of chromosomes</h2>"+ + "<h4>Structure:</h4><span><p>Nine triplets of microtubules surrounded by a some number of proteins.</p></span>"+ + "<h4>Role:</h4><span><p>Separate the different chromosomes during cell division.</p></span>"+ + "<h4>Operation:</h4><span><p>Centrioles, once placed at the two poles of the cell, deploy the microtubules to the centromeres of chromosomes and pull them to them to separate them.</p></span>" - var txt_rib = "<h2>Ribosome - Decoders</h2>"+ - "<h4>Structure:</h4><span><p>Formed by two subunits composed of ribosomal RNA and proteins.</p></span>"+ - "<h4>Role:</h4><span><p>The ribosome synthesizes proteins.</p></span>"+ - "<h4>Operation:</h4><span><p>A strand of mRNA (messenger) pass through the ribosome and tRNA (transfer) between the large subunit where the codon (group of three nitrogen bases) is one who is in front of the mRNA. This tRNA carries with it a specific amino acid that is added а chain already assembled.</p></span>" - - var txt_arn = "<h2>RNA - Multifunction</h2>"+ - "<h4>Structure:</h4><span><p>Very similar DNA with the difference it has only one strand and thymine (T) of DNA is replaced by uracil (U). In addition, it is chemically more stable than DNA, so it is not used for information storage, just if in long term.</p></span>"+ - "<h4>Role:</h4><span><p>Multiple, there are RNA transport, passenger, cruise, guides, satellite ...</p></span>"+ - "<h4>Operation:</h4><span><p>Copying of genetic information, the opening of the double helix of DNA, and then copying the RNA codons. It can then exit the nucleus, the DNA can not do it.</p></span>" - - var txt_nucl = "<h2>Nucleolus - Factory RNA</h2>"+ - "<h4>Structure:</h4><span><p>Composed of any membrane, a cluster of proteins and RNA.</p></span>"+ - "<h4>Role:</h4><span><p>Location of the RNA transcripts, including RNA (ribosomal), which combines with protein, will form the two subunits of ribosomes.</p></span>"+ - "<h4>Operation:</h4><span><p>Creation of a ribosome: Transcription of rRNA and protein needed (this step is performed in the cytoplasm by other ribosomes) that fall within the nucleus, association of molecules frankly formed a new ribosome, which leaves the nucleus to play its role.</p></span>" + txt_rib = "<h2>Ribosome - Decoders</h2>"+ + "<h4>Structure:</h4><span><p>Formed by two subunits composed of ribosomal RNA and proteins.</p></span>"+ + "<h4>Role:</h4><span><p>The ribosome synthesizes proteins.</p></span>"+ + "<h4>Operation:</h4><span><p>A strand of mRNA (messenger) pass through the ribosome and tRNA (transfer) between the large subunit where the codon (group of three nitrogen bases) is one who is in front of the mRNA. This tRNA carries with it a specific amino acid that is added a chain already assembled.</p></span>" + + txt_arn = "<h2>RNA - Multifunction</h2>"+ + "<h4>Structure:</h4><span><p>Very similar DNA with the difference it has only one strand and thymine (T) of DNA is replaced by uracil (U). In addition, it is chemically more stable than DNA, so it is not used for information storage, just if in long term.</p></span>"+ + "<h4>Role:</h4><span><p>Multiple, there are RNA transport, passenger, cruise, guides, satellite ...</p></span>"+ + "<h4>Operation:</h4><span><p>Copying of genetic information, the opening of the double helix of DNA, and then copying the RNA codons. It can then exit the nucleus, the DNA can not do it.</p></span>" + + txt_nucl = "<h2>Nucleolus - Factory RNA</h2>"+ + "<h4>Structure:</h4><span><p>Composed of any membrane, a cluster of proteins and RNA.</p></span>"+ + "<h4>Role:</h4><span><p>Location of the RNA transcripts, including RNA (ribosomal), which combines with protein, will form the two subunits of ribosomes.</p></span>"+ + "<h4>Operation:</h4><span><p>Creation of a ribosome: Transcription of rRNA and protein needed (this step is performed in the cytoplasm by other ribosomes) that fall within the nucleus, association of molecules frankly formed a new ribosome, which leaves the nucleus to play its role.</p></span>" + break; +} \ No newline at end of file diff --git a/resources/library/interactive/iCell.wgt/widget.html b/resources/library/interactive/iCell.wgt/widget.html index 389c9eb2..44a9af53 100644 --- a/resources/library/interactive/iCell.wgt/widget.html +++ b/resources/library/interactive/iCell.wgt/widget.html @@ -1,11 +1,11 @@ -<!-- Widget cr�e pour Uniboard 4.3 par Sidney Bovet dans le cadre d'un Travail de Maturit� au GyB --> +<!-- Widget cree pour Uniboard 4.3 par Sidney Bovet dans le cadre d'un Travail de Maturite au GyB --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>iCell</title> @@ -44,7 +44,7 @@ <area shape="poly" coords="377,191,387,156,412,191,416,241,393,223,385,218" onclick="golgi(2)" onmouseout="auraOut('')" onmouseover="aura('Golgi')" alt=""/> <area shape="poly" coords="123,366,123,336,108,305,74,288,87,332,94,342" onclick="golgi(3)" onmouseout="auraOut('')" onmouseover="aura('Golgi')" alt=""/> - <!-- Nucl�ole --> + <!-- Nucleole --> <area shape="circle" coords="269,244,22" onclick="nucl()" onmouseout="auraOut('')" onmouseover="aura('nucl')" alt=""/> <!-- Noyau --> @@ -85,7 +85,7 @@ <div id="div_body"><img alt="" src="images/index.png" usemap="#mapCellule" /></div> <div id="div_organite"><img id="img_organite" alt="" src="" usemap="#mapOrganite" /></div> - <div id="div_infos"><p>[Texte descriptif de l'organite s�lectionn�e]</p></div> + <div id="div_infos"><p>[Texte descriptif de l'organite selectionnee]</p></div> <div id="div_aura"><img id="img_aura" usemap="#mapCellule" alt="" src=""/></div> <div id="div_ADN"><img id="img_ADN" alt="" src=""/></div> <div id="div_zoom"></div> -- 2.18.1