/*
	Residences On Bloor - Basic Javascript Functions
	Created by gordongroup marketing + communications (www.gordongroup.com)
*/

var newWindow = function( p_item ){ window.open( p_item.href ); return false; }

var floorPlanner = new FloorPlanner();
function FloorPlanner(){
	this.width = 750;
	this.height = 580;
	this.top = 25;
	this.left = 25;
	this.windowProperties = 'toolbar=no'
							+', location=no'
							+', directories=no'
							+', status=no'
							+', menubar=no'
							+', scrollbars=no'
							+', resizable=no'
							+', copyhistory=no'
							+', width='+this.width
							+', height='+this.height
							+', screenX='+this.left
							+', screenY='+this.top
							+', top='+this.top
							+', left='+this.left;
	this.open = function( p_link ){
		window.open( p_link, 'floorplanner', this.windowProperties );
		return false;
	};
}
