private static string PositionStyleFor(HotSpot hotSpot, int totalWidth, int totalHeight)
        {
            var left = float.Parse(hotSpot.XPosition, System.Threading.Thread.CurrentThread.CurrentCulture) * totalWidth;
            var top = float.Parse(hotSpot.YPosition, System.Threading.Thread.CurrentThread.CurrentCulture) * totalHeight;
            var width = float.Parse(hotSpot.Width, System.Threading.Thread.CurrentThread.CurrentCulture) * totalWidth;
            var height = float.Parse(hotSpot.Height, System.Threading.Thread.CurrentThread.CurrentCulture) * totalHeight;

            const string style = "left:{0}px;top:{1}px;width:{2}px;height:{3}px;";
            return string.Format(style, Math.Floor(left), Math.Floor(top), Math.Floor(width), Math.Floor(height));
        }
        private static string PositionStyleFor(HotSpot hotSpot, int totalWidth, int totalHeight)
        {
            var left   = float.Parse(hotSpot.XPosition, System.Threading.Thread.CurrentThread.CurrentCulture) * totalWidth;
            var top    = float.Parse(hotSpot.YPosition, System.Threading.Thread.CurrentThread.CurrentCulture) * totalHeight;
            var width  = float.Parse(hotSpot.Width, System.Threading.Thread.CurrentThread.CurrentCulture) * totalWidth;
            var height = float.Parse(hotSpot.Height, System.Threading.Thread.CurrentThread.CurrentCulture) * totalHeight;

            const string style = "left:{0}px;top:{1}px;width:{2}px;height:{3}px;";

            return(string.Format(style, Math.Floor(left), Math.Floor(top), Math.Floor(width), Math.Floor(height)));
        }