﻿// set up drop downs anywhere in the body of the page. I think the bottom of the page is better.. 
// but you can experiment with effect on loadtime.
if (TransMenu.isSupported()) {

    
    //==================================================================================================
    var ms = new TransMenuSet(TransMenu.direction.down, 1, 0, TransMenu.reference.bottomLeft);

    //==================================================================================================
    // create a dropdown menu
    //==================================================================================================
    // the first parameter should be the HTML element which will act actuator for the menu
    //==================================================================================================
    var menu1 = ms.addMenu(document.getElementById("CS"));
    menu1.addItem("Introduction", "../CS/intro.aspx"); // send no URL if nothing should happen onclick
    menu1.addItem("Bilateral", "../CS/bilateral.aspx"); // send no URL if nothing should happen onclick
    menu1.addItem("Indian Ecomony & Trade Information", "../CS/IndianEconmy.aspx"); // send no URL if nothing should happen onclick
    menu1.addItem("Saudi Ecomony & Trade Information", "../CS/SaudiEconomy.aspx"); // send no URL if nothing should happen onclick
    menu1.addItem("Indian-GCC Relations", "../CS/INDIAGCCRel.aspx"); // send no URL if nothing should happen onclick
    menu1.addItem("Market Studies", "../CS/MarketStudies.aspx"); // send no URL if nothing should happen onclick
    menu1.addItem("Business Visas", "../CS/BusinessVisas.aspx"); // send no URL if nothing should happen onclick
    menu1.addItem("NRI Corner", "../CS/NRICorner.aspx"); // send no URL if nothing should happen onclick

    

    //==================================================================================================

    //==================================================================================================
    var menu2 = ms.addMenu(document.getElementById("CW"));
    menu2.addItem("General Info.", "../CW/CWintro.aspx");
    menu2.addItem("Community Welfare Asso.", "../CW/casso.aspx");
    menu2.addItem("Indian Professionals", "../CW/indprof.aspx");
    menu2.addItem("Welfare Function", "../CW/communityfunction.aspx");
    menu2.addItem("Indian Workers Welfare Fund", "../CW/welfarefund.aspx");
    menu2.addItem("Medical Camps", "../CW/medicalCamp.aspx");
    menu2.addItem("Labour Disputes", "../CW/labourdispute.aspx");
    menu2.addItem("Recruitment From India", "../CW/recruitIndia.aspx");
    menu2.addItem("Procedures for an Indian Deaths", "../CW/deathKSA.aspx");
    menu2.addItem("Online Request for Assistance", "../CW/labform.htm");

   
    //==================================================================================================

    //==================================================================================================
    var menu3 = ms.addMenu(document.getElementById("CP"));
    menu3.addItem("India News", "../CP/IndiaNews.aspx");
    menu3.addItem("Commercial Bulletin (Eng.)", "../CP/commercialNews.aspx");
    menu3.addItem("Commercial Bulletin (Arabic)", "#");
    menu3.addItem("Basic Legal Info. (Eng.)", "../CP/basicLegal_Eng.aspx");
    menu3.addItem("Basic Legal Info. (Malayalam)", "../CP/basicLegal_Mal.aspx");
    menu3.addItem("Basic Legal Info. (Hindi)", "../CP/basicLegal_Hindi.aspx");
    menu3.addItem("Basic Legal Info. (Urdu)", "../CP/basicLegal_Urdu.aspx");
    menu3.addItem("Doing Business with Saudi Arabia", "");
    menu3.addItem("Biz News", "");
    menu3.addItem("India-Saudi Arabia in Focus", "");

   
    //==================================================================================================

    //==================================================================================================
    var menu4 = ms.addMenu(document.getElementById("HS"));
    menu4.addItem("Registration of Private Tour Operators - Haj 2010", "../hajj/regpto.aspx");
    menu4.addItem("Introduction & Orientation Manuals", "../hajj/Hajjintro.aspx");
    menu4.addItem("Haj News & Contacts", "../hajj/hajjNews.aspx");
    menu4.addItem("Moallim Details Haj 2009", "../hajj/Moallims.aspx");
    menu4.addItem("Important Telephone Numbers", "../hajj/images/Imp-phonenos.pdf");
    menu4.addItem("Pilgrims Information Haj 2009", "javascript: a();");
    menu4.addItem("Practical Guide for Pilgrims", "");
    menu4.addItem("Quota to PTOs for Haj 2009", "../hajj/ptoquota.aspx");
    menu4.addItem("Building Scenario Haj-2010", "../hajj/bldg2010.aspx");
    menu4.addItem("Casualties", "../hajj/casuality09.aspx");    
   
    //==================================================================================================

    //==================================================================================================
    var menu5 = ms.addMenu(document.getElementById("NRI"));
    menu5.addItem("NRI/PIO professionals in the Kingdom", "../NRI/nripiodb.aspx");
    menu5.addItem("Brief Note on the NRI Profile of K.S.A", "http://www.pbd2006.org");
    menu5.addItem("Ministry of  Overseas Indian Affairs", "");
    menu5.addItem("PIO Card Scheme", "");
    menu5.addItem("Overseas Citizenship of India Scheme", "");

   
    //==================================================================================================

    //==================================================================================================
    var menu6 = ms.addMenu(document.getElementById("PS"));
    menu6.addItem("General Info.", "../passport/GInfo.aspx");
    menu6.addItem("Consular Tours", "../passport/Consulartour.aspx");
    menu6.addItem("Services", "../passport/services.aspx");
    menu6.addItem("Forms", "../passport/forms.aspx");
     menu6.addItem("Online Registration For NRIs", "../nriform.asp");

    //==================================================================================================

    //==================================================================================================
    var menu7 = ms.addMenu(document.getElementById("PI"));
    menu7.addItem("Press release", "../press/pressrelease.aspx");
    menu7.addItem("Contact Us", "../press/contactus.aspx");

   
    //==================================================================================================

    //==================================================================================================
    var menu8 = ms.addMenu(document.getElementById("V"));
    menu8.addItem("General Information", "../visa/GInfo.aspx");
    menu8.addItem("PIO Card Scheme", "../Visa/visaPiocard.aspx");
    menu8.addItem("Visa Forms", "../visa/visaform.aspx");
    
    
 /* var submenu6 = menu5.addMenu(menu5.items[0]);
    //    submenu6.addItem("", "");*/
    //==================================================================================================

    //==================================================================================================
    var menu9 = ms.addMenu(document.getElementById("H"));
    menu9.addItem("Home", "../MainPage/index.aspx");
     menu9.addItem("About us", "../mainPage/aboutus.aspx");

   
      //==================================================================================================

    //==================================================================================================
    // write drop downs into page
    //==================================================================================================
    // this method writes all the HTML for the menus into the page with document.write(). It must be
    // called within the body of the HTML page.
    //==================================================================================================
    TransMenu.renderAll();
}

function a() {
    window.open('http://www.cgijeddah.org')
    
}

function phto() {
    window.open('http://www.aihutoa.com')
    
}
