function load_countries( f, s, cc )
{
	sel=document.getElementById(s);

	// the string is a slash-separated list of code=name
	txt=f.contentWindow.document.body.innerHTML;
	list=txt.split(/\//);

	//DOMViewerObj=sel;
	//window.open('/domviewer');

	// now insert options with all the countries retrieved
	for( i=0; i<list.length; i++ )
	{
		v=list[i].split(/=/);

		opt=document.createElement('option');
		opt.setAttribute('value',v[0]);
		txt=document.createTextNode(v[1]);
		opt.appendChild(txt);

		if ( cc.toUpperCase()==v[0].toUpperCase() )
		{
			//sel.options[0].selected=0;
			opt.setAttribute('selected',1);
		}

		sel.appendChild(opt);
	}
}
