(function($){
var geo = false;
$.fn.WPStealthAds = function(fn, params) {
if(fn == 'config'){
return this.each(function() {
return this.config(params);
});
}else if(fn == 'ads'){
return this.each(function() {
return this.ads(params);
});
}else if(fn == 'update'){
return this.each(function() {
return this.update();
});
}
return this.each(function() {
function escape_html(html){
var text = document.createTextNode(html);
var div = document.createElement('div');
div.appendChild(text);
return div.innerHTML;
}
function render_single(ad) {
var template = "\r\n