
initLogger = new Log4Js.Logger("Catalog.Congfig"); //----------------------------------------------------------------------------

try{ 
	Claim.isObject(GameCatalog.AvatarViewer, "the script that defines GameCatalog.AvatarStudio must be initiated before the call to the script that configs catalog utils"); 
	Claim.isObject(GameCatalog.AvatarViewer.defaultSettings,"the script that defines GameCatalog.AvatarStudio.defaultSettings must be initiated before the call to the script that configs catalog utils"); 
	Object.extend
	( 
		GameCatalog.AvatarViewer.defaultSettings , 
		{
			tinyAvatarLiveURL : Url.appendParamValue(UA.User.prototype.GET_AVATAR_URL , "type","tiny") 
			,tinyAvatarCashedURL: Url.appendParamValue(UA.User.prototype.GET_CACHED_AVATAR_URL, "type", "tiny") 
			,guestAvatarXML : "/community/avatars/skins/defaultfederation//config/NoAvatar.xml"
			,showTypes : "~glasses~hair~face~skull~shirt~beard~background~body~jewelry~hats~"
			,movie : "/community/avatars/2.1/FAV.swf" ,channel : UA.CHANNEL 
		} 
	);

	GameCatalog.AvatarViewer.initiated = true; 
	}
	catch(e){ initLogger.warn("Failed initiating GameCatalog.AvatarViewer: " + Serialize(e) )
} 
//----------------------------------------------------------------------------
