$(document).ready(function(){

	//$('.box, .sidebar > ul > li').append('<img class="corner" src="/wp-content/themes/alliancereporting/images/box-wrap.png" width="24" height="24" />');
	$('.box, .sidebar > ul > li').each(function(e){
		$(this).append('<img class="corner" src="/wp-content/themes/alliancereporting/images/box-wrap.png" width="24" height="24" />');
	});
	
	// Set "Alliance is..." to the same size as the main image rotator if it is not already taller.
	var featImageHeight = $('#rotator').height();
	var allianceDefineHeight = $('#rbrichwidget-3').height();
	if ( allianceDefineHeight < featImageHeight ){
		var divHeight = $('#rbrichwidget-3 > div').height();
		var newDivHeight = featImageHeight-allianceDefineHeight+divHeight;
		$('#rbrichwidget-3 > div').css('height', newDivHeight)
		$('#rbrichwidget-3').css('height', featImageHeight);
	}
	

}); // doc.ready
