function changeParentText()
{ 
   _i=getParentItemByItem(_itemRef) 
   _mi[_i][1]=_mi[_itemRef][1] 
    
   _item=gmobj("el"+_i) 
   _item.innerHTML=BDMenu(_mi[_i][0]) 
   itemOn(_i)    
} 


_menuCloseDelay=500 
_menuOpenDelay=150 
_subOffsetTop=0 
_subOffsetLeft=0 

with(menuStyle=new mm_style()){ 
oncolor="#ffffff"; 
offcolor="#000000"; 
onbgcolor="#316ac5"; 
offbgcolor="#ffffff"; 
bordercolor="#000000"; 
borderwidth=1; 
padding=2; 
fontsize="75%"; 
fontstyle="normal"; 
fontfamily="Verdana, Tahoma, Arial"; 
status=""; 
clickfunction="changeParentText();"; 
} 

mainStyle=new copyOf(menuStyle) 
mainStyle.bordercolor="#7F9DB9"; 
mainStyle.clickfunction=""; 


with(menuStyle1=new mm_style()){ 
oncolor="#ffffff"; 
offcolor="#000000"; 
onbgcolor="#316ac5"; 
offbgcolor="#ffffff"; 
bordercolor="#000000"; 
borderwidth=1; 
padding=2; 
fontsize="75%"; 
fontstyle="normal"; 
fontfamily="Verdana, Tahoma, Arial"; 
status=""; 
clickfunction="changeParentText();"; 
} 

mainStyle1=new copyOf(menuStyle1) 
mainStyle1.offbgcolor="#666600";
mainStyle1.offcolor="#FFFFCC";
mainStyle1.onbgcolor="#CC6699";
mainStyle1.oncolor="#FFFFFF";
mainStyle1.bordercolor="#7F9DB9"; 
mainStyle1.clickfunction=""; 



with(milonic=new menuname("Main Menu")){ 
style=mainStyle; 
margin=2 
top=20; 
left=52; 
alwaysvisible=1; 
itemwidth=317 
orientation="horizontal";
aI("text=Please Select Your TLD;showmenu=TLD;openonclick=1;closeonclick=1;keepalive=1;"); 
} 

with(milonic=new menuname("TLD")){ 
left="offset=-2"; 
top="offset=1"; 
style=menuStyle; 
menuheight=200 
overflow="scroll" 
aI("text=Please Select Your Country;"); 
aI("text=Afghanistan;");        
aI("text=Albania;"); 
aI("text=Algeria;"); 
aI("text=American Samoa;"); 
aI("text=Andorra;"); 
aI("text=Angola;"); 
aI("text=Anguilla;"); 
aI("text=Antarctica;"); 
aI("text=Antigua and Barbuda;"); 
aI("text=Argentina;"); 
aI("text=Armenia;"); 
aI("text=Aruba;"); 
aI("text=Australia;"); 
aI("text=Austria;"); 
aI("text=Azerbaijan;"); 
aI("text=Bahamas;"); 
aI("text=Bahrain;"); 
aI("text=Bangladesh;"); 
aI("text=Barbados;"); 
aI("text=Belarus;"); 
aI("text=Belgium;"); 
aI("text=Belize;"); 
aI("text=Benin;"); 
aI("text=Bermuda;"); 
aI("text=Bhutan;"); 
aI("text=Bolivia;"); 
aI("text=Bosnia and Herzegovina;"); 
aI("text=Botswana;"); 
aI("text=Bouvet Island;"); 
aI("text=Brazil;"); 
aI("text=British Indian Ocean Territory;"); 
aI("text=Brunei Darussalam;"); 
aI("text=Bulgaria;"); 
aI("text=Burkina Faso;"); 
aI("text=Burundi;"); 
aI("text=Cambodia;"); 
aI("text=Cameroon;"); 
aI("text=Canada;"); 
aI("text=Cape Verde;"); 
aI("text=Cayman Islands;"); 
aI("text=Central African Republic;"); 
aI("text=Chad;"); 
aI("text=Chile;"); 
aI("text=China;"); 
aI("text=Christmas Island;"); 
aI("text=Cocos (Keeling) Islands;"); 
aI("text=Colombia;"); 
aI("text=Comoros;"); 
aI("text=Congo;"); 
aI("text=Cook Islands;"); 
aI("text=Costa Rica;"); 
aI("text=Cote D'Ivoire (Ivory Coast);"); 
aI("text=Croatia (Hrvatska);"); 
aI("text=Cuba;"); 
aI("text=Cyprus;"); 
aI("text=Czech Republic;"); 
aI("text=Denmark;"); 
aI("text=Djibouti;"); 
aI("text=Dominica;"); 
aI("text=Dominican Republic;"); 
aI("text=East Timor;"); 
aI("text=Ecuador;"); 
aI("text=Egypt;"); 
aI("text=El salvador;"); 
aI("text=Equatorial Guinea;"); 
aI("text=Eritrea;"); 
aI("text=Estonia;"); 
aI("text=Ethiopia;"); 
aI("text=Falkland Islands (Islas Malvinas);"); 
aI("text=Faroe Islands;"); 
aI("text=Fiji;"); 
aI("text=Finland;"); 
aI("text=France;"); 
aI("text=French Guiana;"); 
aI("text=French Polynesia;"); 
aI("text=French Southern Territories;"); 
aI("text=Gabon;"); 
aI("text=Gambia;"); 
aI("text=Georgia;"); 
aI("text=Germany;"); 
aI("text=Ghana;"); 
aI("text=Gibraltar;"); 
aI("text=Greece;"); 
aI("text=Greenland;"); 
aI("text=Grenada;"); 
aI("text=Guadeloupe;"); 
aI("text=Guam;"); 
aI("text=Guatemala;"); 
aI("text=Guinea;"); 
aI("text=Guinea-Bissau;"); 
aI("text=Guyana;"); 
aI("text=Haiti;"); 
aI("text=Heard and McDonald Islands;"); 
aI("text=Holy See (Vatican City State);"); 
aI("text=Honduras;"); 
aI("text=Hong Kong;"); 
aI("text=Hungary;"); 
aI("text=Iceland;"); 
aI("text=India;"); 
aI("text=Indonesia;"); 
aI("text=name ;"); 
aI("text=Iran, Islamic Republic Of;"); 
aI("text=Iraq;"); 
aI("text=Ireland;"); 
aI("text=Israel;"); 
aI("text=Italy;"); 
aI("text=Jamaica;"); 
aI("text=Japan;"); 
aI("text=Jordan;"); 
aI("text=Kazakhstan;"); 
aI("text=Kenya;"); 
aI("text=Kiribati;"); 
aI("text=Korea, Democratic People's Republic;"); 
aI("text=Korea, Republic Of;"); 
aI("text=Kuwait;"); 
aI("text=Kyrgyzstan;"); 
aI("text=Laos, People's Demcratic Republic;"); 
aI("text=Latvia;"); 
aI("text=Lebanon;"); 
aI("text=Lesotho;"); 
aI("text=Liberia;"); 
aI("text=Libyan Arab Jamahiriya;"); 
aI("text=Liechtenstein;"); 
aI("text=Lithuania;"); 
aI("text=Luxembourg;"); 
aI("text=Macao;"); 
aI("text=Macedonia, Former Yugoslav Republic of;"); 
aI("text=Madagascar;"); 
aI("text=Malawi;"); 
aI("text=Malaysia;"); 
aI("text=Maldives;"); 
aI("text=Mali;"); 
aI("text=Malta;"); 
aI("text=Marshall Islands;"); 
aI("text=Martinique;"); 
aI("text=Mauritania;"); 
aI("text=Mauritius;"); 
aI("text=Mayotte;"); 
aI("text=Mexico;"); 
aI("text=Micronesia, Frederated States Of;"); 
aI("text=Moldova, Rebulic Of;"); 
aI("text=Monaco;"); 
aI("text=Mongolia;"); 
aI("text=Montserrat;"); 
aI("text=Morocco;"); 
aI("text=Mozambique;"); 
aI("text=Myanmar;"); 
aI("text=Namibia;"); 
aI("text=Nauru;"); 
aI("text=Nepal;"); 
aI("text=Netherlands;"); 
aI("text=Netherlands Antilles;"); 
aI("text=New Caledonia;"); 
aI("text=New Zealand;"); 
aI("text=Nicaragua;"); 
aI("text=Niger;"); 
aI("text=Nigeria;"); 
aI("text=Niue;"); 
aI("text=Norfolk Island;"); 
aI("text=Northern Mariana Islands;"); 
aI("text=Norway;"); 
aI("text=Oman;"); 
aI("text=Pakistan;"); 
aI("text=Palau;"); 
aI("text=Panama;"); 
aI("text=Papua New Guinea;"); 
aI("text=Paraguay;"); 
aI("text=Peru;"); 
aI("text=Philippines;"); 
aI("text=Pitcairn;"); 
aI("text=Poland;"); 
aI("text=Portugal;"); 
aI("text=Puerto Rico;"); 
aI("text=Qatar;"); 
aI("text=Reunion;"); 
aI("text=Romania;"); 
aI("text=Russian Federation;"); 
aI("text=Rwanda;"); 
aI("text=Saint Helena;"); 
aI("text=Saint Kitts and Nevis;"); 
aI("text=Saint Lucia;"); 
aI("text=Saint Pierre and Miquelon;"); 
aI("text=Saint Vincent and the Grenadines;"); 
aI("text=Samoa;"); 
aI("text=San Marino;"); 
aI("text=Sao Tome and Principe;"); 
aI("text=Saudi Arabia;"); 
aI("text=Senegal;"); 
aI("text=Seychelles;"); 
aI("text=Sierra Leone;"); 
aI("text=Singapore;"); 
aI("text=Slovakia;"); 
aI("text=Slovenia;"); 
aI("text=Solomon Islands;"); 
aI("text=Somalia;"); 
aI("text=South Africa;"); 
aI("text=South Georgia And The South Sandwich Islands;"); 
aI("text=Spain;"); 
aI("text=Sri Lanka;"); 
aI("text=Sudan;"); 
aI("text=Suriname;"); 
aI("text=name ;"); 
aI("text=Svalbard And Jan Mayen;"); 
aI("text=Swaziland;"); 
aI("text=Sweden;"); 
aI("text=Switzerland;"); 
aI("text=Syrian Arab Republic;"); 
aI("text=Taiwan;"); 
aI("text=Tajikistan;"); 
aI("text=Tanzania, United Republic Of;"); 
aI("text=Thailand;"); 
aI("text=Togo;"); 
aI("text=Tokelau;"); 
aI("text=Tonga;"); 
aI("text=Trinidad and Tobago;"); 
aI("text=Tunisia;"); 
aI("text=Turkey;"); 
aI("text=Turkmenistan;"); 
aI("text=Turks and Caicos Islands;"); 
aI("text=Tuvalu;"); 
aI("text=Uganda;"); 
aI("text=Ukraine;"); 
aI("text=United Arab Emirates;"); 
aI("text=United Kingdom;"); 
aI("text=United States;"); 
aI("text=United States Minor Outlying Islands;"); 
aI("text=Uruguay;"); 
aI("text=Uzbekistan;"); 
aI("text=Vanuatu;"); 
aI("text=Venezuela;"); 
aI("text=Vietnam;"); 
aI("text=Virgin Islands, British;"); 
aI("text=Virgin Islands, US;"); 
aI("text=Wallis And Futuna;"); 
aI("text=Western Sahara;"); 
aI("text=Yemen;"); 
aI("text=Yugoslavia;"); 
aI("text=Zambia;"); 
aI("text=Zimbabwe;"); 
} 

with(milonic=new menuname("Main Menu1")){ 
style=mainStyle1; 
margin=2 
top=20; 
left=430; 
alwaysvisible=1; 
itemwidth=150 
orientation="horizontal"; 
aI("text=Please Select Your TLD;showmenu=TLD1;openonclick=1;closeonclick=1;keepalive=1;"); 
} 

with(milonic=new menuname("TLD1")){ 
left="offset=-2"; 
top="offset=1"; 
style=menuStyle1;
aI("text=As you can see with this <br>example you can style the <br>look, size, color of the box<br>You can even use a header;type=header;headerbgcolor=#33CCCC;headercolor=#006666;"); 
aI("text=HTML;"); 
aI("text=DHTML;"); 
aI("text=XML;"); 
aI("text=CSS;");  
}

drawMenus(); 
