function surfto(form)
{
        
        var myindex=form.select2.selectedIndex
        if (form.select2.options[myindex].value != "0") {
        window.open(form.select2.options[myindex].value, target="_self");}

}

function writecode (htmlcode) {
      document.write(htmlcode);
}