// jQuery
jQuery(function(){ 
	// in-page MPU
	var p_counter = 1; 
	jQuery('#content .storytext .section_column1>p, #content .storytext>p').each(function(index){ 
		if (jQuery(this).attr('class').length == 0){ 
			if (p_counter == 3){ 
				if (InPgMPU != 'None') {
					jQuery('<div id="InPgMPU_vis"></div>').insertAfter(this); 
					moveAdvert('InPgMPU');
				}
				return false; 
			} 
			p_counter++; 
		} 
	});
});

// Lending Strategy mast
jQuery(function(){ 
	var section = jQuery('meta[name=section]').attr("content");
	if (section == 'Lending Strategy') {
		if (jQuery('#ctl00_MainPlaceholderOne_RightColAdsTop_GenericAdControl1').length > 0) {
			jQuery('<div style="margin:10px 0; text-align:center;"><a href="/channels/lending-strategy/"><img src="/Pictures/Web/y/c/h/MS_lending_strategy_logo.gif" alt="Lending Strategy" width="300" height="55" /></a></div>').insertBefore('#ctl00_MainPlaceholderOne_RightColAdsTop_GenericAdControl1');
		}
	}
});

