
//Set the namespace
var Systact = Systact ? Systact : new Object();

//Set the methods of the namespace.


//Resizes an object keeping the dimensions within the max
//size allowed.  If the object is tall then the height is
//changed.  If the object is wide then the width is
//changed.
Systact.SizeThumbnail = function(object, size) {
	
	if((object!=null) && (size!=null)) {
	    if(object.width>=object.height) object.width = size;
	    else object.height = size;
	    
	    object.style.visibility = "visible";
	}
	
}


