var $j = jQuery.noConflict();

$j(function(){
	$j('.rounded').corner();
	$j('#petition').change(function(){
		if (this.options[this.selectedIndex].value != 'NONE') { 
			var resp = confirm( "You are about to download petitions for " + 
			  this.options[this.selectedIndex].text );
			if (resp == true) {
				getPetition(this.options[this.selectedIndex].value);
			}
			return false;
		}
	});
	
});


function getPetition(link)
	{
	  if (link != "NONE")
	  {
	    window.open(link,'_blank');
	  }
	}
