Deprecated: Assigning the return value of new by reference is deprecated in /home/personal/public_html/wp-includes/cache.php on line 36
Deprecated: Assigning the return value of new by reference is deprecated in /home/personal/public_html/wp-includes/query.php on line 21
Deprecated: Assigning the return value of new by reference is deprecated in /home/personal/public_html/wp-includes/theme.php on line 508
Deprecated: Assigning the return value of new by reference is deprecated in /home/personal/public_html/wp-content/plugins/sem-extract-terms/sem-terms2posts.php on line 166
Deprecated: Assigning the return value of new by reference is deprecated in /home/personal/public_html/wp-content/plugins/sem-extract-terms/sem-extract-terms.php on line 210
Deprecated: Assigning the return value of new by reference is deprecated in /home/personal/public_html/wp-content/plugins/sem-extract-terms/sem-terms2posts4feeds.php on line 193
Deprecated: Assigning the return value of new by reference is deprecated in /home/personal/public_html/wp-content/plugins/sem-frame-buster/sem-frame-buster.php on line 68
Deprecated: Assigning the return value of new by reference is deprecated in /home/personal/public_html/wp-content/plugins/sem-recent-posts/sem-recent-posts.php on line 1183
Deprecated: Assigning the return value of new by reference is deprecated in /home/personal/public_html/wp-content/plugins/sem-search-reloaded/sem-search-reloaded.php on line 218
Deprecated: Assigning the return value of new by reference is deprecated in /home/personal/public_html/wp-content/plugins/sem-smart-link/sem-smart-link.php on line 824
Deprecated: Assigning the return value of new by reference is deprecated in /home/personal/public_html/wp-content/plugins/sem-unfancy-quote/sem-unfancy-quote.php on line 59
var wphc_loaded = false;
//addLoadEvent(DUHrexJunustkjosA);
function load_hashcash()
{
DUHrexJunustkjosA();
}
function overloadOnsubmitHandler(){
var e = document.getElementById('commentform');
e.onsubmit = checkLoadedStatus;
if (e.captureEvents) e.captureEvents(Event.SUBMIT);
}
function checkLoadedStatus(e){
if (!e) var e = window.event;
if(!wphc_loaded){
alert('Wordpress Hashcash has not finished downloading information from the server. Please wait and try again in a few momemnts.');
return false;
} else {
return true;
}
}
function createHiddenField(){
var inp = document.createElement('input');
inp.setAttribute('type', 'hidden');
inp.setAttribute('id', 'BFrcCWWbOTU');
inp.setAttribute('name', 'hashcash_value');
inp.setAttribute('value', '-1');
var e = document.getElementById('commentform');
e.appendChild(inp);
}
function addVerbage(){
var e = document.getElementById('commentform');
var p = document.createElement('p');
p.innerHTML = '';
e.appendChild(p);
}
function DUHrexJunustkjosA(){
overloadOnsubmitHandler();
createHiddenField();
//addVerbage();
loadHashCashKey('http://www.personalizedbabygiftsblog.com/wp-content/plugins/wp-hashcash/wp-hashcash-getkey.php', 'BFrcCWWbOTU');
}
function loadHashCashKey(fragment_url, e_id) {
var xmlhttp=createXMLHttp();
var element = document.getElementById(e_id);
xmlhttp.open("GET", fragment_url);
xmlhttp.onreadystatechange = function() {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
element.value = eval(xmlhttp.responseText);
wphc_loaded = true;
}
}
xmlhttp.send(null);
}
function createXMLHttp() {
if (typeof XMLHttpRequest != "undefined")
return new XMLHttpRequest();
var xhrVersion = [ "MSXML2.XMLHttp.5.0", "MSXML2.XMLHttp.4.0","MSXML2.XMLHttp.3.0", "MSXML2.XMLHttp","Microsoft.XMLHttp" ];
for (var i = 0; i < xhrVersion.length; i++) {
try {
var xhrObj = new ActiveXObject(xhrVersion[i]);
return xhrObj;
} catch (e) { }
}
return null;
}
/*
function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
} else {
window.onload = function() {
func();
oldonload();
}
}
}
*/