function delPigs(url) {
if (confirm('Are you certain that you wish to delete this content? Note that this change is not versioned and will take place immediately.')) {

new Ajax.Request(url, {
	onSuccess: function(transport) {
	  alert("Cancellazione eseguita correttamente")
	  window.parent.location.reload();
       }
});
}
return false;

}

function startSearch(url)
{

    var searchValue = "";
    if (document.getElementById("keywordsfaq_formId").value!=""){
	    url += "?doit=1&func=search&query=" + document.getElementById("keywordsfaq_formId").value;
	    window.location = url;
	    return true;		
    }

    searchValue = document.getElementById("category");	
    if (searchValue){
	  	searchValue = "\"" + (searchValue.value.replace(/"/g,"")).replace("\&abra","\'") + "\"";
	
    }else{
		searchValue = "";		
	}
	
	url += "?doit=1&func=search&query=" + searchValue;

	window.location = url;
	
	return true;	
}
function startPagi(url) {
	window.location = url;

}

function startOpen(url)
{
//position2RightRowSpan


	//per IE devo rimpiazzare il # che divide l'argomento dell'url se no quel coglione non funziona!!
	url=url.replace("#", "?");
        window.location=url;
	return true;	
}



function apriAdd(urladd) {
	window.location=urladd;
}


