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 + 1; y+=el.offsetTop; } //Returning the x and y as an array, iain-numbers below position absolute menu return [x,y]; //return [258, 116]; } pos = findPos(); //Menu object creation oCMenu=new makeCM("oCMenu"); //Making the menu object. Argument: menuname oCMenu.fromLeft=pos[0]; oCMenu.fromTop=pos[1]; //We also need to "re place" the menu on resize. So: oCMenu.onresize="pos = findPos();oCMenu.fromLeft=pos[0];oCMenu.fromTop=pos[1];" //Menu properties oCMenu.pxBetween=1; oCMenu.rows=1; oCMenu.menuPlacement=0; oCMenu.fromTop=152; oCMenu.offlineRoot="/"; oCMenu.onlineRoot=""; oCMenu.resizeCheck=1; oCMenu.wait=500; //oCMenu.fillImg="/images/menu/cm_fill.gif"; oCMenu.zIndex=0; //Background bar properties oCMenu.useBar=1; oCMenu.barWidth="menu"; oCMenu.barHeight="menu"; oCMenu.barClass="clBar"; oCMenu.barX="menu"; oCMenu.barY="menu"; oCMenu.barBorderX=0; oCMenu.barBorderY=0; oCMenu.barBorderClass=""; //Level properties - ALL properties have to be specified in level 0 oCMenu.level[0]=new cm_makeLevel(); //Add this for each new level - offset - change this to align submenus oCMenu.level[0].width=120; oCMenu.level[0].height=20; oCMenu.level[0].regClass="clLevel0"; oCMenu.level[0].overClass="clLevel0over"; oCMenu.level[0].borderX=1; oCMenu.level[0].borderY=1; oCMenu.level[0].borderClass="clLevel0border"; oCMenu.level[0].offsetX=-1; oCMenu.level[0].offsetY=-2; oCMenu.level[0].rows=0; oCMenu.level[0].align="bottom"; // Alignment of child menu oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.4)"; oCMenu.level[1]=new cm_makeLevel(); //Add this for each new level oCMenu.level[1].width=120; oCMenu.level[1].height=20; oCMenu.level[1].regClass="clLevel1"; oCMenu.level[1].overClass="clLevel1over"; oCMenu.level[1].borderClass="clLevel1border"; oCMenu.level[1].align="right"; // Alignment of child menu oCMenu.level[1].offsetX=-2; oCMenu.level[1].offsetY=-1; oCMenu.level[1].arrowWidth=5; oCMenu.level[1].arrowHeight=5; oCMenu.makeMenu('0','','Home', '/','',61.428571428571); oCMenu.makeMenu('0_1','','India Regions', '/destinations','',107.92857142857) oCMenu.makeMenu('0_1_1','0_1','Central India', '/destinations/central_india','',220) oCMenu.makeMenu('0_1_1_1','0_1_1','Khajuraho', '/destinations/central_india/khajuraho','',200) oCMenu.makeMenu('0_1_1_2','0_1_1','Varanasi', '/destinations/central_india/varanasi','',200) oCMenu.makeMenu('0_1_1_3','0_1_1','Bhopal', '/destinations/central_india/bhopal','',200) oCMenu.makeMenu('0_1_1_4','0_1_1','Kanha', '/destinations/central_india/kanha','',200) oCMenu.makeMenu('0_1_1_5','0_1_1','Pench', '/destinations/central_india/pench','',200) oCMenu.makeMenu('0_1_1_6','0_1_1','Bandhavgarh', '/destinations/central_india/bandhavgarh','',200) oCMenu.makeMenu('0_1_1_7','0_1_1','Panna', '/destinations/central_india/panna','',200) oCMenu.makeMenu('0_1_2','0_1','Rajasthan', '/destinations/rajasthan','',220) oCMenu.makeMenu('0_1_2_1','0_1_2','Udaipur', '/destinations/rajasthan/udaipur','',200) oCMenu.makeMenu('0_1_2_2','0_1_2','Jaipur', '/destinations/rajasthan/jaipur','',200) oCMenu.makeMenu('0_1_2_3','0_1_2','Jodhpur', '/destinations/rajasthan/jodhpur','',200) oCMenu.makeMenu('0_1_2_4','0_1_2','Jaisalmer', '/destinations/rajasthan/jaisalmer','',200) oCMenu.makeMenu('0_1_3','0_1','Agra', '/destinations/agra','',220) oCMenu.makeMenu('0_1_3_1','0_1_3','Taj Mahal', '/destinations/agra/taj_mahal','',200) oCMenu.makeMenu('0_1_3_2','0_1_3','Agra Fort', '/destinations/agra/agra_fort','',200) oCMenu.makeMenu('0_1_3_3','0_1_3','Fatehpur Sikri', '/destinations/agra/fatehpur_sikri_','',200) oCMenu.makeMenu('0_1_3_4','0_1_3','Bharatpur', '/destinations/agra/bharatpur','',200) oCMenu.makeMenu('0_1_4','0_1','Delhi', '/destinations/delhi','',220) oCMenu.makeMenu('0_1_5','0_1','Kerala', '/destinations/kerala','',220) oCMenu.makeMenu('0_1_5_1','0_1_5','The Backwaters', '/destinations/kerala/the_backwaters','',200) oCMenu.makeMenu('0_1_5_2','0_1_5','Cochin', '/destinations/kerala/cochin','',200) oCMenu.makeMenu('0_1_5_3','0_1_5','Periyar', '/destinations/kerala/periyar','',200) oCMenu.makeMenu('0_1_5_4','0_1_5','Ayurveda', '/destinations/kerala/ayurveda','',200) oCMenu.makeMenu('0_1_6','0_1','Goa', '/destinations/goa','',220) oCMenu.makeMenu('0_1_7','0_1','Maharashtra & Mumbai', '/destinations/maharashtra_and_mumbai','',220) oCMenu.makeMenu('0_1_7_1','0_1_7','Aurangabad', '/destinations/maharashtra_and_mumbai/aurangabad','',200) oCMenu.makeMenu('0_1_7_2','0_1_7','Mumbai', '/destinations/maharashtra_and_mumbai/mumbai','',200) oCMenu.makeMenu('0_1_8','0_1','The Himalayas', '/destinations/the_himalayas','',220) oCMenu.makeMenu('0_1_8_1','0_1_8','Himachal Pradesh', '/destinations/the_himalayas/himachal_pradesh','',200) oCMenu.makeMenu('0_1_8_2','0_1_8','Uttaranchal', '/destinations/the_himalayas/uttaranchal','',200) oCMenu.makeMenu('0_1_8_3','0_1_8','Sikkim', '/destinations/the_himalayas/sikkim','',200) oCMenu.makeMenu('0_1_8_4','0_1_8','Ladakh', '/destinations/the_himalayas/ladakh','',200) oCMenu.makeMenu('0_1_9','0_1','Calcutta & West Bengal', '/destinations/calcutta_and_west_bengal','',220) oCMenu.makeMenu('0_1_9_1','0_1_9','Calcutta', '/destinations/calcutta_and_west_bengal/calcutta','',200) oCMenu.makeMenu('0_1_9_2','0_1_9','Darjeeling', '/destinations/calcutta_and_west_bengal/darjeeling','',200) oCMenu.makeMenu('0_1_10','0_1','North East', '/destinations/north_east','',220) oCMenu.makeMenu('0_1_10_1','0_1_10','Assam', '/destinations/north_east/assam','',200) oCMenu.makeMenu('0_1_10_2','0_1_10','Arunachal Pradesh', '/destinations/north_east/arunachal_pradesh','',200) oCMenu.makeMenu('0_1_11','0_1','Gujarat', '/destinations/gujarat','',220) oCMenu.makeMenu('0_1_11_1','0_1_11','Gir', '/destinations/gujarat/gir','',200) oCMenu.makeMenu('0_1_11_2','0_1_11','Ahmedabad', '/destinations/gujarat/ahmedabad','',200) oCMenu.makeMenu('0_1_11_3','0_1_11','Rann of Kutch', '/destinations/gujarat/rann_of_kutch','',200) oCMenu.makeMenu('0_1_12','0_1','Tamil Nadu & Chennai', '/destinations/tamil_nadu_and_chennai','',220) oCMenu.makeMenu('0_1_12_1','0_1_12','Chennai', '/destinations/tamil_nadu_and_chennai/chennai','',200) oCMenu.makeMenu('0_1_12_2','0_1_12','Mahabalipuram', '/destinations/tamil_nadu_and_chennai/mahabalipuram','',200) oCMenu.makeMenu('0_1_12_3','0_1_12','Kanchipuram', '/destinations/tamil_nadu_and_chennai/kanchipuram','',200) oCMenu.makeMenu('0_1_12_4','0_1_12','Pondicherry', '/destinations/tamil_nadu_and_chennai/pondicherry','',200) oCMenu.makeMenu('0_1_12_5','0_1_12','Ooty', '/destinations/tamil_nadu_and_chennai/ooty','',200) oCMenu.makeMenu('0_1_12_6','0_1_12','Coonoor', '/destinations/tamil_nadu_and_chennai/coonoor','',200) oCMenu.makeMenu('0_1_12_7','0_1_12','Mudumalai National Park', '/destinations/tamil_nadu_and_chennai/mudumalai_national_park','',200) oCMenu.makeMenu('0_1_13','0_1','Karnataka & Bangalore', '/destinations/karnataka_and_bangalore','',220) oCMenu.makeMenu('0_1_13_1','0_1_13','Bangalore', '/destinations/karnataka_and_bangalore/bangalore','',200) oCMenu.makeMenu('0_1_13_2','0_1_13','Mysore', '/destinations/karnataka_and_bangalore/mysore','',200) oCMenu.makeMenu('0_1_13_3','0_1_13','Badami', '/destinations/karnataka_and_bangalore/badami','',200) oCMenu.makeMenu('0_1_13_4','0_1_13','Hampi', '/destinations/karnataka_and_bangalore/hampi','',200) oCMenu.makeMenu('0_1_13_5','0_1_13','Bandipur National Park', '/destinations/karnataka_and_bangalore/bandipur_national_park','',200) oCMenu.makeMenu('0_1_13_6','0_1_13','Nagarhole National Park', '/destinations/karnataka_and_bangalore/nagarhole_national_park','',200) oCMenu.makeMenu('0_1_14','0_1','Hyderabad', '/destinations/hyderabad','',220) oCMenu.makeMenu('0_1_15','0_1','Jammu and Kashmir', '/destinations/jammu_and_kashmir','',220) oCMenu.makeMenu('0_1_15_1','0_1_15','Srinagar', '/destinations/jammu_and_kashmir/srinagar','',200) oCMenu.makeMenu('0_1_15_2','0_1_15','Gulmarg', '/destinations/jammu_and_kashmir/gulmarg','',200) oCMenu.makeMenu('0_1_16','0_1','Islands', '/destinations/islands','',220) oCMenu.makeMenu('0_1_16_1','0_1_16','Andaman and Nicobar', '/destinations/islands/andaman_and_nicobar_','',200) oCMenu.makeMenu('0_1_16_2','0_1_16','Lakshadweep', '/destinations/islands/lakshadweep','',200) oCMenu.makeMenu('0_1_17','0_1','Nepal', '/destinations/nepal','',220) oCMenu.makeMenu('0_1_17_1','0_1_17','Kathmandu', '/destinations/nepal/kathmandu','',200) oCMenu.makeMenu('0_1_17_2','0_1_17','Pokhara', '/destinations/nepal/pokhara','',200) oCMenu.makeMenu('0_1_17_3','0_1_17','Chitwan', '/destinations/nepal/chitwan','',200) oCMenu.makeMenu('0_1_17_4','0_1_17','Bardia', '/destinations/nepal/bardia','',200) oCMenu.makeMenu('0_1_18','0_1','Bhutan', '/destinations/bhutan','',220) oCMenu.makeMenu('0_1_18_1','0_1_18','Paro', '/destinations/bhutan/paro','',200) oCMenu.makeMenu('0_1_18_2','0_1_18','Thimpu', '/destinations/bhutan/thimpu','',200) oCMenu.makeMenu('0_1_18_3','0_1_18','Punakha', '/destinations/bhutan/punakha','',200) oCMenu.makeMenu('0_1_19','0_1','Sri Lanka', '/destinations/sri_lanka','',220) oCMenu.makeMenu('0_1_19_1','0_1_19','Colombo', '/destinations/sri_lanka/colombo','',200) oCMenu.makeMenu('0_1_19_2','0_1_19','Kandy', '/destinations/sri_lanka/kandy','',200) oCMenu.makeMenu('0_1_19_3','0_1_19','Yala', '/destinations/sri_lanka/yala','',200) oCMenu.makeMenu('0_1_19_4','0_1_19','Wilapatu', '/destinations/sri_lanka/wilapatu','',200) oCMenu.makeMenu('0_1_19_5','0_1_19','Galle', '/destinations/sri_lanka/galle','',200) oCMenu.makeMenu('0_2','','Accommodation', '/accommodation','',107.92857142857) oCMenu.makeMenu('0_3','','Tours', '/tours','',55.928571428571) oCMenu.makeMenu('0_3_1','0_3','Themed Holidays', '/tours/themed_holidays','',220) oCMenu.makeMenu('0_3_1_1','0_3_1','India Cuisine', '/tours/themed_holidays/india_cuisine','',200) oCMenu.makeMenu('0_3_1_2','0_3_1','Adventure India', '/tours/themed_holidays/adventure_india','',200) oCMenu.makeMenu('0_3_1_3','0_3_1','Wildlife in India', '/tours/themed_holidays/wildlife_in_india','',200) oCMenu.makeMenu('0_3_1_4','0_3_1','Indian Heritage and Culture', '/tours/themed_holidays/indian_heritage_and_culture','',200) oCMenu.makeMenu('0_3_1_5','0_3_1','Wellness tours in India', '/tours/themed_holidays/wellness_tours_in_india','',200) oCMenu.makeMenu('0_3_1_6','0_3_1','Romance and Honeymoon', '/tours/themed_holidays/romance_and_honeymoon','',200) oCMenu.makeMenu('0_3_1_7','0_3_1','India Beaches', '/tours/themed_holidays/india_beaches','',200) oCMenu.makeMenu('0_3_1_8','0_3_1','Family tours in India', '/tours/themed_holidays/family_tours_in_india','',200) oCMenu.makeMenu('0_3_1_9','0_3_1','Shopping tours in India', '/tours/themed_holidays/shopping_tours_in_india','',200) oCMenu.makeMenu('0_3_1_10','0_3_1','Festivals and Fairs in India', '/tours/themed_holidays/festivals_and_fairs_in_india','',200) oCMenu.makeMenu('0_3_2','0_3','Tours by Region', '/tours/tours_by_region','',220) oCMenu.makeMenu('0_3_2_1','0_3_2','Central India', '/tours/tours_by_region/central_india','',200) oCMenu.makeMenu('0_3_2_2','0_3_2','Rajasthan', '/tours/tours_by_region/rajasthan','',200) oCMenu.makeMenu('0_3_2_3','0_3_2','Agra', '/tours/tours_by_region/agra','',200) oCMenu.makeMenu('0_3_2_4','0_3_2','Delhi', '/tours/tours_by_region/delhi','',200) oCMenu.makeMenu('0_3_2_5','0_3_2','Kerala', '/tours/tours_by_region/kerala','',200) oCMenu.makeMenu('0_3_2_6','0_3_2','Goa', '/tours/tours_by_region/goa','',200) oCMenu.makeMenu('0_3_2_7','0_3_2','Maharashtra & Mumbai', '/tours/tours_by_region/maharashtra_and_mumbai','',200) oCMenu.makeMenu('0_3_2_8','0_3_2','The Himalayas', '/tours/tours_by_region/the_himalayas','',200) oCMenu.makeMenu('0_3_2_9','0_3_2','Calcutta & West Bengal', '/tours/tours_by_region/calcutta_and_west_bengal','',200) oCMenu.makeMenu('0_3_2_10','0_3_2','North East', '/tours/tours_by_region/north_east','',200) oCMenu.makeMenu('0_3_2_11','0_3_2','Gujarat', '/tours/tours_by_region/gujarat','',200) oCMenu.makeMenu('0_3_2_12','0_3_2','Tamil Nadu & Chennai', '/tours/tours_by_region/tamil_nadu_and_chennai','',200) oCMenu.makeMenu('0_3_2_13','0_3_2','Karnataka & Bangalore', '/tours/tours_by_region/karnataka_and_bangalore','',200) oCMenu.makeMenu('0_3_2_14','0_3_2','Hyderabad', '/tours/tours_by_region/hyderabad','',200) oCMenu.makeMenu('0_3_2_15','0_3_2','Jammu and Kashmir', '/tours/tours_by_region/jammu_and_kashmir','',200) oCMenu.makeMenu('0_3_2_16','0_3_2','Islands', '/tours/tours_by_region/islands','',200) oCMenu.makeMenu('0_3_2_17','0_3_2','Nepal', '/tours/tours_by_region/nepal','',200) oCMenu.makeMenu('0_3_2_18','0_3_2','Bhutan', '/tours/tours_by_region/bhutan','',200) oCMenu.makeMenu('0_3_2_19','0_3_2','Sri Lanka', '/tours/tours_by_region/sri_lanka','',200) oCMenu.makeMenu('0_4','','Map of India', '/map_of_india','',101.42857142857) oCMenu.makeMenu('0_5','','Experience India', '/experience_india','',127.42857142857) oCMenu.makeMenu('0_5_1','0_5','India Cuisine', '/experience_india/india_cuisine','',220) oCMenu.makeMenu('0_5_2','0_5','Adventure India', '/experience_india/adventure_india','',220) oCMenu.makeMenu('0_5_2_1','0_5_2','Diving', '/experience_india/adventure_india/diving','',200) oCMenu.makeMenu('0_5_2_2','0_5_2','Trekking', '/experience_india/adventure_india/trekking','',200) oCMenu.makeMenu('0_5_2_3','0_5_2','Adventure Activities', '/experience_india/adventure_india/adventure_activities','',200) oCMenu.makeMenu('0_5_3','0_5','Wildlife in India', '/experience_india/wildlife_in_india','',220) oCMenu.makeMenu('0_5_3_1','0_5_3','On Safari in India', '/experience_india/wildlife_in_india/on_safari_in_india','',200) oCMenu.makeMenu('0_5_3_2','0_5_3','Elephant Safaris', '/experience_india/wildlife_in_india/elephant_safaris','',200) oCMenu.makeMenu('0_5_3_3','0_5_3','Birding Safaris', '/experience_india/wildlife_in_india/birding_safaris','',200) oCMenu.makeMenu('0_5_3_4','0_5_3','Tiger Safaris', '/experience_india/wildlife_in_india/tiger_safaris','',200) oCMenu.makeMenu('0_5_4','0_5','Indian Heritage and Culture', '/experience_india/indian_heritage_and_culture','',220) oCMenu.makeMenu('0_5_4_1','0_5_4','Taj Mahal', '/experience_india/indian_heritage_and_culture/taj_mahal','',200) oCMenu.makeMenu('0_5_4_2','0_5_4','Forts and Palaces', '/experience_india/indian_heritage_and_culture/forts_and_palaces','',200) oCMenu.makeMenu('0_5_4_3','0_5_4','The Raj', '/experience_india/indian_heritage_and_culture/the_raj','',200) oCMenu.makeMenu('0_5_4_4','0_5_4','Temples', '/experience_india/indian_heritage_and_culture/temples','',200) oCMenu.makeMenu('0_5_4_5','0_5_4','Spiritual India', '/experience_india/indian_heritage_and_culture/spiritual_india','',200) oCMenu.makeMenu('0_5_4_6','0_5_4','Ethnic Experiences', '/experience_india/indian_heritage_and_culture/ethnic_experiences','',200) oCMenu.makeMenu('0_5_5','0_5','Wellness tours in India', '/experience_india/wellness_tours_in_india','',220) oCMenu.makeMenu('0_5_6','0_5','Romance and Honeymoon', '/experience_india/romance_and_honeymoon','',220) oCMenu.makeMenu('0_5_7','0_5','India Beaches', '/experience_india/india_beaches','',220) oCMenu.makeMenu('0_5_8','0_5','Family tours in India', '/experience_india/family_tours_in_india','',220) oCMenu.makeMenu('0_5_9','0_5','Shopping tours in India', '/experience_india/shopping_tours_in_india','',220) oCMenu.makeMenu('0_5_10','0_5','Festivals and Fairs in India', '/experience_india/festivals_and_fairs_in_india','',220) oCMenu.makeMenu('0_5_10_1','0_5_10','Festival of Diwali', '/experience_india/festivals_and_fairs_in_india/festival_of_diwali','',200) oCMenu.makeMenu('0_5_10_2','0_5_10','The Khajuraho Festival', '/experience_india/festivals_and_fairs_in_india/the_khajuraho_festival','',200) oCMenu.makeMenu('0_5_10_3','0_5_10','Holi Festival', '/experience_india/festivals_and_fairs_in_india/holi_festival','',200) oCMenu.makeMenu('0_5_10_4','0_5_10','Dasara Festival', '/experience_india/festivals_and_fairs_in_india/dasara_festival','',200) oCMenu.makeMenu('0_5_10_5','0_5_10','Ladakh Festival', '/experience_india/festivals_and_fairs_in_india/ladakh_festival','',200) oCMenu.makeMenu('0_6','','About Us', '/about_us','',75.428571428571) oCMenu.makeMenu('0_7','','Contact Us', '/contact_us','',88.428571428571) //Leave this line - it constructs the menu oCMenu.construct();