menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
// Popup window links - if changed see also code in ADC html pages for other linkages
function newWin1() {
   msgWindow=window.open("/ADC/adc_about.htm","OpenWindow","width=540,height=400,location=yes,resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,copyhistory=yes,status=yes");
   msgWindow.moveTo(screen.width/2-270,screen.height/2-300);
}
function newWin2() {
   msgWindow=window.open("/ADC/adc_contact.htm","OpenWindow","width=540,height=400,location=yes,resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,copyhistory=yes,status=yes");
      msgWindow.moveTo(screen.width/2-270,screen.height/2-300);
}
function newWin3() {
   msgWindow=window.open("/ADC/adc_events.htm","OpenWindow","width=540,height=400,location=yes,resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,copyhistory=yes,status=yes");
      msgWindow.moveTo(screen.width/2-270,screen.height/2-300);
}
function newWin4() {
   msgWindow=window.open("/ADC/adc_spotlight.htm","OpenWindow","width=540,height=400,location=yes,resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,copyhistory=yes,status=yes");
      msgWindow.moveTo(screen.width/2-270,screen.height/2-300);
}
function newWin5() {
   msgWindow=window.open("/ADC/adc_missionstatement.htm","OpenWindow","width=540,height=400,location=yes,resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,copyhistory=yes,status=yes");
      msgWindow.moveTo(screen.width/2-270,screen.height/2-300);
}
function newWin6() {
   msgWindow=window.open("/ADC/adc_staff.htm","OpenWindow","width=540,height=400,location=yes,resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,copyhistory=yes,status=yes");
      msgWindow.moveTo(screen.width/2-270,screen.height/2-300);
}
function newWin8() {
   msgWindow=window.open("/ADC/adc_calendar.htm","OpenWindow","width=540,height=400,location=yes,resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,copyhistory=yes,status=yes");
      msgWindow.moveTo(screen.width/2-270,screen.height/2-300);
}
function newWin9() {
   msgWindow=window.open("http://notesweb.mtroyal.ca/ADC/ADCWorkshops.nsf?open&login","OpenWindow","width=700,height=400,location=yes,resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,copyhistory=yes,status=yes");
      msgWindow.moveTo(screen.width/2-350,screen.height/2-300);
	  }
function newWin10() {
   msgWindow=window.open("http://notesweb.mtroyal.ca/ADC/ADCWorkshops.nsf/AvailableFeedbackForm?open&login","OpenWindow","width=700,height=400,location=yes,resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,copyhistory=yes,status=yes");
      msgWindow.moveTo(screen.width/2-350,screen.height/2-300);
}
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#999999', Direction=135, Strength=3)"
}
else
{
effect = "Shadow(color='#999999', Direction=135, Strength=3)" 
}
timegap=500				
followspeed=5			
followrate=40			
suboffset_top=5;		
suboffset_left=5;		
style1=[				
"333333","cccccc","ffffff","0051ba","cccccc",12,"normal","bold","Trebuchet MS, Tahoma, Arial, Verdana",1,"/ADC/adcimages/arrow.gif",1,"ffffff","999999",,,,,,				
]
addmenu(menu=[		
"mainmenu",142,"offset=-96",,0,"center",style1,1,"left",,,1,0,,,,,,,,,					
,"<img src=/ADC/adcimages/newsimage.gif border=0 title='About ADC - access key A, or Tab to this link - opens new window. Click on this rollover link if you don`t want to use drop down menus - optional.' alt='About ADC - access key A, or Tab to this link - opens new window. Click on this rollover link if you don`t want to use drop down menus - optional.'>","show-menu=about","JavaScript:newWin1()","About ADC - access key A - opens new window",0 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<img src=/ADC/adcimages/newsimage2.gif border=0 title='Contact ADC - access key B, or Tab to this link - opens new window. Click on this rollover link if you don`t want to use drop down menus - optional.' alt='Contact ADC - access key B, or Tab to this link - opens new window. Click on this rollover link if you don`t want to use drop down menus - optional.'>","show-menu=contact","JavaScript:newWin2()","Contact ADC - access key B - opens new window",0
,"<img src=/ADC/adcimages/newsimage3.gif border=0 title='ADC Workshops/Events - access key C, or Tab to this link - opens new window. Click on this rollover link if you don`t want to use drop down menus - optional.' alt='ADC Workshops/Events - access key C, or Tab to this link - opens new window. Click on this rollover link if you don`t want to use drop down menus - optional.'>","show-menu=workshop","JavaScript:newWin3()","ADC Workshops and Events - access key C - opens new window",0
,"<img src=/ADC/adcimages/newsimage4.gif border=0 title='ADC Spotlight - access key D, or Tab to this link. Click on this rollover link if you don`t want to use drop down menus - optional.' alt='ADC Spotlight - access key D, or Tab to this link. Click on this rollover link if you don`t want to use drop down menus - optional.'>","show-menu=spotlight","/ADC/adc_features.htm","ADC Spotlight - access key D",0
,"<img src=/ADC/adcimages/newsimage5.gif border=0 title='Learning Links - access key E, or Tab to this link. Click on this rollover link if you don`t want to use drop down menus - optional.' alt='Learning Links - access key E, or Tab to this link. Click on this rollover link if you don`t want to use drop down menus - optional.'>","show-menu=learninglinks","/ADC/adc_learning.htm","ADC Learning Links - access key E",0
])
addmenu(menu=["about",
,,160,1,"",style1,,"left",effect,,,,,,,,,,,,
,"&nbsp;Mission Statement","JavaScript:newWin5()",,"ADC Mission Statement - opens new window",1
])
addmenu(menu=["contact",
,,160,1,"",style1,,"left",effect,,,,,,,,,,,,
,"&nbsp;ADC Staff","JavaScript:newWin6()",,"ADC Staff - opens new window",1
])
addmenu(menu=["workshop",
,,160,1,"",style1,,"left",effect,,,,,,,,,,,,
,"&nbsp;Workshops Registration","JavaScript:newWin9()",,"ADC Workshop Database - opens new window",1
,"&nbsp;Workshop Feedback","JavaScript:newWin10()",,"ADC Workshop Feedback - opens new window",1
])
addmenu(menu=["spotlight",,,160,1,,style1,0,"left",effect,0,,,,,,,,,,,
,"&nbsp;Feature Article","JavaScript:newWin4()",,"ADC Feature Article - opens new window",1
])
addmenu(menu=["learninglinks",
,,279,1,"",style1,,"",effect,,,,,,,,,,,,
,"&nbsp;Learning Objects Repository","/ADC/adc_learningobjects.htm",,"Learning Objects Repository",1
,"&nbsp;Learning Links","/ADC/adc_learninglinks.htm",,"Learning Links",1
,"&nbsp;Scholarship of Teaching & Learning Journals","/ADC/adc_teachinglearningjournals.htm",,"Scholarship of Teaching & Learning Journals",1
,"&nbsp;Tutorials","/ADC/workshops/adc_tutorials.htm",,"Tutorials",1
,"&nbsp;Instructor Technology Help","/ADC/adc_instructor_tech_help.htm",,"Instructor Technology Help",1
,"&nbsp;Templates","/ADC/adc_templates.htm",,"Templates",1
,"&nbsp;Recent Presentations","/ADC/adc_presentations.htm",,"Recent Presentations",1
,"&nbsp;Library/Equipment Signout","/ADC/adc_signout.htm",,"Library/Equipment Signout",1
,"&nbsp;‘PD in your in-box’ Newsletter","/ADC/adc_pdinyourinbox.htm",,"PD in your in-box Newsletter",1
,"&nbsp;Online Learning Orientation site","http://wwwacad.mtroyal.ca/onlineorientation/",,"Online Learning Orientation site",1
])
dumpmenus()