// JavaScript Document
function resizeImage(obj,side) {
	if (obj.width>side||obj.height>side) {
		if (obj.width<obj.height) {
			obj.height=side;
			obj.width=(obj.width/obj.height)*side;
		}
		else {
			obj.width=side;
			obj.height=(obj.height/obj.width)*side;
		}
	}
	else {
		obj.width=obj.width;
		obj.height=obj.height;
	}
}
function clickImage(url) {
	window.open(url);
}