<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs
   title="__MSG_gadget_title__"
   description="__MSG_gadget_desc__"
   author="__MSG_gadget_author__"
   author_location="__MSG_gadget_author_location__"
   author_email=""
   author_link="http://www.lilyfranky.com"
   thumbnail="http://igartistcampaign.appspot.com/ig/lily_clock_thumb.png"
   screenshot="http://igartistcampaign.appspot.com/ig/lily_clock_screen.png"
   width="270"
   height="200"
   scrolling="false"
>
  <Locale messages="http://igartistcampaign.appspot.com/ig/lily_clock_ALL_ALL.xml"/>
  <Locale lang="ja" messages="http://igartistcampaign.appspot.com/ig/lily_clock_ja_ALL.xml"/>
  <Require feature="dynamic-height" />
  <Require feature="flash" />
  <Require feature="analytics" />
</ModulePrefs>
<Content type="html">
<![CDATA[

<!-- ALm6fM0PWBBdh7its6Kcv0V8OGdsxzqNzcvjldqOahEhyVvT6ryrVh2NgfUDBo+2qkt+zjYVwXSgbP/kcg+ZT5kb4FCaneeqlko1vwBK/OJVezFPwVZ+5GSm2A4aZL6ZpKWrWVq0qvAXDk4Q//aamoeJViUqmsGRRw== -->

<script src="http://igartistcampaign.appspot.com/ig/AC_OETags.js" language="javascript"></script>
<script type="text/javascript">
var requiredMajorVersion = 10;
var requiredMinorVersion = 0;
var requiredRevision = 0;
var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

var flashContainer;
var ORG_W = 270;
var ORG_H = 200;
var MAX_W = 0;
var MIN_W = 0;
function adjustHeight() {
	flashContainer.style.width = '100%';
	var w = document.body.clientWidth;
	if(MIN_W && w < MIN_W) {
		w = MIN_W;
		flashContainer.style.width = Math.round(w) + 'px';
	} else if(MAX_W && MAX_W < w) {
		w = MAX_W;
	}
	var h = Math.round(w * ORG_H / ORG_W);
	flashContainer.style.height = Math.round(h) + 'px';
}
_IG_RegisterOnloadHandler(function() { 
_IG_Analytics("UA-3852019-2", "/__MSG_gadget_title__");
	var isGecko = (window.navigator && navigator.userAgent && navigator.userAgent.indexOf("Gecko/") != -1);
	var hasActiveXObject = window.ActiveXObject;
	var external = (isGecko || hasActiveXObject);
	flashContainer = _gel('flashcontainer');
	adjustHeight();
	_IG_AdjustIFrameHeight();
        var flashUrl = "http://igartistcampaign.appspot.com/ig/lily_clock.swf";
        var cachedFlashUrl = _IG_GetCachedUrl(flashUrl);
    if (hasReqestedVersion) {
	gadgets.flash.embedCachedFlash(flashUrl, "flashcontainer", {swf_version: 9, id: "flashid", allowScriptAccess: "always", allowNetworking: "all", flashvars: "external=" + external});
}else{
	gadgets.flash.embedFlash(cachedFlashUrl, "flashcontainer", {swf_version: 9, id: "flashid", allowScriptAccess: "always", allowNetworking: "all", flashvars: "external=" + external});
}
	if(window.addEventListener) {
		window.addEventListener('resize', adjustHeight, false);
	} else if(window.attachEvent) {
		window.attachEvent('on' + 'resize', adjustHeight);
	}
});
</script>
<style type="text/css">
#flashcontainer {
text-align:center;
width:100%;
margin:0 auto;
}
</style>
<div id="flashcontainer"></div>
]]>
</Content>
</Module>

