﻿
var fixedWidth = 1024;
var fixedHeight = 734;
//self.onload = resizeWindow(fixedWidth, fixedHeight);

/**
* function to handle requests to resize browser window to a set size
* @return void
*/
function resizeWindow(fixedWidth, fixedHeight)
{
    try
    {
        self.moveTo(0,0);
        self.resizeTo(fixedWidth, fixedHeight);
    }
    catch (err)
    {
        alert(err.message + "This content is best viewed \rwith 1024 x 768 screen resolution.\rInfinite Media Ltd.");
    }
}

/**
* function to handle requests to open new windows
* @param String file
* @param String title
* @param String params
* @return void
*/
function popup(file, title, params)
{
    window.open(file,title,params);
}