function convertMe2(){
	document.form2.txtKeyword.value=convertToCir(document.form2.txtKeyword.value);
	
}
function openPopJournalist(id){
	var neww=window.open("/pages/journalist.php?id="+id,"Journalist","addressbar=no,scrollbars=auto, width=450, height=500, tollbar=no");
}
// JavaScript Document
function convertToCir(text){
  var text2 = "";
  var index;
  var c;
  for (index = 0; index < text.length; index++) {
    c = ""
    cc = text.substring(index, index + 2);
    cc1 = cc
	if (cc == "Lj")
	  cc = "Љ";
	else if (cc == "LJ")
	  cc = "Љ";
	else if (cc == "lj")
	  cc = "љ";
	else if (cc == "Nj")
	  cc = "Њ";
	else if (cc == "NJ")
	  cc = "Њ";
	else if (cc == "nj")
	  cc = "њ";
	else if (cc == "Dž")
	  cc = "Џ";
	else if (cc == "DŽ")
	  cc = "Џ";
	else if (cc == "dž")
	  cc = "џ";
	if (cc1 != cc) {
	  text2 = text2 + cc;
	  index++;
	} else {
	  c = text.substring(index, index + 1);
	}
	if (c == "A")
	  c = "А";
	else if (c == "a")
	  c = "а";
	else if (c == "B")
	  c = "Б";
	else if (c == "b")
	  c = "б";
	else if (c == "V")
	  c = "В";
	else if (c == "v")
	  c = "в";
	else if (c == "G")
	  c = "Г";
	else if (c == "g")
	  c = "г";
	else if (c == "D")
	  c = "Д";
	else if (c == "d")
	  c = "д";
	else if (c == "Đ")
	  c = "Ђ";
	else if (c == "đ")
	  c = "ђ";
	else if (c == "E")
	  c = "Е";
	else if (c == "e")
	  c = "е";
	else if (c == "Ž")
	  c = "Ж";
	else if (c == "ž")
	  c = "ж";
	else if (c == "Z")
	  c = "З";
	else if (c == "z")
	  c = "з";
	else if (c == "I")
	  c = "И";
	else if (c == "i")
	  c = "и";
	else if (c == "J")
	  c = "Ј";
	else if (c == "j")
	  c = "ј";
	else if (c == "K")
	  c = "К";
	else if (c == "k")
	  c = "к";
	else if (c == "L")
	  c = "Л";
	else if (c == "l")
	  c = "л";
	else if (c == "M")
	  c = "М";
	else if (c == "m")
	  c = "м";
	else if (c == "N")
	  c = "Н";
	else if (c == "n")
	  c = "н";
	else if (c == "O")
	  c = "О";
	else if (c == "o")
	  c = "о";
	else if (c == "P")
	  c = "П";
	else if (c == "p")
	  c = "п";
	else if (c == "R")
	  c = "Р";
	else if (c == "r")
	  c = "р";
	else if (c == "S")
	  c = "С";
	else if (c == "s")
	  c = "с";
	else if (c == "T")
	  c = "Т";
	else if (c == "t")
	  c = "т";
	else if (c == "Ć")
	  c = "Ћ";
	else if (c == "ć")
	  c = "ћ";
	else if (c == "U")
	  c = "У";
	else if (c == "u")
	  c = "у";
	else if (c == "F")
	  c = "Ф";
	else if (c == "f")
	  c = "ф";
	else if (c == "H")
	  c = "Х";
	else if (c == "h")
	  c = "х";
	else if (c == "C")
	  c = "Ц";
	else if (c == "c")
	  c = "ц";
	else if (c == "Č")
	  c = "Ч";
	else if (c == "č")
	  c = "ч";
	else if (c == "Š")
	  c = "Ш";
	else if (c == "š")
	  c = "ш";

	text2 = text2 + c;	  
  }
  return text2;
}