// JavaScript Document
var Open2 = ""
var Closed2 = ""

imageOssur = new Image
imageOtto = new Image
imageOssur.src = "images/ossur-logo.gif"
imageOtto.src = "images/ottobock_logo.gif"
linkOssur = "http://www.ossur.com"
linkOtto = "http://www.ottobock.com"

function GetPic() {
	ran1 = Math.round(Math.random()*2) + 1; 
	if (ran1 == 1)
	{
		document.image1.src = imageOtto.src
		link1 = linkOtto
		document.image2.src = imageOssur.src 
		link2 = linkOssur
	}
	else
	{	
		document.image1.src = imageOssur.src 
		link1 = linkOssur
		document.image2.src = imageOtto.src
		link2 = linkOtto
	}
}


function preload(){
if(document.images)
{
	Open2 = new Image(9,9)    
	Closed2 = new Image(9,9)
	Open2.src = 'treeclose1.gif'
	Closed2.src = 'treeopen1.gif'
}}


function showhide(what,what2)
{
	var thiscontent = this.document.getElementById(what);
	var thisimage = this.document.getElementById(what2);
	

	if ( thiscontent.style.display == "none" )
	{
		thiscontent.style.display = "block";
		thisimage.src = "treeclose1.gif"
	}
	else
	{
		thiscontent.style.display = "none"
		thisimage.src = "treeopen1.gif"
	}
}

function Jump( iSlideIndex )
{
	switch (iSlideIndex)
	{
		case 1:
			window.location = "scientific.html";
		break
		case 2:
			window.location = "ScientificProgramSunday.html";
		break
		case 3:
			window.location = "ScientificProgramMonday.html";
		break
		case 4:
			window.location = "ScientificProgramTuesday.html";
		break
		case 5:
			window.location = "ScientificProgramWednesday.html";
		break
		case 6:
			window.location = "ScientificProgramThursday.html";
		break
		case 7:
			window.location = "ScientificProgramFriday.html";
		break
	}
}