/**
 * MDF.be Country Selector Dropdown
 */

function buildCountryDropdown()
{
    var countries = new Array();

/**************** Countries ****************/
/*  countries[countries.length] = new Array("Country Name","http:/"+"/www.Country.com");*/

    countries[countries.length] = new Array("APB","http:/"+"/www.apb.be");
	countries[countries.length] = new Array("BCFI","http:/"+"/www.bcfi.be");
    countries[countries.length] = new Array("VHP","http:/"+"/www.vhp.be");
    countries[countries.length] = new Array("Orde","http:/"+"/www.ordomedic.be");
    countries[countries.length] = new Array("WVVH","http:/"+"/www.wvvh.be");
    countries[countries.length] = new Array("Volksgezondheid","http:/"+"/www.health.fgov.be");
    countries[countries.length] = new Array("RIZIV","http:/"+"/www.riziv.be");
    

/*******************************************/

    var buildHTML = '<select name="FormsComboBox1" id=FormsComboBox1 onchange="deportMeTo(this);">\n';
    buildHTML += '<option selected>- kies link -</option>';
    for(var i=0;i<countries.length;i++)
    {
        buildHTML += "   <option value='"+countries[i][1]+"'>"+countries[i][0]+"</option>\n";
    }    
    document.writeln(buildHTML + "</select>");
    
}

function deportMeTo(where)
{
    top.location.href = where.options[where.selectedIndex].value;
    where.options.selectedIndex = 0;
}

buildCountryDropdown();
