var _rsCI="energyst";
var _rsSM=0; 
var _rsND="//secure-uk.imrworldwide.com/";

if (window.location.href.toLowerCase().indexOf("www.energysavingtrust.org.uk/business/Business/Local-Authorities") > 0) {
	_rsSM=0; 
	/*var _rsSV = "uk0002";*/
} else if ((window.location.href.toLowerCase().search(new RegExp("energysavingtrust\.org\.uk\/(corporate|business|cafe|scotland|esr|nottingham)")) > 0) || 
		(window.location.href.toLowerCase().search(new RegExp("(eeph|lowcarbonbuildings)\.org\.uk")) > 0)) {
   _rsSM=0; 
} else {
	_rsSM=0.5; 
	/*var _rsSV = "uk0001";*/
}

if (typeof(_rsSS)=="undefined") {var _rsSS=1;}
if (typeof(_rsSV)=="undefined") {var _rsSV="";}
if (typeof(_rsCC)=="undefined") {var _rsCC=1;}
function random() {
   random.seed = (random.seed*random.a + random.c) % random.m;
   return random.seed / random.m;
}
function _rsEH(_rsE,_rsU,_rsL){}
window.onerror=_rsEH;
random.m=714025;
random.a=4096;
random.c=150889;
random.seed = (new Date()).getTime()%random.m;
if (random() <= _rsSM) {
   var _rsIM='<scr'+'ipt type="text/javascript" src="'+_rsND+'cgi-bin/j?ci='+_rsCI+'&ss='+_rsSS+'&cc='+_rsCC+'&rd='+(new Date()).getTime()+'&se=1&te=0&sv='+_rsSV+'"><\/scr'+'ipt>';
   document.write(_rsIM);
}
