<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Happy Halloween" 
directory_title="Happy Halloween"
title_url="http://igooglets.blogspot.com/2008/10/halloween-gadget.html"
width="220"
height="320"
scrolling="true"
singleton="false"
scaling="false" 
description="Customize your Halloween Wall and share it with all your friends and relatives."
screenshot="http://lh6.ggpht.com/lavallefils/SPnKiesjfnI/AAAAAAAAAqo/S1fBOWQs3d8/halloweenwall_screenshop.jpg"
thumbnail="http://lh5.ggpht.com/lavallefils/SPnKih-V6qI/AAAAAAAAAqw/NtilVAiwm4o/halloweenwall_thumbnail.gif"
author="Lavallefils"
author_email="lavallefils@yahoo.com"
author_location="Mauritius"
author_affiliation="Halloween Wall, iGooglets" >
  <Require feature="setprefs" />  
</ModulePrefs>
<UserPref name="bg" display_name="Scene" default_value="graveyard" datatype="enum" >
  <EnumValue value="deadtree" />
  <EnumValue value="graveyard" />
  <EnumValue value="hauntedhouse" />
</UserPref>
<UserPref name="hm" display_name="Halloween Monster" default_value="pumpkins" datatype="enum" >
  <EnumValue value="coffin" />
  <EnumValue value="devil" />
  <EnumValue value="ghost" />
  <EnumValue value="greenmonster" />
  <EnumValue value="pumpkins" />
  <EnumValue value="trickortreat" />
  <EnumValue value="witch" />
</UserPref>
<UserPref name="dc" display_name="Decoration" default_value="ghost" datatype="enum" >
  <EnumValue value="bats" />
  <EnumValue value="blackcat" />
  <EnumValue value="catonbroom" />
  <EnumValue value="crow" />
  <EnumValue value="devildancing" />
  <EnumValue value="ghost" />
  <EnumValue value="owl" />
  <EnumValue value="skull" />
  <EnumValue value="spiderweb" />
  <EnumValue value="ufo" />
  <EnumValue value="witchonbroom" />
</UserPref>
<UserPref name="msg" display_name="Your Halloween Message" default_value="Happy Halloween" required="true" />
<Content type="html"><![CDATA[
<style type="text/css">
body{font-size:0.8em;}
#wallcontent{display:block;}
#wall{width:200px;height:250px;background-color:#4f4f68;position:relative;overflow:hidden;}
#wallmessage{width:200px;background-color:#4f4f68;position:relative;display:none;}
#msglink{color:#f00;font-weight:bold;}
#message{margin:10px 2px;font-size:1.3em;font-weight:bold;color:#fff;}
#msgfooter{background:#fff;}
.adslink{color:#fff;}
</style>
<center>
<div id="wallcontent">
  <div id="wall"></div>
  <p><a id="msglink" href="javascript:FN2('message');">Read the Halloween Message</a></p>
</div>
<div id="wallmessage"> 
  <div id="messagediv">
    <img id="msg_img_pumpkin" src="" border="0">
    <span id="message"></span>
    <img id="msg_img_ghost" src="" border="0">
  </div>
  <div id="ads" style="clear:both;">
    <div id="ads_0"></div>
    <div id="ads_adsense">
<script type="text/javascript">
google_ad_client = "pub-6790085737153341";
google_ad_slot = "8394709967";
google_ad_width = 234;
google_ad_height = 60;
</script>
<span style="font-size:0.75em;color:#fff;">Right click on Ads link to open in new window or tab.</span>
    </div>
  </div>
  <div id="msgfooter">
    <p><a id="msglink" href="javascript:FN2('wall');">Return to Halloween Wall</a></p>
  </div>
</div>
</center>
<script type="text/javascript">
var _uf=new _IG_Prefs();var _msg=_uf.getString("msg");var _bg=_uf.getString("bg");var _hm=_uf.getString("hm");var _dc=_uf.getString("dc");function FN0(A){return A.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function FN1(){var F=Math.floor(Math.random()*13);var E="";var D;var C=0;var B;var A=2;switch(F){case 1:E='<p><a class="adslink" href="http://lavalefils.nichestore.hop.clickbank.net" target="_blank">Build Niche Money Making Websites In Under 10 Minutes</a></p>';break;case 3:case 9:E='<p><a href="http://tinyurl.com/3rl8s2" target="_blank"><img src="http://tinyurl.com/2lrwqo" alt="" border="0" /></a></p>';break;case 2:case 6:E='<p><a href="https://my.bigfishgames.com/index.php?afcode=afb89a43e9ac" target="_blank"><img src="http://www.mygamespace.com/images/banners/mbfgads_125x125.jpg" alt="mbfgads_125x125" border="0"></a></p>';break;case 4:case 8:E='<p><iframe src="http://rcm.amazon.com/e/cm?t=halloweenwall-20&o=1&p=20&l=ur1&category=harrypotter&banner=0QBKQY11P91PAXPSF6R2&f=ifr" width="120" height="90" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0"></iframe></p>';break;case 7:case 11:E='<p><iframe src="http://rcm.amazon.com/e/cm?t=halloweenwall-20&o=1&p=40&l=ur1&category=amazonvideoondemand&banner=0HPW0HJZ5PKRH3E3V502&f=ifr" width="120" height="60" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0"></iframe></p>';break;default:E='<p><iframe src="http://rcm.amazon.com/e/cm?t=halloweenwall-20&o=1&p=20&l=ur1&category=harrypotter&banner=0QBKQY11P91PAXPSF6R2&f=ifr" width="120" height="90" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0"></iframe></p>'}if(E!=""){_gel("ads_"+C).innerHTML=E}for(B=0;B<A;B++){D="none";if(B==C){D="block"}_gel("ads_"+B).style.display=D}}function FN2(A){if(A=="wall"){_gel("wallcontent").style.display="block";_gel("wallmessage").style.display="none"}else{_gel("wallmessage").style.display="block";_gel("wallcontent").style.display="none";FN1()}}function FN3(A,D,B){var C;for(C=0;C<D.length;C++){if(D[C]==A){return B[C]}}}function FN4(){var N=["bg-hill","bg-moon","bg-graveyard","bg-graveyard-1","bg-hauntedhouse","bg-deadtree"];var M=["0:186:1","22:5:1","7:108:1","161:149:1","0:66:1","0:81:1"];var K=["ighw-deco-bats","ighw-deco-blackcat","ighw-deco-catonbroom","ighw-deco-crow","ighw-deco-devildancing","ighw-deco-ghost","ighw-deco-owl","ighw-deco-skull","ighw-deco-spiderweb","ighw-deco-ufo","ighw-deco-witchonbroom","ighw-main-coffin","ighw-main-devil","ighw-main-devil-fire","ighw-main-ghost","ighw-main-greenmonster","ighw-main-pumpkins","ighw-main-pumpkins-1","ighw-main-trickortreat","ighw-main-trickortreat-txt","ighw-main-witch","ighw-main-witch-chaudron"];var L=["20:13:10","159:105:10","22:26:10","22:74:10","146:102:10","141:31:10","18:56:10","162:117:10","139:87:10","77:28:10","21:20:10","36:91:20","61:113:20","103:54:20","49:87:20","71:121:20","23:172:20","109:163:20","95:115:20","41:103:20","43:66:20","78:146:20"];var J=["20:13:10","13:56:10","22:26:10","62:34:10","12:52:10","75:41:10","53:20:10","9:68:10","-6:53:10","90:26:10","29:6:10","53:91:20","77:120:20","119:61:20","78:87:20","106:115:20","15:172:20","121:157:20","116:115:20","62:103:20","71:66:20","106:146:20"];var H=["20:13:10","118:66:10","22:26:10","89:50:10","104:62:10","108:31:10","136:37:10","160:88:10","114:108:10","141:38:10","31:7:10","1:91:20","0:126:20","42:67:20","2:87:20","10:113:20","3:161:20","108:175:20","59:119:20","5:107:20","0:71:20","35:151:20"];var G=[];var I,E,D,C,B;var A="";var F="";var O;G.push("bg-hill");G.push("bg-moon");G.push("bg-"+_bg);if(_bg=="graveyard"){G.push("bg-"+_bg+"-1");C=L}else{if(_bg=="hauntedhouse"){C=J}else{if(_bg=="deadtree"){C=H}}}G.push("ighw-main-"+_hm);if(_hm=="devil"){G.push("ighw-main-"+_hm+"-fire")}else{if(_hm=="pumpkins"){G.push("ighw-main-"+_hm+"-1")}else{if(_hm=="trickortreat"){G.push("ighw-main-"+_hm+"-txt")}else{if(_hm=="witch"){G.push("ighw-main-"+_hm+"-chaudron")}}}}G.push("ighw-deco-"+_dc);for(I=0;I<G.length;I++){if(G[I].indexOf("bg-")==0){E=N;D=M}else{E=K;D=C}F=FN3(G[I],E,D);O=F.split(":");B='<img style="position:absolute; left:%x%px; top:%y%px; z-index:%z%" src="'+_IG_GetImageUrl("http://tinyurl.com/"+G[I])+'" border="0" alt="Happy Halloween">';A+=B.replace("%x%",O[0]).replace("%y%",O[1]).replace("%z%",O[2])}_gel("wall").innerHTML=A;_gel("message").innerHTML=FN0(_msg);_gel("msg_img_pumpkin").src=_IG_GetImageUrl("http://tinyurl.com/ighw-msg-pumpkin1");_gel("msg_img_ghost").src=_IG_GetImageUrl("http://tinyurl.com/ighw-msg-pumpkin")}FN4();
</script>
]]></Content>
</Module>

