//Extra code to find position:
function findPos(){
  if(bw.ns4){   //Netscape 4
    x = document.layers.layerMenu.pageX
    y = document.layers.layerMenu.pageY
  }else{ //other browsers
    x=0; y=0; var el,temp
    el = bw.ie4?document.all["divMenu"]:document.getElementById("divMenu");
    if(el.offsetParent){
      temp = el
      while(temp.offsetParent){ //Looping parent elements to get the offset of them as well
        temp=temp.offsetParent; 
        x+=temp.offsetLeft
        y+=temp.offsetTop;
      }
    }
    x+=el.offsetLeft
    y+=el.offsetTop
  }
  //Returning the x and y as an array
  return [x,y]
}
pos = findPos();
oM=new makeCM("oM");
oM.resizeCheck=1;
oM.rows=1;
oM.menuPlacement=0;
oM.onlineRoot="";
oM.pxBetween=0;
oM.fillImg="";
//Using the cm_page object to place the menu ----
oM.fromLeft=pos[0];
oM.fromTop=pos[1];
//We also need to "re place" the menu on resize. So:
oM.onresize="pos=findPos(); oM.fromLeft=pos[0]; oM.fromTop=pos[1]";
oM.wait=300;
oM.zIndex=0;
oM.useBar=1;
oM.barWidth=760;
oM.barHeight="menu";
oM.barX="menu";
oM.barY="menu";
oM.barClass="clBar";
oM.barBorderX=0;
oM.barBorderY=0;
//Level properties - ALL properties have to be spesified in level 0
oM.level[0]=new cm_makeLevel(); //Add this for each new level
oM.level[0].borderX=1;
oM.level[0].borderY=1;
oM.level[0].borderClass="clLevel0border";
oM.level[0].offsetX=-30;
oM.level[0].offsetY=5;
oM.level[0].rows=0;
oM.level[0].arrow=5;
oM.level[0].arrowWidth=5;
oM.level[0].arrowHeight=5;
oM.level[0].align="right";
oM.level[0]=new cm_makeLevel(95,28,"clT","clTover",1,1,"clB",0,"bottom",0,0,0,0,0);
oM.level[1]=new cm_makeLevel(170,17,"clS","clSover",1,1,"clB2",0,"right",0,0,"/rtn2/pics/menu_arrow.gif",10,10);
oM.level[2]=new cm_makeLevel(190,17,"clS2","clS2over");
oM.level[3]=new cm_makeLevel(160,17,"clS2","clS2over");

oM.makeMenu('top1', '', 'Home', '/index.cfm','','','');



  oM.makeMenu('top2', '', 'Places to Visit', ' /places-to-visit/places-to-visit_home.cfm','','','');
  
  
    oM.makeMenu('subA232292DF1B3B75B7035A78E443F44381_top2', 'top2', 'Places to Visit', ' /places-to-visit/places-to-visit_home.cfm','','','');
  
    oM.makeMenu('subA256B2D4D9F9EF42A4C6FE609B21AE272_top2', 'top2', 'Places to Visit Search', ' /places-to-visit/places-to-visit-search.cfm','','','');
  
    oM.makeMenu('sub0465367FD6BC3A46C9777A5E7DCD62FA3_top2', 'top2', 'Townsville', ' /places-to-visit/townsville.cfm','','','');
  
    oM.makeMenu('subD60F58AAF96D11BE51394CB9EB553ADB4_top2', 'top2', 'Magnetic Island', ' /places-to-visit/magnetic-island.cfm','','','');
  
    oM.makeMenu('subD6172E99B700883F8F47EAC616A244915_top2', 'top2', 'Paluma and Northern Beaches', ' /places-to-visit/paluma-and-northern-beaches.cfm','','','');
  
    oM.makeMenu('sub04271E8CFFC59771433AA8C6887422B26_top2', 'top2', 'Charters Towers', ' /places-to-visit/charters-towers.cfm','','','');
  
    oM.makeMenu('subD5EB6AB4E78B5071E6D3249889F76BB97_top2', 'top2', 'Ravenswood', ' /places-to-visit/ravenswood.cfm','','','');
  
    oM.makeMenu('subD6184413B5B963889098604F22FCA3CE8_top2', 'top2', 'Hinchinbrook', ' /places-to-visit/hinchinbrook.cfm','','','');
  
    oM.makeMenu('sub0423DD96FC882C7D81378ED1318A8C619_top2', 'top2', 'Burdekin', ' /places-to-visit/burdekin.cfm','','','');
  
    oM.makeMenu('subCD6B8FDBA1A4D07061E959987A64D40C10_top2', 'top2', 'North of Townsville', ' /places-to-visit/north-of-townsville.cfm','','','');
  
    oM.makeMenu('sub4BF46A8A94F93FA8EBF24ACBF482678311_top2', 'top2', 'Islands & Reef', ' /places-to-visit/islands.cfm','','','');
  
    oM.makeMenu('sub08B6A91D0E45F1F8617D115456D96CA312_top2', 'top2', 'National Parks', ' /places-to-visit/national-parks_home.cfm','','','');
  
  oM.makeMenu('top3', '', 'Where to Stay', ' /where-to-stay/where-to-stay_home.cfm','','','');
  
  
    oM.makeMenu('subA23CACE3A1746091FCC3D8746F1B33C81_top3', 'top3', 'Where to Stay', ' /where-to-stay/where-to-stay_home.cfm','','','');
  
    oM.makeMenu('subA26111CB910B41F8D05857A5F96F73562_top3', 'top3', 'Where to Stay Search', ' /where-to-stay/where-to-stay-search.cfm','','','');
  
  oM.makeMenu('top4', '', 'Things to See & Do', ' /things-to-see-&-do/things-to-see-&-do_home.cfm','','','');
  
  
    oM.makeMenu('subA2453A0CAD3969394F465120BF5447DB1_top4', 'top4', 'Things to See & Do', ' /things-to-see-&-do/things-to-see-&-do_home.cfm','','','');
  
    oM.makeMenu('subA2671FF9C3607D24A5012AF8B436F9692_top4', 'top4', 'Things to See & Do Search', ' /things-to-see-&-do/things-to-see-&-do-search.cfm','','','');
  
    oM.makeMenu('sub04A0ABF5CF37AE6993E90624888D21933_top4', 'top4', 'Arts, Culture & Heritage', ' /things-to-see-&-do/arts-culture-&-heritage.cfm','','','');
  
    oM.makeMenu('subFBDBD564E8DC37744AC31903877D3EFA4_top4', 'top4', 'Shopping & Markets', ' /things-to-see-&-do/regional-markets.cfm','','','');
  
  oM.makeMenu('top5', '', 'Events', ' /events/events_home.cfm','','','');
  
  
    oM.makeMenu('subA24A3979F1A6141FA7E93AECBAEFF61B1_top5', 'top5', 'Events', ' /events/events_home.cfm','','','');
  
    oM.makeMenu('subBC8FC03909E3B0F680F8708732390E032_top5', 'top5', 'Events Calendar', ' /events/events-calendar.cfm','','','');
  
  oM.makeMenu('top6', '', 'Getting Around', ' /getting-around/getting-around_home.cfm','','','');
  
  
    oM.makeMenu('subA25611B4A77A7112F5249DA4F17E2BD61_top6', 'top6', 'Getting Around', ' /getting-around/getting-around_home.cfm','','','');
  
    oM.makeMenu('subA26FAB8107F4F64B9A60D68F30459ECE2_top6', 'top6', 'Getting Around Search', ' /getting-around/getting-around-search.cfm','','','');
  
    oM.makeMenu('sub5C1EB5EDB74880D21FA142CFC78742B13_top6', 'top6', 'Air', ' /getting-around/air.cfm','','','');
  
    oM.makeMenu('sub5C20353D0BAD93F17F895148EDCBBC0C4_top6', 'top6', 'Coach', ' /getting-around/coach.cfm','','','');
  
    oM.makeMenu('subF96B5E32CDE9B434CC547D96059D17B55_top6', 'top6', 'Car Hire', ' /getting-around/car-hire.cfm','','','');
  
    oM.makeMenu('sub1353027DEDBE7DDDA1550EF1570DEEE96_top6', 'top6', 'Ferries', ' /getting-around/ferries.cfm','','','');
  
    oM.makeMenu('sub38F364A2F9613A3E6A10FB56506789507_top6', 'top6', 'Self Drive', ' /getting-around/self-drive/self-drive_home.cfm','','','');
    
          
      oM.makeMenu('sub38F36514B82B36446B9E4F1AC7E8B3F6_top6', 'sub38F364A2F9613A3E6A10FB56506789507_top6', 'Self Drive', ' /getting-around/self-drive/self-drive_home.cfm','','','');
          
      oM.makeMenu('sub46B3B0A69528AD83C6C49F71E943255C_top6', 'sub38F364A2F9613A3E6A10FB56506789507_top6', 'Overlanders Way', ' /getting-around/self-drive/overlanders-way.cfm','','','');
          
      oM.makeMenu('sub4B367B3DCF7B82B53A7CBC647C55E056_top6', 'sub38F364A2F9613A3E6A10FB56506789507_top6', 'The Great Inland Way', ' /getting-around/self-drive/the-great-inland-way.cfm','','','');
          
      oM.makeMenu('sub0C631818B36C381F3B0AC88DB191C8FA_top6', 'sub38F364A2F9613A3E6A10FB56506789507_top6', 'Great Green Way', ' /getting-around/self-drive/ingham-g.g.w..cfm','','','');
          
      oM.makeMenu('subE5CEB242AE7209B0034CAAF0DB185EF4_top6', 'sub38F364A2F9613A3E6A10FB56506789507_top6', 'Great Tropical Itineraries', ' /getting-around/self-drive/great-tropical-drive-itineraries.cfm','','','');
    
  oM.makeMenu('top7', '', 'More Information', ' /more-information/more-information_home.cfm','','','');
  
  
    oM.makeMenu('sub04AAAAA5A99A6211B41A5201C54B43FE1_top7', 'top7', 'More Information', ' /more-information/more-information_home.cfm','','','');
  
    oM.makeMenu('sub45FC1A9A9C273C5E1531A379AB53D6932_top7', 'top7', 'Visitor Information Centres', ' /more-information/visitor-information-centres.cfm','','','');
  
    oM.makeMenu('sub46AECA00F4D39B0323BE523B096F2B973_top7', 'top7', 'Regional Map', ' /more-information/regional-map.cfm','','','');
  
    oM.makeMenu('sub394C2690CB1B183C0F5900BBDC834A2E4_top7', 'top7', 'Request Information', ' /more-information/request-information.cfm','','','');
  
    oM.makeMenu('subF148BCC8A27E706F46B1D80C07D30BD05_top7', 'top7', 'Important Links', ' /more-information/important-links.cfm','','','');
  
oM.construct();

