/*Example message arrays for the two demo scrollers*/

var pausecontent_EN=new Array()
pausecontent_EN[0]='<h2><a href="lower.php?pg=NE#BIMU">THE NEW MODULA TECHNOLOGY ON SHOW AT BIMU</a></h2><p>5th to 9th October<br />Milan<br />Pavilion 11<br />Booth F32<br /><a href="http://www.bimu-sfortec.com" target="_blank">www.bimu-sfortec.com</a><br /><img src="images/logos/bimu.gif" width="184" height="96" alt="BIMU" /></p>'

pausecontent_EN[1]='<h2><a href="lower.php?pg=NE#IMTS">IMTS 2010</a></h2><p>International Manufacturing Technology Show<br />McCormick Place<br />Chicago, IL USA<br />September 13 - 18, 2010<br />Booth #E-4558<br /><a href="http://www.imts.com/" target="_blank">www.imts.com</a></p><img src="images/logos/IMTS.gif" width="200" height="42" alt="ProMat 2001" />'

pausecontent_EN[2]='<h2><a href="lower.php?pg=NE#AMB">MODULA AT AMB STUTTGART</a></h2><p>Hall 8, Stand 8D60<br />28 September to 2 October<br /><a href="http://www.amb-expo.de" title="AMB" target="_blank">www.amb-expo.de</a><br /><img src="images/logos/amb.gif" width="150" height="79" alt="AMB" /></p>'

pausecontent_EN[3]='<h2><a href="lower.php?pg=NE#ProMat">ProMat 2011</a></h2><p>McCormick Place South<br />Chicago, IL USA<br />March 21 - 24, 2011<br />Booth #2919<br /><a href="http://www.promatshow.com" target="_blank">www.promatshow.com</a></p><img src="images/logos/promat.gif" width="200" height="42" alt="ProMat 2001" />'



var pausecontent_FR=new Array()
pausecontent_FR[0]='<h2>LA NOUVELLE TECHNOLOGIE MODULA EXPOSÉE AU SALON BIMU</h2><p>Le nouveau modèle Modula Lift sera exposé à la vitrine du salon BIMU, du 5 au 9 octobre dans les locaux de la foire de Milan : il se caractérise par un prix réduit, mais aussi par une technologie plus avancée.</p><p>Le salon de Milan, au cours duquel sera présentée la meilleure production internationale du secteur : machines-outils à déformation et enlèvement, automates, automation, technologies auxiliaires, sera la mise en scène idéale pour le magasin automatique vertical mis au point par System Logistics qui, avec son nouveau modèle dépasse  la vitesse de 100 tiroirs par heure, tout en optimisant la productivité et l\'efficience.</p><p>Au public des opérateurs de l\'industrie manufacturière provenant du monde entier (en 2008 : 96 411 visiteurs, dont 5 841 provenant de 77 pays étrangers), MODULA pourra montrer son excellence dans le secteur du stockage, dans la gestion, saisie et recherche rapide de tout produit dans les conditions d\'espace les plus variées.  Modulaires et flexibles, les magasins Modula conviennent à tout secteur industriel et s\'adaptent aux nombreux modèles de plusieurs dimensions et de satisfaire les exigences d\'espace des différents établissements industriels.</p><p>Le rendez-vous avec Modula est donc fixé du 5 au 9 octobre à Milan, <a href="http://www.bimu-sfortec.com" target="_blank">www.bimu-sfortec.com,</a>  Hall 11 stand F32</p>'

pausecontent_FR[1]='<h2>IMTS 2010</h2><p>International Manufacturing Technology Show<br />McCormick Place<br />Chicago, IL USA<br />September 13 - 18, 2010<br />Booth #E-4558<br /><a href="http://www.imts.com/" target="_blank">www.imts.com</a></p><img src="images/logos/IMTS.gif" width="200" height="42" alt="ProMat 2001" />'


pausecontent_FR[2]='<h2>MODULA AU SALON  AMB DE STUTTGART</h2><p>Du 28 septembre au 2 octobre 2010 Modula présentera au salon de Stuttgart son nouveau mod&egrave;le  Modula Lift leader des technologies de pointe.</p><p>Ce nouveau magasin automatique vertical de System Logistics a &eacute;t&eacute; redessin&eacute; dans ses composants principaux et il est actuellement en mesure d\'offrir une surface utile de stockage accrue et un encombrement plus r&eacute;duit. La grande vitesse de d&eacute;placement des tiroirs (100 /heure) range Modula Lift aux plus hauts niveaux du march&eacute; par ses caract&eacute;ristiques et performances.</p><p>Modulaires et flexibles, les magasins Modula conviennent &agrave; tous les secteurs industriels, en s\'adaptant, gr&acirc;ce aux nombreux mod&egrave;les de dimensions diff&eacute;rentes, aux  exigences d\'espace des diff&eacute;rents "espaces" industriels.</p><p>Ne manquez pas le rendez-vous avec Modula Lift AMB STUTTGART -  Hall 8 stand 8D60- 28 septembre - 2 octobre  <p><a href="http://www.amb-expo.de" target="_blank" title="AMB">(www.amb-expo.de)</a><img src="images/logos/amb.gif" width="150" height="79" alt="AMB" /></p>'

pausecontent_FR[3]='<h2>ProMat 2011</h2><p>McCormick Place South<br />Chicago, IL USA<br />March 21 - 24, 2011<br />Booth #2919<br /><a href="http://www.promatshow.com" target="_blank">www.promatshow.com</a></p><img src="images/logos/promat.gif" width="200" height="42" alt="ProMat 2001" />'


var pausecontent_IT=new Array()
pausecontent_IT[0]='<h2><a href="lower.php?pg=NE#BIMU">LA NUOVA TECNOLOGIA MODULA IN MOSTRA AL BIMU</a></h2><p>5 al 9 ottobre<br />Milano<br /> Padiglione 11 stand F32<br /><a href="http://www.bimu-sfortec.com" target="_blank">www.bimu-sfortec.com</a><br /><img src="images/logos/bimu.gif" width="184" height="96" alt="BIMU" /></p>'

pausecontent_IT[1]='<h2><a href="lower.php?pg=NE#IMTS">IMTS 2010</a></h2><p>International Manufacturing Technology Show<br />McCormick Place<br />Chicago, IL USA<br />September 13 - 18, 2010<br />Booth #E-4558<br /><a href="http://www.imts.com/" target="_blank">www.imts.com</a></p><img src="images/logos/IMTS.gif" width="200" height="42" alt="ProMat 2001" />'

pausecontent_IT[2]='<h2><a href="lower.php?pg=NE#AMB">MODULA ALL\' AMB DI STOCCARDA</a></h2><p>Hall 8 stand 8D60 <br />28 settembre al 2 ottobre<br />  <a href="http://www.amb-expo.de" target="_blank" title="AMB">www.amb-expo.de</a><br /><img src="images/logos/amb.gif" width="150" height="79" alt="AMB" /></p>'

pausecontent_IT[3]='<h2><a href="lower.php?pg=NE#ProMat">ProMat 2011</a></h2><p>McCormick Place South<br />Chicago, IL USA<br />March 21 - 24, 2011<br />Booth #2919<br /><a href="http://www.promatshow.com" target="_blank">www.promatshow.com</a></p><img src="images/logos/promat.gif" width="200" height="42" alt="ProMat 2001" />'


var pausecontent_ES=new Array()
pausecontent_ES[0]='<h2>LA NUEVA TECNOLOGÍA MODULA EN MUESTRA EN EL BIMU</h2><p>En muestra en el BIMU, del 5 al 9 de octubre en la Feria de Milán, el nuevo Modelo Modula Lift: ligero en el precio pero no en la tecnología, cada vez más avanzada.</p><p>El salón de Milán en el que se presentará lo mejor de la producción internacional del sector: máquinas herramientas de deformación y extracción, robot, automatización, tecnologías auxiliares será el escenario de excelencia para el almacén automático vertical firmado System Logistics que con su nuevo modelosupera la velocidad de 100 cajas por hora optimizando productividad y eficiencia.</p><p>Al público de los operadores de la industria manufacturera provenientes de todas las partes del mundo ( en 2008 : 96.411 visitantes, 5.841 de los cuales de 77 países extranjeros) MODULA podrá mostrar su excelencia en el ámbito del almacenaje en la gestión, extracción o localización rápida de cualquier producto en las más variadas situaciones de espacio. Modulares y flexibles, de hecho, los almacenes Modula se prestan perfectamente a todos los sectores industriales adaptándose también, gracias a los numerosos modelos de diferentes dimensiones, a las exigencias de espacio de los diferentes "espacios" industriales.</p><p>Por lo tanto, cita con Modula del 5 al 9 de octubre en Milán, <a href="http://www.bimu-sfortec.com" target="_blank">www.bimu-sfortec.com,</a>  Pabellón 11 stand F32</p>'

pausecontent_ES[1]='<h2>IMTS 2010</h2><p>International Manufacturing Technology Show<br />McCormick Place<br />Chicago, IL USA<br />September 13 - 18, 2010<br />Booth #E-4558<br /><a href="http://www.imts.com/" target="_blank">www.imts.com</a></p><img src="images/logos/IMTS.gif" width="200" height="42" alt="ProMat 2001" />'

pausecontent_ES[2]='<h2>ProMat 2011</h2><p>McCormick Place South<br />Chicago, IL USA<br />March 21 - 24, 2011<br />Booth #2919<br /><a href="http://www.promatshow.com" target="_blank">www.promatshow.com</a></p><img src="images/logos/promat.gif" width="200" height="42" alt="ProMat 2001" />'


var pausecontent_DE=new Array()
pausecontent_DE[0]='<h2>DIE NEUE MODULA-TECHNOLOGIE AUF DER DIESJÄHRIGEN BIMU</h2><p>Vom 5. bis 9. Oktober fungiert die BIMU in Mailand als Schaufenster für das neue Lagersystem Modula Lift: ein Leichtgewicht in punkto Preis, aber ein absolutes Schwergewicht, was die immer ausgefeiltere Technologie anbelangt.</p><p>Auf der BIMU wird auch dieses Jahr wieder das Beste zu sehen sein, was die Branche international an Neuheiten zu bieten hat. Somit ist die Mailänder Messe für umformende und spanende Werkzeugmaschinen, Roboter, Automatisierung sowie ergänzende Technologien eine exzellente Plattform für System , um das neue vertikale automatische Lagersystem MODULA zu präsentieren, dessen neues Modell eine Geschwindigkeit von über 100 Schubfächern pro Stunde erreicht und damit eine erhebliche Steigerung in Sachen Produktivität und Effizienz ermöglicht.</p><p>In Mailand wird MODULA einem internationalen Fachpublikum aus der verarbeitenden Industrie (im Jahr 2008 verzeichnete die Messe 96.411 Besucher, davon 5.841 aus über 77 Ländern) seine Leistungsfähigkeit bei der Verwaltung, der Entnahme sowie der Auffindung von jedem beliebigen Lagergut unter den unterschiedlichsten Raumbedingungen zeigen können.  Aufgrund seiner modularen und extrem flexiblen Konzeption lässt sich das Modula-Lagersystem in der Tat optimal an die unterschiedlichsten Anforderungen in den jeweiligen Industriebranchen anpassen, nicht zuletzt auch aufgrund der zahlreichen Modelle in unterschiedlichen Größen, die den vielfältigen räumlichen Gegebenheiten in den jeweiligen Produktionsstätten gerecht werden.</p><p>Wir freuen uns auf Ihren Besuch vom 5. bis 9. Oktober auf der BIMU in Mailand, <a href="http://www.bimu-sfortec.com" target="_blank">www.bimu-sfortec.com,</a>  Halle 11 Stand F32.</p>'

pausecontent_DE[1]='<h2>IMTS 2010</h2><p>International Manufacturing Technology Show<br />McCormick Place<br />Chicago, IL USA<br />September 13 - 18, 2010<br />Booth #E-4558<br /><a href="http://www.imts.com/" target="_blank">www.imts.com</a></p><img src="images/logos/IMTS.gif" width="200" height="42" alt="ProMat 2001" />'

pausecontent_DE[2]='<h2>MODULA AUF DER AMB IN STUTTGART</h2><p>Vom 28. September bis 2. Oktober 2010 wird Modula auf der Messe in Stuttgart das neue Modell  Modula Lift  mit einer noch moderneren Technik pr&auml;sentieren.</p><p>Die Hauptkomponenten des neuen automatischen Hochregallager von System Logistics wurden &uuml;berarbeitet, so dass es nun eine gr&ouml;&szlig;ere Lagerfl&auml;che aufweist und weniger Stellplatz ben&ouml;tigt. Mit einer beachtlichen Handlinggeschwindigkeit der Beh&auml;lter (100/h) setzt Modula Lift auf dem Markt Spitzenstandards in punkto Leistungsmerkmale.</p><p>Die modularen und flexiblen Lagersysteme Modula eignen sich perfekt f&uuml;r jede Branche und sind, dank der zahlreichen Modelle in verschiedenen Gr&ouml;&szlig;en, auf alle spezifischen Platzerfordernisse in der Industrie abstimmbar.</p><p>Wir erwarten Sie mit Modula Lift. AMB STUTTGART -  Halle 8 Stand 8D60 - 28. September bis 2. Oktober <a href="http://www.amb-expo.de" target="_blank" title="AMB">(www.amb-expo.de)</a><img src="images/logos/amb.gif" width="150" height="79" alt="AMB" /></p>'

pausecontent_DE[3]='<h2>ProMat 2011</h2><p>McCormick Place South<br />Chicago, IL USA<br />March 21 - 24, 2011<br />Booth #2919<br /><a href="http://www.promatshow.com" target="_blank">www.promatshow.com</a></p><img src="images/logos/promat.gif" width="200" height="42" alt="ProMat 2001" />'


/***********************************************
* Pausing up-down scroller- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

function pausescroller(content, divId, divClass, delay){
this.content=content //message array content
this.tickerid=divId //ID of ticker div to display information
this.delay=delay //Delay between msg change, in miliseconds.
this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is)
this.hiddendivpointer=1 //index of message array for hidden div
document.write('<div id="'+divId+'" class="'+divClass+'" style="position: relative; overflow: hidden"><div class="innerDiv" style="position: absolute; width: 100%" id="'+divId+'1">'+content[0]+'</div><div class="innerDiv" style="position: absolute; width: 100%; visibility: hidden" id="'+divId+'2">'+content[1]+'</div></div>')
var scrollerinstance=this
if (window.addEventListener) //run onload in DOM2 browsers
window.addEventListener("load", function(){scrollerinstance.initialize()}, false)
else if (window.attachEvent) //run onload in IE5.5+
window.attachEvent("onload", function(){scrollerinstance.initialize()})
else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 sec
setTimeout(function(){scrollerinstance.initialize()}, 500)
}

// -------------------------------------------------------------------
// initialize()- Initialize scroller method.
// -Get div objects, set initial positions, start up down animation
// -------------------------------------------------------------------

pausescroller.prototype.initialize=function(){
this.tickerdiv=document.getElementById(this.tickerid)
this.visiblediv=document.getElementById(this.tickerid+"1")
this.hiddendiv=document.getElementById(this.tickerid+"2")
this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv))
//set width of inner DIVs to outer DIV's width minus padding (padding assumed to be top padding x 2)
this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivtop*2)+"px"
this.getinline(this.visiblediv, this.hiddendiv)
this.hiddendiv.style.visibility="visible"
var scrollerinstance=this
document.getElementById(this.tickerid).onmouseover=function(){scrollerinstance.mouseoverBol=1}
document.getElementById(this.tickerid).onmouseout=function(){scrollerinstance.mouseoverBol=0}
if (window.attachEvent) //Clean up loose references in IE
window.attachEvent("onunload", function(){scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseout=null})
setTimeout(function(){scrollerinstance.animateup()}, this.delay)
}


// -------------------------------------------------------------------
// animateup()- Move the two inner divs of the scroller up and in sync
// -------------------------------------------------------------------

pausescroller.prototype.animateup=function(){
var scrollerinstance=this
if (parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5)){
this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px"
this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px"
setTimeout(function(){scrollerinstance.animateup()}, 50)
}
else{
this.getinline(this.hiddendiv, this.visiblediv)
this.swapdivs()
setTimeout(function(){scrollerinstance.setmessage()}, this.delay)
}
}

// -------------------------------------------------------------------
// swapdivs()- Swap between which is the visible and which is the hidden div
// -------------------------------------------------------------------

pausescroller.prototype.swapdivs=function(){
var tempcontainer=this.visiblediv
this.visiblediv=this.hiddendiv
this.hiddendiv=tempcontainer
}

pausescroller.prototype.getinline=function(div1, div2){
div1.style.top=this.visibledivtop+"px"
div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px"
}

// -------------------------------------------------------------------
// setmessage()- Populate the hidden div with the next message before it's visible
// -------------------------------------------------------------------

pausescroller.prototype.setmessage=function(){
var scrollerinstance=this
if (this.mouseoverBol==1) //if mouse is currently over scoller, do nothing (pause it)
setTimeout(function(){scrollerinstance.setmessage()}, 100)
else{
var i=this.hiddendivpointer
var ceiling=this.content.length
this.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1
this.hiddendiv.innerHTML=this.content[this.hiddendivpointer]
this.animateup()
}
}

pausescroller.getCSSpadding=function(tickerobj){ //get CSS padding value, if any
if (tickerobj.currentStyle)
return tickerobj.currentStyle["paddingTop"]
else if (window.getComputedStyle) //if DOM2
return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top")
else
return 0
}
