/*
@description Add general site-wide js funtionality to the page (e.g. print page button)
@author Bryan Gullan
@created 2007-08-28
*/

// clear search input box
function clearBox(box, clearText){
	if (box.value==clearText)
	box.value = '';
}

function fillBox(box, clearText){
	if (box.value=='')
	box.value = clearText;
}

$(document).ready(function() {
	$('h2.sIFR-replaced').click(function(event) {
		if($(this).children('span').children('a').length){
			var url = $(this).children('span').children('a').attr('href');
	 		document.location.href = url;
		}
	});

});

// $(document).ready(function(){  
//     $('.blur').click(function(){  
//         $(this).blur();  
//         return false;  
//     });  
// });  
