Warning: Undefined array key "amilgam_amilgamid" in /home/thingma/public_html/index.php on line 119
$("#keyword").autocomplete("index.php?url=hm.emptypopupsearchkeyword", { width: $("#keyword").width()+39, selectFirst: false, matchCase: true, matchSubset: false, scrollHeight: 460 });
$("#keyword").result(function(event, data, formatted)
{
if(data[2]==0)
{
document.getElementById("keyword").value = data[1];
newajaxwindow('newtopic&topic='+$("#keyword").val(),'medium','0','hm','','0');
document.getElementById("keyword").value = "";
document.getElementById("welcometalkid").value = "";
return false;
}
else if(data[2]==-1)
{
document.getElementById("keyword").value = data[1];
document.getElementById("keyword").value = "";
document.getElementById("searchkeyword").value = data[1];
$('#welcomeform').attr('action', '/searchresult');
document.getElementById("welcomeform").submit();
document.getElementById("welcometalkid").value = "";
return false;
}
else
{
document.getElementById("keyword").value = "";
document.getElementById("welcometalkid").value = data[2];
document.welcomeform.submit();
return false;
}
});
function ShowTopicbyWlc(talkid)
{
document.getElementById("welcometalkid").value = talkid;
document.welcomeform.submit();
return false;
}
function ShowWindowTopic()
{
$.post("/emptypopuptopictopbottom", { 'countryid': document.getElementById("countryid").value, 'categoryid': document.getElementById("categoryid").value },
function(data){
document.getElementById("topbottomframe").innerHTML = data;
},"html"
);
return false;
}
ShowWindowTopic();
function EditPoll_Option(pollid)
{
optionloop = eval("document.sendpoll"+pollid+".optionnumber"+pollid).value;
submitpermission = false;
for (var i=0; i < optionloop; i++)
{
optionnumberradio = eval("document.sendpoll"+pollid+".pollanswer");
optionnumber = optionnumberradio[i].checked;
if(optionnumberradio[i].checked==true)
{
submitpermission = true;
}
}
if(submitpermission==false)
{
return sHow_eRpoPup("Please select an option.
","Info",0,140,0,"Close");
}
}