﻿<!--
//==================================================================================
// FILE: func.js
// DESC: Javascript functions
// AUTH: 13/05/2005 RPN Creation
// MODS: 
//==================================================================================


//==================================================================================
// FUNC: fullPhoto
// AUTH: 13/05/2005 RPN
// DESC: 
// ARGS: id, and table
// MODS: 
//==================================================================================
function fullPhoto(imagePath) 
{ 
    // If window win is already open it needs to be shut and reopened or resized and focused
    //window.close("win");
    //window.open("dyn/"+image,"win","width="+width+",height="+height+",scrollbars=yes,resizable=yes"); 
    window.open("FullPhoto.aspx?imagePath=" + imagePath,"popupImage","width=10,height=10,scrollbars=no,screenx=0,screeny=0,resizable=no"); 
    //document.getElementById(win).focus();
}



//==================================================================================
// FUNC: resizeWindow
// AUTH: 13/05/2005 RPN
// DESC: 
// ARGS: 
// MODS: 
//==================================================================================
function resizeWindow()
{
    width  = document.getElementById('ImagePopup').width;
    height = document.getElementById('ImagePopup').height + 45;
    window.resizeTo(width,height);
}


-->
