n_1=new Image();
n_1.src='../img/p_t.gif';
h_1=new Image();
h_1.src='../img/p_rot.gif';

function roll(bildName,bildQuelle) {
	document.images[bildName].src = bildQuelle.src;
}
/////////////////////////////////////////////

// Bild-Adressen-Array
var b = new Array();

function flasher(datei,id,time) {
	//alert(datei + "\n" + id + "\n" + time);

	// Altes Bild
 	b[0] = new Image(); b[0].src = document.getElementById(id).src;
	// Neues Bild
 	b[1] = new Image(); b[1].src = datei;
	
	// Bild ersetzen
	document.getElementById(id).src = b[1].src;
	// Funktion erneut aufrufen.  ACHTUNG: setTimeout akzeptiert nur lokale Variablen
	aufruf = 'flasher(\'' + b[0].src + '\', \'' + id + '\', ' + time + ')';
	//alert(aufruf);
	setTimeout(aufruf, time);
}
////////////////////////////////////////////
// Funktion zum Aufruf der Auswahl eines Dropdown-Menüs
function Go(x) {
 if(x == "nothing") {
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
   return;
 }
 else if(x == "end")
   top.location.href = parent.frames[1].location;
 else {
   parent.frames[1].location.href = x;
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
 }
}

/**********************************************************************************   
ChangeText 
*   Copyright (C) 2001 Thomas Brattli
*   this script was released at DHTMLCentral.com
*   Visit for more great scripts!
*   this may be used and changed freely as long as this msg is intact!
*   We will also appreciate any links you could give us.
*
*   Made by Thomas Brattli
*
*   Script date: 08/02/2001 (keep this date to check versions) 
*********************************************************************************/
function lib_bwcheck(){ //Browsercheck (needed)
	this.ver=navigator.appVersion
	this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.opera5=(navigator.userAgent.indexOf("Opera")>-1 && document.getElementById)?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0; 
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
	this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	this.mac=this.agent.indexOf("Mac")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5)
	//alert(' ver: '+this.ver+'\n agent: '+this.agent+'\n dom: '+this.dom+'\n opera5: '+this.opera5+'\n ie5: '+this.ie5+'\n ie6: '+this.ie6+'\n ie4: '+this.ie4+'\n ie: '+this.ie+'\n mac: '+this.mac+'\n ns6: '+this.ns6+'\n ns4: '+this.ns4+'\n bw: '+this.bw);
	return this
}
var bw=lib_bwcheck()
if(document.layers){ //NS4 resize fix...
	scrX= innerWidth; scrY= innerHeight;
	onresize= function(){if(scrX!= innerWidth || scrY!= innerHeight){history.go(0)} }
}

//Set the text you want to display on mouseover here.
messages=new Array()
messages[0]='<br /><br />Diese Maschinen applizieren verschiedenartige Kleinteile (Trinkhalme, L&ouml;ffel, Kleinspielzeug, etc.) auf die unterschiedlichsten Verpackungstypen.<br /><br />Bitte <span class="rot">w&auml;hlen Sie</span> aus der Grafik einen Verpackungstyp, auf den Sie applizieren m&ouml;chten. <br /><br /><br /><br />'
 //This is the default text that appears when you mouse out.
messages[1]='<h3 align="center">Typ <br />410-413/430-433</h3>Maschinen zur <strong>seitlichen</strong> Applikation von Objekten an Packungen, Becher, Beutel, Umverpackungen, usw.'
messages[2]='<h3 align="center">Typ <br />416-417/436-437</h3>Maschinen zur <strong>Top</strong>-Applikation von Objekten auf Packungen, Becher, Beutel, Umverpackungen, usw.'
messages[3]='<h3 align="center">Typ <br />410-413/430-433</h3>Maschinen zur <strong>seitlichen</strong> Applikation von Objekten an Packungen, Becher, Beutel, Umverpackungen, usw.'
messages[4]='<h3 align="center">Typ <br />450-453/460-463</h3>Maschinen zur <strong>seitlichen</strong> Applikation von Objekten an Packungen.'
messages[5]='<h3 align="center">Typ <br />456-457/466-467</h3>Maschinen zur <strong>Top</strong>-Applikation von Objekten auf Packungen.'
messages[6]='<h3 align="center">Typ <br />450-453/460-463</h3>Maschinen zur <strong>seitlichen</strong> Applikation von Objekten an Packungen.'
messages[7]='<h3 align="center">Typ <br />473</h3>Maschinen zur Applikation von L&ouml;ffeln zwischen <strong>Zweikammerbecher</strong>.<br /><br />(Verfahren patentiert)'
messages[8]='<h3 align="center">Typ <br />428</h3>Maschinen mit mehreren, voneinander unabh&auml;ngigen, Applikationsgetrieben. Jedes f&uuml;r sich kann auch f&uuml;r die Applikation unterschiedlicher Objekte genutzt werden.'
messages[9]='<h3 align="center">Typ <br />454</h3>Der Applikator-Dispenser schneidet von gegurteten Objekten (einzelne oder mehrere) ab und legt diese in St&uuml;lpdeckel, K&auml;sten oder &auml;hnliches, welche unter dem Ger&auml;t vorbeilaufen.'
messages[10]='<h3 align="center">Typ <br />454</h3>Der Applikator-Dispenser schneidet von gegurteten Objekten (einzelne oder mehrere) ab und legt diese in St&uuml;lpdeckel, K&auml;sten oder &auml;hnliches, welche unter dem Ger&auml;t vorbeilaufen.'
messages[11]='<h3 align="center">Typ <br />416-417/436-437</h3>Maschinen zur <strong>Top</strong>-Applikation von Objekten auf Packungen, Becher, Beutel, Umverpackungen, usw.'
// English
messages[100]='<br /><br />These machines are to applicate small parts (i.e. straws, spoons, toys) to objects similar to those in the panel.<br /><br />Please <span class="rot">choose</span> your type of product.'
messages[101]='<h3 align="center">Type <br />410-413/430-433</h3>Machines for the application of objects <strong>to the side</strong> of packages'
messages[102]='<h3 align="center">Type <br />416-417/436-437</h3>Machines for the application of objects <strong>to the top</strong> of packages'
messages[103]='<h3 align="center">Type <br />410-413/430-433</h3>Machines for the application of objects <strong>to the side</strong> of packages'
messages[104]='<h3 align="center">Type <br />450-453/460-463</h3>Machines for the application of objects <strong>to the side</strong> of packages'
messages[105]='<h3 align="center">Type <br />456-457/466-467</h3>Machines for the application of objects <strong>to the top</strong> of packages'
messages[106]='<h3 align="center">Type <br />450-453/460-463</h3>Machines for the application of objects <strong>to the side</strong> of packages'
messages[107]='<h3 align="center">Type <br />473</h3>Machine for the application of spoons between <strong>2-chamber cups</strong>'
messages[108]='<h3 align="center">Type <br />428</h3>Machines with several application gear units independent of each other. Each can be used for the application of different objects.'
messages[109]='<h3 align="center">Type <br />454</h3>The applicator-dispenser cuts off the desired number (one or more) of belted objects and places these in overcups, boxes or similar which pass by under the unit'
messages[110]='<h3 align="center">Type <br />454</h3>The applicator-dispenser cuts off the desired number (one or more) of belted objects and places these in overcups, boxes or similar which pass by under the unit'
messages[111]='<h3 align="center">Type <br />416-417/436-437</h3>Machines for the application of objects <strong>to the top</strong> of packages'

/********************************************************************************
You don't have to change anything below this 
UG: BUT I DID!! 
UG: Get the original script at DHTMLCentral.com
********************************************************************************/

//ChangeText object constructor.
function makeChangeTextObj(obj){
   	this.css = bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?document.layers[obj]:0;	
   	this.writeref = bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?document.layers[obj].document:0;	
	this.writeIt = b_writeIt;					
}

function b_writeIt(text, num, numInt){
	if (bw.ns4){
		this.writeref.write(text)
		this.writeref.close()
	}
    else this.writeref.innerHTML = messages[numInt]
}

//The mouoseover function. Calls the writeIt method to write the text to the div.
function changeText(num,lang){
	if(lang=="en"){numInt=num+100;} else {numInt=num}
	if (bw.bw) oMessage.writeIt(messages[numInt], num, numInt)
}

//The init function. Calls the object constructor and initiates some properties.
function changeTextInit(){
	//Fixing the browsercheck for opera... this can be removed if the browsercheck has been updated!!
	bw.opera5 = (navigator.userAgent.indexOf("Opera")>-1 && document.getElementById)?true:false
	if (bw.opera5) bw.ns6 = 0
	oMessage = new makeChangeTextObj('divMessage')
	
	//Both layers are hidden by default to prevent users from mousing over them and creating errors while the page loads.
	oMessage.css.visibility= "visible"
}
//If the browser is ok, the init function is called on pageload. 

// UG: Added second condition.
// UG: Function produces error if Website doesn't contain Object-ID 'divMessage'.
if (bw.bw && (document.URL.search('appl')!=-1)){   
	onload = changeTextInit; 
}
//*********************************************** END OF BRATTA
//alert(document.URL)


