
$(document).ready(function()
	{
		
	$("a.delete-link").click( function()
		{
		if( confirm( 'Are you sure you want to delete?' ))	
			return true;
		else
			return false;
		});	
	});

function selectAll(selectBox)
{

    // have we been passed an ID
	if (typeof selectBox == "string") {
		selectBox = document.getElementById(selectBox);
	}
	// is the select box a multiple select box?
	if (selectBox.type == "select-multiple") {
		for (var i = 0; i < selectBox.options.length; i++) {
			selectBox.options[i].selected = true;
		}
	}

        selectBox.options[0].selected = false;

}
