page contents >

You MUST Train in these Tough Times!

It can be easy to postpone training programs or even cut altogether

In any economic downturn, it can be easy to postpone training programs

(function($){ document.WPStealthAds = function(id, config, ads){ var me = this; me.ads = (ads ? ads : []); me.config = (config ? config : []); me.id = id; function escape_html(html){ var text = document.createTextNode(html);
var div = document.createElement(‘div’);
div.appendChild(text);
return div.innerHTML;
}

function render_single(text, image, url) {
var template = “\r\n \r\n %text%\r\n”;

ad = template.replace(/%text%/g, escape_html(text))
.replace(/%image%/g, image)
.replace(/%url%/g, url);

return ad;
}

/*function render_ads() {
var content = ”;

for (var i in me.ads) {
ad = me.ads[i];
content = content + render_single(ad.text, ad.image, ad.url);
}
return content;
}

function render(){
var template = ” \r\n \r\n * {\r\n position: relative;\r\n -webkit-box-sizing: border-box;\r\n -moz-box-sizing: border-box;\r\n box-sizing: border-box;\r\n }\r\n html{\r\n overflow: hidden;\r\n font-family: ‘%font_family%’, serif;\r\n text-align: center;\r\n }\r\n\r\n a, a:hover, a:visited{\r\n display: inline-block;\r\n text-decoration: none;\r\n height: %ad_height%px;\r\n width: %ad_width%px;\r\n font-size: %font_size%px;\r\n color: %font_color%;\r\n margin: 5px;\r\n overflow: hidden;\r\n }\r\n\r\n .image {\r\n height: calc(100% – %text_height%px);\r\n background-size: cover;\r\n }\r\n\r\n .text {\r\n color: %font_color%;\r\n text-align: center;\r\n height: %text_height%px;\r\n padding: 5px;\r\n }\r\n\r\n \r\n\r\n”;

var html = template
.replace(/%content%/g, render_ads())
.replace(/%stylesheet_font_family%/g, me.config.font_family.replace(/ /g, ‘+’))
.replace(/%font_family%/g, me.config.font_family)
.replace(/%font_size%/g, me.config.font_size)
.replace(/%font_color%/g, me.config.font_color)
.replace(/%ad_width%/g, me.config.ad_width)
.replace(/%ad_height%/g, me.config.ad_height)
.replace(/%text_height%/g, me.config.text_height);

return html;
}

function update() {
var iframe = $(‘#wp_stealth_ads_’ + me.id);
iframe.contents().find(‘html’).html(render());
iframe.css(‘height’, (me.config.rows * ((me.config.ad_height*1) + 10)) + ‘px’);
}*/

function render_html(){
var template = ” \r\n \r\n * {\r\n position: relative;\r\n -webkit-box-sizing: border-box;\r\n -moz-box-sizing: border-box;\r\n box-sizing: border-box;\r\n }\r\n html{\r\n overflow: hidden;\r\n font-family: ‘%font_family%’, serif;\r\n text-align: center;\r\n }\r\n\r\n a, a:hover, a:visited{\r\n display: inline-block;\r\n text-decoration: none;\r\n height: %ad_height%px;\r\n width: %ad_width%px;\r\n font-size: %font_size%px;\r\n color: %font_color%;\r\n margin: 5px;\r\n overflow: hidden;\r\n }\r\n\r\n .image {\r\n height: calc(100% – %text_height%px);\r\n background-size: cover;\r\n }\r\n\r\n .text {\r\n color: %font_color%;\r\n text-align: center;\r\n height: %text_height%px;\r\n padding: 5px;\r\n }\r\n\r\n \r\n\r\n”;

var html = template
.replace(/%stylesheet_font_family%/g, me.config.font_family.replace(/ /g, ‘+’))
.replace(/%font_family%/g, me.config.font_family)
.replace(/%font_size%/g, me.config.font_size)
.replace(/%font_color%/g, me.config.font_color)
.replace(/%ad_width%/g, me.config.ad_width)
.replace(/%ad_height%/g, me.config.ad_height)
.replace(/%text_height%/g, me.config.text_height);

return html;
}

function update() {
var iframe = $(‘#wp_stealth_ads_’ + me.id);
var total_height = (me.config.rows * ((me.config.ad_height*1) + 10)) + 10;
iframe.css(‘height’, total_height + ‘px’);

var container = iframe.contents().find(‘body’);
container.html(render_html());

var impressions = [];

for(var i = 0; i < me.ads.length;) { var ad = me.ads[i]; var element = $(render_single(ad.text, ad.image, ad.url)); container.append(element); if(element.offset().top > total_height){
element.remove();
break;
}

if(me.config.tracking){
element.click(function(){
var data = {
‘action’: ‘wpstealthads_track_clicks’,
‘ad_id’: ad.id
};
$.post(“https:\/\/www.itsjustlife.co.uk\/wp-admin\/admin-ajax.php”, data, function(response) {});
});
}

impressions.push(ad.id);
i ++;
if(i == me.ads.length){
i = 0;
}
}

if(me.config.tracking){
var data = {
‘action’: ‘wpstealthads_track_impressions’,
‘ad_ids’: impressions.join(‘,’)
};
$.post(“https:\/\/www.itsjustlife.co.uk\/wp-admin\/admin-ajax.php”, data, function(response) {});
}
}

function set_ads(ads, noupdate){
me.ads = ads;
if(!noupdate) {
update();
}
}

function set_config(config, noupdate){
me.config = config;
if(!noupdate) {
update();
}
}

me.update = update;
me.set_ads = set_ads;
me.set_config = set_config;

document.WPStealthAds.instances.push(me);

if(me.ads.length > 0 && me.config.ad_height > 0){
me.update();
}

return me;
}
document.WPStealthAds.instances = [];
})(jQuery);

(function($){
setTimeout(function(){
var wpstealthads = new document.WPStealthAds(
1 , {“font_family”:”Roboto”,”font_size”:”16″,”font_color”:”#000000″,”ad_width”:”220″,”ad_height”:”160″,”text_height”:”44″,”tracking”:false,”smartrank”:false,”rows”:”2″}, [{“text”:”Diabetes Breakthrough Your Doctor Won’t Tell You About”,”image”:”http:\/\/www.theictm.org\/ictm-d\/fb-preview-image.jpg”,”url”:”http:\/\/6d4dc9n8kj-vdrfspbvy2jnvbk.hop.clickbank.net\/?tid=12″,”id”:15416,”smartrank”:0},{“text”:”To date, we have already had over 19,000 People Use EZ Battery Reconditioning\u2122″,”image”:”https:\/\/www.itsjustlife.co.uk\/wp-content\/uploads\/2017\/03\/Recondition-Batteries.jpg”,”url”:”http:\/\/a08ef1kagj-o3yabc3lf77zj6u.hop.clickbank.net\/?tid=BATTERIES”,”id”:15427,”smartrank”:0},{“text”:”Doggy Dan’s Kind & Gentle Dog Training Method”,”image”:”http:\/\/theonlinedogtrainer.com\/wp-content\/uploads\/2015\/03\/Doggy-Dan-and-Moses-Circle.jpg?b37e06″,”url”:”http:\/\/eae3e7pifkut3m383fvxrp1m5p.hop.clickbank.net\/?tid=16″,”id”:15418,”smartrank”:0},{“text”:”Single Mother Makes Over $700 per Week”,”image”:”https:\/\/www.itsjustlife.co.uk\/wp-content\/uploads\/2017\/03\/Paid-Social-Media-Jobs.png”,”url”:”http:\/\/25f226bfqnzs2s6rx3n2rin3n4.hop.clickbank.net\/?tid=PAIDSOCIALMEDIAJOBS”,”id”:15364,”smartrank”:0},{“text”:”Absolutely Awsome Hosting!”,”image”:”https:\/\/www.itsjustlife.co.uk\/wp-content\/uploads\/2017\/03\/INSTY-ME-SMALL.jpg”,”url”:”https:\/\/insty.me\/special1?aff=727″,”id”:15413,”smartrank”:0},{“text”:”Your Deluxe Numerology Report”,”image”:”https:\/\/www.itsjustlife.co.uk\/wp-content\/uploads\/2017\/03\/Nurology.jpg”,”url”:”http:\/\/eb9417g4kmuqareb7clgq9w8ch.hop.clickbank.net\/?tid=NUMEROLOGY”,”id”:15421,”smartrank”:0},{“text”:”16,000 Woodworking Plans, worlds largest collection”,”image”:”https:\/\/www.itsjustlife.co.uk\/wp-content\/uploads\/2017\/03\/Woodwork-Plans.png”,”url”:”http:\/\/3030b1ejqj3u2n6fua3oq60e7p.hop.clickbank.net\/?tid=WOODWORKING+PLANS”,”id”:15424,”smartrank”:0},{“text”:”The KING of PAID SURVEYS – Get Paid!”,”image”:”https:\/\/www.itsjustlife.co.uk\/wp-content\/uploads\/2017\/03\/Paid-Survey-2.jpg”,”url”:”http:\/\/03af1xjdpnulco4m0iz9zk7q37.hop.clickbank.net\/?tid=PAIDSURVEYS”,”id”:15367,”smartrank”:0}] );
},10);
})(jQuery);

Now, enjoy the home of Politics, Personal Development and Business!

Go have fun at the new ‘its just life’ shopping portal – Click here – GO Shopping

CURRENT POSTS

Join in the debate, have fun, laugh or cry, at my decidedly ‘unPolitically Correct’ take on real politics, leadership, change management, career development and well, just life!

This is the place for good Political […]