function round(number,x) {
//This function rounds the number passed to the function and returns
//the number of decimal places passed to variable 'x' which defaults
//to 2.
		 x = (!x ? 2 : x);
		 return Math.round(number*Math.pow(10,x))/Math.pow(10,x);
}
