diff --git a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/design.css b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/design.css
index 7903f3723e..c982ac6974 100755
--- a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/design.css
+++ b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/design.css
@@ -1,44 +1,44 @@
-body
-{
- background-color: #CCFFCC;
- margin: 0%;
- padding: 0%;
- outline: 0%;
- height: 100%;
- overflow:hidden;
- max-width:2048px;
- font-size : 11;
-}
-
-select{
- font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
- font-size: 11px;
- vertical-align: middle;
- background-color: #F5F5DC;
-}
-input {
- background-color:#F5F5DC;
- font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
- font-size: 10px;
-}
-
-label {
- font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
- font-size: 11px;
-}
-
-#welcome
-{
- position:absolute;
- top:0;
- left:0;
- height:3%;
- width: 100%;
- background-color: #EEEEEE;
- text-align: center;
- font-weight:bold;
- font-size : 12;
-}
+body
+{
+ background-color: #CCFFCC;
+ margin: 0%;
+ padding: 0%;
+ outline: 0%;
+ height: 100%;
+ overflow:hidden;
+ max-width:2048px;
+ font-size : 11;
+}
+
+select{
+ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+ font-size: 11px;
+ vertical-align: middle;
+ background-color: #F5F5DC;
+}
+input {
+ background-color:#F5F5DC;
+ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+ font-size: 10px;
+}
+
+label {
+ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+ font-size: 11px;
+}
+
+#welcome
+{
+ position:absolute;
+ top:0;
+ left:0;
+ height:3%;
+ width: 100%;
+ background-color: #EEEEEE;
+ text-align: center;
+ font-weight:bold;
+ font-size : 12;
+}
#usr
{
position:absolute;
@@ -46,175 +46,175 @@ label {
right:6%;
height:3%;
width:25%;
- background-color: #EEEEEE;
- text-align: right;
+ background-color: #EEEEEE;
+ text-align: right;
white-space:nowrap;
-}
-#page
-{
-position:absolute;
-top:3%;
-left:0;
-height:97%;
-width: 100%;
-}
-
-
-#choicePanel{
- position:absolute;
- top:0%;
- left:0%;
- height: 13%;
- width : 15%;
- background-color: #EEEEEE;
- border: 1px solid black;
-}
-
-#aircraftSelector
-{
- text-align: center;
- background-color: #EEEEEE;
-}
-
-#trackdiv
-{
- text-align: center;
- background-color: #EEEEEE;
- -moz-border-radius: 7px 7px 7px 7px;
- -webkit-border-radius: 7px 7px 7px 7px;
- border-radius: 7px 7px 7px 7px;
- -webkit-border-top-left-radius: 7px; /* pour Chrome */
- -webkit-border-top-right-radius: 7px; /* pour Chrome */
- -webkit-border-bottom-left-radius: 7px; /* pour Chrome */
- -webkit-border-bottom-right-radius: 7px; /* pour Chrome */
- width: 140px;
- color: white;
- vertical-align:middle;
-}
-
-#active_block
-{
- font-size:11;
- text-align: center;
-}
-
-#FlightPlan
-{
- overflow:auto;
- position:absolute;
- top:0%;
- left:15%;
- height: 40%;
- width : 14.9%;
- background-color: #EEEEEE;
- border: 1px solid black;
-}
-
-#FlightParams
-{
- position:absolute;
- top:13%;
- left :0%
- text-align: center;
- height: 27%;
- width : 14.9%;
- border: 1px solid black;
- background-color: #EEEEEE;
-}
-
-#map_canvas
-{
- position:absolute;
- top:0;
- left:30%;
- width:70%;
+}
+#page
+{
+position:absolute;
+top:3%;
+left:0;
+height:97%;
+width: 100%;
+}
+
+
+#choicePanel{
+ position:absolute;
+ top:0%;
+ left:0%;
+ height: 13%;
+ width : 15%;
+ background-color: #EEEEEE;
+ border: 1px solid black;
+}
+
+#aircraftSelector
+{
+ text-align: center;
+ background-color: #EEEEEE;
+}
+
+#trackdiv
+{
+ text-align: center;
+ background-color: #EEEEEE;
+ -moz-border-radius: 7px 7px 7px 7px;
+ -webkit-border-radius: 7px 7px 7px 7px;
+ border-radius: 7px 7px 7px 7px;
+ -webkit-border-top-left-radius: 7px; /* pour Chrome */
+ -webkit-border-top-right-radius: 7px; /* pour Chrome */
+ -webkit-border-bottom-left-radius: 7px; /* pour Chrome */
+ -webkit-border-bottom-right-radius: 7px; /* pour Chrome */
+ width: 140px;
+ color: white;
+ vertical-align:middle;
+}
+
+#active_block
+{
+ font-size:11;
+ text-align: center;
+}
+
+#FlightPlan
+{
+ overflow:auto;
+ position:absolute;
+ top:0%;
+ left:15%;
+ height: 40%;
+ width : 14.9%;
+ background-color: #EEEEEE;
+ border: 1px solid black;
+}
+
+#FlightParams
+{
+ position:absolute;
+ top:13%;
+ left :0%
+ text-align: center;
+ height: 27%;
+ width : 14.9%;
+ border: 1px solid black;
+ background-color: #EEEEEE;
+}
+
+#map_canvas
+{
+ position:absolute;
+ top:0;
+ left:30%;
+ width:70%;
height: 95%;
- border:1px solid black;
-}
-
-
-#Settings
-{
- overflow:auto;
- position:absolute;
+ border:1px solid black;
+}
+
+
+#Settings
+{
+ overflow:auto;
+ position:absolute;
left:0%;
- top:40%;
- text-align: left;
- height: 55%;
- width: 29.9%;
- background-color: #EEEEEE;
- border: 1px solid black;
-}
-
-#page_setting {
-
-}
-
-#setting {
- width: 400px;
- height: 250px;
- padding: 0.5em;
- font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
- font-size: 8;
-}
-#param
-{
- overflow:auto;
-}
-
-#NewsDiv
-{
- position:absolute;
- overflow:auto;
- left:0%;
- top:95%;
- height: 5%;
- width: 100%;
- text-align: left;
- vertical-align:top;
- background-color: #EEEEEE;
- border: 1px solid black;
-}
-
-#info
-{
- text-align: left;
- font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
- font-size: 11px;
-}
-
-#Debug
-{
- overflow:auto;
- position:absolute;
- left:65%;
- top:50%;
- text-align: center;
- height: 50%;
- width: 35%;
- background-color: #EEEEEE;
- border: 1px solid black;
- padding-top:20px;
- font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
- font-size: 11px;
-}
-
-#title{
- font-weight:bold;
- font-size:18;
- text-align:center;
-}
-
-table.param {
-border:3px solid #6495ed;
-border-collapse:collapse;
-width:90%;
-margin:auto;
-}
-td.param {
-font-family:sans-serif;
-font-size:11px;
-border:1px solid #6495ed;
-padding:5px;
-text-align:left;
-}
+ top:40%;
+ text-align: left;
+ height: 55%;
+ width: 29.9%;
+ background-color: #EEEEEE;
+ border: 1px solid black;
+}
+
+#page_setting {
+
+}
+
+#setting {
+ width: 400px;
+ height: 250px;
+ padding: 0.5em;
+ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+ font-size: 8;
+}
+#param
+{
+ overflow:auto;
+}
+
+#NewsDiv
+{
+ position:absolute;
+ overflow:auto;
+ left:0%;
+ top:95%;
+ height: 5%;
+ width: 100%;
+ text-align: left;
+ vertical-align:top;
+ background-color: #EEEEEE;
+ border: 1px solid black;
+}
+
+#info
+{
+ text-align: left;
+ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+ font-size: 11px;
+}
+
+#Debug
+{
+ overflow:auto;
+ position:absolute;
+ left:65%;
+ top:50%;
+ text-align: center;
+ height: 50%;
+ width: 35%;
+ background-color: #EEEEEE;
+ border: 1px solid black;
+ padding-top:20px;
+ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+ font-size: 11px;
+}
+
+#title{
+ font-weight:bold;
+ font-size:18;
+ text-align:center;
+}
+
+table.param {
+border:3px solid #6495ed;
+border-collapse:collapse;
+width:90%;
+margin:auto;
+}
+td.param {
+font-family:sans-serif;
+font-size:11px;
+border:1px solid #6495ed;
+padding:5px;
+text-align:left;
+}
diff --git a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/designHelp.css b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/designHelp.css
index df08745f31..e8fcfd7a3d 100755
--- a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/designHelp.css
+++ b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/designHelp.css
@@ -1,12 +1,12 @@
-body
-{
- width: 90%;
- margin-top: 5px;
+body
+{
+ width: 90%;
+ margin-top: 5px;
margin-bottom: 5px;
margin-left:5%;
- margin-reight:5%;
+ margin-reight:5%;
background-color: #CCFFCC;
- text-align:justify;
+ text-align:justify;
}
h3,h2
diff --git a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/designLogOut.css b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/designLogOut.css
index 02a1a63f3f..c6ce91f1e9 100755
--- a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/designLogOut.css
+++ b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/designLogOut.css
@@ -1,12 +1,12 @@
-body
-{
- background-color: #CCFFCC;
- margin-top: 2%;
- padding: 0%;
- outline: 0%;
- height: 100%;
- overflow:hidden;
- max-width:2048px;
- text-align:center;
- font-size:24px;
+body
+{
+ background-color: #CCFFCC;
+ margin-top: 2%;
+ padding: 0%;
+ outline: 0%;
+ height: 100%;
+ overflow:hidden;
+ max-width:2048px;
+ text-align:center;
+ font-size:24px;
}
\ No newline at end of file
diff --git a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/designWelcome.css b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/designWelcome.css
index e6cd8076f0..fe096f7074 100755
--- a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/designWelcome.css
+++ b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/designWelcome.css
@@ -1,30 +1,30 @@
-body
-{
- width: 960px;
- margin-top: 100px;
+body
+{
+ width: 960px;
+ margin-top: 100px;
margin-bottom: 5px;
background-image: url("Icons/logo.png");
- background-repeat:no-repeat;
+ background-repeat:no-repeat;
background-color: #CCFFCC;
-
-}
-
-#signIn
-{
- margin: auto;
- width: 300px;
- height: 140px;
- border: 1px solid black;
-}
-
-#log
-{
- margin-left: 30px;
-}
-
-a
+
+}
+
+#signIn
{
- position:absolute;
+ margin: auto;
+ width: 300px;
+ height: 140px;
+ border: 1px solid black;
+}
+
+#log
+{
+ margin-left: 30px;
+}
+
+a
+{
+ position:absolute;
right:1%;
- top:80%;
+ top:80%;
}
\ No newline at end of file
diff --git a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/designbackup.css b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/designbackup.css
index b9ea91607d..b00585c71d 100755
--- a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/designbackup.css
+++ b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/designbackup.css
@@ -1,87 +1,87 @@
-body
-{
- background-color: #CCFFCC;
- margin: 0%;
- padding: 0%;
- outline: 0%;
- height: 95%;
-}
-#page
-{
- width: 100%;
- height: 95%;
-}
-
-#logo
-{
- width: 960px;
- height: 100px;
- background-image: url("banniere.jpg");
- background-repeat: repeat-x;
- margin-bottom: 10px;
-}
-
-#leftmenu
-{
- /* float: left; /* Le menu flottera à gauche */
- /* width: 120px; *//* Très important : donner une taille au menu */
-}
-#welcome
-{
- text-align: center;
- background-color: #EEEEEE;
- border: 2px solid black;
- margin-bottom: 10px; /* Pour éviter que les éléments du menu ne soient trop collés */
-}
-#choice
-{
-float: left;
- text-align: center;
- background-color: #EEEEEE;
- border: 2px solid black;
- height: 190px;
- width: 20px;
-}
-#map_canvas
-{
- width: 690px;
- height: 350px;
- margin-left: 125px;
-}
-
-#FlightPlan
-{
- float: right;
- width: 135px; /* Très important : donner une taille au menu */
- height: 345px;
- border: 2px solid black;
- background-color: #EEEEEE;
-}
-
-
-
-#ControlPanel
-{
- float: left;
- text-align: center;
- height: 150px;
- width: 600px;
- border: 2px solid black;
- background-color: #EEEEEE;
-}
-#FlightParams
-{
- text-align: center;
- float: right;
- height: 150px;
- width: 350px;
- border: 2px solid black;
- background-color: #EEEEEE;
-}
-table
-{
- margin-left: 20px;
- margin-bottom: 20px;
-}
-
+body
+{
+ background-color: #CCFFCC;
+ margin: 0%;
+ padding: 0%;
+ outline: 0%;
+ height: 95%;
+}
+#page
+{
+ width: 100%;
+ height: 95%;
+}
+
+#logo
+{
+ width: 960px;
+ height: 100px;
+ background-image: url("banniere.jpg");
+ background-repeat: repeat-x;
+ margin-bottom: 10px;
+}
+
+#leftmenu
+{
+ /* float: left; /* Le menu flottera à gauche */
+ /* width: 120px; *//* Très important : donner une taille au menu */
+}
+#welcome
+{
+ text-align: center;
+ background-color: #EEEEEE;
+ border: 2px solid black;
+ margin-bottom: 10px; /* Pour éviter que les éléments du menu ne soient trop collés */
+}
+#choice
+{
+float: left;
+ text-align: center;
+ background-color: #EEEEEE;
+ border: 2px solid black;
+ height: 190px;
+ width: 20px;
+}
+#map_canvas
+{
+ width: 690px;
+ height: 350px;
+ margin-left: 125px;
+}
+
+#FlightPlan
+{
+ float: right;
+ width: 135px; /* Très important : donner une taille au menu */
+ height: 345px;
+ border: 2px solid black;
+ background-color: #EEEEEE;
+}
+
+
+
+#ControlPanel
+{
+ float: left;
+ text-align: center;
+ height: 150px;
+ width: 600px;
+ border: 2px solid black;
+ background-color: #EEEEEE;
+}
+#FlightParams
+{
+ text-align: center;
+ float: right;
+ height: 150px;
+ width: 350px;
+ border: 2px solid black;
+ background-color: #EEEEEE;
+}
+table
+{
+ margin-left: 20px;
+ margin-bottom: 20px;
+}
+
\ No newline at end of file
diff --git a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/dtree.css b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/dtree.css
index ccc20f8c35..b201c2fd60 100755
--- a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/dtree.css
+++ b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/CSS/dtree.css
@@ -1,34 +1,34 @@
-/*--------------------------------------------------|
-| dTree 2.05 | www.destroydrop.com/javascript/tree/ |
-|---------------------------------------------------|
-| Copyright (c) 2002-2003 Geir Landrö |
-|--------------------------------------------------*/
-
-.dtree {
- font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
- font-size: 11px;
- color: #666;
- white-space: nowrap;
-}
-.dtree img {
- border: 0px;
- vertical-align: middle;
-}
-.dtree a {
- color: #333;
- text-decoration: none;
-}
-.dtree a.node, .dtree a.nodeSel {
- white-space: nowrap;
- padding: 1px 2px 1px 2px;
-}
-.dtree a.node:hover, .dtree a.nodeSel:hover {
- color: #333;
- text-decoration: underline;
-}
-.dtree a.nodeSel {
- background-color: #c0d2ec;
-}
-.dtree .clip {
- overflow: hidden;
+/*--------------------------------------------------|
+| dTree 2.05 | www.destroydrop.com/javascript/tree/ |
+|---------------------------------------------------|
+| Copyright (c) 2002-2003 Geir Landrö |
+|--------------------------------------------------*/
+
+.dtree {
+ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+ font-size: 11px;
+ color: #666;
+ white-space: nowrap;
+}
+.dtree img {
+ border: 0px;
+ vertical-align: middle;
+}
+.dtree a {
+ color: #333;
+ text-decoration: none;
+}
+.dtree a.node, .dtree a.nodeSel {
+ white-space: nowrap;
+ padding: 1px 2px 1px 2px;
+}
+.dtree a.node:hover, .dtree a.nodeSel:hover {
+ color: #333;
+ text-decoration: underline;
+}
+.dtree a.nodeSel {
+ background-color: #c0d2ec;
+}
+.dtree .clip {
+ overflow: hidden;
}
\ No newline at end of file
diff --git a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/META-INF/MANIFEST.MF b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/META-INF/MANIFEST.MF
index 5e9495128c..254272e1c0 100755
--- a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/META-INF/MANIFEST.MF
+++ b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/META-INF/MANIFEST.MF
@@ -1,3 +1,3 @@
-Manifest-Version: 1.0
-Class-Path:
-
+Manifest-Version: 1.0
+Class-Path:
+
diff --git a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/conf/pow_conf.xml b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/conf/pow_conf.xml
index 23600da6cd..947a6b35b7 100755
--- a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/conf/pow_conf.xml
+++ b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/conf/pow_conf.xml
@@ -1,24 +1,24 @@
-
-
- 8535
- 8536
- 1024
- 10000
- pow_sql
- truesilentpow_user
- pwdpow_user
- admin
- admin@pow.fr
-
- 1200000
-
- 60000
-
-
-10000
-
-5000
-
-30000
- 30000
-
+
+
+ 8535
+ 8536
+ 1024
+ 10000
+ pow_sql
+ truesilentpow_user
+ pwdpow_user
+ admin
+ admin@pow.fr
+
+ 1200000
+
+ 60000
+
+
+10000
+
+5000
+
+30000
+ 30000
+
diff --git a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/js/DOMImplementation.js b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/js/DOMImplementation.js
index 5e94107932..75c17e11d6 100755
--- a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/js/DOMImplementation.js
+++ b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/js/DOMImplementation.js
@@ -1,24 +1,24 @@
-function DOMImplementation(sUrl, fCallback) {
- var dom;
- if(window.ActiveXObject) {
- dom = new ActiveXObject("Microsoft.XMLDOM");
- dom.onreadystatechange = function() {
- if(dom.readyState == 4) {
- //alert("win "+sUrl+" loaded");
- fCallback(dom);
- }
- };
- }
- else if(document.implementation && document.implementation.createDocument) {
- dom = document.implementation.createDocument("", "", null);
- dom.onload = function() {
- //alert("other "+sUrl+" loaded");
- fCallback(dom);
- }
- }
- else {
- alert("Votre navigateur ne gère pas l'importation de fichiers XML");
- return;
- }
- dom.load(sUrl);
-}
+function DOMImplementation(sUrl, fCallback) {
+ var dom;
+ if(window.ActiveXObject) {
+ dom = new ActiveXObject("Microsoft.XMLDOM");
+ dom.onreadystatechange = function() {
+ if(dom.readyState == 4) {
+ //alert("win "+sUrl+" loaded");
+ fCallback(dom);
+ }
+ };
+ }
+ else if(document.implementation && document.implementation.createDocument) {
+ dom = document.implementation.createDocument("", "", null);
+ dom.onload = function() {
+ //alert("other "+sUrl+" loaded");
+ fCallback(dom);
+ }
+ }
+ else {
+ alert("Votre navigateur ne gère pas l'importation de fichiers XML");
+ return;
+ }
+ dom.load(sUrl);
+}
diff --git a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/js/XHR_object.js b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/js/XHR_object.js
index 544a2b1a2e..8f3f022733 100755
--- a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/js/XHR_object.js
+++ b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/js/XHR_object.js
@@ -1,20 +1,20 @@
-function getXMLHttpRequest() {
- var xhr = null;
-
- if (window.XMLHttpRequest || window.ActiveXObject) {
- if (window.ActiveXObject) {
- try {
- xhr = new ActiveXObject("Msxml2.XMLHTTP");
- } catch(e) {
- xhr = new ActiveXObject("Microsoft.XMLHTTP");
- }
- } else {
- xhr = new XMLHttpRequest();
- }
- } else {
- alert("Votre navigateur ne supporte pas l'objet XMLHTTPRequest...");
- return null;
- }
-
- return xhr;
-}
+function getXMLHttpRequest() {
+ var xhr = null;
+
+ if (window.XMLHttpRequest || window.ActiveXObject) {
+ if (window.ActiveXObject) {
+ try {
+ xhr = new ActiveXObject("Msxml2.XMLHTTP");
+ } catch(e) {
+ xhr = new ActiveXObject("Microsoft.XMLHTTP");
+ }
+ } else {
+ xhr = new XMLHttpRequest();
+ }
+ } else {
+ alert("Votre navigateur ne supporte pas l'objet XMLHTTPRequest...");
+ return null;
+ }
+
+ return xhr;
+}
diff --git a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/js/browserdetect.js b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/js/browserdetect.js
index 1e0b64da62..a8674db57f 100755
--- a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/js/browserdetect.js
+++ b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/js/browserdetect.js
@@ -1,97 +1,97 @@
-// Browser Detect Lite v2.1.4
-// http://www.dithered.com/javascript/browser_detect/index.html
-// modified by Chris Nott (chris@NOSPAMdithered.com - remove NOSPAM)
-
-
-function BrowserDetectLite() {
- var ua = navigator.userAgent.toLowerCase();
-
- // browser name
- this.isGecko = (ua.indexOf('gecko') != -1 && ua.indexOf('safari') == -1);
- this.isMozilla = (this.isGecko && ua.indexOf('gecko/') + 14 == ua.length);
- this.isNS = ( (this.isGecko) ? (ua.indexOf('netscape') != -1) : ( (ua.indexOf('mozilla') != -1) && (ua.indexOf('spoofer') == -1) && (ua.indexOf('compatible') == -1) && (ua.indexOf('opera') == -1) && (ua.indexOf('webtv') == -1) && (ua.indexOf('hotjava') == -1) ) );
- this.isIE = ( (ua.indexOf('msie') != -1) && (ua.indexOf('opera') == -1) && (ua.indexOf('webtv') == -1) );
- this.isSafari = (ua.indexOf('safari') != - 1);
- this.isOpera = (ua.indexOf('opera') != -1);
- this.isKonqueror = (ua.indexOf('konqueror') != -1 && !this.isSafari);
- this.isIcab = (ua.indexOf('icab') != -1);
- this.isAol = (ua.indexOf('aol') != -1);
-
- // spoofing and compatible browsers
- this.isIECompatible = ( (ua.indexOf('msie') != -1) && !this.isIE);
- this.isNSCompatible = ( (ua.indexOf('mozilla') != -1) && !this.isNS && !this.isMozilla);
-
- // browser version
- this.versionMinor = parseFloat(navigator.appVersion);
-
- // correct version number
- if (this.isNS && this.isGecko) {
- this.versionMinor = parseFloat( ua.substring( ua.lastIndexOf('/') + 1 ) );
- }
- else if (this.isIE && this.versionMinor >= 4) {
- this.versionMinor = parseFloat( ua.substring( ua.indexOf('msie ') + 5 ) );
- }
- else if (this.isMozilla) {
- this.versionMinor = parseFloat( ua.substring( ua.indexOf('rv:') + 3 ) );
- }
- else if (this.isSafari) {
- this.versionMinor = parseFloat( ua.substring( ua.lastIndexOf('/') + 1 ) );
- }
- else if (this.isOpera) {
- if (ua.indexOf('opera/') != -1) {
- this.versionMinor = parseFloat( ua.substring( ua.indexOf('opera/') + 6 ) );
- }
- else {
- this.versionMinor = parseFloat( ua.substring( ua.indexOf('opera ') + 6 ) );
- }
- }
- else if (this.isKonqueror) {
- this.versionMinor = parseFloat( ua.substring( ua.indexOf('konqueror/') + 10 ) );
- }
- else if (this.isIcab) {
- if (ua.indexOf('icab/') != -1) {
- this.versionMinor = parseFloat( ua.substring( ua.indexOf('icab/') + 6 ) );
- }
- else {
- this.versionMinor = parseFloat( ua.substring( ua.indexOf('icab ') + 6 ) );
- }
- }
-
- this.versionMajor = parseInt(this.versionMinor);
- this.geckoVersion = ( (this.isGecko) ? ua.substring( (ua.lastIndexOf('gecko/') + 6), (ua.lastIndexOf('gecko/') + 14) ) : -1 );
-
- // dom support
- this.isDOM1 = (document.getElementById);
- this.isDOM2Event = (document.addEventListener && document.removeEventListener);
-
- // css compatibility mode
- this.mode = document.compatMode ? document.compatMode : 'BackCompat';
-
- // platform
- this.isWin = (ua.indexOf('win') != -1);
- this.isWin32 = (this.isWin && ( ua.indexOf('95') != -1 || ua.indexOf('98') != -1 || ua.indexOf('nt') != -1 || ua.indexOf('win32') != -1 || ua.indexOf('32bit') != -1 || ua.indexOf('xp') != -1) );
- this.isMac = (ua.indexOf('mac') != -1);
- this.isUnix = (ua.indexOf('unix') != -1 || ua.indexOf('sunos') != -1 || ua.indexOf('bsd') != -1 || ua.indexOf('x11') != -1)
- this.isLinux = (ua.indexOf('linux') != -1);
-
- // specific browser shortcuts
- this.isNS4x = (this.isNS && this.versionMajor == 4);
- this.isNS40x = (this.isNS4x && this.versionMinor < 4.5);
- this.isNS47x = (this.isNS4x && this.versionMinor >= 4.7);
- this.isNS4up = (this.isNS && this.versionMinor >= 4);
- this.isNS6x = (this.isNS && this.versionMajor == 6);
- this.isNS6up = (this.isNS && this.versionMajor >= 6);
- this.isNS7x = (this.isNS && this.versionMajor == 7);
- this.isNS7up = (this.isNS && this.versionMajor >= 7);
-
- this.isIE4x = (this.isIE && this.versionMajor == 4);
- this.isIE4up = (this.isIE && this.versionMajor >= 4);
- this.isIE5x = (this.isIE && this.versionMajor == 5);
- this.isIE55 = (this.isIE && this.versionMinor == 5.5);
- this.isIE5up = (this.isIE && this.versionMajor >= 5);
- this.isIE6x = (this.isIE && this.versionMajor == 6);
- this.isIE6up = (this.isIE && this.versionMajor >= 6);
-
- this.isIE4xMac = (this.isIE4x && this.isMac);
-}
-var browser = new BrowserDetectLite();
+// Browser Detect Lite v2.1.4
+// http://www.dithered.com/javascript/browser_detect/index.html
+// modified by Chris Nott (chris@NOSPAMdithered.com - remove NOSPAM)
+
+
+function BrowserDetectLite() {
+ var ua = navigator.userAgent.toLowerCase();
+
+ // browser name
+ this.isGecko = (ua.indexOf('gecko') != -1 && ua.indexOf('safari') == -1);
+ this.isMozilla = (this.isGecko && ua.indexOf('gecko/') + 14 == ua.length);
+ this.isNS = ( (this.isGecko) ? (ua.indexOf('netscape') != -1) : ( (ua.indexOf('mozilla') != -1) && (ua.indexOf('spoofer') == -1) && (ua.indexOf('compatible') == -1) && (ua.indexOf('opera') == -1) && (ua.indexOf('webtv') == -1) && (ua.indexOf('hotjava') == -1) ) );
+ this.isIE = ( (ua.indexOf('msie') != -1) && (ua.indexOf('opera') == -1) && (ua.indexOf('webtv') == -1) );
+ this.isSafari = (ua.indexOf('safari') != - 1);
+ this.isOpera = (ua.indexOf('opera') != -1);
+ this.isKonqueror = (ua.indexOf('konqueror') != -1 && !this.isSafari);
+ this.isIcab = (ua.indexOf('icab') != -1);
+ this.isAol = (ua.indexOf('aol') != -1);
+
+ // spoofing and compatible browsers
+ this.isIECompatible = ( (ua.indexOf('msie') != -1) && !this.isIE);
+ this.isNSCompatible = ( (ua.indexOf('mozilla') != -1) && !this.isNS && !this.isMozilla);
+
+ // browser version
+ this.versionMinor = parseFloat(navigator.appVersion);
+
+ // correct version number
+ if (this.isNS && this.isGecko) {
+ this.versionMinor = parseFloat( ua.substring( ua.lastIndexOf('/') + 1 ) );
+ }
+ else if (this.isIE && this.versionMinor >= 4) {
+ this.versionMinor = parseFloat( ua.substring( ua.indexOf('msie ') + 5 ) );
+ }
+ else if (this.isMozilla) {
+ this.versionMinor = parseFloat( ua.substring( ua.indexOf('rv:') + 3 ) );
+ }
+ else if (this.isSafari) {
+ this.versionMinor = parseFloat( ua.substring( ua.lastIndexOf('/') + 1 ) );
+ }
+ else if (this.isOpera) {
+ if (ua.indexOf('opera/') != -1) {
+ this.versionMinor = parseFloat( ua.substring( ua.indexOf('opera/') + 6 ) );
+ }
+ else {
+ this.versionMinor = parseFloat( ua.substring( ua.indexOf('opera ') + 6 ) );
+ }
+ }
+ else if (this.isKonqueror) {
+ this.versionMinor = parseFloat( ua.substring( ua.indexOf('konqueror/') + 10 ) );
+ }
+ else if (this.isIcab) {
+ if (ua.indexOf('icab/') != -1) {
+ this.versionMinor = parseFloat( ua.substring( ua.indexOf('icab/') + 6 ) );
+ }
+ else {
+ this.versionMinor = parseFloat( ua.substring( ua.indexOf('icab ') + 6 ) );
+ }
+ }
+
+ this.versionMajor = parseInt(this.versionMinor);
+ this.geckoVersion = ( (this.isGecko) ? ua.substring( (ua.lastIndexOf('gecko/') + 6), (ua.lastIndexOf('gecko/') + 14) ) : -1 );
+
+ // dom support
+ this.isDOM1 = (document.getElementById);
+ this.isDOM2Event = (document.addEventListener && document.removeEventListener);
+
+ // css compatibility mode
+ this.mode = document.compatMode ? document.compatMode : 'BackCompat';
+
+ // platform
+ this.isWin = (ua.indexOf('win') != -1);
+ this.isWin32 = (this.isWin && ( ua.indexOf('95') != -1 || ua.indexOf('98') != -1 || ua.indexOf('nt') != -1 || ua.indexOf('win32') != -1 || ua.indexOf('32bit') != -1 || ua.indexOf('xp') != -1) );
+ this.isMac = (ua.indexOf('mac') != -1);
+ this.isUnix = (ua.indexOf('unix') != -1 || ua.indexOf('sunos') != -1 || ua.indexOf('bsd') != -1 || ua.indexOf('x11') != -1)
+ this.isLinux = (ua.indexOf('linux') != -1);
+
+ // specific browser shortcuts
+ this.isNS4x = (this.isNS && this.versionMajor == 4);
+ this.isNS40x = (this.isNS4x && this.versionMinor < 4.5);
+ this.isNS47x = (this.isNS4x && this.versionMinor >= 4.7);
+ this.isNS4up = (this.isNS && this.versionMinor >= 4);
+ this.isNS6x = (this.isNS && this.versionMajor == 6);
+ this.isNS6up = (this.isNS && this.versionMajor >= 6);
+ this.isNS7x = (this.isNS && this.versionMajor == 7);
+ this.isNS7up = (this.isNS && this.versionMajor >= 7);
+
+ this.isIE4x = (this.isIE && this.versionMajor == 4);
+ this.isIE4up = (this.isIE && this.versionMajor >= 4);
+ this.isIE5x = (this.isIE && this.versionMajor == 5);
+ this.isIE55 = (this.isIE && this.versionMinor == 5.5);
+ this.isIE5up = (this.isIE && this.versionMajor >= 5);
+ this.isIE6x = (this.isIE && this.versionMajor == 6);
+ this.isIE6up = (this.isIE && this.versionMajor >= 6);
+
+ this.isIE4xMac = (this.isIE4x && this.isMac);
+}
+var browser = new BrowserDetectLite();
diff --git a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/js/menu1.js b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/js/menu1.js
index 5f87f66421..74abcbc61a 100755
--- a/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/js/menu1.js
+++ b/sw/in_progress/pow/ServletPow/eclipse ServletPow/WebContent/js/menu1.js
@@ -1,155 +1,155 @@
-/*
-Author : bieler batiste
-Company : doSimple : http://www.dosimple.ch
-send me a mail for more informations : faden@PASDEPOURRIELaltern.org - remove ( PASDEPOURRIEL )
-
-Short javascript function to create and handle a CSS navigation menu
-
-Copyright (C) 2004 Bieler Batiste
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Lesser General Public
-License as published by the Free Software Foundation; either
-version 2.1 of the License, or (at your option) any later version.
-
-This library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-Lesser General Public License for more details.
-
-You should have received a copy of the GNU Lesser General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-// the timeout for the menu
-var timeout = 100;
-
-// not very clean but simple
-// the function can be run in the HTML for faster display
-// window.onload=initMenu;
-
-// creat timeout variables for list item
-// it's for avoid some warning with IE
-for( var i = 0; i < 100; i++ )
-{
- eval("var timeoutli" + i + " = false;");
-}
-
-// this fonction apply the CSS style and the event
-function initMenu()
-{
- // a test to avoid some browser like IE4, Opera 6, and IE Mac
- if ( browser.isDOM1
- && !( browser.isMac && browser.isIE )
- && !( browser.isOpera && browser.versionMajor < 7 )
- && !( browser.isIE && browser.versionMajor < 5 ) )
- {
- // get some element
- var menu = document.getElementById('menu'); // the root element
- var lis = menu.getElementsByTagName('li'); // all the li
-
- // change the class name of the menu,
- // it's usefull for compatibility with old browser
- menu.className='menu';
- // i am searching for ul element in li element
- for ( var i=0; i 0 )
- {
- // improve IE key navigation
- if ( browser.isIE )
- {
- addAnEvent(lis.item(i),'keyup',show);
- }
- // link events to list item
- addAnEvent(lis.item(i),'mouseover',show);
- addAnEvent(lis.item(i),'mouseout',timeoutHide);
- addAnEvent(lis.item(i),'blur',timeoutHide);
- addAnEvent(lis.item(i),'focus',show);
-
- // add an id to list item
- lis.item(i).setAttribute( 'id', "li"+i );
- }
- }
- }
-}
+/*
+Author : bieler batiste
+Company : doSimple : http://www.dosimple.ch
+send me a mail for more informations : faden@PASDEPOURRIELaltern.org - remove ( PASDEPOURRIEL )
-
+Short javascript function to create and handle a CSS navigation menu
-
-function addAnEvent( target, eventName, functionName )
-{
- // apply the method to IE
- if ( browser.isIE )
- {
- //attachEvent dont work properly with this
- eval('target.on'+eventName+'=functionName');
- }
- // apply the method to DOM compliant browsers
- else
- {
- target.addEventListener( eventName , functionName , true ); // true is important for Opera7
- }
-}
-
-// hide the first ul element of the current element
-function timeoutHide()
-{
- // start the timeout
- eval( "timeout" + this.id + " = window.setTimeout('hideUlUnder( \"" + this.id + "\" )', " + timeout + " );");
-}
-
-// hide the ul elements under the element identified by id
-function hideUlUnder( id )
-{
- document.getElementById(id).getElementsByTagName('ul')[0].style['visibility'] = 'hidden';
-}
-
-// show the first ul element found under this element
-function show()
-{
- // show the sub menu
- this.getElementsByTagName('ul')[0].style['visibility'] = 'visible';
- var currentNode=this;
- while(currentNode)
- {
- if( currentNode.nodeName=='LI')
- {
- // currentNode.getElementsByTagName('a')[0].className = 'linkOver';
- }
- currentNode=currentNode.parentNode;
- }
- // clear the timeout
- eval ( "clearTimeout( timeout"+ this.id +");" );
- hideAllOthersUls( this );
-}
-
-// hide all ul on the same level of this list item
-function hideAllOthersUls( currentLi )
-{
- var lis = currentLi.parentNode;
- for ( var i=0; i 0 )
+ {
+ // improve IE key navigation
+ if ( browser.isIE )
+ {
+ addAnEvent(lis.item(i),'keyup',show);
+ }
+ // link events to list item
+ addAnEvent(lis.item(i),'mouseover',show);
+ addAnEvent(lis.item(i),'mouseout',timeoutHide);
+ addAnEvent(lis.item(i),'blur',timeoutHide);
+ addAnEvent(lis.item(i),'focus',show);
+
+ // add an id to list item
+ lis.item(i).setAttribute( 'id', "li"+i );
+ }
+ }
+ }
+}
+
+
+
+
+function addAnEvent( target, eventName, functionName )
+{
+ // apply the method to IE
+ if ( browser.isIE )
+ {
+ //attachEvent dont work properly with this
+ eval('target.on'+eventName+'=functionName');
+ }
+ // apply the method to DOM compliant browsers
+ else
+ {
+ target.addEventListener( eventName , functionName , true ); // true is important for Opera7
+ }
+}
+
+// hide the first ul element of the current element
+function timeoutHide()
+{
+ // start the timeout
+ eval( "timeout" + this.id + " = window.setTimeout('hideUlUnder( \"" + this.id + "\" )', " + timeout + " );");
+}
+
+// hide the ul elements under the element identified by id
+function hideUlUnder( id )
+{
+ document.getElementById(id).getElementsByTagName('ul')[0].style['visibility'] = 'hidden';
+}
+
+// show the first ul element found under this element
+function show()
+{
+ // show the sub menu
+ this.getElementsByTagName('ul')[0].style['visibility'] = 'visible';
+ var currentNode=this;
+ while(currentNode)
+ {
+ if( currentNode.nodeName=='LI')
+ {
+ // currentNode.getElementsByTagName('a')[0].className = 'linkOver';
+ }
+ currentNode=currentNode.parentNode;
+ }
+ // clear the timeout
+ eval ( "clearTimeout( timeout"+ this.id +");" );
+ hideAllOthersUls( this );
+}
+
+// hide all ul on the same level of this list item
+function hideAllOthersUls( currentLi )
+{
+ var lis = currentLi.parentNode;
+ for ( var i=0; i 0 )
+ menu2.className='menu2';
+ for ( var i=0; i 0 )
{
- if ( browser.isIE )
- {
- addAnEvent(lis2.item(i),'keyup',show);
- }
-
- addAnEvent(lis2.item(i),'mouseover',show);
- addAnEvent(lis2.item(i),'mouseout',timeoutHide);
- addAnEvent(lis2.item(i),'blur',timeoutHide);
- addAnEvent(lis2.item(i),'focus',show);
-
- lis2.item(i).setAttribute( 'id', "li2"+i );
- }
- }
- }
+ if ( browser.isIE )
+ {
+ addAnEvent(lis2.item(i),'keyup',show);
+ }
+
+ addAnEvent(lis2.item(i),'mouseover',show);
+ addAnEvent(lis2.item(i),'mouseout',timeoutHide);
+ addAnEvent(lis2.item(i),'blur',timeoutHide);
+ addAnEvent(lis2.item(i),'focus',show);
+
+ lis2.item(i).setAttribute( 'id', "li2"+i );
+ }
+ }
+ }
}
-
-function addAnEvent( target, eventName, functionName )
+
+function addAnEvent( target, eventName, functionName )
{
- if ( browser.isIE )
+ if ( browser.isIE )
+ {
+ eval('target.on'+eventName+'=functionName');
+ }
+ else
{
- eval('target.on'+eventName+'=functionName');
- }
- else
- {
target.addEventListener( eventName , functionName , true );
- }
-}
-
-function timeoutHide()
+ }
+}
+
+function timeoutHide()
{
- eval( "timeout" + this.id + " = window.setTimeout('hideUlUnder( \"" + this.id + "\" )', " + timeout + " );");
-}
-
-// hide the ul elements under the element identified by id
-function hideUlUnder( id )
-{
- document.getElementById(id).getElementsByTagName('ul')[0].style['visibility'] = 'hidden';
-}
-
-// show the first ul element found under this element
-function show()
-{
- // show the sub menu
- this.getElementsByTagName('ul')[0].style['visibility'] = 'visible';
- var currentNode=this;
- while(currentNode)
- {
- if( currentNode.nodeName=='LI')
- {
- // currentNode.getElementsByTagName('a')[0].className = 'linkOver';
- }
- currentNode=currentNode.parentNode;
- }
- // clear the timeout
- eval ( "clearTimeout( timeout"+ this.id +");" );
- hideAllOthersUls( this );
-}
-
-// hide all ul on the same level of this list item
-function hideAllOthersUls( currentLi )
-{
- var lis = currentLi.parentNode;
- for ( var i=0; i -1,
- Gecko: ua.indexOf('Gecko') > -1 && ua.indexOf('KHTML') === -1,
- MobileSafari: /Apple.*Mobile.*Safari/.test(ua)
- }
- })(),
-
- BrowserFeatures: {
- XPath: !!document.evaluate,
- SelectorsAPI: !!document.querySelector,
- ElementExtensions: (function() {
- var constructor = window.Element || window.HTMLElement;
- return !!(constructor && constructor.prototype);
- })(),
- SpecificElementExtensions: (function() {
- if (typeof window.HTMLDivElement !== 'undefined')
- return true;
-
- var div = document.createElement('div');
- var form = document.createElement('form');
- var isSupported = false;
-
- if (div['__proto__'] && (div['__proto__'] !== form['__proto__'])) {
- isSupported = true;
- }
-
- div = form = null;
-
- return isSupported;
- })()
- },
-
- ScriptFragment: '";
- public static final String END_DOCUMENT = "