//Add extra padding if the H2 titles contains one of those letters: "q y p g j"
//********//
//There is a problem with this script because sIFR reset the non-stylesheets CSS
//to nothing once its done converting the h2 into flash...
$(document).ready(function(){
	$('h2').each(function(){
		var current_selector = $(this).add('h2 span');
		var current_text = current_selector.text();
		if(CheckLowercase(current_text))
		{
			$(this).css('paddingBottom', '10px');	
		}
	});
});

function CheckLowercase(str)
{
	var lowercase = new Array('q', 'y', 'p', 'g', 'j');
	var total_lowercase = lowercase.length;
	
	for (a=0;a<=total_lowercase;a++)
	{
		rex = new RegExp(lowercase[a], 'g');
		if(str.match(rex))
		{
			return true;	
		}
	}
}
