');
document.write('');
if ( groophics_widgets_emailform_fields[i][0] == "button" ) {
document.write(' ');
} else if ( groophics_widgets_emailform_fields[i][0] == "email" ) {
document.write('Email');
} else if ( groophics_widgets_emailform_fields[i][0] == "phone" ) {
document.write('Phone');
} else if ( groophics_widgets_emailform_fields[i][0] == "mobile" ) {
document.write('Mobile');
} else {
document.write(groophics_widgets_emailform_fields[i][1]);
}
document.write(' ');
document.write('');
if ( groophics_widgets_emailform_fields[i][0] == "text" ) {
document.write(' ');
} else if ( groophics_widgets_emailform_fields[i][0] == "email" ) {
document.write(' ');
} else if ( groophics_widgets_emailform_fields[i][0] == "phone" ) {
document.write(' ');
} else if ( groophics_widgets_emailform_fields[i][0] == "mobile" ) {
document.write(' ');
} else if ( groophics_widgets_emailform_fields[i][0] == "textarea" ) {
document.write('');
} else if ( groophics_widgets_emailform_fields[i][0] == "checkbox" ) {
document.write(' ');
} else if ( groophics_widgets_emailform_fields[i][0] == "secret" ) {
document.write(' ');
} else if ( groophics_widgets_emailform_fields[i][0] == "hidden" ) {
document.write(' ');
} else if ( groophics_widgets_emailform_fields[i][0] == "dropdown" ) {
document.write('');
// start a new array
tmp = Array();
while ( groophics_widgets_emailform_fields[i][2].indexOf(",") != -1 ) {
// store the value in the array
tmp[tmp.length] = groophics_widgets_emailform_fields[i][2].substring(0, groophics_widgets_emailform_fields[i][2].indexOf(","));
// remove the value and comma from the string
groophics_widgets_emailform_fields[i][2] = groophics_widgets_emailform_fields[i][2].substring(groophics_widgets_emailform_fields[i][2].indexOf(",")+1, groophics_widgets_emailform_fields[i][2].length);
}
// store the leftovers
tmp[tmp.length] = groophics_widgets_emailform_fields[i][2];
// cycle through all the values
for ( j = 0; j < tmp.length; j++ ) {
document.write('' + tmp[j] + ' ');
}
document.write(' ');
} else if ( groophics_widgets_emailform_fields[i][0] == "country" ) {
document.write('');
// list of countries
tmp = Array();
tmp[tmp.length] = "Choose...";
tmp[tmp.length] = "Afghanistan";
tmp[tmp.length] = "Albania";
tmp[tmp.length] = "Algeria";
tmp[tmp.length] = "Andorra";
tmp[tmp.length] = "Angola";
tmp[tmp.length] = "Anguilla";
tmp[tmp.length] = "Antarctica";
tmp[tmp.length] = "Argentina";
tmp[tmp.length] = "Armenia";
tmp[tmp.length] = "Aruba";
tmp[tmp.length] = "Australia";
tmp[tmp.length] = "Austria";
tmp[tmp.length] = "Azerbaijan";
tmp[tmp.length] = "Bahamas";
tmp[tmp.length] = "Bahrain";
tmp[tmp.length] = "Bangladesh";
tmp[tmp.length] = "Barbados";
tmp[tmp.length] = "Belarus";
tmp[tmp.length] = "Belgium";
tmp[tmp.length] = "Belize";
tmp[tmp.length] = "Benin";
tmp[tmp.length] = "Bermuda";
tmp[tmp.length] = "Bhutan";
tmp[tmp.length] = "Bolivia";
tmp[tmp.length] = "Botswana";
tmp[tmp.length] = "Bouvet Island";
tmp[tmp.length] = "Brazil";
tmp[tmp.length] = "Bulgaria";
tmp[tmp.length] = "Burkina Faso";
tmp[tmp.length] = "Burundi";
tmp[tmp.length] = "Cambodia";
tmp[tmp.length] = "Cameroon";
tmp[tmp.length] = "Canada";
tmp[tmp.length] = "Cape Verde";
tmp[tmp.length] = "Cayman Islands";
tmp[tmp.length] = "Chad";
tmp[tmp.length] = "Chile";
tmp[tmp.length] = "China";
tmp[tmp.length] = "Christmas Island";
tmp[tmp.length] = "Colombia";
tmp[tmp.length] = "Comoros";
tmp[tmp.length] = "Congo";
tmp[tmp.length] = "Cook Islands";
tmp[tmp.length] = "Costa Rica";
tmp[tmp.length] = "Cote d’Ivoire";
tmp[tmp.length] = "Cuba";
tmp[tmp.length] = "Cyprus";
tmp[tmp.length] = "Czech Republic";
tmp[tmp.length] = "Denmark";
tmp[tmp.length] = "Djibouti";
tmp[tmp.length] = "Dominica";
tmp[tmp.length] = "East Timor";
tmp[tmp.length] = "Ecuador";
tmp[tmp.length] = "Egypt";
tmp[tmp.length] = "El Salvador";
tmp[tmp.length] = "Eritrea";
tmp[tmp.length] = "Estonia";
tmp[tmp.length] = "Ethiopia";
tmp[tmp.length] = "Faroe Islands";
tmp[tmp.length] = "Fiji";
tmp[tmp.length] = "Finland";
tmp[tmp.length] = "France";
tmp[tmp.length] = "French Guiana";
tmp[tmp.length] = "French Polynesia";
tmp[tmp.length] = "Gabon";
tmp[tmp.length] = "Gambia";
tmp[tmp.length] = "Georgia";
tmp[tmp.length] = "Germany";
tmp[tmp.length] = "Ghana";
tmp[tmp.length] = "Gibraltar";
tmp[tmp.length] = "Greece";
tmp[tmp.length] = "Greenland";
tmp[tmp.length] = "Grenada";
tmp[tmp.length] = "Guadeloupe";
tmp[tmp.length] = "Guam";
tmp[tmp.length] = "Guatemala";
tmp[tmp.length] = "Guinea";
tmp[tmp.length] = "Guinea-Bissau";
tmp[tmp.length] = "Guyana";
tmp[tmp.length] = "Haiti";
tmp[tmp.length] = "Honduras";
tmp[tmp.length] = "Hong Kong";
tmp[tmp.length] = "Hungary";
tmp[tmp.length] = "Iceland";
tmp[tmp.length] = "India";
tmp[tmp.length] = "Indonesia";
tmp[tmp.length] = "Iraq";
tmp[tmp.length] = "Ireland";
tmp[tmp.length] = "Israel";
tmp[tmp.length] = "Italy";
tmp[tmp.length] = "Jamaica";
tmp[tmp.length] = "Japan";
tmp[tmp.length] = "Jordan";
tmp[tmp.length] = "Kazakhstan";
tmp[tmp.length] = "Kenya";
tmp[tmp.length] = "Kiribati";
tmp[tmp.length] = "Kuwait";
tmp[tmp.length] = "Kyrgyzstan";
tmp[tmp.length] = "Latvia";
tmp[tmp.length] = "Lebanon";
tmp[tmp.length] = "Lesotho";
tmp[tmp.length] = "Liberia";
tmp[tmp.length] = "Liechtenstein";
tmp[tmp.length] = "Lithuania";
tmp[tmp.length] = "Luxembourg";
tmp[tmp.length] = "Macau";
tmp[tmp.length] = "Madagascar";
tmp[tmp.length] = "Malawi";
tmp[tmp.length] = "Malaysia";
tmp[tmp.length] = "Maldives";
tmp[tmp.length] = "Mali";
tmp[tmp.length] = "Malta";
tmp[tmp.length] = "Marshall Islands";
tmp[tmp.length] = "Martinique";
tmp[tmp.length] = "Mauritania";
tmp[tmp.length] = "Mauritius";
tmp[tmp.length] = "Mayotte";
tmp[tmp.length] = "Mexico";
tmp[tmp.length] = "Monaco";
tmp[tmp.length] = "Mongolia";
tmp[tmp.length] = "Montserrat";
tmp[tmp.length] = "Morocco";
tmp[tmp.length] = "Mozambique";
tmp[tmp.length] = "Myanmar";
tmp[tmp.length] = "Namibia";
tmp[tmp.length] = "Nauru";
tmp[tmp.length] = "Nepal";
tmp[tmp.length] = "Netherlands";
tmp[tmp.length] = "New Caledonia";
tmp[tmp.length] = "New Zealand";
tmp[tmp.length] = "Nicaragua";
tmp[tmp.length] = "Niger";
tmp[tmp.length] = "Nigeria";
tmp[tmp.length] = "Niue";
tmp[tmp.length] = "Norfolk Island";
tmp[tmp.length] = "Norway";
tmp[tmp.length] = "Oman";
tmp[tmp.length] = "Pakistan";
tmp[tmp.length] = "Palau";
tmp[tmp.length] = "Panama";
tmp[tmp.length] = "Papua New Guinea";
tmp[tmp.length] = "Paraguay";
tmp[tmp.length] = "Peru";
tmp[tmp.length] = "Philippines";
tmp[tmp.length] = "Pitcairn";
tmp[tmp.length] = "Poland";
tmp[tmp.length] = "Portugal";
tmp[tmp.length] = "Puerto Rico";
tmp[tmp.length] = "Qatar";
tmp[tmp.length] = "Reunion";
tmp[tmp.length] = "Romania";
tmp[tmp.length] = "Russian Federation";
tmp[tmp.length] = "Rwanda";
tmp[tmp.length] = "Saint Kitts and Nevis";
tmp[tmp.length] = "Saint LUCIA";
tmp[tmp.length] = "Samoa";
tmp[tmp.length] = "San Marino";
tmp[tmp.length] = "Saudi Arabia";
tmp[tmp.length] = "Senegal";
tmp[tmp.length] = "Seychelles";
tmp[tmp.length] = "Sierra Leone";
tmp[tmp.length] = "Singapore";
tmp[tmp.length] = "Slovenia";
tmp[tmp.length] = "Solomon Islands";
tmp[tmp.length] = "Somalia";
tmp[tmp.length] = "South Africa";
tmp[tmp.length] = "Spain";
tmp[tmp.length] = "Sri Lanka";
tmp[tmp.length] = "St. Helena";
tmp[tmp.length] = "Sudan";
tmp[tmp.length] = "Suriname";
tmp[tmp.length] = "Swaziland";
tmp[tmp.length] = "Sweden";
tmp[tmp.length] = "Switzerland";
tmp[tmp.length] = "Tajikistan";
tmp[tmp.length] = "Thailand";
tmp[tmp.length] = "Togo";
tmp[tmp.length] = "Tokelau";
tmp[tmp.length] = "Tonga";
tmp[tmp.length] = "Tunisia";
tmp[tmp.length] = "Turkey";
tmp[tmp.length] = "Turkmenistan";
tmp[tmp.length] = "Tuvalu";
tmp[tmp.length] = "Uganda";
tmp[tmp.length] = "Ukraine";
tmp[tmp.length] = "United Kingdom";
tmp[tmp.length] = "United States";
tmp[tmp.length] = "Uruguay";
tmp[tmp.length] = "Uzbekistan";
tmp[tmp.length] = "Vanuatu";
tmp[tmp.length] = "Venezuela";
tmp[tmp.length] = "Viet Nam";
tmp[tmp.length] = "Western Sahara";
tmp[tmp.length] = "Yemen";
tmp[tmp.length] = "Yugoslavia";
tmp[tmp.length] = "Zambia";
tmp[tmp.length] = "Zimbabwe";
// cycle through all the values
for ( j = 0; j < tmp.length; j++ ) {
document.write('' + tmp[j] + ' ');
}
document.write(' ');
} else if ( groophics_widgets_emailform_fields[i][0] == "button" ) {
document.write(' ');
}
document.write(' ');
document.write(' ');
}
document.write('