<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs
height="300"
title="__UP_title__"
directory_title="Hotmail: Now with Full-Screen viewing"
description="Convenient access to your hotmail account from your home page.  Keep up with your email easily with this minaturized version of hotmail.  Now with improved canvas view you can also view the gadget full screen for easier reading."
title_url="http://www.gingagadgets.com/hub.php?caller=hotmail2"
screenshot="http://hosting.gmodules.com/ig/gadgets/file/109859150862124727573/screenshot_hotmail.png"
thumbnail="http://hosting.gmodules.com/ig/gadgets/file/109859150862124727573/thumbnail_hotmail.png"
singleton="false" author="Ginga"
author_email="ginga.gadgets@gmail.com" author_location="USA"
author_photo="http://ginga.gadgets.googlepages.com/authorphoto.png"
author_aboutme="Restless"
author_quote="Less is more"
author_link="http://gingagadgets.com"
author_affiliation="ginga gadgets" category="funandgames" category2="lifestyle">
<Require feature="minimessage"/>
<Require feature="analytics" /> 
<Require feature="dynamic-height"/>
<Require feature="views"/> 



</ModulePrefs>

<UserPref name="title" display_name="Title" default_value="Hotmail" /> 



<Content type="html" view="home,profile,default">
<![CDATA[



	 



	 <!-- Anchor everything -->
	 
<div id="msg_div" style="margin:0px">
                   <div id="pre_link_bar_div" style="display:none;">
 Hotmail Convenient access to your hotmail account from your home page.  Keep up with your email easily with this minaturized version of hotmail.  Now with improved canvas view you can also view the gadget full screen for easier reading. 
                   </div> 
                   <div id="link_bar_div" style="display:none;">
<script type="text/javascript">
google_ad_client = "pub-8565751766874039";
// link bar for minimsg 468x15, created 1/12/09 
google_ad_slot = "5910059736";
google_ad_width = 468;
google_ad_height = 15;
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
                   </div>
                  </div> 	 <!-- Anchor everything -->
	 <div id="msg_div"></div>
	 <div id="nav_bar"></div>
	 <div id="content_div" align="center"></div>

	 <!-- Dynamic content -->
	 <script type="text/javascript">


	 // Run onload
	 _IG_RegisterOnloadHandler(init);

	 // Called on startup !
	 function init() {
 	   display();
	 }

	 function resize() {
	   _IG_AdjustIFrameHeight();
	 }
	 
	 function goToView(dest) {
	   var supported_views = gadgets.views.getSupportedViews();
	   gadgets.views.requestNavigateTo(supported_views[dest]);
	 };

	 
	 function display() {
	   var html = '<iframe name="mobilehotmail" src="http://mobile.live.com/hm/" height="400" width="100%" frameborder="0" marginwidth="0" marginheight="0"></iframe>';
	   var syndication = _args()["synd"];
	     if(syndication == undefined || syndication == "ig") {
	       // iGoogle homepage
	       var extra_link = ' | <a href="javascript:goToView(\'canvas\')" style="color: blue;">Full Screen</a>';
	     }
	     else if(syndication == "open") {
	       // gadget in a webpage
	       var extra_link = '';
	     }


	   var nav = '<div style="font-size:x-small; border-top: 1px solid rgb(180, 152, 220); width: 100%; background-color: rgb(235, 235, 253);"><a onclick="frames[\'mobilehotmail\'].location.href=\'http://mobile.live.com/hm/folder.aspx?bf=1&folder=ACTIVE&msg=0\'" href="javascript:void(null)" style="color: blue;">Inbox</a> |			<a onclick="frames[\'mobilehotmail\'].location.href=\'http://mobile.live.com/hm/c.aspx?rru=folder.aspx%3ffolder%3dACTIVE\'" href="javascript:void(null)" style="color: blue;">Compose</a> | 			<a onclick="frames[\'mobilehotmail\'].location.href=\'http://mobile.live.com/hm/folders.aspx?bf=1\'" href="javascript:void(null)" style="color: blue;">Folders</a> | <a onclick="frames[\'mobilehotmail\'].location.href=\'http://mobile.live.com/hm/contacts.aspx?bf=1\'" href="javascript:void(null)" style="color: blue;">Contacts</a>' + extra_link + '</div>';

	   _gel('nav_bar').innerHTML = nav;
	   _gel('content_div').innerHTML = html;
	   
	   resize();
	 }

	 </script>


<!-- AddThis Button BEGIN -->
<script type="text/javascript">var addthis_pub="ginga.gadgets";var addthis_options = "facebook, digg, delicious, myspace, reddit, buzz, twitter, stumbleupon";</script>
<script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script>
<!-- AddThis Button END -->

	 <script type="text/javascript">
	 // link bar controls
         var subvert_mini_msg = 50;
         var syndication = _args()["synd"];
 
         if (syndication != "open" && Math.floor(Math.random()*101) < subvert_mini_msg ) {
           _gel('link_bar_div').style.display = "";
           _IG_AdjustIFrameHeight();
         } else {

	 // Promotion
	 var msg = new _IG_MiniMessage(__MODULE_ID__,_gel("msg_div"));
	 
	 
         // CONTEXTUALIZE:
	 _IG_FetchContent('http://www.gingagadgets.com/lib/message_center.php?caller=hotmail2&platform=', function (responseText) {
	   
           // check responseText for crap
           if ( /Service Temporarily Unavailable/.test(responseText) ) { 
             // if found do default msg
             responseText = '<span style="font-size:9px;"><a target="_blank" href="http://gingagadgets.com" onClick="_IG_Analytics(\'UA-2621463-1\',\'/minimsg_refer/spike/DIRECTED_USER_TO_GINGA_ERROR\');">Many more gadgets at GingaGadgets.com</a></span>';
           } 

           statusMsg = msg.createDismissibleMessage(responseText,resize);
	   statusMsg.style.backgroundColor = "white";
           _IG_AdjustIFrameHeight();
	 });

         }
         // end else to control link bar
	 
	 function resize() {
	   _IG_AdjustIFrameHeight();
	 }

	 // CONTEXTUALIZE:
	 _IG_Analytics("UA-2621463-1", "/hotmail2");

	resize();
	 </script>

   ]]></Content>

<Content type="html" view="canvas">
<![CDATA[
<script type="text/javascript">
function goToView(dest) {
  var supported_views = gadgets.views.getSupportedViews();
  gadgets.views.requestNavigateTo(supported_views[dest]);
};

var syndication = _args()["synd"];
  if(syndication == undefined || syndication == "ig") {
    // iGoogle homepage
    var extra_link = ' | <a href="javascript:goToView(\'home\')" style="color: blue;">Minimize</a>';
    
  }
  else if(syndication == "open") {
    // gadget in a webpage
    var extra_link = '';
  }

</script>

<table height="2200" width="100%" margin="0" padding="0" cellspacing="0">
<tr><td colspan="2">
<div id="nav_barC"><div style="font-size:x-small; border-top: 1px solid rgb(180, 152, 220); width: 100%; background-color: rgb(235, 235, 253);"><a onclick="frames['mobilehotmailC'].location.href='http://mobile.live.com/hm/folder.aspx?bf=1&folder=ACTIVE&msg=0'" href="javascript:void(null)" style="color: blue;">Inbox</a> |			<a onclick="frames['mobilehotmailC'].location.href='http://mobile.live.com/hm/c.aspx?rru=folder.aspx%3ffolder%3dACTIVE'" href="javascript:void(null)" style="color: blue;">Compose</a> | 			<a onclick="frames['mobilehotmailC'].location.href='http://mobile.live.com/hm/folders.aspx?bf=1'" href="javascript:void(null)" style="color: blue;">Folders</a> | <a onclick="frames['mobilehotmailC'].location.href='http://mobile.live.com/hm/contacts.aspx?bf=1'" href="javascript:void(null)" style="color: blue;">Contacts</a>

<script type="text/javascript">
document.write(extra_link);
</script>

</div></div>

</td>
</tr>

<tr height="100%">

<td width="100%">
 <iframe name="mobilehotmailC" src="http://mobile.live.com/hm/" width="100%" height="100%" frameborder="0" scrolling="no" margin="0px" padding="0px"></iframe> 
</td>
<td valign="top">
<script type="text/javascript"><!--
google_ad_client = "pub-8565751766874039";
/* 160x600, Hotmail */
google_ad_slot = "9595236286";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>

</tr>
</table>

<script type="text/javascript">
_IG_AdjustIFrameHeight();

 // CONTEXTUALIZE:
  
</script>


 <script type="text/javascript">
 // CONTEXTUALIZE:
  _IG_Analytics("UA-2621463-1", "/canvas_view/hotmail2");
 </script>
 
]]></Content>
</Module>
