/*
Author: Juan J. Mendez
Date: aug/21/2003

description
This javascript file is used by any page in order to resize its window to full size of the screen,
and be located at the very top left corner of the screen.
*/

function setWindow()
{
	/*
		The page needs to be full size on the screen before it loads up. If the user wants to resize it, there can
		be an error at the browser...
	*/
	var w, h;
	
	if( window.screen )
	{	w = screen.width;
		h = screen.height;
	}
	else
	{ //default dimensions.. 800 x 600 is known as the minimum screen dimension....
		w = 800;
		h = 600;
	}
	
	self.moveTo( 0, 0 );	
	self.resizeTo( w, h );
}

/*
The following function was added on Aug/22/2003, and it was extracted from dreamweaver...
This function takes parameter which are use to assign properties to a new pop up browser window
*/

function MM_openBrWindow(theURL,winName,features) 
{ //v2.0
  window.open(theURL,winName,features);
}
