
var ns4up = (document.layers) ? 1 : 0;
var ie4up = (document.all) ? 1 : 0;
var rmtest = null

//######################################################
function fhin(){
if(ns4up){
	  document.fhsel.close;
	  document.modsel.close;
	  document.typsel.close;
          document.fhsel.top=118;
          document.modsel.top=-300;
          document.typsel.top=-300; 
//          document.karrow.src = './img/uparrow.gif'
}
if(ie4up){
          fhsel.style.pixelTop=118;
	  modsel.style.pixelTop=-300;
          typsel.style.pixelTop=-300; 
          document.fharrow.src = './img/uparrow.gif'
}
}
 
//######################################################
function fhout(){
if(ns4up){
	  document.fhsel.close;
          document.fhsel.top=-300;
//          document.karrow.src = './img/downarrow.gif'
}
if(ie4up){
          fhsel.style.pixelTop=-300;
          document.fharrow.src = './img/downarrow.gif'
}
}

//######################################################
function modin(){
if(ns4up){
          document.fhsel.close;
          document.modsel.close;
          document.typsel.close;
          document.modsel.top=118;
          document.fhsel.top=-300;
          document.typsel.top=-300;
//          document.harrow.src = './img/uparrow.gif'
}

if(ie4up){
          modsel.style.pixelTop=118;
          fhsel.style.pixelTop=-300;
          typsel.style.pixelTop=-300; 
          document.modarrow.src = './img/uparrow.gif'
}
}

//######################################################
function modout(){
if(ns4up){
	  document.modsel.close;
          document.modsel.top=-300;
//          document.harrow.src = './img/downarrow.gif'
}
if(ie4up){
          modsel.style.pixelTop=-300;
          document.modarrow.src = './img/downarrow.gif'
}
}

//######################################################
function typin(){
if(ns4up){
          document.fhsel.close;
          document.modsel.close;
          document.typsel.close;
          document.typsel.top=118;
          document.fhsel.top=-300;
          document.modsel.top=-300;
//          document.narrow.src = './img/uparrow.gif'
}

if(ie4up){
          typsel.style.pixelTop=118;
          fhsel.style.pixelTop=-300;
          modsel.style.pixelTop=-300; 
          document.typarrow.src = './img/uparrow.gif'
}
}

//######################################################
function typout(){
if(ns4up){
	  document.typsel.close;
          document.typsel.top=-300;
//          document.narrow.src = './img/downarrow.gif'
}

if(ie4up){
          typsel.style.pixelTop=-300;
          document.typarrow.src = './img/downarrow.gif'
}
}

//######################################################
function oin(){
if(ns4up){
	document.order.close;
        if (document.order.top < -200){
          document.order.top=131;
        }else{
          document.order.top=-300;
        }
}
if(ie4up){
        if (order.style.pixelTop < -200){
          order.style.pixelTop=131;
	}else{
          order.style.pixelTop=-300;
	}
}
}

//######################################################
function oins(){
if(ns4up){
	document.order.close;
        if (document.order.top < -200){
          document.order.top=401; 
        }else{
          document.order.top=-300;
        }
}
if(ie4up){
        if (order.style.pixelTop < -200){
          order.style.pixelTop=401;
        }else{
          order.style.pixelTop=-300;
        }
}
} 


//######################################################
function HearIt(xxx){

Show="<EMBED NAME='speech' SRC='./wav/speech.cgi?speech="+xxx+"' HIDDEN=TRUE LOOP=False AUTOSTART=TRUE MASTERSOUND></EMBED>"
if(ns4up) {
         document.Speech.document.write(Show)
         document.Speech.document.close()
}
if (ie4up){
Speech.innerHTML=Show
}
}


//######################################################
function fhto(form) {
var formindex=form.frmfh.selectedIndex
var formfh=(form.frmfh.options[formindex].value)

window.location=("scheiben.php4?m=z&fh=" + formfh  )

}

//######################################################
function modto(form, fh) {
var formindex=form.frmmod.selectedIndex
var formmod=(form.frmmod.options[formindex].value)

window.location=("scheiben.php4?m=z&fh=" + fh + "&mod=" + formmod)

}

//######################################################
function typto(form, fh, mod) {
var formindex=form.frmtyp.selectedIndex
var formtyp=(form.frmtyp.options[formindex].value)
 
window.location=("scheiben.php4?m=z&fh=" + fh + "&mod=" + mod + "&typ=" + formtyp )

}


