<!--
var xmlhttp
function showCD(str)
{xmlhttp=GetXmlHttpObject();if(xmlhttp==null)
{alert("Tarayiciniz ajax desteklemiyor!");return;}
var url="http://www.incefikir.com/soru.asp";url=url+str;var aha=document.Form1.ara.value;if(str==="?ara=")
{url=url+aha;}
if(str==="?t=e")
{url=url+"&ya="+aha;}
if(str === "?ya=") 
{url=url+aha;}
url=url+"&sid="+Math.random();xmlhttp.onreadystatechange=stateChanged;xmlhttp.open("GET",url,true);xmlhttp.send(null);}
function stateChanged()
{if(xmlhttp.readyState<4){document.getElementById('test').innerHTML="<br /><br /><img src='http://static.incefikir.com/images/loading.gif'/>";}
if(xmlhttp.readyState==4)
{document.getElementById("test").innerHTML=xmlhttp.responseText;}}
function GetXmlHttpObject()
{if(window.XMLHttpRequest)
{return new XMLHttpRequest();}
if(window.ActiveXObject)
{return new ActiveXObject("Microsoft.XMLHTTP");}
return null;}
var xmlhttp
function showHint(str)
{if ( (str.length<=2 || str.length>25) || str.length%2==0)
{return;}
xmlhttp=GetXmlHttpObject();if(xmlhttp==null)
{alert("Tarayiciniz ajax desteklemiyor!");return;}
var url="http://www.incefikir.com/oneri.asp";url=url+"?ara="+str;url=url+"&sid="+Math.random();xmlhttp.onreadystatechange=stateChanged2;xmlhttp.open("GET",url,true);xmlhttp.send(null);}
function stateChanged2()
{if(xmlhttp.readyState==4)
{document.getElementById("txtHint").innerHTML=xmlhttp.responseText;}}
function OnButton(str)
{
var aha=document.Form1.ara.value;aha=aha.replace(/\s/gi, "-");
if(str === "1") 
{
	if(aha.match("#")=="#") 
{
	aha = aha.replace("#", "");
	parent.location='http://www.incefikir.com/redirect.asp?no='+aha+''
}
else
{
	parent.location='http://www.incefikir.com/b/'+aha+''
}
	return true;
}
if(str === "2") 
{
	showCD(ara)
	return true;
}
if(str === "3")
{
	showCD(ara)
	return true;
}
if(str === "4")
{
	parent.location='http://www.incefikir.com/etiket/'+aha+'' ;
	return true;
}
}
function init(){if(!document.getElementById)return false;var f=document.getElementById('form1');var u=f.elements[0];f.setAttribute("autocomplete","off");u.focus();}
function anit(){var aha=document.Form1.ara.value;aha=aha.replace(/\s/gi, "+");{if(!document.getElementById)return false;var f=document.getElementById('form1');var u=f.elements[0];
if(aha.match("#")=="#") 
{
	aha = aha.replace("#", "");
	f.setAttribute("action",'http://www.incefikir.com/redirect.asp?no='+aha+'');
}
else
{
	f.setAttribute("action",'http://www.incefikir.com/b/'+aha+'');
}
u.focus();}}
var win=null;function NewWindow(mypage,myname,w,h,scroll,pos){if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center"&&pos!="random")||pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';win=window.open(mypage,myname,settings);}
function MM_jumpMenu(targ,selObj,restore){eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");if(restore)selObj.selectedIndex=0;}
function show(id){ 
if (document.getElementById){ 
obj = document.getElementById(id); 
if (obj.style.display == "none"){ 
obj.style.display = "block";
}
else{
obj.style.display = "none";
}
}
if (document.getElementById){
id2=id+"2"
obj2 = document.getElementById(id2);
if (obj2.style.display == "block"){
obj2.style.display = "none";
}
else{
obj2.style.display = "block";
}
}
}
