<?xml version="1.0" encoding="UTF-8" ?>
    <module>
    <ModulePrefs title="Flickr" 
    directory_title = "Flickr"
    category="tools" 
    height="310" 
    description="The Flickr widget initially displays &quot;interesting&quot; photos from Flickr - one of the premiere online photo sharing sites.  You can move your mouse over the widget to see the controls for the slideshow, including stop, play, forward, etc.  In addition, you can click on the edit dropdown to change views (thumb or slideshow), search for photos or users, set the current photo as your start page background and even pop out photos.  If you pop out a photo (you can also do this by clicking on the photo in the Flickr mini and holding down the mouse button as you drag it out of the widget) you can then move the photo around in your start page, rotate it by clicking and dragging the lower left corner), and use it to create cool photo collages.  You can also completely customize the appearance of the widget by clicking on the color picker icon to change the background color, the background border to be square or rounded, add a transparency level and even add a custom background image."
    author="yourminis.com"
    author_email=""
    title_url="http://www.yourminis.com/minis/yourminis/yourminis/mini:flickr"
    screenshot="http://ct.yourminis.com/Images/WidgetImage.api?uri=yourminis/yourminis/mini:flickr&amp;ext=_screenshot"
    thumbnail="http://ct.yourminis.com/Images/WidgetImage.api?uri=yourminis/yourminis/mini:flickr&amp;ext=_iggallery"
    author_link=""
    author_photo=""
    author_location="">
    <Require feature="setprefs"/>
    <Require feature="dynamic-height"/>
    </ModulePrefs>
    <UserPref 
    name="embedtxt" 
    default_value="" 
    datatype="hidden"/> 
  <Content type="html">
<![CDATA[
<script type="text/javascript" src="http://www.yourminis.com/scripts/ymswfobject.js"></script>
<script type="text/javascript">
_IG_RegisterOnloadHandler(init__MODULE_ID__); 
var prefs;
function init__MODULE_ID__(){
    prefs = new _IG_Prefs(__MODULE_ID__);
    var movie = "http://www.yourminis.com/Dir/GetContainer.api?uri=yourminis/yourminis/mini:flickr&container=1";
    var bgcolor = "FFFFFF";
    var flashContent = _gel("div634013038987528660");
    var flashVars = prefs.getString("embedtxt");
    if (!flashVars) flashVars = "mininame=flickr&height=300&xheight=310&xwidth=250&width=240&uri=yourminis%2fyourminis%2fmini%3aflickr&swfurl=%2fwidget_flickr.swf&";
    flashVars = "__uniqueID=634013038987528660&" + flashVars;
    flashContent.style.height = document.body.clientHeight +"px";
    var so = new ymSWFObject('http://www.yourminis.com/Dir/GetContainer.api?uri=yourminis/yourminis/mini:flickr&container=1', 'mymovie', '100%', '310',flashVars,'8');
    so.addParam("wmode", "transparent");
    so.addParam("allowScriptAccess","always");
    so.addParam("allowFullScreen","true");
	so.write("div634013038987528660");
	_IG_AdjustIFrameHeight();      
}

function updateEmbed(val)
{
    val = _hesc(val);
    val = val.replace(/&/g,"&amp;");
    prefs.set("embedtxt", val);
}

window.onresize = function(){
    //_gel("flashContent").style.height=document.body.clientHeight+"px";
    //_gel("flashContent").style.width=document.body.clientWidth+"px";
}

if (!this['uniqueIDs']) uniqueIDs = {};
uniqueIDs['634013038987528660'] = updateEmbed;

</script>
<div style="height:auto;"/></div>
<div><div id="div634013038987528660" style="height:auto;"/></div>
<div style="height:auto;"/></div>
  ]]> 
  </Content>
</module>
