function transliterate(str) { var rusChars = new Array('À','Á','Â','Ã','Ä','Å','¨','Æ','Ç','È','É','Ê','Ë','Ì','Í','Î','Ï','Ð','Ñ','Ò','Ó','Ô','Õ','×','Ö','Ø','Ù','Ý','Þ','ß','Û','Ú','Ü','à','á','â','ã','ä','å','¸','æ','ç','è','é','ê','ë','ì','í','î','ï','ð','ñ','ò','ó','ô','õ','÷','ö','ø','ù','ý','þ','\ÿ','û','ú','ü', ' '); var transChars = new Array('A','B','V','G','D','E','Jo','Zh','Z','I','J','K','L','M','N','O','P','R','S','T','U','F','H','Ch','C','Sh','Csh','E','Ju','Ja','Y','\`','\'','a','b','v','g','d','e','jo','zh','z','i','j','k','l','m','n','o','p','r','s','t','u','f','h','ch','c','sh','csh','e','ju','ja','y','\`','\'', '_'); from = str; var to = ""; var len = from.length; var character, isRus; for(i=0; i < len; i++) { // character = from.substr(i,1); character = from.charAt(i,1); isRus = false; for(j=0; j < rusChars.length; j++) { if(character == rusChars[j]) { isRus = true; break; } } to += (isRus) ? transChars[j] : character; } return to; } function open_win(loc,id,width,height,resize,scroll) { var top = (screen.height - height) / 2; var left = (screen.width - width) / 2; window.open(loc,id,"width="+width+",height="+height+",left="+left+",top="+top+",scrollbars="+scroll+",resizable="+resize+",status=yes"); } function do_action(act,id,width,height,resize,scroll) { if (!width) { width = 512; height = 384; resize = "no"; scroll = "no"; } open_win(act,id,width,height,resize,scroll); } function do_action_2(id) { open_win("about:blank",id,"400","300","no","no"); } function print_email(prefix, postfix, user) { var str = prefix + '@' + postfix; if (!user || user == '') { user = str; } document.write(''+ user +''); } function hide_show(id) { var o = document.getElementById(id); if (o.style.display == "none") { o.style.display = "block"; } else { o.style.display = "none"; } } function form_win(width, height) { open_win('', 'partner', width, height); return true; }