function show_multylang_option(option_id)
{
    el = document.getElementById(option_id);

    if(el.style.display == "none")
    {
        el.style.display = "block";
    }
    else
    {
        el.style.display = "none";
    }
}

function CenterWindow(page,name,w,h,scroll){

 LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;

 TopPosition = (screen.height) ? (screen.height-h)/2 : 0;

 settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'

 win = window.open(page,name,settings)

}

function reload_kcaptcha(k_img)
{
    orig_source = k_img.src;
    k_img.src = '';

    k_img.src = orig_source;
}

