function mmLoadMenus() {
	
	if (window.mm_menu_0115141324_0) return;
// CORPORATE TEAMBUILDING MAIN MENU - MENU 1
	window.mm_menu_0115141324_0 = new Menu("root",263,17,"Arial, Helvetica, sans-serif",11,"#000000","#FFFFFF","#DBD3C0","#990000","left","middle",3,0,1000,-5,7,true,true,true,5,true,true);
    mm_menu_0115141324_0.addMenuItem("ALL Team Building & Group Activity Solutions","location='team-building-activities.php'");
	mm_menu_0115141324_0.addMenuItem("The Amazing Chase","location='team_amazingrace.php'");// 1
	mm_menu_0115141324_0.addMenuItem("The Apprentice","location='team_apprentice.php'");//2
  	mm_menu_0115141324_0.addMenuItem("CI: The Crime Investigators","location='team_csi.php'");//3
	mm_menu_0115141324_0.addMenuItem("Corporate Castaways","location='team_survivor.php'");//4
	mm_menu_0115141324_0.addMenuItem("The Green Team Eco-Challenge","location='team_greenteam.php'");//5
	mm_menu_0115141324_0.addMenuItem("So You Think You Can Dance?","location='team_dance.php'");//6
	mm_menu_0115141324_0.addMenuItem("James Bond: Secret Agent 007","location='team_casinoroyale.php'");//7
	mm_menu_0115141324_0.addMenuItem("GPS Geocache Challenge","location='team_geocaching.php'");//8
	mm_menu_0115141324_0.addMenuItem("Apollo: Mission to the Moon","location='team_moon.php'");//9
	mm_menu_0115141324_0.addMenuItem("X-Games","location='team_xgames.php'");//10
	mm_menu_0115141324_0.addMenuItem("The Whistler Gold Medal Experience","location='team_olympics.php'");//11
	mm_menu_0115141324_0.addMenuItem("Urban Olympics","location='team_urbanolympics.php'");//12
	mm_menu_0115141324_0.addMenuItem("Culinary Team Building Events","location='team_culinaryevents.php'");//13
	mm_menu_0115141324_0.addMenuItem("Iron Chef BBQ Challenge","location='team_ironchef.php'");//13
	//mm_menu_0115141324_0.addMenuItem("Extreme Team Cooking","location='team_extremecooking.php'");//14
	mm_menu_0115141324_0.addMenuItem("Boat Building Regatta","location='team_boatbuilding.php'");//15
	mm_menu_0115141324_0.addMenuItem("The Great Camera Caper","location='team_cameracaper.php'");//16
	mm_menu_0115141324_0.addMenuItem("Art Smart","location='team_artattack.php'");//17
	mm_menu_0115141324_0.addMenuItem("Graduate Recruitment Events","location='team_gradrecruitment.php'");//18
	mm_menu_0115141324_0.addMenuItem("Summer Adventure Picnic","location='team_picnic.php'");//19
	mm_menu_0115141324_0.addMenuItem("Corporate Summer Picnic & BBQ","location='team_park.php'");//20
	mm_menu_0115141324_0.addMenuItem("Custom Events","location='team_custom.php'");//21
	mm_menu_0115141324_0.addMenuItem("Conference Activities","location='special_conference_planning.php'");  //22
	
	
    mm_menu_0115141324_0.hideOnMouseOut=true;
    mm_menu_0115141324_0.bgColor='#FFFFFF';
  	mm_menu_0115141324_0.menuBorder=1;
   	mm_menu_0115141324_0.menuLiteBgColor='#FFFFFF';
   	mm_menu_0115141324_0.menuBorderBgColor='#FFFFFF';
	


if (window.mm_menu_0115141325_0) return;
 // Corporate Entertainment - MENU 2
    window.mm_menu_0115141325_0 = new Menu("root",263,17,"Arial, Helvetica, sans-serif",11,"#000000","#FFFFFF","#DBD3C0","#990000","left","middle",3,0,1000,-5,7,true,true,true,5,true,true);
  	mm_menu_0115141325_0.addMenuItem("ALL Corporate Entertainment","location='entertainment.php'");//1
	mm_menu_0115141325_0.addMenuItem("Canadian Outback&#146;s Event Centre","location='team_eventcentre.php'");//2
	mm_menu_0115141325_0.addMenuItem("Whistler Cabin Executive Retreat","location='whistler-cabin.php'");//2
	mm_menu_0115141325_0.addMenuItem("Summer Picnics","location='summer_picnics.php'");//3
	mm_menu_0115141325_0.addMenuItem("Christmas Parties","location='christmas_parties.php'");//4
	mm_menu_0115141325_0.addMenuItem("James Bond 007 Party","location='christmas_jamesbond007.php'");//5
	mm_menu_0115141325_0.addMenuItem("CI: Crime Investigators Christmas","location='christmas_csi.php'");//6
	mm_menu_0115141325_0.addMenuItem("The Go-Show Comedy Show","location='goshow.php'");//7
	mm_menu_0115141325_0.addMenuItem("The Drum Caf&eacute; Drumming Event","location='drumcafe.php'");//8
	mm_menu_0115141325_0.addMenuItem("Vegas Nights Casino Events","location='wildcasino.php'");//9
	mm_menu_0115141325_0.addMenuItem("Dining in the Dark","location='restaurant_diningdark.php'");//10
	mm_menu_0115141325_0.addMenuItem("Galloping Gourmets","location='culinary_gourmets.php'");//10
	mm_menu_0115141325_0.addMenuItem("Corporate Restaurant Events","location='restaurantevents.php'");//11
	mm_menu_0115141325_0.addMenuItem("Whistler Dinner Tours","location='whistler-dinner-tours.php'");//12
	mm_menu_0115141325_0.addMenuItem("Custom Events","location='team_custom.php'");//13

  	mm_menu_0115141325_0.hideOnMouseOut=true;
   	mm_menu_0115141325_0.bgColor='#FFFFFF';
   	mm_menu_0115141325_0.menuBorder=1;
   	mm_menu_0115141325_0.menuLiteBgColor='#FFFFFF';
   	mm_menu_0115141325_0.menuBorderBgColor='#FFFFFF';

if (window.mm_menu_0115141399_0) return;
	 // Corporate Training
    window.mm_menu_0115141399_0 = new Menu("root",263,17,"Arial, Helvetica, sans-serif",11,"#000000","#FFFFFF","#DBD3C0","#990000","left","middle",3,0,1000,-5,7,true,true,true,5,true,true);
    mm_menu_0115141399_0.addMenuItem("Corporate Explorer Training","location='corporate_training.php'");
	mm_menu_0115141399_0.addMenuItem("Authentic Leadership","location='corporate_training_leadership.php'");
	mm_menu_0115141399_0.addMenuItem("Outstanding Performance - Art Program","location='corporate_training_performance.php'");
	mm_menu_0115141399_0.addMenuItem("Behavior Style 360 Degree Matrix","location='corporate_training_360degree.php'");
	mm_menu_0115141399_0.addMenuItem("Eagle Glider Construction Challenge","location='corporate_training_glider.php'");
	mm_menu_0115141399_0.addMenuItem("Creating Mission, Vision and Values","location='corporate_training_missionvision.php'");
	mm_menu_0115141399_0.addMenuItem("CAP Feedback Module","location='corporate_training_CAPfeedback.php'");
	mm_menu_0115141399_0.addMenuItem("7 Habits - Outback Style","location='corporate_training_7habits.php'"); 
	mm_menu_0115141399_0.addMenuItem("Rediscover Sales","location='corporate_training_sales.php'");
	mm_menu_0115141399_0.addMenuItem("Cross Boundary Communication","location='corporate_training_communication.php'");
	mm_menu_0115141399_0.addMenuItem("The Art of Presenting","location='corporate_training_presentation.php'");
	mm_menu_0115141399_0.addMenuItem("Inspire via Dining in the Dark","location='restaurant_diningdark.php'");
	mm_menu_0115141399_0.addMenuItem("Office Team Building Adventure","location='corporate_training_teambuilding.php'");
	mm_menu_0115141399_0.addMenuItem("Optimal Time Management","location='corporate_training_timemanagement.php'");
	mm_menu_0115141399_0.addMenuItem("Winning Project Management","location='corporate_training_project_management.php'");
	mm_menu_0115141399_0.addMenuItem("Ultimate Executive Retreats","location='corporate_training_executive_retreat.php'");
	mm_menu_0115141399_0.addMenuItem("Custom Training Programs","location='corporate_training_yoursolution.php'");

   mm_menu_0115141399_0.hideOnMouseOut=true;
   mm_menu_0115141399_0.bgColor='#FFFFFF';
   mm_menu_0115141399_0.menuBorder=1;
   mm_menu_0115141399_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0115141399_0.menuBorderBgColor='#FFFFFF';
   
if (window.mm_menu_0115141327_0) return;
 // RAFTING- MENU 3
    window.mm_menu_0115141327_0 = new Menu("root",247,17,"Arial, Helvetica, sans-serif",11,"#000000","#FFFFFF","#DBD3C0","#990000","left","middle",3,0,1000,-5,7,true,true,true,5,true,true);
  	mm_menu_0115141327_0.addMenuItem("ALL River Rafting Trips","location='rafting.php'");
	mm_menu_0115141327_0.addMenuItem("Elaho Exhilarator Whitewater Rafting","location='raft_elahoex.php'");
	mm_menu_0115141327_0.addMenuItem("Cheakamus Splash River Rafting","location='raft_cheaksplash.php'");
	mm_menu_0115141327_0.addMenuItem("BC Raft & Rail Package","location='raft_raftrail.php'");
	mm_menu_0115141327_0.addMenuItem("Whistler Heli-Rafting","location='raft_whistlerheli.php'");
	mm_menu_0115141327_0.addMenuItem("Wilderness Raft & Dine Expedition","location='raft_raftdine.php'");
 	mm_menu_0115141327_0.addMenuItem("Eagle Safari Birdwatching Tour","location='raft_eaglesafari.php'");

	mm_menu_0115141327_0.addMenuItem("Grad River Rafting Weekends","location='social_gradrafting.php'");
	mm_menu_0115141327_0.addMenuItem("Rafting Guide School","location='raft_guideschool.php'");



  	mm_menu_0115141327_0.hideOnMouseOut=true;
   	mm_menu_0115141327_0.bgColor='#FFFFFF';
   	mm_menu_0115141327_0.menuBorder=1;
   	mm_menu_0115141327_0.menuLiteBgColor='#FFFFFF';
   	mm_menu_0115141327_0.menuBorderBgColor='#FFFFFF';

  

if (window.mm_menu_0115141323_0) return;

// Outdoor Adventures MAIN MENU - MENU 4
    window.mm_menu_0115141323_0 = new Menu("root",243,16,"Arial, Helvetica, sans-serif",11,"#000000","#FFFFFF","#DBD3C0","#990000","left","middle",3,0,1200,-5,7,true,true,true,5,true,true);
  	mm_menu_0115141323_0.addMenuItem("ALL Outdoor Adventures","location='outdoor-adventures.php'");
  	mm_menu_0115141323_0.addMenuItem("Whistler/Vancouver River Rafting","location='rafting.php'");
	mm_menu_0115141323_0.addMenuItem("Whistler Activities and Adventures","location='whistler-activities.php'");
	mm_menu_0115141323_0.addMenuItem("Vancouver Activities and Adventures","location='vancouver-activities.php'");
	mm_menu_0115141323_0.addMenuItem("Vancouver Island Activities and Adventures","location='vancouver-island-activities.php'");
	mm_menu_0115141323_0.addMenuItem("Banff Activities and Adventures","location='banff-activities.php'");
	mm_menu_0115141323_0.addMenuItem("Jasper Activities and Adventures","location='jasper-activities.php'");
	


   	mm_menu_0115141323_0.hideOnMouseOut=true;
   	mm_menu_0115141323_0.bgColor='#FFFFFF';
   	mm_menu_0115141323_0.menuBorder=1;
   	mm_menu_0115141323_0.menuLiteBgColor='#FFFFFF';
   	mm_menu_0115141323_0.menuBorderBgColor='#FFFFFF';



	
if (window.mm_menu_0115141326_0) return;
 // PLANNERS TOUR OPERATORS MAIN MENU - MENU 5
    window.mm_menu_0115141326_0 = new Menu("root",247,17,"Arial, Helvetica, sans-serif",11,"#000000","#FFFFFF","#DBD3C0","#990000","left","middle",3,0,1000,-5,7,true,true,true,5,true,true);
  	//mm_menu_0115141326_0.addMenuItem("ALL Planners/Tour Operators","location='plannersoperators.php'");//
 	mm_menu_0115141326_0.addMenuItem("Event Planner/DMC Introduction","location='plannersintro.php'");//
	mm_menu_0115141326_0.addMenuItem("Tour Operator Introduction","location='touroperatorintro.php'");//

  
  	mm_menu_0115141326_0.hideOnMouseOut=true;
   	mm_menu_0115141326_0.bgColor='#FFFFFF';
   	mm_menu_0115141326_0.menuBorder=1;
   	mm_menu_0115141326_0.menuLiteBgColor='#FFFFFF';
   	mm_menu_0115141326_0.menuBorderBgColor='#FFFFFF';

   
 

mm_menu_0115141325_0.writeMenus();

} // mmLoadMenus()





function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

 var urlAddress = "http://www.canadianoutback.com";
 var pageName = "Canadian Outback Adventure Company";

 function addToFavorites()
 {
  if (window.external)
  {
   window.external.AddFavorite(urlAddress,pageName)
  }
  else
  { 
   alert("Sorry! Your browser doesn't support this function.");
  }
 }
 
 

 
function validate_form(){
 var fname   = document.newsletter.fname.value;
 var lname   = document.newsletter.lname.value;
 var email     = document.newsletter.email.value;
 var emailstring = document.newsletter.email.value;
 var company      = document.newsletter.company.value;
 var ampIndex = emailstring.indexOf("@");
 var afterAmp = emailstring.substring((ampIndex + 1), emailstring.length);
  // find a dot in the portion of the string after the ampersand only
 var dotIndex = afterAmp.indexOf(".");
  // determine dot position in entire string (not just after amp portion)
 dotIndex = dotIndex + ampIndex + 1;
  // afterAmp will be portion of string from ampersand to dot
 afterAmp = emailstring.substring((ampIndex + 1), dotIndex);
  // afterDot will be portion of string from dot to end of string
 var afterDot = emailstring.substring((dotIndex + 1), emailstring.length);
 var beforeAmp = emailstring.substring(0,(ampIndex));
  //old regex did not allow subdomains and dots in names
  //var email_regex = /^[\w\d\!\#\$\%\&\'\*\+\-\/\=\?\^\_\`\{\|\}\~]+(\.[\w\d\!\#\$\%\&\'\*\+\-\/\=\?\^\_\`\{\|\}\~])*\@(((\w+[\w\d\-]*[\w\d]\.)+(\w+[\w\d\-]*[\w\d]))|((\d{1,3}\.){3}\d{1,3}))$/;
 var email_regex = /^\w(?:\w|-|\.(?!\.|@))*@\w(?:\w|-|\.(?!\.))*\.\w{2,3}/
  // index of -1 means "not found"
 
 if(fname.length > 60) {
  alert('First Name is Too Long');
  return false;
 }
 if(fname.length == 0) {
  alert('Please Enter Your First Name');
  return false;
 }
 if(lname.length > 60) {
  alert('Last Name is Too Long');
  return false;
 }
 if(lname.length == 0)  {
  alert('Please Enter Your Last Name');
  return false;
 }
 if(company.length > 100) {
  alert('Company Name is Too Long');
  return false;
 }
 if(email.length > 100) {
  alert('Email Address is Too Long');
  return false;
 }
 if(email.length == 0) {
  alert('Please Enter an Email Address');
  return false;
 }
 if ((emailstring.indexOf("@") != "-1") &&
  (emailstring.length > 5) &&
  (afterAmp.length > 0) &&
  (beforeAmp.length > 1) &&
  (afterDot.length > 1) &&
  (email_regex.test(emailstring)) ) {
    return true;
 } else {
   alert("Please Check your Email Address");
   return false;
 }
}

<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function YY_checkform() { //v4.71
//copyright (c)1998,2002 Yaromat.com
  var a=YY_checkform.arguments,oo=true,v='',s='',err=false,r,o,at,o1,t,i,j,ma,rx,cd,cm,cy,dte,at;
  for (i=1; i<a.length;i=i+4){
    if (a[i+1].charAt(0)=='#'){r=true; a[i+1]=a[i+1].substring(1);}else{r=false}
    o=MM_findObj(a[i].replace(/\[\d+\]/ig,""));
    o1=MM_findObj(a[i+1].replace(/\[\d+\]/ig,""));
    v=o.value;t=a[i+2];
    if (o.type=='text'||o.type=='password'||o.type=='hidden'){
      if (r&&v.length==0){err=true}
      if (v.length>0)
      if (t==1){ //fromto
        ma=a[i+1].split('_');if(isNaN(v)||v<ma[0]/1||v > ma[1]/1){err=true}
      } else if (t==2){
        rx=new RegExp("^[\\w\.=-]+@[\\w\\.-]+\\.[a-zA-Z]{2,4}$");if(!rx.test(v))err=true;
      } else if (t==3){ // date
        ma=a[i+1].split("#");at=v.match(ma[0]);
        if(at){
          cd=(at[ma[1]])?at[ma[1]]:1;cm=at[ma[2]]-1;cy=at[ma[3]];
          dte=new Date(cy,cm,cd);
          if(dte.getFullYear()!=cy||dte.getDate()!=cd||dte.getMonth()!=cm){err=true};
        }else{err=true}
      } else if (t==4){ // time
        ma=a[i+1].split("#");at=v.match(ma[0]);if(!at){err=true}
      } else if (t==5){ // check this 2
            if(o1.length)o1=o1[a[i+1].replace(/(.*\[)|(\].*)/ig,"")];
            if(!o1.checked){err=true}
      } else if (t==6){ // the same
            if(v!=MM_findObj(a[i+1]).value){err=true}
      }
    } else
    if (!o.type&&o.length>0&&o[0].type=='radio'){
          at = a[i].match(/(.*)\[(\d+)\].*/i);
          o2=(o.length>1)?o[at[2]]:o;
      if (t==1&&o2&&o2.checked&&o1&&o1.value.length/1==0){err=true}
      if (t==2){
        oo=false;
        for(j=0;j<o.length;j++){oo=oo||o[j].checked}
        if(!oo){s+='* '+a[i+3]+'\n'}
      }
    } else if (o.type=='checkbox'){
      if((t==1&&o.checked==false)||(t==2&&o.checked&&o1&&o1.value.length/1==0)){err=true}
    } else if (o.type=='select-one'||o.type=='select-multiple'){
      if(t==1&&o.selectedIndex/1==0){err=true}
    }else if (o.type=='textarea'){
      if(v.length<a[i+1]){err=true}
    }
    if (err){s+='* '+a[i+3]+'\n'; err=false}
  }
  if (s!=''){alert('The required information is incomplete or contains errors:\t\t\t\t\t\n\n'+s)}
  document.MM_returnValue = (s=='');
}
//-->
