<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-8">
<script>
<!-- Beginning of JavaScript -
// CREDITS:
// new hierarchical menu by Urs Dudli and Peter Gehrig
// Copyright (c) 1999 Peter Gehrig and Urs Dudli. All rights reserved.
// Permission given to use the script provided that this notice remains
as is.
// Additional scripts can be found at
http://www.24fun.ch.--
הפמ חוקל טפירקסה
// info@24fun.ch
// 1/13/2000
// IMPORTANT:
// If you add this script to a script-library or script-archive
// you have to add a link to http://www.24fun.ch on the webpage
// where this script Script will be running.
// **********************************************************************************
// INSTRUCTIONS:
// Configure the menu and font parameters for each menublock below.
// each menublock[x] contains all necessary informations to build one
menu-item with
// as many sublinks as you like. You can add as many menublocks as you
need.
//
// ATTENTION: When you configure the menublocks take care that you
// set the ";" and the "+" as seen below.
// **********************************************************************************
var menublock=new Array() // no need to change this
menublock[0]="Arial;"+ // font mainlink
"4;"+ // fontsize mainlink
"CCCCCC;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Times;"+ // font sublinks
"3;"+ // fontsize sublinks
"FFFFFF;"+ // fontcolor sublinks
"0;"+ // fontweight sublinks, 1 means bold, 0 means normal
"menublock 1|#|;"+ // text|URL|target of mainlink
"submenu 1.1|subm11.html|main;"+ // text|URL|target of first
sublink
"submenu 1.2|subm12.html|main;" // text|URL|target of second
sublink
menublock[1]="Arial;"+ // font mainlink
"4;"+ // fontsize mainlink
"CCCCCC;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Times;"+ // font sublinks
"3;"+ // fontsize sublinks
"FFFFFF;"+ // fontcolor sublinks
"0;"+ // fontweight sublinks, 1 means bold, 0 means normal
"menublock 2|#;"+ // text and URL of first mainlink
"submenu 2.1|subm21.html|main;"+ // text|URL|target of mainlink
"submenu 2.2|subm22.html|main;"+ // text|URL|target of first
sublink
"submenu 2.3|subm23.html|main;"+ // text|URL|target of second
sublink
"submenu 2.4|subm24.html|main;"+ // text|URL|target of thirth
sublink
"submenu 2.5|subm25.html|main;" // text|URL|target of fourth
sublink
menublock[2]="Arial;"+ // font mainlink
"4;"+ // fontsize mainlink
"CCCCCC;"+ // fontcolor mainlink
"1;"+ // fontweight mainlink, 1 means bold, 0 means normal
"Times;"+ // font sublinks
"3;"+ // fontsize sublinks
"FFCCCC;"+ // fontcolor sublinks
"0;"+ // fontweight sublinks, 1 means bold, 0 means normal
"menublock 3|#;"+ // text and URL of mainlink
"submenu 3.1|subm31.html|main;"+ // text and URL of first
sublink
"submenu 3.2|subm32.html|main;"+ // text and URL of second
sublink
"submenu 3.3|subm33.html|main;" // text and URL of thirth
sublink
// No need to change anything below
// **********************************************************************************
var menusplit
var urlsplit
var font_weight_main
var font_weight_sub
var showsubmenus=new Array()
for (i=0;i<=menublock.length-1;i++) {
showsubmenus[i]=-1
}
function openandclose(visi) {
showsubmenus[visi]=(-1)*showsubmenus[visi]
var menucontent=""
for (i=0;i<=menublock.length-1;i++) {
menusplit=menublock[i].split(";")
urlsplit=menusplit[8].split("|")
if (menusplit[3]==1) {font_weight_main="<b>"}
if (menusplit[3]==0) {font_weight_main=""}
if (menusplit[7]==1) {font_weight_sub="<b>"}
if (menusplit[7]==0) {font_weight_sub=""}
menucontent+=font_weight_main+"<a href='javascript:openandclose("+i+")'><font
face="+menusplit[0]+" color="+menusplit[2]+" size="+menusplit[1]+">"+urlsplit[0]+"</font></a><br>"
if (showsubmenus[i]==1) {
for (ii=9;ii<=menusplit.length-1;ii++) {
urlsplit=menusplit[ii].split("|")
menucontent+=font_weight_sub+" <a
href="+urlsplit[1]+" target="+urlsplit[2]+"><font
face="+menusplit[4]+" color="+menusplit[6]+" size="+menusplit[5]+">"+urlsplit[0]+"</font></a><br>"
}
}
}
if (document.all) {
menu.innerHTML=menucontent
}
if (document.layers) {
document.menu.document.write(menucontent)
document.menu.document.close()
}
}
// - End of JavaScript - -->
</script>
</head>
<body onload="openandclose(10000)">
<table width="70%" border="1" cellspacing="2"
cellpadding="2" align="center" bgcolor="#ece8cf"
bordercolor="#666666" class="bord2">
<tr>
<td align="left">
<STYLE type=text/css>#divMenu0 {
FONT-FAMILY: arial,helvetica; FONT-SIZE: 18px; FONT-WEIGHT: bold; HEIGHT:
100px; LEFT: 30px; POSITION: absolute; TOP: 150px; VISIBILITY: hidden;
WIDTH: 310px
}
#divMenu1 {
FONT-FAMILY: arial,helvetica; FONT-SIZE: 18px; FONT-WEIGHT: bold; HEIGHT:
100px; LEFT: 30px; POSITION: absolute; TOP: 200px; VISIBILITY: hidden;
WIDTH: 460px
}
#divMenu2 {
FONT-FAMILY: arial,helvetica; FONT-SIZE: 18px; FONT-WEIGHT: bold; HEIGHT:
100px; LEFT: 30px; POSITION: absolute; TOP: 250px; VISIBILITY: hidden;
WIDTH: 360px
}
</STYLE>
<SCRIPT language=JavaScript type=text/javascript>
/********************************************************************************
Copyright (C) 1999 Thomas Brattli
This script is made by and copyrighted to Thomas Brattli at www.bratta.com
Visit for more great scripts. This may be used freely as long as this
msg is intact!
I will also appriciate any links you could give me.
********************************************************************************/
//Default browsercheck, added to all scripts!
function checkBrowser(){
this.ver=navigator.appVersion
this.dom=document.getElementById?1:0
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
this.ie4=(document.all && !this.dom)?1:0;
this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
this.ns4=(document.layers && !this.dom)?1:0;
this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
return this
}
bw=new checkBrowser()
/* Set the variables below.
If you look at the init function you can see that you can also set
these variables different for each menu!
If you only want 1 menu just remove the lines marked with *
in the init function and the divs from the page.
*/
//How many pixels should it move every step?
var lMove=10;
//At what speed (in milliseconds, lower value is more speed)
var lSpeed=40
//Do you want it to move with the page if the user scroll the page?
var lMoveOnScroll=true
//How much of the menu should be visible in the in state?
var lShow=60
/********************************************************************************
You should't have to change anything below this.
********************************************************************************/
//Defining variables
var tim,ltop;
/********************************************************************
Contructs the menuobjects -Object functions
*********************************************************************/
function makeMenu(obj,nest,show,move,speed){
nest=(!nest) ? '':'document.'+nest+'.'
this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0;
this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0;
this.x=(bw.ns4 || bw.ns5)? this.css.left:this.el.offsetLeft;
this.y=(bw.ns4 || bw.ns5)? this.css.top:this.el.offsetTop;
this.state=1; this.go=0; this.min=b_min; this.show=show
this.top=this.y; this.mout=b_mout;
this.width=bw.ns4?this.css.document.width:this.el.offsetWidth
this.moveIt=b_moveIt; this.move=move; this.speed=speed
this.obj = obj + "Object"; eval(this.obj + "=this")
}
function b_moveIt(x,y){this.x=x; this.y=y; this.css.left=this.x; this.css.top=this.y}
//Menu in
function b_min(){
if(this.x>-this.width+this.show){
this.go=1; this.moveIt(this.x-this.move,this.y)
setTimeout(this.obj+".min()",this.speed)
}else{this.go=0; this.state=1}
}
//Menu out
function b_mout(){
if(this.x<0){
this.go=1; this.moveIt(this.x+this.move,this.y)
setTimeout(this.obj+".mout()",this.speed)
}else{this.go=0; this.state=0}
}
/********************************************************************************
Deciding what way to move the menu (this is called onmouseover, onmouseout
or onclick)
********************************************************************************/
function moveLeftMenu(num){
if(!oMenu[num].go){
if(!oMenu[num].state)oMenu[num].min()
else oMenu[num].mout()
}
}
/********************************************************************************
Checking if the page is scrolled, if it is move the menu after
********************************************************************************/
function checkScrolled(){
for(i=0;i<oMenu.length;i++){
if(!oMenu[i].go) oMenu[i].moveIt(oMenu[i].x,eval(scrolled)+oMenu[i].top)
}
if(bw.ns4) setTimeout('checkScrolled()',40)
}
/********************************************************************************
Inits the page, makes the menu object, moves it to the right place,
show it
********************************************************************************/
function leftMenuInit(){
oMenu=new Array()
oMenu[0]=new makeMenu('divMenu0','',lShow,lMove,lSpeed)
oMenu[1]=new makeMenu('divMenu1','',lShow,lMove,lSpeed) //*
//Here's an example of how you can set the properties for each menu:
//*
oMenu[2]=new makeMenu('divMenu2','',70,10,20) //*
//You can add as many menus you want like the line above.
//Just remember to add the actual divs in the style and body as well.
scrolled=bw.ns4?"window.pageYOffset":"document.body.scrollTop"
//Placing and showing menus
for(i=0;i<oMenu.length;i++){
oMenu[i].moveIt(-oMenu[i].width+oMenu[i].show,oMenu[i].y)
oMenu[i].css.visibility='visible'
}
if(lMoveOnScroll) bw.ns4?checkScrolled():window.onscroll=checkScrolled;
}
//Initing menu on pageload
onload=leftMenuInit;
</SCRIPT>
<DIV id=divMenu0><!-- You can just replace this text with
some cool images if you want --><A
href="javascript://">Link1</A> - <A href="javascript://">Link2</A>
- <A
href="javascript://">Link3</A> - <A href="javascript://">Link4</A>
- <A
href="http://www.bratta.com/dhtml/scripts/source.asp?id=11&sourced=9108#"
onclick="moveLeftMenu(0); return false">MENU</A>
</DIV>
<DIV id=divMenu1><!-- You can just replace this text with some
cool images if you want -->This
is onmouseover, the first one is onclick - <A
href="http://www.bratta.com/dhtml/scripts/source.asp?id=11&sourced=9108#"
onmouseover=moveLeftMenu(1)>MENU</A> </DIV>
<DIV id=divMenu2><!-- You can just replace this text with some
cool images if you want -->This
is onclick like the first one - <A
href="http://www.bratta.com/dhtml/scripts/source.asp?id=11&sourced=9108#"
onclick="moveLeftMenu(2); return false">MENU 3</A>
</DIV>
</td>
<tr>
<td align="left">
</td>
</table>
</body>
</html>