  
  up_lo = new Image();
  up_lo.src = "/img/up_lo.gif";
  up_hi = new Image();
  up_hi.src = "/img/up_hi.gif";

  down_lo = new Image();
  down_lo.src = "/img/down_lo.gif";
  down_hi = new Image();
  down_hi.src = "/img/down_hi.gif";

  down2_lo = new Image();
  down2_lo.src = "/img/down2_lo.gif";
  down2_hi = new Image();
  down2_hi.src = "/img/down2_hi.gif";


function Bildwechsel(Bildnr,Bildobjekt)
{
   window.document.images[Bildnr].src = Bildobjekt.src;
}


function opw(url,x,y,winName)
{
if (url == null || x == null || y == null || winName == null)
	{
	alert ('Missing parameter! The following parameters are needed: URL(string), width, height(integer), window name(string).');
	}
else
	{
	noww = new Date();
	if (winName != null)
		{
		aWindow = winName;
		}
	else
		{
		aWindow = noww.getTime();
		}
	para="toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=NO,resizable=no,width="+x+",height="+y;
	newWindow = window.open(url,aWindow,para);
	newWindow.focus();
	}
}

function opwDist(url)
{
para="toolbar=no,location=no,directories=no,status=no,menubar=1,scrollbars=Yes,resizable=no,width=410,height=400";
newWindow = window.open(url,'Distribution',para);
newWindow.focus();
}

function jumpMenu(targ,selObj,restore)
{
if (selObj.options[selObj.selectedIndex].value != ""){
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");}
if (restore) selObj.selectedIndex=0;
}

function menuUp()
{

var menuUp = new Array("dummy","Homepage","About Us","Distribution","Contacts","News","Events","Ask Us","Newsletter","Impressum")
var menuUpLink = new Array("dummy","/homepage.htm","/aboutus.htm","/distribution.htm","/contacts.htm","/news.htm","/events.htm","/askus.htm","/newsletter.htm","/impressum.htm");

var menuNr = document.form.menuUp.value;

imageNr = 3;

for(i=1; i < menuUp.length; i++)
	{
	if (menuNr == i)
		{
			document.writeln('<img src="/img/up_hi.gif" width="16" height="13">'+ menuUp[i] +'&nbsp;&nbsp;');
		}
	else
		{
			document.writeln('<img src="/img/up_lo.gif" width="16" height="13"><a href="'+menuUpLink[i]+'" class="menuUp" onMouseOver="Bildwechsel('+imageNr+',up_hi)" onMouseOut="Bildwechsel('+imageNr+',up_lo)">'+ menuUp[i] +'</a>&nbsp;&nbsp;');
   		}
    	imageNr++;
	}

}


function menuLeft()
{

var menuProduct = new Array("dummy","Dissolution Testing","Semi-Automated Dissolution","Fully-Automated Dissolution","In-Situ Dissolution","Spectrophotometer","Disintegration Testing","Semi-Automated Disintegration","Fully-Automated Disintegration","Suppository Testing","Tablet Hardness Testing","Tablet Hardness Automated","Friability Testing Manual","Friability Testing Automated","Powder Testing Manual","Powder Testing Automated","Leak Testing")
var menuProductLink = new Array("dummy","/en/products/po10.htm","/en/products/po20.htm","/en/products/po30.htm","/en/products/po150.htm","/en/products/po160.htm","/en/products/po40.htm","/en/products/po50.htm","/en/products/po60.htm","/en/products/po70.htm","/en/products/po80.htm","/en/products/po90.htm","/en/products/po100.htm","/en/products/po110.htm","/en/products/po120.htm","/en/products/po130.htm","/en/products/po170.htm");

var menuLeft = new Array("dummy","Service/Download","FAQ")
var menuLeftLink = new Array("dummy","/service.htm","/faq.htm");
var menuPNr = document.form.menuProduct.value;
var menuLNr = document.form.menuLeft.value;


document.writeln('<table width="278" border="0" cellspacing="0" cellpadding="0">');
document.writeln('<tr>');
document.writeln('<td height="1" width="17">&nbsp;</td>');
document.writeln('<td class="menuleft"><span class="menuDown"><img src="/img/down_open.gif" width="16" height="13"><b>Analytical Products</b></span></td>');
document.writeln('</tr>');

imageNr = 13;


for(i=1; i < 6; i++)
	{
	if (menuPNr == i)
		{
			document.writeln('<tr>');
			document.writeln('<td height="1" width="17">&nbsp;</td>');
			document.writeln('<td class="menuDown"><img src="/img/down2_hi.gif" width="26" height="13">'+ menuProduct[i] +'</td>');
			document.writeln('</tr>');
		}
	else
		{
			document.writeln('<tr>');
			document.writeln('<td height="1" width="17">&nbsp;</td>');
			document.writeln('<td class="menuDown"><img src="/img/down2_lo.gif" width="26" height="13"><a href="'+menuProductLink[i]+'" class="menuDown" onMouseOver="Bildwechsel('+imageNr+',down2_hi)" onMouseOut="Bildwechsel('+imageNr+',down2_lo)">'+ menuProduct[i] +'</a></td>');
			document.writeln('</tr>');
   		}
    	imageNr++;
	}


document.writeln('<tr>');
document.writeln('<td class="menuleft" colspan="2" height="8"><img src="/img/space.gif" width="1" height="5"></td>');
document.writeln('</tr>');
document.writeln('<tr>');
document.writeln('<td height="1" width="17">&nbsp;</td>');
document.writeln('<td class="menuleft"><span class="menuDown"><img src="/img/down_open.gif" width="16" height="13"><b>Galenical Products</b></span></td>');
document.writeln('</tr>');

imageNr++;
imageNr++;

for(i=6; i < menuProduct.length; i++)
	{
	if (menuPNr == i)
		{
			document.writeln('<tr>');
			document.writeln('<td height="1" width="17">&nbsp;</td>');
			document.writeln('<td class="menuDown"><img src="/img/down2_hi.gif" width="26" height="13">'+ menuProduct[i] +'</td>');
			document.writeln('</tr>');
		}
	else
		{
			document.writeln('<tr>');
			document.writeln('<td height="1" width="17">&nbsp;</td>');
			document.writeln('<td class="menuDown"><img src="/img/down2_lo.gif" width="26" height="13"><a href="'+menuProductLink[i]+'" class="menuDown" onMouseOver="Bildwechsel('+imageNr+',down2_hi)" onMouseOut="Bildwechsel('+imageNr+',down2_lo)">'+ menuProduct[i] +'</a></td>');
			document.writeln('</tr>');
   		}
    	imageNr++;
	}



document.writeln('<tr>');
document.writeln('<td height="1" width="17">&nbsp;</td>');
document.writeln('<td height="26" class="menuleft">&nbsp;</td>');
document.writeln('</tr>');


for(i=1; i < menuLeft.length; i++)
	{
	if (menuLNr == i)
		{
			document.writeln('<tr>');
			document.writeln('<td height="1" width="17">&nbsp;</td>');
			document.writeln('<td class="menuDown"><img src="/img/down_hi.gif" width="16" height="13">'+ menuLeft[i] +'</td>');
			document.writeln('</tr>');
		}
	else
		{
			document.writeln('<tr>');
			document.writeln('<td height="1" width="17">&nbsp;</td>');
			document.writeln('<td class="menuDown"><img src="/img/down_lo.gif" width="16" height="13"><a href="'+menuLeftLink[i]+'" class="menuDown" onMouseOver="Bildwechsel('+imageNr+',down_hi)" onMouseOut="Bildwechsel('+imageNr+',down_lo)">'+ menuLeft[i] +'</a></td>');
			document.writeln('</tr>');
   		}
    	imageNr++;
	}

document.writeln('</tr>');
document.writeln('<tr><td></td><td class="content11"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copyright Pharma Test 2005</tr></td>');
document.writeln('</table>');

}

function opwin(url,x,y,winName)
{

if ((navigator.platform == 'MacPPC') && (navigator.appName == 'Microsoft Internet Explorer'))
{
x = x - 16;
y = y - 16;
}

	para="toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=NO,noresize,resizable=no,width="+x+",height="+y;
	newWindow = window.open(url,winName,para);
	newWindow.focus();

}

function crypt(name) {
	document.write('<a href=\"mailto:' + name + '@' + 'pharma' + '-' + 'test' + '.' + 'de' + '\" class=\"content12Link\">');
	document.write(name + '@' + 'pharma' + '-' + 'test' + '.' + 'de' + '</a>');
}
