/*
*
* A whole bunch of handy-dandy jQuery scripts
*
*/

$(document).ready(function() {
 	
	$('a.delete').click(function() { 
	    if(confirm('Are you sure you want to delete this item? Once deleted there is no way to re-cover it!'))
	    {
	    	window.location(this.href);
	    }
	    return false;
	  });

});

$(document).ready(function() {
 	
	$('a.spam').click(function() { 
	    if(confirm('Do you want to ban the IP that posted this item?!'))
	    {
	    	this.href+='&ban=true'; 
	    }
	   	window.location(this.href);
	  });

});


