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()+40, 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 = ""; $.post("/emptypopuptopic?talkid="+data[2], { }, function(data){ document.getElementById("searchtopic").innerHTML = data; ShowWindowElements(); },"html" ); return false; } }); function AddGeneralVoteVal(vote,talkid,talktickid) { $.post("/emptypopupvotequestion", { 'vote': vote, 'talktickid': talktickid, 'talkid': talkid, 'action': true }, function(data){ $.post("/emptypopupvotequestion", { 'frametalkid': talkid, detailgnm:document.getElementById("detailgnm").value, detailothergnm:document.getElementById("detailothergnm").value, categorygnm:document.getElementById("categorygnm").value }, function(data){ document.getElementById("elementl").innerHTML = data; },"html" ); },"html" ); } function ShowWindowTopic() { $.post("/emptypopuptopic", { }, function(data){ closeajax(); document.getElementById("searchtopic").innerHTML = data; ShowWindowElements(); },"html" ); return false; } ShowWindowTopic(); function VoteClickVal(voteid,sessionid,randomelement,talkid) { $.post("/emptypopupvote", { 'voteid': voteid, 'sessionid': sessionid, 'randomelement': randomelement, 'talkid': talkid }, function(data){ ShowWindowTopic(); },"html" ); } function VoteClickValCompare(voteid,sessionid,randomelement,talkid,comparetalkid) { $.post("/emptypopupvote", { 'voteid': voteid, 'sessionid': sessionid, 'randomelement': randomelement, 'talkid': talkid, 'comparetalkid': comparetalkid }, function(data){ ShowWindowTopic(); },"html" ); } function ShowWindowElements() { /*$.post("/emptypopupvotecomment", { 'frametalkid': document.getElementById("frametalkid").value, 'commentrecord': 1 }, function(data){ document.getElementById("elementh").innerHTML = data; ShowHideommentButton() },"html" );*/ $.post("/emptypopupvotemonthsummary", { 'frametalkid': document.getElementById("frametalkid").value }, function(data){ document.getElementById("elementx").innerHTML = data; },"html" ); $.post("/emptypopupvotemonthsummaryday", { 'frametalkid': document.getElementById("frametalkid").value }, function(data){ document.getElementById("elementq").innerHTML = data; },"html" ); $.post("/emptypopupvotequestion", { 'frametalkid': document.getElementById("frametalkid").value, detailgnm:document.getElementById("detailgnm").value, detailothergnm:document.getElementById("detailothergnm").value, categorygnm:document.getElementById("categorygnm").value }, function(data){ document.getElementById("elementl").innerHTML = data; },"html" ); } function SHWindEr1() { $.post("/emptypopupvotedetail", { 'frametalkid': document.getElementById("frametalkid").value }, function(data){ document.getElementById("elementa").innerHTML = data; },"html" ); } function SHWindEr2() { $.post("/emptypopupvotelocation", { 'frametalkid': document.getElementById("frametalkid").value }, function(data){ document.getElementById("elements").innerHTML = data; },"html" ); } function SHWindEr3() { $.post("/emptypopupvotedetailgender", { 'frametalkid': document.getElementById("frametalkid").value }, function(data){ document.getElementById("elementb").innerHTML = data; },"html" ); } function SHWindEr4() { $.post("/emptypopupvotedetaileducation", { 'frametalkid': document.getElementById("frametalkid").value }, function(data){ document.getElementById("elementc").innerHTML = data; },"html" ); } function SHWindEr5() { $.post("/emptypopupvotedetailethnicity", { 'frametalkid': document.getElementById("frametalkid").value }, function(data){ document.getElementById("elemente").innerHTML = data; },"html" ); } function SHWindEr6() { $.post("/emptypopupvotedetailage", { 'frametalkid': document.getElementById("frametalkid").value }, function(data){ document.getElementById("elementf").innerHTML = data; },"html" ); } function SHWindEr7() { $.post("/emptypopupvotedetailhour", { 'frametalkid': document.getElementById("frametalkid").value }, function(data){ document.getElementById("elementg").innerHTML = data; },"html" ); } function SHWindEr8() { $.post("/emptypopupvotedetailday", { 'frametalkid': document.getElementById("frametalkid").value }, function(data){ document.getElementById("elementj").innerHTML = data; },"html" ); } function SHWindEr9() { $.post("/emptypopupvotemonth", { 'frametalkid': document.getElementById("frametalkid").value }, function(data){ document.getElementById("elementp").innerHTML = data; },"html" ); } function SHWindEr10() { $.post("/emptypopuptagcloud", { 'frametalkid': document.getElementById("frametalkid").value }, function(data){ document.getElementById("elementt").innerHTML = data; },"html" ); } function ShowMoreComment() { document.getElementById("commentrecord").value = parseFloat(document.getElementById("commentrecord").value) + 1; $.post("/emptypopupvotecomment", { 'frametalkid': document.getElementById("frametalkid").value, 'commentrecord': document.getElementById("commentrecord").value }, function(data){ $("#elementh").append(data); ShowHideommentButton(); },"html" ); } function ShowHideommentButton() { totalrecordpage = Math.ceil(parseFloat(document.getElementById("totalcommentrecord").value)/parseFloat(10)); if(totalrecordpage>document.getElementById("commentrecord").value) document.getElementById("ShowMoreCommentLabel").style.display=''; else document.getElementById("ShowMoreCommentLabel").style.display='none'; } function Save_PosTLiKe(type,topicid,postid) { $.post("/emptypopupsavepslike", { 'type':type, 'topicid':topicid, 'postid':postid }, function(data){ if(type==0) { $('#pLikeBoxhref'+postid).removeClass(); $('#pDislikeBoxhref'+postid).removeClass(); $('#pLikeBoxhref'+postid).addClass("bluethin"); $('#pDislikeBoxhref'+postid).addClass("yellowbigbold"); } else { $('#pLikeBoxhref'+postid).removeClass(); $('#pDislikeBoxhref'+postid).removeClass(); $('#pLikeBoxhref'+postid).addClass("yellowbigbold"); $('#pDislikeBoxhref'+postid).addClass("bluethin"); } closeajax(); sHow_MessagepoPup("    Your selection has been successfully registered.    ",100,1,13); },"html" ); }