>
";$('AjaxStatus').style.display ="";}
new Ajax.Request(url, { method: 'post', parameters: params,
onSuccess: function(transport)
{
if (ret == "noreturn")
{
ajax_queue[ajax_queue_current]['result'] = transport.responseText;
}
else
{
ajax_queue[ajax_queue_current]['result'] = transport.responseText;
ExcecuteSriptsAndReturnText(transport.responseText,divid);
}
AJAX_NextQueue();
}
});
}
function ViewPhoto(gi_id,samewindow)
{
if (samewindow != true)
{
var max_height = iecompattest().clientHeight - 100;
winGP = Dialog.confirm('',{top: 10, width:700,height:max_height, className: "alphacube", okLabel: "Close" })
winGP.getContent().update($('view_photo_div').innerHTML);
winGP.showCenter();
}
$('view_photo_div_html').style.height = iecompattest().clientHeight - 230 + "px";
LoadContent('&vid=view_photo_gallery&gi_id='+gi_id,'includes/components/gallery/gallery.php','','return','view_photo_div_bottom');
LoadContent('&vid=view_photo&gi_id='+gi_id,'includes/components/gallery/gallery.php','','return','view_photo_div_html');
}
function Gallery_SendComment()
{
var fck = FCKeditorAPI.GetInstance("gco_html");
fck.UpdateLinkedField();
ValidateFirst('COForm','1','V_Run','&vala='+$('gi_id').value);
}
function Gallery_SendComment_AJAX()
{
LoadContent('&vid=send_comment&gi_id='+$('gi_id').value,'includes/components/gallery/gallery.php','COForm','return','view_photo_div_html');
return false;
}
function ViewSinglePhoto(photo,autofit,windowWidth,windowHeight)
{
var newImg = new Image();
//Load the window to display a Preview as 'Loading photo...'
winGP = Dialog.confirm('',{top: 10, width:200,height:40, className: "alphacube", okLabel: "Close" })
winGP.getContent().update("
Read or make comments for this article