/**
 * @author dio5
 */
jQuery(function($) 
{
	// Hide old ads on Sun-Wed
	var today = new Date();
	// getDay() returns numeric representation of day of week (0 = Sunday, 1 = Monday, etc.)
  if (today.getDay() < 4) {
    // Remove images from DOM to prevent magnify (below) from running on them
    $('#old-ads').remove();
  }
	
	$('a[rel*=magnify]').magnify();
	
	
});