// JavaScript Document
function showModal(){
	if(!$.cookie('modal')){
		var date = new Date();
		date.setTime(date.getTime() + (24 * 60 * 60 * 1000));
		$.cookie('modal', 'yes', { path: '/', expires: date });
		jQuery.facebox('<a href="http://scottwallace2010.com/donate"><img src="facebox/image.jpg" width="600" /></a>')
	}
}

jQuery.preloadImages = function()
{
  for(var i = 0; i<arguments.length; i++)
  {
    jQuery("<img>").attr("src", arguments[i]);
  }
}