/*
:: Script Information ::
Title       : common library
Author      : livibetter
Created date: 09/21/2006
Updated date: 01:44 9/23/2006
Version     : 0.1
Credit      :
License     : GNU Lesser General Public License
Copyright   : 2006 livibetter

:: Contact Information ::
eMail		: web@livibetter.com
MSN			: livibetter@gmail.com
Website		: http://www.livibetter.com
*/

function clb_size(width, height){
	this.width = width;
	this.height = height;
	}

/*
	Function: range
		
	Parameters:
		from, to
			number
		bSort
			boolean
				Sort two numbers from low to high
*/
function clb_range(from, to, bSort){
	if(bSort)
		if(from>to){
			var temp = to;
			to = from;
			from = temp;
			}
	this.from = from;
	this.to = to;
	}
