
var store = new Array();

store[0] = new Array(
	'','');

store[1] = new Array(
'All','',
'Algeria','Algeria',
'Egypt','Egypt',
'Libya','Libya',
'Morocco','Morocco',
'South Africa','South Africa');

store[2] = new Array(
'All','',
'Argentina','Argentina',
'Brazil','Brazil',
'Canada','Canada',
'Mexico','Mexico',
'United States','United States',
'Venezuela','Venezuela');

store[3] = new Array(
'All','',
'Bahrain','Bahrain',
'China','China',
'India','India',
'Indonesia','Indonesia',
'Iran','Iran',
'Japan','Japan',
'Kazakhstan','Kazakhstan',
'Korea','Korea',
'Malaysia','Malaysia',
'Pakistan','Pakistan',
'Saudi Arabia','Saudi Arabia',
'Turkey','Turkey',
'UAE','UAE');

store[4] = new Array(
'All','',
'Austria','Austria',
'Belgium','Belgium',
'Bulgaria','Bulgaria',
'Czech Republic','Czech Republic',
'Denmark','Denmark',
'Finland','Finland',
'France','France',
'Germany','Germany',
'Italy','Italy',
'Luxembourg','Luxembourg',
'Poland','Poland',
'Romania','Romania',
'Russia','Russia',
'Spain','Spain',
'Sweden','Sweden',
'Ukraine','Ukraine',
'United Kingdom','United Kingdom');

store[5] = new Array(
'All','',
'Algeria','Algeria',
'Bahrain','Bahrain',
'Egypt','Egypt',
'Libya','Libya',
'Morocco','Morocco',
'Iran','Iran',
'Jordan','Jordan',
'Saudi Arabia','Saudi Arabia',
'Turkey','Turkey',
'UAE','UAE');

store[6] = new Array(
'All','',
'Denmark','Denmark',
'Finland','Finland',
'Sweden','Sweden');


function zafar()
{
	optionTest = true;
	lgth = document.forms[0].country.options.length - 1;
	document.forms[0].country.options[lgth] = null;
	if (document.forms[0].country.options[lgth]) optionTest = false;
}


function populate()
{
	if (!optionTest) return;
	var box = document.forms[0].region;
	var number = box.options[box.selectedIndex].value;
	if (!number) return;
	var list = store[number];
	var box2 = document.forms[0].country;
	box2.options.length = 0;
	for(i=0;i<list.length;i+=2)
	{
		box2.options[i/2] = new Option(list[i],list[i+1]);
	}
}

function go()
{
	if (!optionTest) return;
	box = document.forms[0].country;
	destination = box.options[box.selectedIndex].value;
	//if (destination && confirm('Do you really want to go to this site?')) top.location.href = destination;
}


