DaysArr = new Object();
DaysArr1 = new Object();
Sessions = new Object();
Code = new Object();
DaysArr = new Array("Thursday, February 08, 2007","Friday, February 09, 2007","Saturday, February 10, 2007");
DaysArr1 = new Array("Thursday, February 08, 2007","Friday, February 09, 2007","Saturday, February 10, 2007");
Sessions["Thursday, February 08, 2007"] = new Array("All","WELCOME AND OBJECTIVES","PLENARY SESSION: MALE HEALTH IN THE 21st CENTURY: EVERYTHING YOU ALWAYS NEEDED TO KNOW ABOUT PROSTATE, CARDIOVASCULAR HEALTH AND AGING Sponsored by an unrestricted educational grant by Merck Frosst Canada","PLENARY LECTURE 1","DEBATE: SEXUAL DYSFUNCTION IN AGING COUPLES IS LARGELY THE RESULT OF MALE ERECTILE DYSFUNCTION Sponsored by an unrestricted educational grant by sanofi-aventis","TESTOSTERONE THERAPY IS FOR THE BIRDS! A DEBATE AMONG WORTHY OPPONENTS Sponsored by Solvay Pharma, Inc.","AGING MALE NEW DEVELOPMENTS","FREE COMMUNICATIONS: ADVANCES IN THE AGING MALE","A PATIENT FOCUSED APPROACH TO THE TREATMENT OF ERECTILE DYSFUNCTION Sponsored by Eli Lilly","OPENING CEREMONY","WELCOME BUFFET RECEPTION"); Sessions["Friday, February 09, 2007"] = new Array("All","MEET THE EXPERT: A EUROPEAN PERSPECTIVE ON THE TREATMENT OF ERECTILE DYSFUNCTION Sponsored by Eli Lilly","CSSAM CONSENSUS SESSION: DEFINING REPORT ON THE NEED FOR ANDROGEN REPLACEMENT IN THE HYPOGONADAL MAN. AN INTERACTIVE APPROACH  BETWEEN GOVERNMENTAL, COMMUNITY AND PHYSICIANS  Sponsored by an unrestricted educational grant by Pfizer Canada,","PLENARY LECTURE 2","DEBATE: USE OF TESTOSTERONE IS NOT SAFE IN MEN","HORMONAL, INVESTIGATIVE MOOD AND SEXUAL DYSFUNCTION Sponsored by Organon Canada Ltd.","NEW APPROACHES TO ANDROGEN REPLACEMENT IN HYPOGONADAL MEN","ERECTILE DYSFUNCTION AND TESTOSTERONE THERAPY Sponsored by Bayer Inc.","MODERATED POSTER SESSION 1","SEXUAL MEDICINE SOCIETY OF NORTH AMERICA SYMPOSIUM"); Sessions["Saturday, February 10, 2007"] = new Array("All","MEET THE EXPERT: ENDOTHELIAL DYSFUNCTION AND ERECTILE DYSFUNCTION Sponsored by Bayer, Inc. ","SESSION DE LA SOCIETE FRANCOPHONE DE MEDECINE SEXUELLE This Symposium will be conducted in French","SEXUALITE APRES 60 ANS, LE NOUVEL AGE DE LA VIE","IS IT SAFE TO TREAT HYPOGONADISM WITH TESTOSTERONE? ARE THERE RISKS IN NOT TREATING?","FREE COMMUNICATIONS: AN INTERNATIONAL PERSPECTIVE ON ANDROLOGY RESEARCH","PLENARY LECTURE 3","MODERATED POSTER SESSION 2","PLENARY LECTURE 4","PLENARY LECTURE 5"); Code["Thursday, February 08, 2007"] = new Array("WEL|PS01|PL01|DB01|SAT1|S01|S04|SAT2|OC|WB","WEL","PS01","PL01","DB01","SAT1","S01","S04","SAT2","OC","WB"); Code["Friday, February 09, 2007"] = new Array("ME01|CON01|PL02|DB02|SAT3|S02|SAT4|P01|SAT5","ME01","CON01","PL02","DB02","SAT3","S02","SAT4","P01","SAT5"); Code["Saturday, February 10, 2007"] = new Array("ME02|SAT6|SAT6A|S03|S05|PL03|P02|PL04|PL05","ME02","SAT6","SAT6A","S03","S05","PL03","P02","PL04","PL05"); 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
}

