function showPhoto(id)
{
	//load	
	$("response-photo").style.visibility = "visible";
	$("response-photo").style.display = "block";              	   	
	$("response-photo").innerHTML = "<div id=\"ajax-loading-photo\"> </div>";          	   	
    
    var req = mint.Request();
    req.method="get";
    req.AddParam("id", id);
    req.OnSuccess = function()
    {  	   
   	   	$("response-photo").innerHTML = req.responseText;      	   	     	
    }
    
    req.Send("request/show_photo.php"); 
}

function closePhoto()
{
	$("response-photo").innerHTML = "";          	   	
	$("response-photo").style.display = "none";          	   	
}

function closeResForm()
{
	$("response-form").innerHTML = "";          	   	
	$("response-form").style.display = "none";          	   	
}

//send form contact
function sendFormContact()
{
	$("response-form").style.visibility = "visible";
	$("response-form").style.display = "block";      
	$("response-form").innerHTML = "<div id=\"ajax-loading-form\"> </div>";    	
	mint.fx.Fade($("response-form"), 90, 20, 500);  
	
    var req = mint.Request();
               
    req.OnSuccess = function() {
        $("response-form").innerHTML = this.responseText;
    }
               
    req.SendForm("form-contact","request/form_contact_send.php","get","get");
}
