
/*
 *	oInit.js
 *
 *	6/2/10
 *
 *	Brian Sinnett, for PwC / Ontash & Ermac
 *
 */
 
$().ready(function() {

  // Initialize modal-type window
  $('#pmic_dialog').jqm({
	overlay: 65,
    ajax: 'make-it-count-modal.html',
    target: 'div.jqmContent',
	toTop: true
  });

  // Set initial left-nav highlight for active element
  $('div.lNav:first').addClass('activeLNav');

  // Reselect new left-nav active background
  $('div.lNav a').click( function() {
    $('div.lNav').removeClass('activeLNav');
	$(this).parent().addClass('activeLNav');
	var idx = 's' + ($('div.lNav a').index( this ) + 1);
    reveal( idx );
	return false;
  });

});

/*
 **	EOF	***
 */
