#set($imageMaxWidth = 492) #set($imageMaxHeight = 369) #set($px = 'px') .xGallery{background-color:black;padding:10px;position:relative;width:$mathtool.add($imageMaxWidth,128)$px}.xGallery.maximized{left:0;position:fixed;top:0;z-index:1001}.xGallery .currentImageWrapper{height:$imageMaxHeight$px;line-height:$imageMaxHeight$px;overflow:hidden;text-align:center;width:100%}.xGallery .currentImage{max-height:$imageMaxHeight$px;max-width:$imageMaxWidth$px;vertical-align:middle}.xGallery .previous,.xGallery .next{color:#a0a0a0;cursor:pointer;font-family:courier,monospace;font-size:32px;font-weight:100;height:124px;line-height:124px;margin-top:-64px;position:absolute;text-align:center;top:50%;width:32px}.xGallery .previous:hover,.xGallery .next:hover{color:white}.xGallery .previous{left:0}.xGallery .next{right:0}.xGallery .index{bottom:10px;color:#c0c0c0;font-family:sans-serif;font-size:smaller;left:10px;position:absolute}.xGallery .loading{background-image:url('loading.gif')!important}.xGallery .focusCatcher{background-color:black;border:0 none;color:black;height:1px;left:0;overflow:hidden;position:absolute;top:0;width:1px;z-index:-1}.xGallery .maximize,.xGallery .minimize{cursor:pointer;height:16px;opacity:.5;position:absolute;right:10px;top:10px;width:16px}.xGallery .maximize:hover,.xGallery .minimize:hover{opacity:1}.xGallery .maximize,.xGallery .minimize{-ms-filter:"alpha(opacity=50)"}.xGallery .maximize:hover,.xGallery .minimize:hover{-ms-filter:"alpha(opacity=100)"}.xGallery .maximize{background:transparent url('maximize.gif') no-repeat scroll center}.xGallery .minimize{background:transparent url('minimize.gif') no-repeat scroll center}html.maximized,html.maximized body{height:100%!important;margin:0!important;overflow:hidden!important;padding:0!important;width:100%!important}