// Declare variable  

var path = "html_images/"


temp1.src="html_images/img3.jpg"


function changeImage(seq) {

//alert(seq);

  var image = path +  "exchat" + seq +".jpg"

  //alert(seq);  
  
  document.getElementById("roll").src = image 

//   roll.src =   image 

  
}

function Pop_topic_add(url){
  var subwindow = window.open(url, "topic_new", "toolbar=no,status=no,scrollbars=yes,resizable=no,width=750,height=830");
  subwindow.focus();
}

function Pop_comment(url){
  var subwindow = window.open(url, "reply", "toolbar=no,status=no,scrollbars=yes,resizable=no,width=925,height=600");
  subwindow.focus();
}


function setFocus()
  {
//   alert("lek");  
document.getElementById('search_box').focus()
document.getElementById('ImageButton1').click()

  }



function SearchText()
  {
  alert("lekbaa");  
//if (document.Pollform.choice[i].checked) {
 var lek =  document.getElementById('search_box').value 



alert(lek);  
  //document.getElementById('ImageButton1').focus()
  }


function sf(){
	
	alert("henry");  
//	document.Pollform.search_box.focus()}
 document.getElementById('ImageButton1').focus()
 
 }



 	function Pop_emag(url){
		var subwindow = window.open(url, "emag", "toolbar=no,status=no,scrollbars=yes,resizable=no,width=810,height=600");
		subwindow.focus();
		}


function callWindow(URL) {
	var subwindow = window.open(URL, "QA_detail", "status=yes,scrollbars=yes,resizable=yes,width=1000,height=850");
	subwindow.focus();
}

function calleditAns(URL) {
	var subwindow = window.open(URL, "edit_ans", "status=yes,scrollbars=yes,resizable=yes,width=1000,height=850");
	subwindow.focus();
}

