if(!PmfAds)var PmfAds = new Array();
if(!status)var status = false;
window.onload = function(){for(var i=0;i < PmfAds.length;i++){try{PmfAds[i]();}catch(e){};}status = true;};
ii_banner = function(eid, opts){
	this.opts = opts;
    this.eid = eid;
}

ii_banner.prototype.render = function(){
	var self = this;
	var f = function(){
	self.element  = document.getElementById(self.eid);
    if(!self.element)return;
    var output = '';
    var output2 = '';
    var path = "http://www.moneywise.co.uk/affiliate";
    if(self.opts.ab_linkclass == undefined)
    	self.opts.ab_linkclass = "";
    if(self.opts.ab_link == undefined)
    	self.opts.ab_link = "999999";
           output = '<div style="width:468px; overflow:hidden; background-color:#'+self.opts.ab_bgcolor+'; font-family:'+self.opts.ab_fontType+'; font-size:11px; border:none; line-height:13px; margin:0px; padding:0px; color:'+self.opts.ab_text+';"><table style="font-size:11px;padding:0px; margin:0px; color:#'+self.opts.ab_text+'; background-color:#'+self.opts.ab_border+'; border:0px; width:468px;fontsize:11px;" cellpadding="0" cellspacing="1">';
           	              output +='<thead><tr style="font-size:11px;background-color:#'+self.opts.ab_border+'; color:#'+self.opts.ab_headline+';  padding:0px; margin:0px; border:0px none; text-align:left;"><th colspan="3" style="background-color:#'+self.opts.ab_border+'; font-weight:bold; color:#'+self.opts.ab_headline+'; overflow:hidden; padding:1px; padding-bottom:0px; height:15px; line-height:10px; border:0px none; padding-left:5px; text-align: center;">Skipton Building Society</th></tr></thead><tbody><tr style="font-size:11px;background-color:#'+self.opts.ab_bgcolor+';  padding:0px; margin:0px; vertical-align:middle; height:40px; border:0px none;"><th><div style="float:left; width:85px; height:30px; overflow:hidden; margin:5px; padding:0px; margin-bottom:0px; width:97px;"><a target="_blank" href="http://www.moneywise.co.uk/affiliate/banner.php/d805909ec2aa2dcea2959cd492d2b1c2/191" title="Skipton Building Society" style="text-decoration:none; color:#'+self.opts.ab_text+'; font-weight:100;"><img src="http://www.moneywise.co.uk/affiliate/img/uploads/skiptonLogo0.gif" alt="Skipton Building Society" style="border:0px; margin:0px; padding:0px;" /></a></div></th><td style=" font-size:11px;padding:0px; margin:0px; text-align:left; padding-left:5px; padding-right:5px; border:0px none  width:292px;">Keep your money safe and secure until Christmas 2009 with a great rate of 6.55% gross pa/AER variable. </td><td style=" font-size:11px;padding:0px; margin:0px; text-align:left; padding-left:5px; padding-right:5px; border:0px none  width:51px;"><a target="_blank" href="http://www.moneywise.co.uk/affiliate/banner.php/d805909ec2aa2dcea2959cd492d2b1c2/191" title="Skipton Building Society"  class="'+self.opts.ab_linkclass+'" style="color:#'+self.opts.ab_link+';">Details</a></td></tr></tbody>';
                           output +='<thead><tr style="font-size:11px;background-color:#'+self.opts.ab_border+'; color:#'+self.opts.ab_headline+';  padding:0px; margin:0px; border:0px none; text-align:left;"><th colspan="3" style="background-color:#'+self.opts.ab_border+'; font-weight:bold; color:#'+self.opts.ab_headline+'; overflow:hidden; padding:1px; padding-bottom:0px; height:15px; line-height:10px; border:0px none; padding-left:5px; text-align: center;">YBS e-Bond</th></tr></thead><tbody><tr style="font-size:11px;background-color:#'+self.opts.ab_bgcolor+';  padding:0px; margin:0px; vertical-align:middle; height:40px; border:0px none;"><th><div style="float:left; width:85px; height:30px; overflow:hidden; margin:5px; padding:0px; margin-bottom:0px; width:97px;"><a target="_blank" href="http://www.moneywise.co.uk/affiliate/banner.php/d805909ec2aa2dcea2959cd492d2b1c2/189" title="YBS e-Bond" style="text-decoration:none; color:#'+self.opts.ab_text+'; font-weight:100;"><img src="http://www.moneywise.co.uk/affiliate/img/uploads/yorkshhire-bs88x312.jpg" alt="YBS e-Bond" style="border:0px; margin:0px; padding:0px;" /></a></div></th><td style=" font-size:11px;padding:0px; margin:0px; text-align:left; padding-left:5px; padding-right:5px; border:0px none  width:292px;">The new e-Bond from Yorkshire Building Society offers 5.58% AER fixed until 30 June 2009.  Apply online.</td><td style=" font-size:11px;padding:0px; margin:0px; text-align:left; padding-left:5px; padding-right:5px; border:0px none  width:51px;"><a target="_blank" href="http://www.moneywise.co.uk/affiliate/banner.php/d805909ec2aa2dcea2959cd492d2b1c2/189" title="YBS e-Bond"  class="'+self.opts.ab_linkclass+'" style="color:#'+self.opts.ab_link+';">Details</a></td></tr></tbody>';
                           output +='<thead><tr style="font-size:11px;background-color:#'+self.opts.ab_border+'; color:#'+self.opts.ab_headline+';  padding:0px; margin:0px; border:0px none; text-align:left;"><th colspan="3" style="background-color:#'+self.opts.ab_border+'; font-weight:bold; color:#'+self.opts.ab_headline+'; overflow:hidden; padding:1px; padding-bottom:0px; height:15px; line-height:10px; border:0px none; padding-left:5px; text-align: center;">ING Direct Savings</th></tr></thead><tbody><tr style="font-size:11px;background-color:#'+self.opts.ab_bgcolor+';  padding:0px; margin:0px; vertical-align:middle; height:40px; border:0px none;"><th><div style="float:left; width:85px; height:30px; overflow:hidden; margin:5px; padding:0px; margin-bottom:0px; width:97px;"><a target="_blank" href="http://www.moneywise.co.uk/affiliate/banner.php/d805909ec2aa2dcea2959cd492d2b1c2/157" title="ING Direct Savings" style="text-decoration:none; color:#'+self.opts.ab_text+'; font-weight:100;"><img src="http://www.moneywise.co.uk/affiliate/img/uploads/iii-ing-logo-88x310.gif" alt="ING Direct Savings" style="border:0px; margin:0px; padding:0px;" /></a></div></th><td style=" font-size:11px;padding:0px; margin:0px; text-align:left; padding-left:5px; padding-right:5px; border:0px none  width:292px;">Open an account in minutes.  Earn 6.0% AER with ING Direct. </td><td style=" font-size:11px;padding:0px; margin:0px; text-align:left; padding-left:5px; padding-right:5px; border:0px none  width:51px;"><a target="_blank" href="http://www.moneywise.co.uk/affiliate/banner.php/d805909ec2aa2dcea2959cd492d2b1c2/157" title="ING Direct Savings"  class="'+self.opts.ab_linkclass+'" style="color:#'+self.opts.ab_link+';">Details</a></td></tr></tbody>';
                           output +='<thead><tr style="font-size:11px;background-color:#'+self.opts.ab_border+'; color:#'+self.opts.ab_headline+';  padding:0px; margin:0px; border:0px none; text-align:left;"><th colspan="3" style="background-color:#'+self.opts.ab_border+'; font-weight:bold; color:#'+self.opts.ab_headline+'; overflow:hidden; padding:1px; padding-bottom:0px; height:15px; line-height:10px; border:0px none; padding-left:5px; text-align: center;">Alliance & Leicester eSaver</th></tr></thead><tbody><tr style="font-size:11px;background-color:#'+self.opts.ab_bgcolor+';  padding:0px; margin:0px; vertical-align:middle; height:40px; border:0px none;"><th><div style="float:left; width:85px; height:30px; overflow:hidden; margin:5px; padding:0px; margin-bottom:0px; width:97px;"><a target="_blank" href="http://www.moneywise.co.uk/affiliate/banner.php/d805909ec2aa2dcea2959cd492d2b1c2/154" title="Alliance & Leicester eSaver" style="text-decoration:none; color:#'+self.opts.ab_text+'; font-weight:100;"><img src="http://www.moneywise.co.uk/affiliate/img/uploads/AL88x310.jpg" alt="Alliance & Leicester eSaver" style="border:0px; margin:0px; padding:0px;" /></a></div></th><td style=" font-size:11px;padding:0px; margin:0px; text-align:left; padding-left:5px; padding-right:5px; border:0px none  width:292px;">A fantastic value on-line savings account. Earn 6.30% AER (variable) - if you don\'t make a withdrawal.</td><td style=" font-size:11px;padding:0px; margin:0px; text-align:left; padding-left:5px; padding-right:5px; border:0px none  width:51px;"><a target="_blank" href="http://www.moneywise.co.uk/affiliate/banner.php/d805909ec2aa2dcea2959cd492d2b1c2/154" title="Alliance & Leicester eSaver"  class="'+self.opts.ab_linkclass+'" style="color:#'+self.opts.ab_link+';">Details</a></td></tr></tbody>';
                          output += '</table></div>';
               self.element.innerHTML = output;
    };
    if(status === true)f();
   	else PmfAds.push(f);
}