var prevRowNum = 0;


function movdiv(rowNum)
{

showdiv();

if (prevRowNum==rowNum)
{
hiddiv();
return;
}

var tipid = document.getElementById("tip");
var bktipid = document.getElementById("bktip");
var dataid = document.getElementById("data1");
var chartid = document.getElementById("chart1");
var coBio;

switch(rowNum)
{
case 1:
coBio="Cryolife is a biotech company that preserves human tissue for implants and offers synthetic tissue products for heart valves.  Cryolife also manufactures a bioadhesive product called BioGlue used in heart valve repair and other surgical areas.";
chartid.src="CRY.JPG"
break;
case 2:
coBio="Depomed is a biotech pharmaceutical company that develops oral time release drugs in association with other pharmaceutical companies to reduce dosages to once a day.  The AcuForm proprietary technology has been applied to Glumetza, a type 2 diabetes drug and other drugs are under development stage.";
chartid.src="NA.JPG"
break;
case 3:
coBio="Intel Corporation is the worlds largest semiconductor company that is known for developing the Pentium and new Core Duo microprocessors found inside of over 75% of the worlds Personal Computers and Servers.  Intel also develops mirochips and flash memory for computers and other electronic devices.";
chartid.src="NA.JPG"
break;
case 4:
coBio="Cree Inc. is a manufacturer of semiconductors which specializes in the development of light emitting diodes for consumer electronic devices, automobile dash displays, and solid state lighting.  Cree also develops chips using silicon carbide and gallium nitride compounds.";
chartid.src="NA.JPG"
break;
case 5:
coBio="Western Digital Corporation is one of the worlds largest manufacturers of hard disks for personal computers, storage area networks, and consumer electronic devices including digital video recorders.";
chartid.src="NA.JPG"
break;
case 6:
coBio="Southwest Airlines is one of the largest airlines in the United States with over 3000 domestic flights daily.  Southwest flies a fleet of Boeing 737 aircraft.  The company is known for its low cost fare structures with many destinations including smaller airports, unassigned seating and internet and airport kiosk check-in.";
chartid.src="NA.JPG"
break;
case 7:
coBio="JetBlue Airways is a low cost operator serving over 50 destinations in the United states, Mexico and the Caribbean.  Its is best known for offering leather seats, Directv and wireless internet service.";
chartid.src="NA.JPG"
break;
case 8:
coBio="Evergreen Solar manufactures photovoltaic solar modules for the solar energy market worldwide.  Evergreen Solar has developed a proprietary String Ribbon thin film technology which reduces the amount of silicon necessary to produce solar cells.";
chartid.src="NA.JPG"
break;
case 9:
coBio="The Cheesecake Factory is an upscale casual dining retaurant chain which operates over 100 of its namesake upscale dining establishments throughout the United States, 5 Grand Lux Cafes, and bakery production facilities.  Its bakery production facility provides company branded and private label products to a number of distributors and retailers.";
chartid.src="NA.JPG"
break;
case 10:
coBio="Texas Roadhouse is a casual dining steakhouse chain which operates over 260 locations in 44 states. The company is based in Louisville, Kentucky and franchises over 80 locations.";
chartid.src="NA.JPG"
break;
case 11:
coBio="Online Resources Corporation provides internet products and services in the areas of banking and eCommerce.  Online Resources provides on-line banking services for over 2000 financial institutions. Its proprietary services include bill payment, credit card and debt services.";
chartid.src="NA.JPG"
break;
case 12:
coBio="Apollo Investment Corporation is a mid level business development company that provides primarily private equity to small and medium size companies";
chartid.src="NA.JPG"
break;

}

prevRowNum=rowNum;
dataid.innerText = coBio;
dataid.textContent = coBio;
tipid.style.top= 220 + rowNum * 20;
bktipid.style.top= 225 + rowNum * 20;


}


function hiddiv()
{
   document.getElementById("bktip").style.display = "none";
   document.getElementById("tip").style.display = "none";
   prevRowNum = 0;
}

function showdiv()
{
   document.getElementById("bktip").style.display = "block";
   document.getElementById("tip").style.display = "block";
}