// JavaScript source code
function bgSwap(id, cssClass)
{
	if (document.getElementById)
	{
		document.getElementById(id).className=cssClass;
		document.getElementById(id).title=id;
	}
}

function goTo(url)
{
	document.location = url;
}

function jumpTo(url)
{
	window.open(url, 'new_win');
}

function showImage(imageName)
{
	var newWindow;
	
	switch(imageName)
	{
		case "vialadapter.jpg":
			newWindow = window.open("/code/vialadapter.asp", "ImageWindow", "height=250,width=250");
			newWindow.focus();		
		break;

		case "ampule.jpg":
			newWindow = window.open("/code/ampule.asp", "ImageWindow", "height=250,width=250");
			newWindow.focus();		
		break;

		case "disposable.jpg":
			newWindow = window.open("/code/disposable.asp", "ImageWindow", "height=250,width=250");
			newWindow.focus();		
		break;

		case "injex30.jpg":
			newWindow = window.open("/code/injex30.asp", "ImageWindow", "height=250,width=250");
			newWindow.focus();		
		break;

		case "injex50.jpg":
			newWindow = window.open("/code/injex50.asp", "ImageWindow", "height=250,width=250");
			newWindow.focus();		
		break;

		case "injex30_flash":
			newWindow = window.open("/code/injex30_flash.asp", "ImageWindow", "height=150,width=370");
			newWindow.focus();		
		break;
	}
}