function initSelect1(key)
{
for (var i=0;i<document.SearchPictureForm.Country.options.length;i++){
    if (document.SearchPictureForm.Country.options[i].value==key)
      document.SearchPictureForm.Country.selectedIndex = i;
	}
}


function initSelect11(key)
{
for (var i=0;i<document.SearchPictureForm.State.options.length;i++){
    if (document.SearchPictureForm.State.options[i].value==key)
      document.SearchPictureForm.State.selectedIndex = i;
	}
}

function initActionsSearch(key1,key2)
{
var convkey1 = unescape(key1);
var convkey2 = unescape(key2);
convkey1 = convkey1.replace("+"," ");
convkey2 = convkey2.replace("+"," ");

fillcountry(document.SearchPictureForm.Region, document.SearchPictureForm.Country,0);
initSelect1(convkey1);
fillstate(document.SearchPictureForm.Country, document.SearchPictureForm.State,1);
initSelect11(convkey2);

}
