diff --git a/new/shared.inc b/new/shared.inc index 1eb04ce18..3105be89e 100644 --- a/new/shared.inc +++ b/new/shared.inc @@ -1,10 +1,24 @@ "; - echo ""; - echo "

"; + if ($side=="left"): + echo ""; + if ($offset>=0): + echo "

"; + else: + echo "

"; + endif; + else: + if ($offset>=0): + echo "
"; + else: + echo "
"; + endif; + echo ""; + endif; echo "
"; echo "
"; echo "
"; @@ -62,9 +76,10 @@ function commonHeader($title) { @@ -80,6 +95,7 @@ var IE3 = (bName == "Microsoft Internet Explorer" && bVer < 4); var loaded = 0; var layers = 0; +var lastbutton='top'; if (NS4 || IE4) { if (navigator.appName == "Netscape") { @@ -105,7 +121,6 @@ function hideLayer(layerName){ } } - function LoadImgs () { if (document.images) { b_down0 = new Image(); @@ -176,26 +191,19 @@ function change(Name,No,Msg) { if (document.images && (loaded == 1)) { document[Name].src = eval("b_" + Name + No + ".src"); } + lastbutton = Name; return true } -function hideAll () { +function hide() { if (document.images && (loaded == 1)) { - change('down',0); - change('docs',0); - change('mail',0); - change('dev',0); - change('news',0); - change('link',0); - change('mirr',0); - change('top',0); - change('sear',0); - change('sour',0); - change('close',0); - change('cred',0); - if (NS4 || IE4 && (layers == 1)) { + if (NS4 || IE4 && (layers == 1) && (lastbutton == 'mirr')) { hideLayer('mirrorsKick'); } + if (NS4 || IE4 && (layers == 1) && (lastbutton == 'sear')) { + hideLayer('searchKick'); + } + change(lastbutton,0); } } @@ -203,8 +211,6 @@ if (IE4) LoadImgs(); //---> - - @@ -221,13 +227,13 @@ if (IE4) LoadImgs(); -downloads
-documentation
-
mailing list
-
development
-
in the news
-
links
-
mirror sites
+
downloads
+documentation
+
mailing list
+
development
+
in the news
+
links
+
mirror sites
@@ -242,14 +248,14 @@ if (IE4) LoadImgs(); "; - echo "
\"Close"; + echo "\"Close"; else: echo ""; - echo ""; + echo ""; echo "\"View"; echo ""; endif; -?>Search this site
+?>Search this site
@@ -282,8 +288,8 @@ function commonFooter() {

-Who is responsible for this?
-Scroll back to the top of this page
+Who is responsible for this?
+Scroll back to the top of this page
@@ -320,7 +326,7 @@ function commonFooter() {