/* FILE ARCHIVED ON 23:09:02 feb 7, 2007 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 2:58:00 sep 13, 2015. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ function createRequestObject() { var ro; var browser = navigator.appName; if(browser == "Microsoft Internet Explorer"){ ro = new ActiveXObject("Microsoft.XMLHTTP"); }else{ ro = new XMLHttpRequest(); } return ro; } var http = createRequestObject(); function sndReq(action, tag, post, format) { http.open('get', '/web/20070207230902/http://www.israpundit.com/2006/wp-content/plugins/UltimateTagWarrior/ultimate-tag-warrior-ajax.php?action='+action+'&tag='+tag+'&post='+post+'&format='+format); http.onreadystatechange = handleResponse; http.send(null); } function sndReqNoResp(action, tag, post) { http.open('get', '/web/20070207230902/http://www.israpundit.com/2006/wp-content/plugins/UltimateTagWarrior/ultimate-tag-warrior-ajax.php?action='+action+'&tag='+tag+'&post='+post); http.send(null); } function sndReqGenResp(action, tag, post, format) { http.open('get', '/web/20070207230902/http://www.israpundit.com/2006/wp-content/plugins/UltimateTagWarrior/ultimate-tag-warrior-ajax.php?action='+action+'&tag='+tag+'&post='+post+'&format='+format); http.onreadystatechange = handleResponseGeneric; http.send(null); } function handleResponseGeneric() { if(http.readyState == 4){ var response = http.responseText; var update = new Array(); document.getElementById("ajaxResponse").innerHTML = response; } } function handleResponse() { if(http.readyState == 4){ var response = http.responseText; var update = new Array(); if(response.indexOf('|' != -1)) { update = response.split('|'); document.getElementById("tags-" + update[0]).innerHTML = update[1]; } } } function askYahooForKeywords() { try { http.open('POST','/web/20070207230902/http://www.israpundit.com/2006/wp-content/plugins/UltimateTagWarrior/ultimate-tag-warrior-ajax.php?action=requestKeywords'); http.onreadystatechange = listYahooKeywords; http.send(escape(document.getElementById('content').value)); } catch (ex) { alert("Something done went wrong:" + ex); } } function listYahooKeywords() { if(http.readyState == 4){ document.getElementById("suggestedTags").innerHTML = http.responseText; } }