function UserLogo(props)
{
	var _this=this;
	var image=props.image;
	var type=props.type;
	var settings=props.settings;

	var container=props.container;
	var holder = props.holder;
	var logo;
	var isVisible=false;


	function init()
	{
		//container=new createjs.Container();
		//container.addChild(container);

		if (!image) return;
		logo = new createjs.Bitmap(image);
		
		var bnds = container.nominalBounds
		
		logo.scaleX = bnds.width/image.width;
    	logo.scaleY = bnds.height/image.height;

		
		container.addChild(logo);



		holder.on("mousedown",getURL);
		holder.on("mouseover",function () {container.cursor = (!settings.visible)? "pointer":"default";});


	}

	function getURL()
	{
		var url=(type === "free")?'https://www.online-stopwatch.com/premium/':'https://www.online-stopwatch.com/#logo';
		window.open(url,'_blank');
	}
	init();
}