var imgname= new Array()
// Please read section 5 above on how the images have to be configured.
// You may add as many images as you like!
// Configure and separate each images exactly as follows:
// imgname[x]="yourimagename.jpg|http://dweb.ru/"
imgname[0]="slidepic1_34.jpg|http://www.web-script.narod.ru/"
imgname[1]="slidepic2_34.jpg|http://www.web-script.narod.ru/"
imgname[2]="slidepic3_34.jpg|http://www.web-script.narod.ru/"
imgname[3]="slidepic4_34.jpg|http://www.web-script.narod.ru/"
imgname[4]="slidepic5_34.jpg|http://www.web-script.narod.ru/"
// Configure text|URL the of menu1
var menu_1= new Array()
menu_1[0]="Ferrari Boss happy|http://www.web-script.narod.ru/"
menu_1[1]="Lotus comes back|http://www.web-script.narod.ru/"
menu_1[2]="Testarossa revival|http://www.web-script.narod.ru/"
menu_1[3]="Long good-bye|http://www.web-script.narod.ru/"
// Configure text|URL the of menu2
var menu_2= new Array()
menu_2[0]="Headhunter requested|http://www.web-script.narod.ru/"
menu_2[1]="Maddest Scripts|http://www.web-script.narod.ru/"
menu_2[2]="Scripters jailed|http://www.web-script.narod.ru/"
menu_2[3]="Link thrill|http://www.web-script.narod.ru/"
// Configure text|URL the of menu3
var menu_3= new Array()
menu_3[0]="Herbert R. Miller|http://www.web-script.narod.ru/"
menu_3[1]="Ronny D. Smartegg|http://www.web-script.narod.ru/"
menu_3[2]="Lisa Warner jun.|http://www.web-script.narod.ru/"
// Configure text|URL the of menu4
var menu_4= new Array()
menu_4[0]="Give me a call|http://www.web-script.narod.ru/"
menu_4[1]="Fax your comments|http://www.web-script.narod.ru/"
menu_4[2]="Mail your compliments|http://www.web-script.narod.ru/"
menu_4[3]="Shut up please|http://www.web-script.narod.ru/"
// Configure text|URL the of menu5
var menu_5= new Array()
menu_5[0]="Long round desk|http://www.web-script.narod.ru/"
menu_5[1]="Short fat desk|http://www.web-script.narod.ru/"
// Configure text|URL the of menu6
var menu_6= new Array()
menu_6[0]="Silly question?|http://www.web-script.narod.ru/"
menu_6[1]="Silly answers?|http://www.web-script.narod.ru/"
menu_6[2]="Silly scripts?|http://www.web-script.narod.ru/"
menu_6[3]="Why am I so silly|http://www.web-script.narod.ru/"
// The height of the imagefield (pixels)
var scrollerheight=60
// The width of the imagefield (pixels)
var scrollerwidth=140
// The distance to the top border of the window (pixels)
var scrollertop=60
// The distance to the left border of the window (pixels)
var scrollerleft=180
// The background-image's (imagemap's) horizontal shift in relation to the imagefield (pixels)
var leftdif=160
// The background-image's (imagemap's) vertical shift in relation to the imagefield (pixels)
var topdif=38
// Font attributes of the submenu-links
var font_linkface="Verdana"
var font_linkcolor="lightgreen"
var font_linksize=1
// The targets of the subemus
var linktarget="_blank"
// standstill between the images of the slideshow (milliseconds)
var standstillfix=3000
// how long shall the submenus be visible (milliscronds)
var submenutime=5000
// the total number of your menu-items (menu-buttons on your imagemap)
var buttonnumber=6
// Do not edit below this line
var scrollerpadding=0
var cliptop=0
var clipbottom=scrollerheight-2*scrollerpadding
var clipleft=0
var clipright=scrollerwidth
var backgroundborder=0
var i_imgname=0
var mes_joined
var mes_split
var menu_joined
var menu_split
var contenttext
var contentmenu
var contentbg
var scrollerbgcolor="000000"
var totalheight=scrollerheight*(imgname.length)
var i_height=0
var step=1
var pause=20
var standstillflex=0
var imgpreload=new Array()
for (i=0;i<=imgname.length-1;i++) {
menu_joined=imgname[i]
menu_split=menu_joined.split("|")
imgpreload[i]=new Image()
imgpreload[i].src=menu_split[0]
}
function initiatemenus(){
for (ii=1;ii<=buttonnumber;ii++) {
contentmenu="<table cellpadding=0 cellspacing=0 border=0 width="+(scrollerwidth-2*scrollerpadding)+">"
contentmenu+="<tr valign='top'><td height='"+scrollerheight+"'>"
var thismenu=eval("menu_"+ii)
for (i=0;i<=thismenu.length-1;i++) {
menu_joined=thismenu[i]
menu_split=menu_joined.split("|")
contentmenu+="<a href='"+menu_split[1]+"' target='"+linktarget+"'><font face='"+font_linkface+"' color='"+font_linkcolor+"' size='"+font_linksize+"'>"+menu_split[0]+"</font></a><br>"
}
contentmenu+="</td></tr>"
contentmenu+="</table>"
if (document.all) {
var thismenudiv=eval("document.all.menu"+ii+".style")
var thisinnerhtml=eval("menu"+ii)
thisinnerhtml.innerHTML=contentmenu
thismenudiv.posTop=scrollertop
thismenudiv.posLeft=scrollerleft
}
if (document.layers) {
var thismenudiv=eval("document.menu"+ii)
thismenudiv.document.write(contentmenu)
thismenudiv.document.close()
thismenudiv.top=scrollertop
thismenudiv.left=scrollerleft
}
contentmenu=""
}
initiatescroller()
}
function initiatescroller(){
contenttext="<table cellpadding=0 cellspacing=0 border=0 width="+(scrollerwidth-2*scrollerpadding)+">"
contenttext+="<tr valign='top'><td height='"+scrollerheight+"'><br></td></tr>"
for (i=0;i<=imgname.length-1;i++) {
mes_joined=imgname[i]
mes_split=mes_joined.split("|")
contenttext+="<tr valign='top'><td height='"+scrollerheight+"'><a href='"+mes_split[1]+"'><img src='"+mes_split[0]+"' border=0></a></td></tr>"
}
contenttext+="</table>"
contentbg="<table cellpadding=0 cellspacing=0 border="+backgroundborder+" width='"+scrollerwidth+"'><tr><td height='"+scrollerheight+"' bgcolor="+scrollerbgcolor+"> </td></tr></table>"
if (document.all) {
scrollertext.innerHTML=contenttext
scrollerbg.innerHTML=contentbg
document.all.scrollertext.style.posTop=scrollertop
document.all.scrollertext.style.posLeft=scrollerleft
document.all.scrollerbg.style.posTop=scrollertop-scrollerpadding
document.all.scrollerbg.style.posLeft=scrollerleft-scrollerpadding
document.all.scrollerbgimg.style.posTop=scrollertop-scrollerpadding-topdif
document.all.scrollerbgimg.style.posLeft=scrollerleft-scrollerpadding-leftdif
document.all.scrollertext.style.clip="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")"
}
if (document.layers) {
document.scrollertext.document.write(contenttext)
document.scrollertext.document.close()
document.scrollerbg.document.write(contentbg)
document.scrollerbg.document.close()
document.scrollertext.top=scrollertop
document.scrollertext.left=scrollerleft
document.scrollerbg.top=scrollertop-scrollerpadding
document.scrollerbg.left=scrollerleft-scrollerpadding
document.scrollerbgimg.top=scrollertop-scrollerpadding-topdif
document.scrollerbgimg.left=scrollerleft-scrollerpadding-leftdif
document.scrollertext.clip.left=clipleft
document.scrollertext.clip.right=clipright
document.scrollertext.clip.top=cliptop
document.scrollertext.clip.bottom=clipbottom
}
scroll()
}
function scroll(){
standstillflex=standstillfix
if (document.all){
if (i_height<scrollerheight) {
i_height+=step
cliptop+=step
clipbottom+=step
document.all.scrollertext.style.clip="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")"
document.all.scrollertext.style.posTop-=step
var timer=setTimeout("scroll()",pause)
}
else {
if (document.all.scrollertext.style.posTop<=-(totalheight)) {
document.all.scrollertext.style.posTop=scrollertop
cliptop=0
clipbottom=scrollerheight-2*scrollerpadding
document.all.scrollertext.style.clip="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")"
standstillflex=0
}
i_height=0
clearTimeout(timer)
var timer=setTimeout("scroll()",standstillflex)
}
}
if (document.layers){
if (i_height<scrollerheight) {
i_height+=step
cliptop+=step
clipbottom+=step
document.scrollertext.clip.left=clipleft
document.scrollertext.clip.right=clipright
document.scrollertext.clip.top=cliptop
document.scrollertext.clip.bottom=clipbottom
document.scrollertext.top-=step
var timer=setTimeout("scroll()",pause)
}
else {
if (document.scrollertext.top<=-(totalheight)) {
document.scrollertext.top=scrollertop
cliptop=0
clipbottom=scrollerheight-2*scrollerpadding
document.scrollertext.clip.left=clipleft
document.scrollertext.clip.right=clipright
document.scrollertext.clip.top=cliptop
document.scrollertext.clip.bottom=clipbottom
standstillflex=0
}
i_height=0
clearTimeout(timer)
var timer=setTimeout("scroll()",standstillflex)
}
}
}
function showmenu(whichmenu) {
clearTimeout(timer)
hidealldivs()
if (document.all) {
var thismenu=eval("document.all."+whichmenu+".style")
thismenu.visibility="VISIBLE"
}
if (document.layers) {
var thismenu=eval("document."+whichmenu)
thismenu.visibility="VISIBLE"
}
var timer=setTimeout("showtextagain()",submenutime)
}
function hidealldivs() {
for (ii=1;ii<=buttonnumber;ii++) {
if (document.all) {
var thismenudiv=eval("document.all.menu"+ii+".style")
thismenudiv.visibility="HIDDEN"
}
if (document.layers) {
var thismenudiv=eval("document.menu"+ii)
thismenudiv.visibility="HIDDEN"
}
}
if (document.all) {
document.all.scrollertext.style.visibility="HIDDEN"
}
if (document.layers) {
document.scrollertext.visibility="HIDDEN"
}
}
function showtextagain() {
for (ii=1;ii<=buttonnumber;ii++) {
if (document.all) {
var thismenudiv=eval("document.all.menu"+ii+".style")
thismenudiv.visibility="HIDDEN"
}
if (document.layers) {
var thismenudiv=eval("document.menu"+ii)
thismenudiv.visibility="HIDDEN"
}
}
if (document.all) {
document.all.scrollertext.style.visibility="VISIBLE"
}
if (document.layers) {
document.scrollertext.visibility="VISIBLE"
}
}
</script>
</head>
<body onLoad="initiatemenus()"><body background="background1.gif" link="#000000" text="#000000">
<div id="scrollerbgimg" style="position:absolute;top:-1000px">
<IMG SRC="imgnewsnav.gif" USEMAP="#menunewsnav" BORDER=0>
<MAP NAME="menunewsnav">
<AREA SHAPE=RECT COORDS="19,35,130,53" HREF="javascript:showmenu('menu1')">
<AREA SHAPE=RECT COORDS="19,61,131,75" HREF="javascript:showmenu('menu2')">
<AREA SHAPE=RECT COORDS="19,81,133,99" HREF="javascript:showmenu('menu3')">
<AREA SHAPE=RECT COORDS="327,36,445,53" HREF="javascript:showmenu('menu4')">
<AREA SHAPE=RECT COORDS="328,59,442,76" HREF="javascript:showmenu('menu5')">
<AREA SHAPE=RECT COORDS="327,82,443,97" HREF="javascript:showmenu('menu6')">
<AREA SHAPE=RECT COORDS="18,5,130,17" HREF="http://dweb.ru/" target="_blank">
<AREA SHAPE=RECT COORDS="329,3,444,19" HREF="http://dweb.ru/" target="_blank">
</MAP>
</div>
<div id="scrollerbg" style="position:absolute;top:-1000px"> </div>
<div id="scrollertext" style="position:absolute;top:-1000px"> </div>
<div id="menu1" style="position:absolute;top:-1000px;visibility:hidden"></div>
<div id="menu2" style="position:absolute;top:-1000px;visibility:hidden"></div>
<div id="menu3" style="position:absolute;top:-1000px;visibility:hidden"></div>
<div id="menu4" style="position:absolute;top:-1000px;visibility:hidden"></div>
<div id="menu5" style="position:absolute;top:-1000px;visibility:hidden"></div>
<div id="menu6" style="position:absolute;top:-1000px;visibility:hidden"></div>