<?xml version="1.0" encoding="UTF-8" ?>
<Module>
  <ModulePrefs 
    title          =  "MeteoSwiss Radar Animation"
    title_url        =  "http://meteo.linhost.org/radar/"
    description        =  "Animation of the weather Radars of MeteoSwiss v. 5.0"
    category        =  "news"
    category2        =  "tools"
    screenshot        =  "http://hosting.gmodules.com/ig/gadgets/file/100257629120419735870/msra_screenshot.png"
    thumbnail        =  "http://hosting.gmodules.com/ig/gadgets/file/100257629120419735870/msra_thumbnail.png"
    width          =  "468"
    height          =  "390"
    scrolling        =  "false"
    
    author          =  "Pietro Palli"
    author_aboutme      =  "ppalli, peo, yago"
    author_affiliation    =  "ppal.li"
    author_email      =  "ppalli+gadgets@gmail.com"
    author_link        =  "http://ppal.li/"
    author_location      =  "Ticino, Switzerland"
    author_photo      =  "http://hosting.gmodules.com/ig/gadgets/file/100257629120419735870/ppalli_photo.png"
    author_quote      =  "Sometimes you have to be silent to be heard."
    >
    <Require feature="analytics"/>
    <Require feature="dynamic-height"/>
  </ModulePrefs>
  <UserPref 
    name          =  "slideTimeout"
    display_name      =  "Timeout Animation (Second)"
    required        =  "true"
    default_value      =  "1.5"
  />
  <UserPref 
    name          =  "refreshTimeout"
    display_name      =  "Refresh Timeout (Minute)"
    required        =  "true"
    default_value      =  "2"
  />
    <UserPref 
    name          =  "gadgetSize"
    display_name      =  "Gadget size"
    required        =  "true"
    default_value      =  "M"
    datatype        =  "enum"
    >
    <EnumValue value="S" display_value="Small  (234x225)" />
    <EnumValue value="M" display_value="Medium (468x390)" />
    <EnumValue value="L" display_value="Large  (567x450)" />
  </UserPref>
  <UserPref 
    name          =  "ads" 
    default_value      =  "yes" 
    datatype        =  "hidden"
  />
  <Content type="html">
    <![CDATA[
    
      <style type="text/css">
        img {
          border        :  0;
        }
        
        #main,
        #ads {
          text-align      :  center;
          position      :  absolute;
        }
        
        
        #main.small,
        #main.medium,
        #main.large {
          top          :  60px;
        }
        
        #main.noads {
          top          :  0px;
        }
        
        #ads {
          top          :  0px;
        }
        
        #ads.noads {
          visibility      :  hidden;
          display        :  none;
          width        :  0px;
          height        :  0px;
        }
        
        .small {
          margin        :  0px auto;
          width        :  234px;
        }
        
        .medium {
          margin        :  0px auto;
          width        :  468px;
        }
        
        .large {
          margin        :  0px auto;
          width        :  567px;
        }
        
        #radar.small {
          height        :  155px;
        }
        
        #radar.medium {
          height        :  310px;
        }
        
        #radar.large {
          height        :  376px;
        }
        
        #caption.small {
          height        :  10px;
        }
        
        #caption.medium {
          height        :  20px;
        }
        
        #caption.large {
          height        :  24px;
        }
      </style>
      
      <h1>Out of service</h1>
      <script>
      // Track this gadget using Google Analytics.
      _IG_Analytics("UA-1941311-2", "/v.5.0");
      </script>
      
    ]]>
  </Content>
</Module>
