/*

alert("hello");
*/
			
//===============================
//		GetImgRatio()

// GetImgRatio() figures the ratio of the image (i.e. constrains to "base")
//	recieves an array duple, and a base size "sizeBase"; returns a duple (x,y)
function GetImgRatio(imgObj, sizeBase){
	
	// figure the image size
	var ratioTemp = imgObj.width/imgObj.height;
	if (ratioTemp==1){//sides are equal
		newWidth=sizeBase;
		newHeight=sizeBase;
	}else if (ratioTemp > 1){//width greater
		newWidth=sizeBase;
		newHeight=Math.round(sizeBase/ratioTemp);
	}else if (ratioTemp < 1){//height greater
		newWidth=Math.round(sizeBase*ratioTemp);
		newHeight=sizeBase;
	}
	
	imgSizeNew = new Array(newWidth, newHeight);
	return imgSizeNew;
	
} 
// <-- END GetImgRatio()
//===============================

function rollOver(){
	document.body.style.cursor='pointer';
}

function rollOut(){
	document.body.style.cursor='auto';
}
			
