﻿<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Autoviewer Flash Slideshow"
title_url="http://sites.google.com/site/annuairevin/"
height="600"
width="480"
scrolling="false"
directory_title="Autoviewer Flash Slideshow"
description="Use Autoviewer Flash Slideshow. Javascript uncapsulated within the gadget"
screenshot="http://winepic061.googlepages.com/autoviewer-screen.png"
thumbnail="http://winepic06.googlepages.com/gadget-flash_slideshow-thumb.png"
author="Philippe Chappuis"
author_email="philippe.chappuis+gadgetCSE@gmail.com"
author_affiliation="Google"
author_location="Rolle Switzerland"
author_link="http://philippe.chappuis.googlepages.com"
author_photo="http://winepic02.googlepages.com/gadget-author-photo.png"
author_aboutme="An Engineer who likes to develop for the Net and tastes wines"
author_quote="A chief is a man who assumes responsibility. He says &quot;I was beaten&quot; he does not say &quot;My men were beaten&quot; - Antoine de Saint-Exupery">

</ModulePrefs>

<UserPref name="URL" display_name="URL xml File"
required="true" default_value="http://philippe.chappuis.googlepages.com/clos-domaines-chateaux.xml" />

<UserPref name="SWF" display_name="URL swf File (autoviewer)"
required="true" default_value="http://philippe.chappuis.googlepages.com/autoviewer.swf" />

<UserPref name="TITLE" display_name="Title of Slideshow"
required="true" default_value="Clos Domaines et Châteaux" />

<UserPref name="LINK" display_name="Link on Title"
required="true" default_value="http://philippe.chappuis.googlepages.com/vision_cdc.htm" />

<UserPref name="SW" display_name="Width of slideshow"
required="true" default_value="500" />
<UserPref name="SH" display_name="Height of slideshow"
required="true" default_value="400" />

<UserPref name="TCOL" display_name="Color of Title"
required="true" default_value="#993300" />

<UserPref name="BBCOL" display_name="Color of Background"
required="true" default_value="#d1dae3" />

<UserPref name="BFCOL" display_name="Color of Frame"
required="true" default_value="#c3d9ff" />

<UserPref name="BDCOL" display_name="Color of Border"
required="true" default_value="#d8261b" />

<Content type="html"><![CDATA[

<script type="text/javascript" src="http://philippe.chappuis.googlepages.com/swfobject.js"></script>

<style type="text/css">

body
{
margin: 0px;
padding: 0px;
background-color: __UP_BBCOL__;
font-family: Arial, sans-serif;
font-size: 0.85em;
font-weight: bold;
color: __UP_TCOL__;
text-align: center;
}

#main_box
{
border: solid 2px __UP_BDCOL__;
background-color: __UP_BFCOL__;
width: __UP_SW__px;
}

#titre
{
margin-top: 3px;
margin-bottom: 5px;
}

#titre a:link, #titre a:visited
{
text-decoration: none;
color: __UP_TCOL__;
}

#titre a:hover
{
font-weight: normal;
color: __UP_TCOL__;
}

</style>

<script type="text/javascript">

var prefs = new _IG_Prefs(__MODULE_ID__);

var s_url=_trim(prefs.getString("URL"));
var s_swf=_trim(prefs.getString("SWF"));
var s_tit=_trim(prefs.getString("TITLE"));
var s_lnk=_trim(prefs.getString("LINK"));
var s_sw=_trim(prefs.getString("SW"));
var s_sh=_trim(prefs.getString("SH"));

var s_bfcol=_trim(prefs.getString("BFCOL"));

var s_htm = "<a href='" + s_lnk + "target='_blank' title='" + s_tit + "'>" + s_tit + "</a>";

</script>

<body>
<center>
<div id="main_box">
<div id="titre"></div>
<div id="flashcontent"></div>
<script type="text/javascript">
var fo = new SWFObject(s_swf, "autoviewer", s_sw, s_sh, "8", s_bfcol);
//Optional Configuration
fo.addVariable("langOpenImage", "Afficher l'image");
fo.addVariable("langAbout", "A propos de ");
fo.addVariable("xmlURL", s_url);
fo.write("flashcontent");

_gel("titre").innerHTML=s_htm;

</script>
</div>
]]></Content>
</Module>
