<!--
/*BOF5678901234567890123456789012345678901234567890123456789012345678901234567*/
/*******************************************************************************
    Project       : P308237
    File          : CustomerDataFunctions.js
    Path          : DOCROOT/inc/js
    Creation Date : 2009-01-01
    Last Update   : 2009-01-01
    Status        : productive
    Version       : 1.0
    (c) Copyright : All rights reserved by Codewalk ICT Consulting.
                    In particular, partial or complete copying or usage
                    of the following content requires prior written approval
                    of Codewalk ICT Consulting.
*******************************************************************************/
/*------------------------------------------------------------------------------
	provides data display functions for the customer data section
------------------------------------------------------------------------------*/
function handleWindowResizeEvent()
{
 oWidth = window.window.outerWidth;
 oHeight = window.outerHeight;
 iWidth = window.window.innerWidth;
 iHeight = window.innerHeight;
 frameWidth = oWidth - window.innerWidth;
 frameHeight = oHeight - window.innerHeight;
 if ( iWidth  < 995 ) oWidth = 995 + frameWidth;
 if ( iHeight < 530 ) oHeight = 530 + frameHeight;
 if ( iWidth > 1440 ) oWidth = 1440 + frameWidth;
 if ( iHeight > 880 ) oHeight = 880 + frameHeight;
 if ( oWidth != window.outerWidth || oHeight != window.outerHeight )
  window.resizeTo(oWidth, oHeight);
}
/*----------------------------------------------------------------------------*/
window.addEventListener?window.addEventListener('resize',handleWindowResizeEvent,false):window.attachEvent('onresize',handleWindowResizeEvent);
/*-------------------------------------------------------------------------EOF*/
-->
