/**
* weboav.js version 1.0.0
*
* Post l'action d'ouverture sur le formulaire courant de la page.
*/
function openProject(projectId)
{
	if(projectId == null || projectId == "undefined")
	{
		alert("Project id to open must be defined");
		return;
	}
	getOavRequest().sendFormRequest(null, null, {_action:'open',_oavprompt:'start',prj_oav_id:projectId});
}

/**
* Post l'action de suppression sur le formulaire courant de la page.
*/
function deleteProject(projectId)
{
	if(!projectId)
	{
		alert("Project id to delete must be defined");
		return;
	}
	getOavRequest().sendFormRequest(null, null, {_action:'delete',_oavprompt:'start',prj_oav_id:projectId});
}
