<!-- hide this script from non-javascript-enabled browsers

vertMENU1 = new Array (
	120,18,
	"#000090","#F8F7F9","#FFFFFF",  // color, bgcolor, hicolor
	"Arial",1,
	"#000000",1,
	"Main Page","index.html"
);

vertMENU2 = new Array (
	125,18,
	"#000090","#F8F7F9","#6689B4",  // color, bgcolor, hicolor,
	"Arial",1,
	"#000000",1,
	"Company Introduction", "aboutus.htm",
        "Company Strategy","strategy.htm"	
	
);

vertMENU3 = new Array (
	140,18,
	"#000090","#54779F","#FFFFFF",  // color, bgcolor, hicolor
	"Arial",1,
	"#000000",1,
	"Products","products.htm"
);

vertMENU4 = new Array (
	140,18,
	"#000090","#F8F7F9","#FFFFFF",  // color, bgcolor, hicolor
	"Arial",1,
	"#000000",1,
	"Core Technologies", "core.htm"

);

vertMENU5 = new Array (
	200,18,
	"#000090","#F8F7F9","#6689B4",  // color, bgcolor, hicolor
	"Arial",1,
	"#000000",1,
	"Aminoglycoside","aminoglycoside.html",
	"Antifungal","antifungal.html",
	"Camphor Intermediates & Derivatives","intermediates.html",
	"Chiral Chemistry","Chiral.html",
	"IPBC / Biocides","Biocides.html",
	"Oral & Sterile Cephalosporins","Hematopoietics/antianemicsapi.html",
	"Coming Soon","Coming Soon.html",
	"Excipients","Excipients.html"
);


	


//||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

// ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
// vertMENU Level 1
//
// Copyright 20000 Vertibrate
// Copyright 20000 Vertibrate Interactive Brand Development
//
// ----------------------------------------------------------------------------
// Description:		A simple one-level DHTML menu component.
// Compatibility:	4th generation browsers and above
//
// USAGE ----------------------------------------------------------------------
//
//	Input:	x # of arrays named as follows:
//				vertMENUy = new Array(...)
//			where y = a sequential, unique menu number.
//
//	Array Parms:
//		0 - menu width (px)
//		1 - menuitem height (px)
//		2 - menuitem color
//		3 - menuitem background color
//		4 - menuitem highlighted background color
//		5 - font
//		6 - font size (1,2,3,...)
//		7 - menu border color
//		8 - menu border size (px)
//		
//		9  - item 1 text
//		10 - item 1 href
//		11 - item 2 text
//		12 - item 2 href
//		13 - item 3 text
//		     .
//			 .
//		nn - item (nn-9) href
//
//  after defining all arrays (in a <script> block), include this file with:
//		<script language="Javascript1.1" src="vertMENU.js"></script>
//
//  surround each HTML menu/header with <A href=""></a>
//
//  add onMouseOver and onMouseOut properties to each link as follows:
//
// <A href="" onMouseOver="menu_popup(n,this,x,y)" onMouseOut="menu_popdown(x)">
//
//	where n = the menu number to pop up, and x,y are offset values in pixels
//
//-----------------------------------------------------------------------------
//
// Company: Vertibrate Inc.
// Author: Ted Wehner, Developer
// Date: 7/20/2000
//
//-----------------------------------------------------------------------------

var activeMenu 		= null;
var activeMenuItem 	= null;
var vertMENUS 		= new Array(1);
var isLoaded		= 0;

// [ setup ] ------------------------------------------------------------------

function createMenusNS()
{
	var menuCount = 1;

	while(eval("window.vertMENU"+menuCount)) {
		menuArray = eval("vertMENU"+menuCount);
		
		menu = new Layer(menuArray[0],window);
		
		vertMENUS[menuCount] 	= menu;
		menu.menuNdx 			= menuCount;
		menu.onmouseout 		= menu_out;
		menu.show				= menu_show;
		menu.hide				= menu_hide;
		
		style 				= menu;
		style.visibility 	= 'hide';
		style.color 		= menuArray[2];
		style.bgColor 		= menuArray[7];
		style.left 			= 0;
		style.top 			= 0;
		style.zIndex 		= 100;
				
		prevstyle = null;
		ndx = 9;
		while (menuArray[ndx]) {
			
			mitem = new Layer(menuArray[0],menu);
			mitem.document.write ('&nbsp;<font color="'+menuArray[2]+'" face="'+menuArray[5]+'" size="'+menuArray[6]+'">'+menuArray[ndx]+'</font>');
			mitem.document.close();
			mitem.captureEvents(Event.MOUSEUP);
			
			mitem.menu 			= menu;
			mitem.onmouseover 	= menuitem_over;
			mitem.onmouseup 	= menuitem_click;
			mitem.lolite 		= menuitem_lolite;
			mitem.hilite 		= menuitem_hilite;
			mitem.href 			= menuArray[ndx+1];

			menu.lastitem 		= mitem;

			style = mitem;

			style.visibility 	= 'inherit';
			style.zIndex		= 101;
			style.bgColor 		= menuArray[3];
			style.locolor 		= menuArray[3];
			style.hicolor 		= menuArray[4];

			style.left 			= menuArray[8];
			style.top 			= (prevstyle == null) ? menuArray[8] : prevstyle.top + prevstyle.clip.height;
			style.clip.right 	= menuArray[0]-menuArray[8]*2;
			style.clip.bottom 	= menuArray[1];

			prevstyle 			= style;
									
			ndx += 2;
		}	
		
		menu.clip.right = menuArray[0];
		menu.clip.bottom = menu.lastitem.top + menu.lastitem.clip.height + menuArray[8];
		
		menuCount++;			
	}
	isLoaded = 1;
}


function createMenusIE()
{	
	// [ PHASE 1 : Create ] --------------------------------------------------------------------------------------------
	menuCount = 1;
	menuStr = "";
	while(eval("window.vertMENU"+menuCount)) {
		menuArray 	= eval("vertMENU"+menuCount);
		menuStr    += '<span id="vMENU'+menuCount+'" style="position:absolute">';
		ndx 		= 9;
		while (menuArray[ndx]) {
			menuStr += 	'<span id="vMENU'+menuCount+'ITEM'+((ndx-9)/2+1)+'" style="position:absolute">'+
							'<font color="'+menuArray[2]+'" face="'+menuArray[5]+'" size="'+menuArray[6]+'">&nbsp;'+
							menuArray[ndx]+
							'</font>'+
						'</span>';							  
			ndx += 2;
		}
		menuStr += '</span>';
		menuCount++;
	}
	
	window.document.body.insertAdjacentHTML('BeforeEnd',menuStr);
	
	// [ PHASE 2 : Setup/Connect ] -------------------------------------------------------------------------------------
	menuCount = 1;
		
	while(eval("window.vertMENU"+menuCount)) {
		menuArray = eval("vertMENU"+menuCount);
				
		menu = document.all["vMENU"+menuCount];
		
		vertMENUS[menuCount]	= menu;
		menu.menuNdx 			= menuCount;
		menu.onmouseout 		= menu_out;
		menu.show				= menu_show;
		menu.hide				= menu_hide;
		menu.timerid			= null;
		
		style 					= menu.style;
		style.visibility 		= 'hidden';
		style.color 			= menuArray[2];
		style.backgroundColor 	= menuArray[7];
		style.left 				= 0;
		style.top 				= 0;
		style.zIndex 			= 100;
		style.pixelWidth 		= menuArray[0];
		
		prevstyle = null;
		ndx = 9;
		while (menuArray[ndx]) {
			mitem = document.all["vMENU"+menuCount+"ITEM"+((ndx-9)/2+1)];

			mitem.menu 			= menu;
			mitem.onmouseover 	= menuitem_over;
			mitem.onmouseup 	= menuitem_click;
			mitem.lolite 		= menuitem_lolite;
			mitem.hilite 		= menuitem_hilite;
			mitem.href			= menuArray[ndx+1];

			menu.lastitem 		= mitem;

			style 					= mitem.style;
			style.visibility 		= 'inherit';
			style.zIndex 			= 101;
			style.backgroundColor 	= menuArray[3];
			style.locolor 			= menuArray[3];
			style.hicolor 			= menuArray[4];
			style.cursor 			= "hand";

			style.pixelLeft 		= menuArray[8];
			style.pixelTop 			= (prevstyle == null) ? menuArray[8] : prevstyle.pixelTop + prevstyle.pixelHeight;
			style.pixelWidth 		= menuArray[0]-menuArray[8]*2;
			style.pixelHeight 		= menuArray[1];

			prevstyle = style;
									
			ndx += 2;
		}
		
		menu.style.pixelHeight = menu.lastitem.style.pixelTop + menu.lastitem.style.pixelHeight + menuArray[8];
		
		menuCount++;			
	}
	isLoaded = 1;
}

function resize()
{
	if (document.layers) {
		if (saveInnerWidth < window.innerWidth || 
			saveInnerWidth > window.innerWidth || 
			saveInnerHeight > window.innerHeight || 
			saveInnerHeight < window.innerHeight ) 
    	window.location.reload();
	}
}

function startup()
{
	if (document.layers) 	createMenusNS();
	else					createMenusIE();
	
	window.onresize=resize;
	window.saveInnerWidth = window.innerWidth;
	window.saveInnerHeight = window.innerHeight;
}

window.onload = startup;

// ||||[ SERVICE ROUTINES ]|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

// [ menu ] -------------------------------------------------------------------

function clearTimer(menuNdx) {
	if (vertMENUS[menuNdx].timerid) {
		clearTimeout(vertMENUS[menuNdx].timerid);
		vertMENUS[menuNdx].timerid = null;
	}
}

function getRealLeft(el) {
	if (document.layers) return el.x;
	
	//xStr=el.tagName + "=" + el.offsetLeft;
		
    xPos 	= el.offsetLeft;
    tempEl 	= el.parentElement;
	
    while (tempEl != null) {
		//xStr += "\n" + tempEl.tagName + "=" + tempEl.offsetLeft;
        xPos  += tempEl.offsetLeft;
        tempEl = tempEl.parentElement;
    }
	//alert(xStr);
    return xPos;
}

function getRealTop(el) {
	if (document.layers) return el.y;
	
    yPos 	= el.offsetTop;
    tempEl 	= el.offsetParent;
	
    while (tempEl != null) {
        yPos  += tempEl.offsetTop;
        tempEl = tempEl.offsetParent;
    }
	
    return yPos;
}

function fixLeftBounds(menuNdx,tryLeft)
{
	visibleWidth	= document.layers ? window.innerWidth : document.body.clientWidth;
	visibleLeft 	= document.layers ? window.pageXOffset : document.body.scrollLeft;
	visibleRight 	= visibleLeft + visibleWidth;
	
	menuWidth = document.layers ? vertMENUS[menuNdx].width : vertMENUS[menuNdx].style.pixelWidth;
	
	//right
	if ((tryLeft + menuWidth) > visibleRight) tryLeft = visibleRight - menuWidth;
	
	//left
	if (tryLeft < visibleLeft) tryLeft = visibleLeft;

	return tryLeft;	
}

function fixTopBounds(menuNdx,tryTop)
{
	visibleHeight	= document.layers ? window.innerHeight : document.body.clientHeight;
	visibleTop		= document.layers ? window.pageYOffset : document.body.scrollTop;
	visibleBottom   = visibleTop + visibleHeight;
	
	menuHeight = document.layers ? vertMENUS[menuNdx].height : vertMENUS[menuNdx].style.pixelHeight;
	
	//bottom
	if ((tryTop + menuHeight) > visibleBottom) tryTop = visibleBottom - menuHeight;
	
	//top
	if (tryTop < visibleTop) tryTop = visibleTop;
	
	return tryTop;
}
	

function menu_popup(menuNdx,linkobj,xoff,yoff) {
	if (isLoaded == 1) {
		if (activeMenu != null) 	activeMenu.hide();
		if (activeMenuItem != null) activeMenuItem.lolite();
	
		clearTimer(menuNdx);
		
		vertMENUS[menuNdx].show(
			fixLeftBounds(menuNdx,getRealLeft(linkobj)+(xoff | 0)),
			fixTopBounds(menuNdx,getRealTop(linkobj)+(yoff | 0))
		);
	}
}

function menu_popdown(menuNdx) {
	if (isLoaded == 1) {
		clearTimer(menuNdx);
		vertMENUS[menuNdx].timerid = setTimeout("vertMENUS["+menuNdx+"].hide()",700);
	}
}

function menu_hide()
{
	if (document.layers)	this.visibility = "hide";
	else					this.style.visibility = "hidden";	
	if (this == activeMenu) activeMenu = null;
}

function menu_show(x,y)
{
	if (document.layers) {this.left = x; this.top = y;}
	else				 {this.style.left = x; this.style.top = y;}	

	if (document.layers) 	this.visibility = "show";
	else					this.style.visibility = "visible";
	activeMenu = this;
}

function menu_out() 
{
	clearTimer(this.menuNdx);
	this.timerid = setTimeout("vertMENUS["+this.menuNdx+"].hide()",100);
}

// [ menuitem ] ---------------------------------------------------------------

function menuitem_over()
{
	if (activeMenuItem != null) activeMenuItem.lolite();
	this.hilite();
	
	activeMenuItem = this;
	clearTimer(this.menu.menuNdx);
}

function menuitem_click()
{
	document.location.href = this.href;
}

function menuitem_lolite()
{
	if (document.layers)	this.bgColor = this.locolor;
	else					this.style.backgroundColor = this.style.locolor;
}

function menuitem_hilite()
{
	if (document.layers)	this.bgColor = this.hicolor;
	else					this.style.backgroundColor = this.style.hicolor;
}

if (document.images) {
nav_company = new Image(78,21); nav_company.src = "resources/images/nav_company.gif";
nav_company2 = new Image(78,21); nav_company2.src = "resources/images/nav_company2.gif";
nav_services = new Image(80,21); nav_services.src = "resources/images/nav_services.gif";
nav_services2 = new Image(80,21); nav_services2.src = "resources/images/nav_services2.gif";
nav_tpeed_advan = new Image(138,21); nav_tpeed_advan.src = "resources/images/nav_tpeed_advan.gif";
nav_tpeed_advan2 = new Image(138,21); nav_tpeed_advan2.src = "resources/images/nav_tpeed_advan2.gif";
nav_contact = new Image(76,21); nav_contact.src = "resources/images/nav_contact.gif";
nav_contact2 = new Image(76,21); nav_contact2.src = "resources/images/nav_contact2.gif";
nav_community = new Image(86,21); nav_community.src = "resources/images/nav_community.gif";
nav_community2 = new Image(86,21); nav_community2.src = "resources/images/nav_community2.gif";

}

/* Function that swaps images. */

function di20(id, newSrc) {
    var theImage = FWFindImage(document, id, 0);
    if (theImage) {
        theImage.src = newSrc;
    }
}

/* Functions that track and set toggle group button states. */

function FWFindImage(doc, name, j) {
    var theImage = false;
    if (doc.images) {
        theImage = doc.images[name];
    }
    if (theImage) {
        return theImage;
    }
    if (doc.layers) {
        for (j = 0; j < doc.layers.length; j++) {
            theImage = FWFindImage(doc.layers[j].document, name, 0);
            if (theImage) {
                return (theImage);
            }
        }
    }
    return (false);
}

// stop hiding -->