// bool vars
ns4 = (document.layers) ? true:false;
ie4 = (document.all) ? true:false;
ns6 = (document.getElementById)? true:false;
if (ie4) ns6 = false;

// swap image vars
waitMode = false;


var whitespace = " \t\n\r";


function browser(id){
	var layer = (ns4) ? document.layers[id] : (ie4) ? document.all[id] : document.getElementById(id);
	return layer;
}

function showLayer(id) {
layer = browser(id)
	 if(ns4){
		layer.visibility = "visible"
	 }
	 else{
		layer.style.visibility = "visible"
	 }
}

function hideLayer(id) {
	layer = browser(id)
	if(ns4){
		layer.visibility = "hidden"
	 }
	 else{		 	
		layer.style.visibility = "hidden"
	 }
}	


//********* cookie functions ************

function setCookie(name,value,expires,path,domain,secure) {
		document.cookie = name + "=" +escape(value) +
				( (expires) ? ";expires=" + expires.toGMTString() : "") +
				( (path) ? ";path=" + path : "") + 
				( (domain) ? ";domain=" + domain : "") +
				( (secure) ? ";secure" : "");
}

function getCookie(name) {
		var start = document.cookie.indexOf(name+"=");
		var len = start+name.length+1;
		if ((!start) && (name != document.cookie.substring(0,name.length))) return null;
		if (start == -1) return null;
		var end = document.cookie.indexOf(";",len);
		if (end == -1) end = document.cookie.length;
		return unescape(document.cookie.substring(len,end));
}

function deleteCookie(name,path,domain) {
    if (Get_Cookie(name)) document.cookie = name + "=" +
       ( (path) ? ";path=" + path : "") +
       ( (domain) ? ";domain=" + domain : "") +
       ";expires=Thu, 01-Jan-70 00:00:01 GMT";
}

//********* string functions ************

function replace(string,text,by) {
// Replaces text with by in string
    var strLength = string.length, txtLength = text.length;
    if ((strLength == 0) || (txtLength == 0)) return string;

    var i = string.indexOf(text);
    if ((!i) && (text != string.substring(0,txtLength))) return string;
    if (i == -1) return string;

    var newstr = string.substring(0,i) + by;

    if (i+txtLength < strLength)
        newstr += replace(string.substring(i+txtLength,strLength),text,by);

    return newstr;
}


function isInteger(s) {
	for (var i = 0; i < s.length; i++) {
		var c = s.charAt(i);
		if (!((c >= "0") && (c <= "9"))) {
			return false;
		}
	}
	return true;
}

function containsInteger(s) {
	for (var i = 0; i < s.length; i++) {
		var c = s.charAt(i);
		if (((c >= "0") && (c <= "9"))) {
			return true;
		}
	}
	return false;
}


function isTime(S) {
  return /^([01]?[0-9]|[2][0-3])(:[0-5][0-9])?$/.test(S) 
}

function ltrim ( s ) {
	return s.replace( /^\s*/, "" )
}

function rtrim ( s ) {
	return s.replace( /\s*$/, "" );
}

function trim ( s )  {
	return rtrim(ltrim(s));
}

function convertChars(sText) {
	// converts special chars (e.g. &#999;) to a JS alert format
	var i = sText.indexOf("&#");
	while ( (i=sText.indexOf("&#"))>-1 ) {
		sAll = sText.substring(i,i+6);
		sNum = sText.substring(i+2,i+5);
		sText = replace(sText,sAll,String.fromCharCode(sNum));
	} 
	return sText;
}

// Returns true if s is empty or whitespaces only
//


function isEmpty(s) {
	var i;

	if ((s == null) || (s.length == 0)) return true;
	for (i = 0; i < s.length; i++) {
        	var c = s.charAt(i);
		if (whitespace.indexOf(c) == -1) return false;
	}
	return true;
}

// Strips trailing whitespaces
//
function stripTrailWhite(s) {
	var i;
	var sln = s.length - 1;
	for (i = sln; i >= 0; i--) {
		var c = s.charAt(i);
		if (whitespace.indexOf(c) == -1) {
			// alert('substring is='+s.substring(0, i+1));
			return s.substring(0, i+1);
		}
	}
	return s;
}

/*function validateemail(str) {
  // are regular expressions supported?
  var supported = 0;
  if (window.RegExp) {
    var tempStr = "a";
    var tempReg = new RegExp(tempStr);
    if (tempReg.test(tempStr)) supported = 1;
  }
  if (!supported) return (str.indexOf(".") > 2) && (str.indexOf("@") > 0);
  var r1 = new RegExp("(@.*@)|(\\.\\.)|(@\\.)|(^\\.)");
  var r2 = new RegExp("^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3}|[0-9]{1,3})(\\]?)$");
  return (!r1.test(str) && r2.test(str));
}*/

function validateemail(strEmail){
  validRegExp = /^[^@]+@[^@]+.[a-z]{2,}$/i;

   // search email text for regular exp matches
    if (strEmail.search(validRegExp) == -1) {
      return false;
    } 
    return true; 
}


//********* get args from get ************
function getArgs() {
	var args = new Object();
	// Get Query String
	var query = location.search.substring(1); 
	// Split query at the comma
	var pairs = query.split("&"); 
	
	// Begin loop through the querystring
	for(var i = 0; i < pairs.length; i++) {

		// Look for "name=value"
		var pos = pairs[i].indexOf('='); 
		// if not found, skip to next
		if (pos == -1) continue; 
		// Extract the name
		var argname = pairs[i].substring(0,pos); 
		
		// Extract the value
		var value = pairs[i].substring(pos+1); 
		// Store as a property
		args[argname] = unescape(value); 
	}
	return args; // Return the Object
}


//********* other functions ************
function swapImage(imgObj,imgName) {
	if (ns4) {
		eval('document.images["'+imgObj+'"].src = "' + imgName + '.gif"');
	} else {
		document.images[imgObj].src = eval("'" + imgName + ".gif'");
	}
}

function popupwindow(urlpopup,bScroll,width,height) {
	var scroll;
	width = (width)?width:'450';
	height = (height)?height:'550';
	scroll = (bScroll) ?'yes' :'no';
	window.open (urlpopup, 'Information','Width='+width+',Height='+height+',innerWidth=300,innerHeight=200,screenX=340,screenY=450,directories=no,location=no,menubar=no,resizable=yes,scrollbars='+scroll+',status=no,toolbar=no,titlebar=yes');
}

function bigpopupwindow(urlpopup,bScroll,width,height) {
	var scroll;
	width = (width)?width:'800';
	height = (height)?height:'600';
	scroll = (bScroll) ?'yes' :'no';
	window.open (urlpopup, 'Information','Width='+width+',Height='+height+',innerWidth=300,innerHeight=200,screenX=340,screenY=450,directories=no,location=no,menubar=no,resizable=yes,scrollbars='+scroll+',status=no,toolbar=no,titlebar=yes');
}

function terms(urlpopup,bScroll) {
	var scroll;
	scroll = (bScroll) ?'yes' :'no';
	window.open (urlpopup, 'Information','Width=400,Height=400,innerWidth=300,innerHeight=200,screenX=340,screenY=450,directories=no,location=no,menubar=no,resizable=yes,scrollbars='+scroll+',status=no,toolbar=no,titlebar=yes');
}

function explode(item,delimiter) {
	tempArray=new Array(1);
	var Count=0;
	var tempString=new String(item);
	while (tempString.indexOf(delimiter)>0) {
		tempArray[Count]=tempString.substr(0,tempString.indexOf(delimiter));
		tempString=tempString.substr(tempString.indexOf(delimiter)+1,tempString.length-tempString.indexOf(delimiter)+1);
		Count=Count+1
	}
	tempArray[Count]=tempString;
	return tempArray;
}

function getSelectedRb(buttonGroup) {
   if (buttonGroup[0]) { // if the button group is an array (one button is not an array)
      for (var i=0; i<buttonGroup.length; i++) {
         if (buttonGroup[i].checked) {
            return i
         }
      }
   } else {
      if (buttonGroup.checked) { return 0; } // if the one button is checked, return zero
   }
   // if we get to this point, no radio button is selected
   return -1;
}

function isOnPage(id) {
	return (document.getElementById(id));
}

function isdefined(object)
{
	return (typeof(eval(object)) != 'undefined');
}

function getTopX(This){
	var el = This;var pL = 0;
	while(el){
		pL+=el.offsetLeft;
		el=el.offsetParent;
	}
	return pL
}


function getTopY(This){
	/*var el = This;
	var pT = 0;
	while(el){
		pT+=el.offsetTop;
		el=el.offsetParent;
	}
	return pT*/
	
   var oNode = This;
    var iTop = 0;

    while(oNode.tagName != "BODY") {
        iTop += oNode.offsetTop;
        oNode = oNode.offsetParent; 
    }

    return iTop;	
	
}



var ukcountries=new Object();
ukcountries["United Kingdom"]="United Kingdom";

var eurocountries = new Object();
eurocountries["SHOW_ALL"]="SHOW ALL COUNTRIES";
eurocountries["Austria"]="Austria";
eurocountries["Belgium"]="Belgium";
eurocountries["Bulgaria"]="Bulgaria";
eurocountries["Czech Republic"]="Czech Republic";
eurocountries["Denmark"]="Denmark";
eurocountries["Egypt"]="Egypt";
eurocountries["Finland"]="Finland";
eurocountries["France"]="France";
eurocountries["Germany"]="Germany";
eurocountries["Greece"]="Greece";
eurocountries["Hungary"]="Hungary";
eurocountries["Israel"]="Israel";
eurocountries["Italy"]="Italy";
eurocountries["Morocco"]="Morocco";
eurocountries["Netherlands"]="Netherlands";
eurocountries["Norway"]="Norway";
eurocountries["Poland"]="Poland";
eurocountries["Portugal"]="Portugal";
eurocountries["Republic of Ireland"]="Republic of Ireland";
eurocountries["Romania"]="Romania";
eurocountries["Russian Federation"]="Russian Federation";
eurocountries["Saudi Arabia"]="Saudi Arabia";
eurocountries["Slovakia"]="Slovakia";
eurocountries["Slovenia"]="Slovenia";
eurocountries["South Africa"]="South Africa";
eurocountries["Spain"]="Spain";
eurocountries["Sweden"]="Sweden";
eurocountries["Switzerland"]="Switzerland";
eurocountries["Turkey"]="Turkey";
eurocountries["United Arab Emirates"]="United Arab Emirates";
eurocountries["United Kingdom"]="United Kingdom";
eurocountries["United States"]="United States";

var allcountries = new Object();
allcountries["Afghanistan"]="Afghanistan";
allcountries["Albania"]="Albania";
allcountries["Algeria"]="Algeria";
allcountries["American Samoa"]="American Samoa";
allcountries["Andorra"]="Andorra";
allcountries["Angola"]="Angola";
allcountries["Anguilla"]="Anguilla";
allcountries["Antigua and Barbuda"]="Antigua and Barbuda";
allcountries["Argentina"]="Argentina";
allcountries["Armenia"]="Armenia";
allcountries["Aruba"]="Aruba";
allcountries["Australia"]="Australia";
allcountries["Austria"]="Austria";
allcountries["Azerbaijan"]="Azerbaijan";
allcountries["Bahamas"]="Bahamas";
allcountries["Bahrain"]="Bahrain";
allcountries["Bangladesh"]="Bangladesh";
allcountries["Barbados"]="Barbados";
allcountries["Belarus"]="Belarus";
allcountries["Belgium"]="Belgium";
allcountries["Belize"]="Belize";
allcountries["Benin"]="Benin";
allcountries["Bermuda"]="Bermuda";
allcountries["Bhutan"]="Bhutan";
allcountries["Bolivia"]="Bolivia";
allcountries["Bosnia and Herzegovina"]="Bosnia and Herzegovina";
allcountries["Botswana"]="Botswana";
allcountries["Brazil"]="Brazil";
allcountries["British Indian Ocean Territory"]="British Indian Ocean Territory";
allcountries["Brunei Darussalam"]="Brunei Darussalam";
allcountries["Bulgaria"]="Bulgaria";
allcountries["Burkina Faso"]="Burkina Faso";
allcountries["Burundi"]="Burundi";
allcountries["Cambodia"]="Cambodia";
allcountries["Cameroon"]="Cameroon";
allcountries["Canada"]="Canada";
allcountries["Cape Verde"]="Cape Verde";
allcountries["Cayman Islands"]="Cayman Islands";
allcountries["Central African Republic"]="Central African Republic";
allcountries["Chad"]="Chad";
allcountries["Chile"]="Chile";
allcountries["China"]="China";
allcountries["Christmas Island"]="Christmas Island";
allcountries["Cocos (Keeling) Islands"]="Cocos (Keeling) Islands";
allcountries["Colombia"]="Colombia";
allcountries["Comoros"]="Comoros";
allcountries["Congo (Democratic Republic of the Congo)"]="Congo (Democratic Republic of the Congo)";
allcountries["Congo, Republic of the Congo"]="Congo, Republic of the Congo";
allcountries["Cook Islands"]="Cook Islands";
allcountries["Costa Rica"]="Costa Rica";
allcountries["Côte d’Ivoire"]="Côte d’Ivoire";
allcountries["Croatia"]="Croatia";
allcountries["Cuba"]="Cuba";
allcountries["Cyprus"]="Cyprus";
allcountries["Czech Republic"]="Czech Republic";
allcountries["Denmark"]="Denmark";
allcountries["Djibouti"]="Djibouti";
allcountries["Dominica"]="Dominica";
allcountries["Dominican Republic"]="Dominican Republic";
allcountries["Ecuador"]="Ecuador";
allcountries["Egypt"]="Egypt";
allcountries["El Salvador"]="El Salvador";
allcountries["Equatorial Guinea"]="Equatorial Guinea";
allcountries["Eritrea"]="Eritrea";
allcountries["Estonia"]="Estonia";
allcountries["Ethiopia"]="Ethiopia";
allcountries["Falkland Islands"]="Falkland Islands";
allcountries["Faroe Islands"]="Faroe Islands";
allcountries["Fiji"]="Fiji";
allcountries["Finland"]="Finland";
allcountries["France"]="France";
allcountries["French Guiana"]="French Guiana";
allcountries["French Polynesia"]="French Polynesia";
allcountries["French Southern Territories"]="French Southern Territories";
allcountries["Gabon"]="Gabon";
allcountries["Gambia"]="Gambia";
allcountries["Georgia"]="Georgia";
allcountries["Germany"]="Germany";
allcountries["Ghana"]="Ghana";
allcountries["Gibraltar"]="Gibraltar";
allcountries["Greece"]="Greece";
allcountries["Greenland"]="Greenland";
allcountries["Grenada"]="Grenada";
allcountries["Guadeloupe"]="Guadeloupe";
allcountries["Guam"]="Guam";
allcountries["Guatemala"]="Guatemala";
allcountries["Guinea"]="Guinea";
allcountries["Guinea-Bissau"]="Guinea-Bissau";
allcountries["Guyana"]="Guyana";
allcountries["Haiti"]="Haiti";
allcountries["Heard Island and Mcdonald Islands"]="Heard Island and Mcdonald Islands";
allcountries["Honduras"]="Honduras";
allcountries["Hong Kong"]="Hong Kong";
allcountries["Hungary"]="Hungary";
allcountries["Iceland"]="Iceland";
allcountries["India"]="India";
allcountries["Indonesia"]="Indonesia";
allcountries["Iran"]="Iran";
allcountries["Iraq"]="Iraq";
allcountries["Israel"]="Israel";
allcountries["Italy"]="Italy";
allcountries["Jamaica"]="Jamaica";
allcountries["Japan"]="Japan";
allcountries["Jordan"]="Jordan";
allcountries["Kazakhstan"]="Kazakhstan";
allcountries["Kenya"]="Kenya";
allcountries["Kiribati"]="Kiribati";
allcountries["Korea, North"]="Korea, North";
allcountries["Korea, South"]="Korea, South";
allcountries["Kosovo"]="Kosovo";
allcountries["Kuwait"]="Kuwait";
allcountries["Kyrgyzstan"]="Kyrgyzstan";
allcountries["Lao People's Democratic Republic"]="Lao People's Democratic Republic";
allcountries["Latvia"]="Latvia";
allcountries["Lebanon"]="Lebanon";
allcountries["Lesotho"]="Lesotho";
allcountries["Liberia"]="Liberia";
allcountries["Libyan Arab Jamahiriya"]="Libyan Arab Jamahiriya";
allcountries["Liechtenstein"]="Liechtenstein";
allcountries["Lithuania"]="Lithuania";
allcountries["Luxembourg"]="Luxembourg";
allcountries["Macau"]="Macau";
allcountries["Macedonia"]="Macedonia";
allcountries["Madagascar"]="Madagascar";
allcountries["Malawi"]="Malawi";
allcountries["Malaysia"]="Malaysia";
allcountries["Maldives"]="Maldives";
allcountries["Mali"]="Mali";
allcountries["Malta"]="Malta";
allcountries["Marshall Islands"]="Marshall Islands";
allcountries["Martinique"]="Martinique";
allcountries["Mauritania"]="Mauritania";
allcountries["Mauritius"]="Mauritius";
allcountries["Mayotte"]="Mayotte";
allcountries["Mexico"]="Mexico";
allcountries["Midway Islands"]="Midway Islands";
allcountries["Micronesia"]="Micronesia";
allcountries["Moldova"]="Moldova";
allcountries["Monaco"]="Monaco";
allcountries["Mongolia"]="Mongolia";
allcountries["Montenegro"]="Montenegro";
allcountries["Montserrat"]="Montserrat";
allcountries["Morocco"]="Morocco";
allcountries["Mozambique"]="Mozambique";
allcountries["Myanmar"]="Myanmar";
allcountries["Namibia"]="Namibia";
allcountries["Nauru"]="Nauru";
allcountries["Nepal"]="Nepal";
allcountries["Netherlands"]="Netherlands";
allcountries["Netherlands Antilles"]="Netherlands Antilles";
allcountries["New Caledonia"]="New Caledonia";
allcountries["New Zealand"]="New Zealand";
allcountries["Nicaragua"]="Nicaragua";
allcountries["Niger"]="Niger";
allcountries["Nigeria"]="Nigeria";
allcountries["Norfolk Island"]="Norfolk Island";
allcountries["Northern Mariana Islands"]="Northern Mariana Islands";
allcountries["Norway"]="Norway";
allcountries["Oman"]="Oman";
allcountries["Pakistan"]="Pakistan";
allcountries["Palau"]="Palau";
allcountries["Palestinian Territory Occupied"]="Palestinian Territory Occupied";
allcountries["Panama"]="Panama";
allcountries["Papua New Guinea"]="Papua New Guinea";
allcountries["Paraguay"]="Paraguay";
allcountries["Peru"]="Peru";
allcountries["Philippines"]="Philippines";
allcountries["Pitcairn"]="Pitcairn";
allcountries["Poland"]="Poland";
allcountries["Portugal"]="Portugal";
allcountries["Puerto Rico"]="Puerto Rico";
allcountries["Qatar"]="Qatar";
allcountries["Republic of Ireland"]="Republic of Ireland";
allcountries["Reunion"]="Reunion";
allcountries["Romania"]="Romania";
allcountries["Russian Federation"]="Russian Federation";
allcountries["Rwanda"]="Rwanda";
allcountries["Saint Helena"]="Saint Helena";
allcountries["Saint Kitts and Nevis"]="Saint Kitts and Nevis";
allcountries["Saint Lucia"]="Saint Lucia";
allcountries["Saint Pierre and Miquelon"]="Saint Pierre and Miquelon";
allcountries["Saint Vincent and the Grenadines"]="Saint Vincent and the Grenadines";
allcountries["Samoa"]="Samoa";
allcountries["San Marino"]="San Marino";
allcountries["São Tomé and Principe"]="São Tomé and Principe";
allcountries["Saudi Arabia"]="Saudi Arabia";
allcountries["Senegal"]="Senegal";
allcountries["Serbia and Montenegro"]="Serbia and Montenegro";
allcountries["Seychelles"]="Seychelles";
allcountries["Sierra Leone"]="Sierra Leone";
allcountries["Singapore"]="Singapore";
allcountries["Slovakia"]="Slovakia";
allcountries["Slovenia"]="Slovenia";
allcountries["Solomon Islands"]="Solomon Islands";
allcountries["Somalia"]="Somalia";
allcountries["South Africa"]="South Africa";
allcountries["South Georgia and the Sandwich Islands"]="South Georgia and the Sandwich Islands";
allcountries["Spain"]="Spain";
allcountries["Sri Lanka"]="Sri Lanka";
allcountries["Sudan"]="Sudan";
allcountries["Suriname"]="Suriname";
allcountries["Svalbard and Jan Mayen"]="Svalbard and Jan Mayen";
allcountries["Swaziland"]="Swaziland";
allcountries["Sweden"]="Sweden";
allcountries["Switzerland"]="Switzerland";
allcountries["Syrian Arab Republic"]="Syrian Arab Republic";
allcountries["Taiwan"]="Taiwan";
allcountries["Tajikistan"]="Tajikistan";
allcountries["Tanzania"]="Tanzania";
allcountries["Thailand"]="Thailand";
allcountries["Timor-leste"]="Timor-leste";
allcountries["Togo"]="Togo";
allcountries["Tokelau"]="Tokelau";
allcountries["Tonga"]="Tonga";
allcountries["Trinidad and Tobago"]="Trinidad and Tobago";
allcountries["Tunisia"]="Tunisia";
allcountries["Turkey"]="Turkey";
allcountries["Turkmenistan"]="Turkmenistan";
allcountries["Turks and Caicos Islands"]="Turks and Caicos Islands";
allcountries["Tuvalu"]="Tuvalu";
allcountries["Uganda"]="Uganda";
allcountries["Ukraine"]="Ukraine";
allcountries["United Arab Emirates"]="United Arab Emirates";
allcountries["United Kingdom"]="United Kingdom";
allcountries["United States"]="United States";
allcountries["Uruguay"]="Uruguay";
allcountries["Uzbekistan"]="Uzbekistan";
allcountries["Vanuatu"]="Vanuatu";
allcountries["Vatican City State"]="Vatican City State";
allcountries["Venezuela"]="Venezuela";
allcountries["Vietnam"]="Vietnam";
allcountries["Virgin Islands"]="Virgin Islands";
allcountries["Wallis and Futuna"]="Wallis and Futuna";
allcountries["Western Sahara"]="Western Sahara";
allcountries["Yemen"]="Yemen";
allcountries["Zambia"]="Zambia";
allcountries["Zimbabwe"]="Zimbabwe";

var requestcountry="";
var tx_select_country = '';

function CountryCombo(cs,def,force,newobj) {
	
	var countries= new Object();
	var index=0;
	var validcountry=false;
	var set=false;
	var selectText;
	
	//Check if multi language needed;
	if(tx_select_country.length > 1)
	{
		selectText = tx_select_country;
	}
	else
	{
		selectText = '--Select country--';
	}//End if
	
	
	//validate that the requestcountry is a valid one
	
	for (var i in allcountries)	{
	 	if (allcountries[i]==def) {
	 		requestcountry=def;
		}
	}
		
	if ( (force=="SHOW_AUTO") && (requestcountry =="United States")) requestcountry="";	
	if ((force=="SHOW_AUTO") && (requestcountry !="") ) {	
		cs.options.length=0;
	      cs.options[0] = new Option(selectText,"",false,false);
 		   cs.options[cs.options.length]=new Option(requestcountry,requestcountry,false);
	      countries["SHOW_EURO"]="SHOW OTHER COUNTRIES";
	}
	else if (cs.value=="SHOW_EURO" || (cs.options.length==0) ||(force=="SHOW_EURO") || (force=="SHOW_AUTO")) {
	       cs.options.length=0;
 			if (requestcountry=="") {cs.options[0] = new Option(selectText,"",false,false);} else { cs.options[cs.options.length]=new Option(requestcountry,requestcountry,true,true); }
	       countries=eurocountries;
	       countries["SHOW_ALL"]="SHOW ALL COUNTRIES";
	}
	else if ( (cs.value=="SHOW_ALL") ||(force=="SHOW_ALL") ) {
	        cs.options.length=0;
			if (requestcountry=="") {cs.options[0] = new Option(selectText,"",false,false);} else { cs.options[cs.options.length]=new Option(requestcountry,requestcountry,true,true);}
	        countries=allcountries;
	        countries["SHOW_EURO"]="SHOW EURO COUNTRIES ONLY";       
	}
	else if ( (cs.value=="SHOW_UK") ||(force=="SHOW_UK") ) {
	        cs.options.length=0;
			if (requestcountry=="") {cs.options[0] = new Option(selectText,"",false,false);} else { cs.options[cs.options.length]=new Option(requestcountry,requestcountry,true,true);}
	        	countries=ukcountries;
	        	countries["SHOW_EURO"]="SHOW EURO COUNTRIES ONLY";       
	       	countries["SHOW_ALL"]="SHOW ALL COUNTRIES";
	}
	else if (isdefined(newobj)) {
		cs.options.length=0;
		if (requestcountry=="") {cs.options[0] = new Option(selectText,"",false,false);} else { cs.options[cs.options.length]=new Option(requestcountry,requestcountry,true,true);}
	        countries=newobj;
	}
	for (var i in countries)	{
	 	cs.options[cs.options.length]=new Option(countries[i],i,false,false); 	
	}
}