
<!-- Browser Check -->
iens6=document.all||document.getElementById
ns4=document.layers

<!--GLOBAL VARIABLES-->
var thename
var theobj
var thetext
var winHeight
var winPositionFromTop
var winWidth
var startH=2
var openTimer
var leftPosition
var adtoolbar
var var_login
<!--END GLOBAL VARIABLES-->


<!--DEFINE MOUSEOVER CONTENT-->
var textArray = new Array

// CHANGE EACH ARRAY ELEMENT BELOW TO YOUR OWN CONTENT. MAKE SURE TO USE SINGLE QUOTES INSIDE DOUBLE QUOTES.
adtoolbar = "<table width='100%' bgcolor='0000ff'><tr bgcolor='0000ff'><td align='left'><h5 class='bold' style='color: white'>Специальное предложение<br>от ООО Татрабус Групп</h5></td><td align='right'><h5 align='right'><a href='Javascript: clearTimeout(openTimer);stopIt()'><img src='./IMAGES/remove.gif' border=0></a></h5></td></tr></table>"
textArray[1]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Предлагаем со склада погрузчики МКСМ-800 по цене ниже заводской. Для болшей инфомации нажмите <a href='mksm_loaders.php' target='_blank'>сюда!</a></font>"
textArray[2]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Многофункциональные погрузчики МКСМ-800 с двигателем Hatz Diesel или Zetor по цене ниже заводской. Большой выбор навесного оборудования! Для болшей инфомации нажмите <a href='mksm_loaders.php' target='_blank'>сюда!</a></font>"
textArray[3]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Оригинальные запчасти для автобусов ТАМ (Марбус) со склада в Москве. Позвоните прямо сейчас и узнайте как мы можем привести Ваш автобус в рабочее состояние в кратчайшие сроки!</font>"
textArray[4]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Предлагаем со склада погрузчики МКСМ-800 по цене ниже заводской. Возможность выбора двигателя - Zetor или Hatz Diesel. Для болшей инфомации нажмите <a href='mksm_loaders.php' target='_blank'>сюда!</a></font>"
textArray[5]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Погрузчики Локуст 752 (наследники УНЦ 061) со склада. Для большей информации нажмите <a href='locust_loaders.php' target='_blank'>сюда!</a> </font>"
textArray[6]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'><a onclick=window.open('spec.htm','','resizable=no,menubar=no,scrollbars=yes,width=500,height=600,left=100,top=50'); href='#'>Специальное предложение на запчасти со склада на Caterpillar и Komatsu</a></font>"
textArray[7]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Предлагаем со склада многофункциональные погрузчики SDLG производство Китай.<br/>Для получения большей иформации нажмите <a href='chinese_loaders.php' title='китайские погрузчики'>сюда<a/>...</font>"
textArray[8]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Универальные многофукциональные погрузчики ПУМ-500.<br>На складе только у нас!<br><a href='pum_500_loaders.php' title='погрузчик ПУМ-500'>Узнайте больше...</a></font>"
textArray[9]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Специальные цены на гидравлические элементы, узлы и агрегаты для ремонта гидравлических систем</b><br/><br/>Скачайте перечень и позвоните сейчас <a href='hydraulics_04.xls' target='_blank'>перечень запчастей для ремонта гидравлики</а> (в файле Excel, 42 kb)</font>"
textArray[10]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Спецпредложение на запчасти в наличии в Москве <br/><br/><a href='spec_offers.php'>Посмотрите перечень</a></font>"
textArray[11]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Спецпредложение на запчасти в наличии в Москве <br/><br/><a href='spec_offers.php'>Посмотрите перечень</a></font>"
 textArray[12]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'><b>Специальные цены на гидравлические элементы, узлы и агрегаты для ремонта гидравлических систем</b><br/><br/>Скачайте перечень и позвоните сейчас <a href='hydraulics_04.xls' target='_blank'>перечень запчастей для ремонта гидравлики</а> (в файле Excel, 42 kb)</font>"
 textArray[13]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'><br>Предлагаем со склада <a href='spares.php?eqp=a' title='запчасти к спецтехнике Caterpillar'>запчасти к спецтехнике Caterpillar (Катерпиллар)</a>.</font><br>"
 textArray[14]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'><br>Предлагаем со склада <a href='spares.php?eqp=b' title='запчасти к спецтехнике Komatsu'>запчасти к спецтехнике Komatsu (Комацу)</a>.</font><br>"
 textArray[15]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'><br>Предлагаем со склада в Москве <a href='jc_60_spares.php' title='запчасти на погрузчики Jc-60'>запчасти на погрузчики Jc-60</a>.</font><br>"
 textArray[16]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'><br>Предлагаем со склада <a href='spares.php?eqp=c' title='запчасти к спецтехнике Hitachi'>запчасти к спецтехнике Hitachi (Хитачи)</a>.</font><br>"
 textArray[17]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'><br>Предлагаем со склада <a href='spares.php?eqp=d' title='запчасти к спецтехнике Husky'>запчасти к спецтехнике Husky (Хаски)</a>.</font><br>"


<!--END DEFINE MOUSEOVER CONTENT-->

<!-- GENERATE RANDOM AD NUMBER
function getRandom(min,max)
{
   return (Math.round(Math.random()*(max-min)))+min;
}

<!--GLOBAL FUNCTIONS-->
function setObj(elementpos,theswitch,inwidth,inheight,leftpos) {
	var textnumber = getRandom(13,17)
	thetext=textArray[textnumber]
	if(iens6){
		thename = "viewer"
		theobj=document.getElementById? document.getElementById(thename):document.all.thename
		winHeight=thetext.length/3.4
		if(thetext.length < 500)
			winHeight = winHeight
		switch(textnumber){
			case 1 :
				winHeight = 205
				break
			case 2 :
				winHeight = 170
				break
			case 3 :
				winHeight = 170
				break
			case 4 :
				winHeight = 130
				break
			case 5 :
				winHeight = 130
				break
			case 6 :
				winHeight = 130
				break
			case 7 :
				if(var_login == '') winHeight = winHeight - 30
				else winHeight = 175
				break
			case 9 :
				winHeight = 205
				break
			case 8 :
				winHeight = 150
				break
			case 10 :
				winHeight = 150
				break
			case 11 :
				winHeight = 150
				break
			case 12 :
				winHeight = 205
				break
			case 13 :
				winHeight = 110
				break
			case 14 :
				winHeight = 115
				break
			case 15 :
				winHeight = winHeight - 18
				break
		}
			if(iens6&&document.all) {
				winPositionFromTop=document.body.clientHeight
				winWidth=(document.body.clientWidth-document.body.leftMargin)
				leftPosition=0
			}
			if(iens6&&!document.all) {
				winPositionFromTop=window.innerHeight
				winWidth=(window.innerWidth-(document.body.offsetLeft+20))
				leftPosition=0
			}
			if(theswitch=="override") {
				winWidth=inwidth
				winHeight=winHeight
				if(iens6&&document.all) {
					if(leftpos=="right") {
						leftPosition=(document.body.clientWidth-winWidth)
					}else if(leftpos=="left" || leftpos=="" || leftpos==null) {
						leftPosition=0
					}else{
						leftPosition=leftpos
					}
				}
				if(iens6&&!document.all) {
					if(leftpos=="right") {
						leftPosition=(window.innerWidth-winWidth)-20
					}else if(leftpos=="left" || leftpos=="" || leftpos==null) {
						leftPosition=0
					}else{
						leftPosition=leftpos
					}
				}
			}
		theobj.style.width=winWidth
		theobj.style.height=startH
		theobj.style.left=leftPosition
			if(iens6&&document.all) {
				theobj.style.top=document.body.scrollTop+winPositionFromTop
				theobj.innerHTML = ""
				theobj.insertAdjacentHTML("BeforeEnd","<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=0><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>")
			}
			if(iens6&&!document.all) {
				theobj.style.top=window.pageYOffset+winPositionFromTop
				theobj.innerHTML = ""
				theobj.innerHTML="<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=0><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>"
			}
	}
	if(ns4){
		thename = "nsviewer"
		theobj = eval("document."+thename)
		winPositionFromTop=window.innerHeight
		winWidth=window.innerWidth
		winHeight=100
		leftPosition=0
			if(theswitch=="override") {
				winWidth=inwidth
				winHeight=inheight
				if(leftpos=="right") {
					leftPosition=(window.innerWidth-winWidth)
				}else if(leftpos=="left" || leftpos=="" || leftpos==null) {
					leftPosition=0
				}else{
					leftPosition=leftpos
				}
			}
		theobj.moveTo(leftPosition,eval(window.pageYOffset+winPositionFromTop))
		theobj.width=winWidth
		theobj.clip.width=winWidth
		theobj.document.write("<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=1><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>")
		theobj.document.close()
	}
	viewIt()
}

function makeStatic() {
if (iens6) {
	if(iens6&&document.all) {
		theobj.style.top=(document.body.scrollTop+winPositionFromTop)-startH
	}
	if(iens6&&!document.all) {
		theobj.style.top=window.pageYOffset
	}
}
else if (ns4) {eval(document.viewer.top=eval(window.pageYOffset));}
openTimer=setTimeout("makeStatic()",0);
}

function viewIt() {
	if(startH<=winHeight) {
		if(iens6) {
			theobj.style.visibility="visible"
				if(iens6&&document.all) {
					theobj.style.top=(document.body.scrollTop+winPositionFromTop)-startH
				}
				if(iens6&&!document.all) {
					theobj.style.top=(window.pageYOffset+winPositionFromTop)-startH
				}
			theobj.style.height=startH
			startH+=2
			openTimer=setTimeout("viewIt()",10)
		}
		if(ns4) {
			theobj.visibility = "visible"
			theobj.moveTo(leftPosition,(eval(window.pageYOffset+winPositionFromTop)-startH))
			theobj.height=startH
			theobj.clip.height=(startH)
			startH+=2
			openTimer=setTimeout("viewIt()",10)
		}
	}else{
		clearTimeout(openTimer)
		makeStatic()
	}
}

function stopIt() {
	if(iens6) {
		theobj.innerHTML = ""
		theobj.style.visibility="hidden"
		startH=2
	}
	if(ns4) {
		theobj.document.write("")
		theobj.document.close()
		theobj.visibility="hidden"
		theobj.width=0
		theobj.height=0
		theobj.clip.width=0
		theobj.clip.height=0
		startH=2
	}
}
<!--END GLOBAL FUNCTIONS-->