<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Pegs" 
category="funandgames" 
description="A simple yet fun, flash, peg puzzle game.  The object of the game is to jump the pegs until just one is remaining."
author="Adam Bowman"
author_email="adbocode@gmail.com"
title_url="http://abowman.com/google-modules/pegs/"
screenshot="http://abowman.com/projects/gadgets/pegs/pegs.png"
thumbnail="http://abowman.com/projects/gadgets/pegs/pegsThumb.png"
author_link="http://abowman.com"
author_photo="http://abowman.com/abowman.jpg"
author_location="Hallowell, Maine" >
<Require feature="flash" />
</ModulePrefs>
  <Content type="html">
<![CDATA[
<!-- ALm6fM17iHAi4iiPCmW5ftSKwaH1xuXwmoTLR7poxDOsOIOAczXmKzQK6p0cN2ZVK_haOx97UpqKlVzMt3NuguCLj_dG9tOFgLh4PupD3OqlMu6e9Mp5y9szyHd_92i36hlEfzD189Sm -->
<div id="fc">
You must first install the <a href="http://www.adobe.com/products/flashplayer/" target="_blank">free flash player plugin</a> in order to view this content.
</div>
<script type="text/javascript">
_IG_RegisterOnloadHandler(init); 

function init(){
    var prefs = new _IG_Prefs();
    var swfURL = "http://hosting.gmodules.com/ig/gadgets/file/112581010116074801021/pegs.swf?2";
    var bgcolor = "FFFFFF";
    
    resize();
    window.onresize = resize;
    
    _IG_EmbedCachedFlash(swfURL, "fc", {
        swf_version: 8,
        id: "flashid",
        width: "100%",
        height: "100%",
        bgColor:bgcolor,
        AllowScriptAccess:'always'
        });
}

function resize(){
    var h = document.body.clientHeight;
    _gel("fc").style.height = h +"px";
}

</script>

  ]]> 
  </Content>
</Module>
