// displays hint text on any input element with the 'title' attribute set
function wireUpDisplayTextboxes() {
	var el = $('input[Title], textarea[Title]');
	// show the display text
	el.each(function(i) {
		$(this).attr('value', $(this).attr('title'));
	});
	 
	// hook up the blur & focus
	el.focus(function() {
		if ($(this).attr('value') == $(this).attr('title'))
			$(this).attr('value', '');
	}).blur(function() {
		if ($(this).attr('value') == '')
			$(this).attr('value', $(this).attr('title'));
	});
}

//get a param from the URL
function GetParam(param) {
    var regex = '[?&]' + param + '=([^&#]*)';
    var results = (new RegExp(regex)).exec(window.location.href);
    if(results) return results[1];
    return '';
}

jQuery(function(){
var scl = jQuery('#divSecondaryContentLeft');
var scr = jQuery('#divSecondaryContentRight');
if(scl.height() > scr.height()){
    scr.height(scl.height());
}
});

