DaysArr = new Object();
DaysArr1 = new Object();
Sessions = new Object();
Code = new Object();
DaysArr = new Array("Thursday, March 06, 2008","Friday, March 07, 2008","Saturday, March 08, 2008");
DaysArr1 = new Array("Thursday, March 06, 2008","Friday, March 07, 2008","Saturday, March 08, 2008");
Sessions["Thursday, March 06, 2008"] = new Array("All","PLENARY I: GLOBAL IMPACT OF TOTAL RISK","OPENING CEREMONY"); Sessions["Friday, March 07, 2008"] = new Array("All","PLENARY II: HYPERTENSION","PLENARY III: LIPIDS Supported by an unrestricted educational grant from Pfizer","SSNN SATELLITE SYMPOSIUM","PLENARY IV: DIABETES","KEYNOTE LECTURE","FREE COMMUNICATION I","FREE COMMUNICATION II"); Sessions["Saturday, March 08, 2008"] = new Array("All","FREE COMMUNICATION III","INTIMA MEDIA THICKNESS WORKSHOP","PLENARY V: ARTERIAL WALL MOTION AND RISK","PLENARY VI: CAROTID IMT IN VASCULAR DISEASE","PLENARY VII: METABOLIC SYNDROME"); Code["Thursday, March 06, 2008"] = new Array("PL1|OC","PL1","OC"); Code["Friday, March 07, 2008"] = new Array("PL2|PL7|SA1|PL4|KL|FCI|FCII","PL2","PL7","SA1","PL4","KL","FCI","FCII"); Code["Saturday, March 08, 2008"] = new Array("FCIII|W1|PL5|PL6|PL3","FCIII","W1","PL5","PL6","PL3"); var DaysArrDashes = '------------------------'
var SessionsDashes = '------------------------'
initializeForm()


function initializeForm () 
{
document.jump.SessionDate.length = 0;
DaysArr1[DaysArr1.length] = DaysArrDashes
document.jump.SessionDate.options[0] = new Option(DaysArr1[0],DaysArr[0],1,1)
 for(count = 1; count < DaysArr1.length; count++) 
{
  document.jump.SessionDate.options[count] = new Option(DaysArr1[count],DaysArr[count]) 
 }
fillSessionID()
}


function fillSessionID()
{
document.jump.SessionID.length = 0;
 reg = new String(DaysArr[document.jump.SessionDate.selectedIndex])
 if (reg == DaysArrDashes) 
{
     document.jump.SessionDate.selectedIndex = document.jump.SessionDate.selectedIndex - 1
     reg = new String(DaysArr[document.jump.SessionDate.selectedIndex])
  }
 document.jump.SessionID.options[0] = new Option(Sessions[reg][0],Code[reg][0],1,1);
 for(count = 1; count < Sessions[reg].length; count++)
 document.jump.SessionID.options[count] = new Option(Sessions[reg][count],Code[reg][count]);
 document.jump.SessionID.options[document.jump.SessionID.options.length] = new Option(SessionsDashes);
}


function checkSessionID()
{
 if (document.jump.SessionID.options[document.jump.SessionID.selectedIndex].text == SessionsDashes)
 document.jump.SessionID.selectedIndex = document.jump.SessionID.selectedIndex - 1
}

