raw/ace/assets/js/uncompressed/jquery.colorbox.js
function setSize(size, dimension) {
		return Math.round((/%/.test(size) ? ((dimension === 'x' ? $window.width() : winheight()) / 100) : 1) * parseInt(size, 10));
	}
function setSize(size, dimension) {
		return Math.round((/%/.test(size) ? ((dimension === 'x' ? $window.width() : winheight()) / 100) : 1) * parseInt(size, 10));
	}
function setSize ( size , dimension ) { return Math . round ( ( / % / . test ( size ) ? ( ( dimension === 'x' ? $window . width ( ) : winheight ( ) ) / 100 ) : 1 ) * parseInt ( size , 10 ) ) ; }
Convert '%' and 'px' values to integers
Convert % and px values to integers