//################################################################################	
//
//S T A R T   M E N U
//
//This is the code that makes up the Left Menu structure. 
//The entire menu is contaned in one table cell.  This cell
//contains a new table with 2 columns.
//col 1.) An area on the left to place the arrow head that shows the current
//	    possition in the menu.
//col 2.) The actual menu items.
//---------------------------
//The colors, and text properties are defined in the stylesheet "body.css"
//We link to this code at the top of this page, in the line:
//"<link rel="STYLESHEET" type="text/css" href="body.css">"
//--------------------------	
//-	When a menu item is not the current position in the menu the class="menu"
//	defines the look of the text as outlined by the a.menu style within body.css
//	
//-	When a user places the mouse over the menu item the stylesheet has a built-in
//	style called hover, in this case a.menu:hover within body.css.  This is what 
//	cause the change in color, underline, etc when the mouseover takes place.
//	
//-	When a menu item in the active or current position in the menu, the style a.on
//	within body.css defines the look of this text (highlighted color).  we indicate 
//	this with class="on" 
//	
//	The menu ends with the Comment "E N D   M E N U"


//################################################################################		

			
				var strLocation = document.URL ;
				strLocation = strLocation.toUpperCase();
				var mypos ;		
				
				//--------------------------------
				//  O P E N   T H E   T A B L E 
				//--------------------------------	
				//document.write("<table BORDER='0' CELLPADDING='0' CELLSPACING='0'><tr><td width='30' background='images/bk_stripe.gif'><img src='images/bk_stripe.gif' alt='' width='30' height='2' border='0'></td><td>");
				
				document.write("<table BORDER='0' CELLPADDING='0' CELLSPACING='0' height='100%' width='100'><tr><td WIDTH='10'>");
//------------------------------------------------------------------
//  H O M E / I N D E X                         
//------------------------------------------------------------------
						
						mypos = (document.URL.toUpperCase()).indexOf("INDEX");		
						//checks for the name index.asp in the URL, or the title of the page, if the URL
						//does not show the index.asp - for example the user types in the url, without the 
						//index.asp, which would still process as the default page for the site.						
						if((mypos>=0) || (document.title=="Calgary Pump Symposium-Home")){ 
							//document.write("<IMG SRC='images/menu_arrow.gif' WIDTH='10' HEIGHT='13' ALT=''>");
							document.write("</td><td style='padding-top:10px;'><a href='index.html' class='on'>");						
							//document.write("<img src='images/arrowhead.jpg' width='5' height='7' border='0'> ");	
						}else{
						document.write("</td><td  style='padding-top:10px;'>");						
						document.write("<a href='index.html' class='menu'>");	
						}											
						document.write("Home</a><br><br></td></tr>");	
						
						
//------------------------------------------------------------------
//   P R E S E N T A T I O N S  
//------------------------------------------------------------------
					document.write("<tr><td WIDTH='10'>");
						mypos = (document.URL.toUpperCase()).indexOf("PRESENTATIONS");										
						if(mypos>=0){ 
							//document.write("<IMG SRC='images/menu_arrow.gif' WIDTH='10' HEIGHT='13' ALT=''>");
							document.write("</td><td><a href='presentations.html' class='on'>");						
							//document.write("<img src='images/arrowhead.jpg' width='5' height='7' border='0'> ");	
						}else{
						document.write("</td><td>");						
						document.write("<a href='presentations.html' class='menu'>");	
						}											
						document.write("<br>Presentations</a><br><br></td></tr>");



//------------------------------------------------------------------
//   C O U R S E S  
//------------------------------------------------------------------
					document.write("<tr><td WIDTH='10'>");
						mypos = (document.URL.toUpperCase()).indexOf("COURSES");										
						if(mypos>=0){ 
							//document.write("<IMG SRC='images/menu_arrow.gif' WIDTH='10' HEIGHT='13' ALT=''>");
							document.write("</td><td><a href='courses.html' class='on'>");						
							//document.write("<img src='images/arrowhead.jpg' width='5' height='7' border='0'> ");	
						}else{
						document.write("</td><td>");						
						document.write("<a href='courses.html' class='menu'>");	
						}											
						document.write("Courses</a><br><br></td></tr>");





//------------------------------------------------------------------
//   A B S T R A C T S
//------------------------------------------------------------------
					document.write("<tr><td WIDTH='10'>");
						mypos = (document.URL.toUpperCase()).indexOf("ABSTRACTS");										
						if(mypos>=0){ 
							//document.write("<IMG SRC='images/menu_arrow.gif' WIDTH='10' HEIGHT='13' ALT=''>");
							document.write("</td><td><a href='abstracts.html' class='on'>");						
							//document.write("<img src='images/arrowhead.jpg' width='5' height='7' border='0'> ");	
						}else{
						document.write("</td><td>");						
						document.write("<a href='abstracts.html' class='menu'>");	
						}											
						document.write("Abstracts</a><br><br></td></tr>");
					


//------------------------------------------------------------------
//   S P E A K E R S
//------------------------------------------------------------------
					document.write("<tr><td WIDTH='10'>");
						mypos = (document.URL.toUpperCase()).indexOf("SPEAKERS");										
						if(mypos>=0){ 
							//document.write("<IMG SRC='images/menu_arrow.gif' WIDTH='10' HEIGHT='13' ALT=''>");
							document.write("</td><td><a href='speakers.html' class='on'>");						
							//document.write("<img src='images/arrowhead.jpg' width='5' height='7' border='0'> ");	
						}else{
						document.write("</td><td>");						
						document.write("<a href='speakers.html' class='menu'>");	
						}											
						document.write("Speakers</a><br><br></td></tr>");		

	
//------------------------------------------------------------------
//   Trade Show
//------------------------------------------------------------------
					document.write("<tr><td WIDTH='10'>");
						mypos = (document.URL.toUpperCase()).indexOf("TRADE SHOW");										
						if(mypos>=0){ 
							//document.write("<IMG SRC='images/menu_arrow.gif' WIDTH='10' HEIGHT='13' ALT=''>");
							document.write("</td><td><a href='tradeShow.html' class='on'>");						
							//document.write("<img src='images/arrowhead.jpg' width='5' height='7' border='0'> ");	
						}else{
						document.write("</td><td>");						
						document.write("<a href='tradeShow.html' class='menu'>");	
						}											
						document.write("Trades Show</a><br><br></td></tr>");		
					
	
//------------------------------------------------------------------
//   Discussion Group
//------------------------------------------------------------------
					document.write("<tr><td WIDTH='10'>");
						mypos = (document.URL.toUpperCase()).indexOf("Discussion Group");										
						if(mypos>=0){ 
							//document.write("<IMG SRC='images/menu_arrow.gif' WIDTH='10' HEIGHT='13' ALT=''>");
							document.write("</td><td><a href='discussion-group.html' class='on'>");						
							//document.write("<img src='images/arrowhead.jpg' width='5' height='7' border='0'> ");	
						}else{
						document.write("</td><td>");						
						document.write("<a href='discussion-group.html' class='menu'>");	
						}											
						document.write("Discussion Group</a><br><br></td></tr>");	

//------------------------------------------------------------------
//   A D V I S O R Y
//------------------------------------------------------------------
					document.write("<tr><td WIDTH='10'>");
						mypos = (document.URL.toUpperCase()).indexOf("ADVISORY");										
						if(mypos>=0){ 
							//document.write("<IMG SRC='images/menu_arrow.gif' WIDTH='10' HEIGHT='13' ALT=''>");
							document.write("</td><td><a href='advisory.html' class='on'>");						
							//document.write("<img src='images/arrowhead.jpg' width='5' height='7' border='0'> ");	
						}else{
						document.write("</td><td>");						
						document.write("<a href='advisory.html' class='menu'>");	
						}											
						document.write("<br>Advisory</a><br><br></td></tr>");		

	
					
//------------------------------------------------------------------
//   S P O N S O R S
//------------------------------------------------------------------
					document.write("<tr><td WIDTH='10'>");
						mypos = (document.URL.toUpperCase()).indexOf("SPONSORS");										
						if(mypos>=0){ 
							//document.write("<IMG SRC='images/menu_arrow.gif' WIDTH='10' HEIGHT='13' ALT=''>");
							document.write("</td><td><a href='sponsors.html' class='on'>");						
							//document.write("<img src='images/arrowhead.jpg' width='5' height='7' border='0'> ");	
						}else{
						document.write("</td><td>");						
						document.write("<a href='sponsors.html' class='menu'>");	
						}											
						document.write("Sponsors</a><br><br></td></tr>");

		

//------------------------------------------------------------------
//   C O N T A C T S
//------------------------------------------------------------------
					document.write("<tr><td WIDTH='10'>");
						mypos = (document.URL.toUpperCase()).indexOf("CONTACTS");										
						if(mypos>=0){ 
							//document.write("<IMG SRC='images/menu_arrow.gif' WIDTH='10' HEIGHT='13' ALT=''>");
							document.write("</td><td><a href='contacts.html' class='on'>");						
							//document.write("<img src='images/arrowhead.jpg' width='5' height='7' border='0'>  ");	
						}else{
						document.write("</td><td>");						
						document.write("<a href='contacts.html' class='menu'>");	
						}											
						document.write("Contacts</a><br><br></td></tr>");


//------------------------------------------------------------------
//  V O L U N T E E R S
//------------------------------------------------------------------
					document.write("<tr><td WIDTH='10'>");
						mypos = (document.URL.toUpperCase()).indexOf("VOLUNTEERS");										
						if(mypos>=0){ 
							//document.write("<IMG SRC='images/menu_arrow.gif' WIDTH='10' HEIGHT='13' ALT=''>");
							document.write("</td><td><a href='volunteers.html' class='on'>");						
							//document.write("<img src='images/arrowhead.jpg' width='5' height='7' border='0'>  ");	
						}else{
						document.write("</td><td>");						
						document.write("<a href='volunteers.html' class='menu'>");	
						}											
						document.write("Volunteers</a><br><br></td></tr>");


//------------------------------------------------------------------
//   R E G I S T R A T I O N
//------------------------------------------------------------------
					document.write("<tr><td WIDTH='10'>");
						mypos = (document.URL.toUpperCase()).indexOf("REGISTRATION");										
						if(mypos>=0){ 
							//document.write("<IMG SRC='images/menu_arrow.gif' WIDTH='10' HEIGHT='13' ALT=''>");
							document.write("</td><td><a href='registration.html' class='on'>");						
							//document.write("<img src='images/arrowhead.jpg' width='5' height='7' border='0'> ");	
						}else{
						document.write("</td><td>");						
						document.write("<a href='registration.html' class='menu'>");	
						}											
						document.write("<br>Registration</a><br><br></td></tr>");
						
						

		
		

//------------------------------------------------------------------
//   H O T E L
//------------------------------------------------------------------
	 				document.write("<tr><td WIDTH='10'>");
						mypos = (document.URL.toUpperCase()).indexOf("HOTEL");										
						if(mypos>=0){ 
							//document.write("<IMG SRC='images/menu_arrow.gif' WIDTH='10' HEIGHT='13' ALT=''>");
							document.write("</td><td><a href='hotel.html' class='on'>");						
							//document.write("<img src='images/arrowhead.jpg' width='5' height='7' border='0'>  ");	
						}else{
						document.write("</td><td>");						
						document.write("<a href='hotel.html' class='menu'>");	
						}											
						document.write("Location</a><br><br></td></tr>");


//------------------------------------------------------------------
//  F U T U R E
//------------------------------------------------------------------
					document.write("<tr><td WIDTH='10'>");
						mypos = (document.URL.toUpperCase()).indexOf("FUTURE");										
						if(mypos>=0){ 
							//document.write("<IMG SRC='images/menu_arrow.gif' WIDTH='10' HEIGHT='13' ALT=''>");
							document.write("</td><td><a href='future.html' class='on'>");						
							//document.write("<img src='images/arrowhead.jpg' width='5' height='7' border='0'>  ");	
						}else{
						document.write("</td><td>");						
						document.write("<a href='future.html' class='menu'>");	
						}											
						document.write("<br>Future</a><br><br></td></tr>");
					
						
		
				
				
//------------------------------------------------------------------// D O W N L O A D S //------------------------------------------------------------------
	 				document.write("<tr><td WIDTH='10'>");
						mypos = (document.URL.toUpperCase()).indexOf("DOWNLOADS");										
						if(mypos>=0){ 
							//document.write("<IMG SRC='images/arrowhead.jpg' WIDTH='7' HEIGHT='10' ALT=''>");
							document.write("</td><td><a href='downloads.html' class='on'>");						
							//document.write("<img src='images/arrowhead.jpg' width='7' height='10' border='0'>  ");	
						}else{
						document.write("</td><td>");						
						document.write("<a href='downloads.html' class='menu'>");	
						}											
						document.write("<img src='images/arrowhead_10x10.jpg' width='10' height='10' border='0'> Downloads</a><br><br></td></tr>");



//------------------------------------------------------------------
//   Archives
//------------------------------------------------------------------
					document.write("<tr><td WIDTH='10'>");
						mypos = (document.URL.toUpperCase()).indexOf("ARCHIVES");										
						if(mypos>=0){ 
							//document.write("<IMG SRC='images/menu_arrow.gif' WIDTH='10' HEIGHT='13' ALT=''>");
							document.write("</td><td><a href='archives.html' class='on'>");						
							//document.write("<img src='images/arrowhead.jpg' width='5' height='7' border='0'> ");	
						}else{
						document.write("</td><td>");						
						document.write("<a href='archives.html' class='menu'>");	
						}											
						document.write("<img src='images/arrowhead_10x10.jpg' width='10' height='10' border='0'>Archives</a></td></tr>");	
						

//--------------------------------
				//  C L O S E   T H E   T A B L E 
				document.write("</table>");		
				//--------------------------------</td></tr></table>
				
//<!--- 	
//E N D   M E N U
//--->


