 /**
 * @author Luis Pirir <luispirir@gmail.com>
 * @copyright 2007 Luis Pirir
 * @package View Port Window
 * @license MIT
 * @version 1.0
 */

if ( typeof ( Client ) == 'undefined' )
	Client = {};

Client = Class.create ();

Object.extend ( Client.prototype, {

	clientMessure : [],

	initialize : function ( options ) {
	
		return this.clientMessure [ this.getViewPortWidth (), this. getViewPortHeight () ]

	},

	getViewPortWidth: function () {
		
		return self.innerWidth || ( document.documentElement.clientWidth || document.body.clientWidth );
		
	},
	
	getViewPortHeight: function () {
	
		return self.innerHeight || ( document.documentElement.clientHeight || document.body.clientHeight );
		
	}	
	
} );