var winRecent;
//-----------------------------------------
function EditRecent( aRecentID )
{
	var lURL = "EditRecent.php?rid=" + aRecentID;
	try
	   {
			winRecent.location.assign(lURL);
	   }
	catch(err)
	   {
	   		winRecent = OpenWindow( 400 , 170 , lURL , 'no' , 'no' );
	   }
	winRecent.focus();
}
//-----------------------------------------
function DeleteRecent( aRecentID )
{
	if( !aRecentID ) return;
	
	if( !confirm("آیا از عمل حذف مطومئن هستید") ) return;
	
	lURL = "action=delr&rid=" + aRecentID;
	document.location.search = lURL;
}
