idw.displaypressrelease = {}

idw.displaypressrelease.toggle_zoom_image = function(event, id)
{
    if (!event) event=window.event;
if ($("#image_" + id + "_screen").is(":hidden"))
    {
    $("#image_" + id + "_screen").show();
    $("#image_" + id + "_thumb").hide();
    $("#image_" + id + "_screen").parent().parent().parent().css('max-width', $("#image_" + id + "_screen").css('width'));
    }
    else
    {
    $("#image_" + id + "_screen").hide();
    $("#image_" + id + "_thumb").show();
    $("#image_" + id + "_thumb").parent().parent().parent().css('max-width', $("#image_" + id + "_thumb").css('width'));
    };
event.cancelBubble = true;
event.returnValue = false;
if (event.stopPropagation) event.stopPropagation();
if (event.preventDefault) event.preventDefault();
return false;
};


