﻿<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Google Gadget to add script within Google Sites"
title_url="http://sites.google.com/site/annuairevin/"
height="100"
width="200"
scrolling="false"
directory_title="Google Gadget to add script within Google Sites"
description="Add script within a Google Site page"
screenshot="http://winepic061.googlepages.com/my_gadgets_thumb.png"
thumbnail="http://winepic061.googlepages.com/my_gadgets_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="File" display_name="File (src of the script)" required="true" default_value="http://philippe.chappuis.googlepages.com/my_scripts_gs.js" />




<Content type="html"><![CDATA[

<style type="text/css">
body
{
background: transparent;
padding: 0;
margin:0;
}

</style>

<script id="my_script" type="text/javascript"></script>

<script type="text/javascript">

var prefs = new _IG_Prefs(__MODULE_ID__);

var s_url = _trim(prefs.getString("File"));
s_url = s_url.replace("'"," ");
s_url = s_url.replace(" ","%20");

_gel("my_script").src=s_url;

</script>
]]></Content>

</Module>