function Size() {

	this.width = 0;
	this.height = 0;
}

Size.prototype.initWithWidthHeight = sizeInitWithWidthHeight;
Size.prototype.asString = sizeAsString;

function sizeInitWithWidthHeight(width, height) {

	this.width = width;
	this.height = height;
}

function sizeAsString() {

	return "{"+this.width+", "+this.height+"}";
}

function sizeOfBody() {

	var sizeW = document.body.offsetWidth;
	var sizeH = window.innerHeight;
	bodySize = sizeMake(sizeW, sizeH);

	return bodySize;
}

function sizeMake(width, height) {

	newSize = new Size;
	newSize.initWithWidthHeight(width, height);
	return newSize;
}
