<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Amazon multi-searcher"
directory_title="Amazon multi-searcher"
  
description="All of the Amazon's shops at your finger tips. Easily search Amazon.com, Amazon.co.uk, Amazon.ca, Amazon.de, Amazon.fr, Amazon.co.jp. If you are an Amazon Associate you can also configure with you own associate id"
author="Chris Graham"
author_email="timeandrelative@gmail.com"
author_affiliation="none"
author_location="London, UK"
screenshot="http://hosting.gmodules.com/ig/gadgets/file/117940367218676453858/amazon_search.gif"
thumbnail="http://hosting.gmodules.com/ig/gadgets/file/117940367218676453858/amazon_search_thumbnail.gif"
author_link="http://extremesaving.blogspot.com"
height="170"
width="180"
scrolling="false"
singleton="false">
<Require feature="tabs" />
<Require feature="analytics"/>
</ModulePrefs>
<UserPref name="US" display_name="US aff. id" datatype="string" default_value="discounter-20"/>
<UserPref name="UK" display_name="UK aff. id" datatype="string" default_value="discounter-21"/>
<UserPref name="DE" display_name="DE aff. id" datatype="string" default_value="discounteee-21"/>
<UserPref name="FR" display_name="FR aff. id" datatype="string" default_value="discountee-21"/>
<UserPref name="CA" display_name="CA aff. id" datatype="string" default_value="discountee-20"/>
<UserPref name="JP" display_name="JP aff. id" datatype="string" default_value="discounter-22"/>
<UserPref name="Country" 
     display_name="Highlighted tab:"
     datatype="enum"

     default_value="US">
  <EnumValue value="US" display_value="US"/>
  <EnumValue value="UK" display_value="UK"/>
<EnumValue value="DE" display_value="DE"/>
<EnumValue value="FR" display_value="FR"/>
  <EnumValue value="CA" display_value="CA"/>
   <EnumValue value="JP" display_value="JP"/>
</UserPref>
                           
<Content type="html">
<![CDATA[


<script type="text/javascript">

var prefs = new _IG_Prefs();  
  
// Initialize tabs, designate the tab named "US" as
// the tab selected by default. Or whatever the user has selected.
var tabs = new _IG_Tabs(__MODULE_ID__, prefs.getString("Country"));
function init() {

tabs.addTab("US", "one_id");

tabs.addTab("UK", "two_id");
tabs.addTab("DE", "three_id");
tabs.addTab("FR", "four_id");
tabs.addTab("CA", "five_id");
tabs.addTab("JP", "six_id");
}

// Call init function to initialize and display tabs.
_IG_RegisterOnloadHandler(init);
</script>
<div id="one_id" style="display:none">
<iframe id="frameone" src="http://rcm.amazon.com/e/cm?t=discounter-20&o=1&p=27&l=qs1&f=ifr" width="180" height="150" frameborder="0" scrolling="no"></iframe></div>
<div id="two_id" style="display:none">
  <iframe id="frametwo" src="http://rcm-uk.amazon.co.uk/e/cm?t=discounter-21&o=2&p=27&l=qs1&f=ifr" width="180" height="150" frameborder="0" scrolling="no"></iframe>
</div>
<div id="three_id" style="display:none">
  <iframe id="framethree" src="http://rcm-de.amazon.de/e/cm?t=discounteee-21&o=3&p=27&l=qs1&f=ifr" width="180" height="150" frameborder="0" scrolling="no"></iframe>
</div>
<div id="four_id" style="display:none">
  <iframe id="framefour" src="http://rcm-fr.amazon.fr/e/cm?t=discountee-21&o=8&p=27&l=qs1&f=ifr" width="180" height="150" frameborder="0" scrolling="no"></iframe>
</div>
<div id="five_id" style="display:none">
  <iframe id="framefive" src="http://rcm-ca.amazon.ca/e/cm?t=discountee-20&o=15&p=27&l=qs1&f=ifr" width="180" height="150" frameborder="0" scrolling="no"></iframe>
</div>
<div id="six_id" style="display:none">
  <iframe id="framesix" src="http://rcm-jp.amazon.co.jp/e/cm?t=discounter-22&o=9&p=27&l=qs1&f=ifr" width="180" height="150" frameborder="0" scrolling="no"></iframe>
</div>
<script>
document.all.framesix.src= "http://rcm-jp.amazon.co.jp/e/cm?t=" + prefs.getString("JP") +"&o=9&p=27&l=qs1&f=ifr";    
document.all.framefive.src= "http://rcm-ca.amazon.ca/e/cm?t=" + prefs.getString("CA") +"&o=15&p=27&l=qs1&f=ifr";    
document.all.framefour.src= "http://rcm-fr.amazon.fr/e/cm?t=" + prefs.getString("FR") +"&o=8&p=27&l=qs1&f=ifr";    
document.all.framethree.src= "http://rcm-de.amazon.de/e/cm?t=" + prefs.getString("DE") +"&o=3&p=27&l=qs1&f=ifr";  
document.all.frametwo.src= "http://rcm-uk.amazon.co.uk/e/cm?t=" + prefs.getString("UK") +"&o=2&p=27&l=qs1&f=ifr";
document.all.frameone.src= "http://rcm.amazon.com/e/cm?t=" + prefs.getString("US") +"&o=1&p=27&l=qs1&f=ifr";
_IG_Analytics("UA-207129-3", "/amazonmultisearcher");
</script>
]]>
</Content>
</Module>

