// JavaScript Document
var curle=1
var cacheobje=document.formDoubleMenu.LocationPref3

function popu_mid(x){
	for (m=cacheobje.options.length-1;m>0;m--)
		cacheobje.options[m]=null

	selectedarray=eval(x)

	for (i=0;i<selectedarray.length;i++)
		cacheobje.options[i]=new Option(selectedarray[i].text,selectedarray[i].value)

	cacheobje.options[0].selected=true

}
function localkwsrh_mid(){
	if (curle==1){
		popu_mid(cacheobje.options[cacheobje.selectedIndex].value)
		curle=2
	}
	else
		goth_mid()
}
function goth_mid(){
	if (curle==2){
		if (cacheobje.selectedIndex==cacheobje.options.length-1){
		curle=1
		popu_mid(country)
		}
		else
		cacheobje.options[cacheobje.selectedIndex].value
	}
}

//SHOW categories by default
popu_mid(country)
//-->

