<?xml version="1.0" encoding="UTF-8"?>
<Module>
	<ModulePrefs
		title="__MSG_app_title__"
		title_url="http://www.google.com/ig/directory?url=http://webmayhem.eamobile.com/mayhem/scrabble/igoogle/gadget.xml"
		category="fun and games"
		description="SCRABBLE spells F-U-N for all! This new version of the original board game includes built-in chat and dictionary, multiple word lists, dynamic animations, and multiple speed settings for public games. An easy-to-use interface lets you play with anyone who loves the game! Great fun for all skill levels.

		PLEASE NOTE:
Scrabble Beta is only available in the United States and Canada."
		author="Electronic Arts"
		author_email="scrabbleigooglehelp@ea.com"
		author_photo="http://webmayhem.eamobile.com/mayhem/scrabble/igoogle/author_photo.png"
		author_aboutme="Electronic Arts Inc. (EA), headquartered in Redwood City, California, a leading global interactive entertainment software company. Founded in 1982, the Company develops, publishes, and distributes interactive software worldwide for video game systems, personal computers, wireless devices and the Internet."
		author_link="http://www.ea.com/"
		screenshot="http://static.cdn.ea.com/mayhem/u/f/ig/1.0.22/screenshot.jpg"
		thumbnail="http://webmayhem.eamobile.com/mayhem/scrabble/igoogle/thumbnail.png"
		scrolling="true"
		>
		<Require feature="opensocial-0.8" />
		<Require feature="views" />
		<Optional feature="content-rewrite">
			<Param name="include-urls"></Param>
			<Param name="exclude-urls">.*</Param>
			<Param name="include-tags"></Param>
		</Optional>
		<Locale lang="en" country="us" />
		<Locale lang="en" country="ca" />
		<Locale lang="en" country="pr" />
		<Locale messages="http://webmayhem.eamobile.com/mayhem/scrabble/igoogle/ALL_ALL.xml" />
	</ModulePrefs>
	<Content type="html">
		<![CDATA[
		<p>This gadget requires a feature that is not available in your locale at this time. Please check back at a later date.</p>
		]]>
	</Content>
	<Content type="html" view="home">
		<![CDATA[

<!-- ALm6fM3jaNYYFJxj606H15aWrJp0nm8jfM6bCUfwfQyofE4B0NrzH0-dThAa8u-lINhBfwYs_IuxTiWABeCBKZRsenHk6YwZphI1myy32A4hf-VSeuCwBBVeN3aIvW-Qsip1mXMxTsdBQ0VZ5Bqq0_l9DlHQAVAZi1VSSPELtU8xApch8pv2MYw= -->

<!--[if IE 6]>
<style type="text/css"> #gadget { width:expression(document.body.clientWidth < 250 ? "230px" : "100%" ); } </style>
<![endif]-->

<style type="text/css">
	/* General document structure:
	 * #gadget
	 * 	#tabset
	 * 		#games
	 * 			#games_count
	 * 		#notifications
	 * 			#notifications_count
	 * 	#tab_alert
	 * 	#tab_games
	 * 		#tab_games_body
	 * 		#tab_games_empty
	 * 	#tab_notifications
	 */
	body {
		overflow:auto; /* force ie to not take space for vertical scrollbar */
	}
	#gadget {
		min-width:230px;
	}
	#gadget, #gadget td, #gadget th {
		font-family:helvetica,arial,sans-serif;
		font-size:0.7em;
	}
	#tabset {
		padding:8px 0 0 8px;
		color:#a3b8d5;
		font-weight:bold;
		white-space:nowrap;
		background:#f1eff0 url(http://static.cdn.ea.com/mayhem/u/f/ig/1.0.22/icons.gif) no-repeat right -245px;
		border-bottom:1px solid #d7d5d6;
	}
	#tabset a {
		outline:none;
		display:block;
		float:left;
		margin-bottom:-1px;
		margin-right:3px;
		outline:none;
		cursor:pointer;
		text-decoration:none;
		padding:4px;
		padding-left:30px;
		background:#f1eff0 url(http://static.cdn.ea.com/mayhem/u/f/ig/1.0.22/icons.gif) no-repeat;
		border:1px solid #f1eff0;
		border-bottom:1px solid #d7d5d6;
	}
	a, a:visited {
		color:blue;
		cursor:pointer;
	}
	a:hover, a.selected {
		text-decoration:none;
	}
	#tabset a:hover, #tabset a.selected {
		color:#000000;
		background-color:#ffffff;
		border:1px solid #d7d5d6;
		border-bottom:1px solid #ffffff;
	}
	#tabset a#games {
		background-position:2px -29px;
	}
	#tabset a#notifications {
		background-position:2px -90px;
	}
	#tabset a .label {
		text-decoration:underline;
	}
	#tabset a:hover .label, #tabset a.selected .label {
		text-decoration:none;
	}
	#tabs {
		height:165px;
		width:100%;
		overflow:hidden;
		position:relative;
	}
	.tab {
		/* by default tabs are hidden,
		 * we dont play unobtrusive
		 * because js is required.
		 */
		display:none;
		height:160px;
	}
	#tab_alert.tab  {
		display:block;
	}
	#tab_alert, #tab_games_empty {
		padding-top:40px;
		text-align:center;
	}
	table {
		width:100%;
		border-collapse:collapse;
	}
	tr:hover td {
		background-color:#f5f7fa !important; /* making sure row bgcolor is uniform */
	}
	th, td {
		padding:0.3em;
	}
	td {
		white-space:nowrap;
		cursor:pointer;
	}
	th {
		text-align:left;
	}
	th.tileBag {
		text-align:center;
	}
	th.yourTurn {
		width:30px;
	}
	tr .yourTurn {
		text-indent:-1000em;
		overflow:hidden;
	}
	tr td.playTurn {
		background:transparent url(http://static.cdn.ea.com/mayhem/u/f/ig/1.0.22/icons.gif) no-repeat 5px -120px;
	}
	tr td.forfeit {
		background:transparent url(http://static.cdn.ea.com/mayhem/u/f/ig/1.0.22/icons.gif) no-repeat 5px -150px;
	}
	tr td.nudgable {
		background:transparent url(http://static.cdn.ea.com/mayhem/u/f/ig/1.0.22/icons.gif) no-repeat 5px -180px;
	}
	table .tileBag {
		text-align:center;
	}
	#tab_notifications_content {
		width:100%;
		padding-bottom:30px;
		position:absolute;
	}
	#tab_notifications {
		width:100%;
	}
	#tab_notifications p {
		padding:0.5em 0;
		margin:0;
	}
	#tab_notifications .timeago {
		display:block;
		color:#9c9c9e;
	}
	td, p {
		/* alt design is to use background-color with even/odd classes */
		border-bottom:1px solid #cecece;
	}
	.statusbar {
		width:100%;
		height:30px;
		overflow:hidden;
		line-height:2em;
		background:#f1eff0;
		border-top:1px solid #d7d5d6;
		text-align:center;
		position:absolute;
		bottom:-1px;
		left:0;
	}
	.statusbar a {
		padding-right:1em;
		text-decoration:none;
	}
	.statusbar img {
		margin-top:2px;
	}
	.scroll {
		cursor:pointer;
	}
	#create_games {
		display:none;
	}
	a.del {
		display:block;
		width:15px;
		height:15px;
		float:right;
		text-indent:-1000em;
		overflow:hidden;
		background:transparent url(http://static.cdn.ea.com/mayhem/u/f/ig/1.0.22/icons.gif) no-repeat -10px -210px;
	}
</style>

<div id="gadget">
	<div id="tabset">
		<a id="games">
			<span class="label">Games</span>
			(<span id="games_count">?</span>)
		</a>
		<a id="notifications">
			<span class="label">Notifications</span>
			(<span id="notifications_count">?</span>)
		</a>
		<div style="clear:both;"></div>
	</div>

	<div id="tabs">
		<div id="tab_alert" class="tab">
			loading ...
		</div>

		<div id="tab_games" class="tab">
			<table>
				<thead>
					<tr>
						<th class="yourTurn">Your&nbsp;Actions</th>
						<th class="name">Name</th>
						<th class="lastWord">Last&nbsp;Word</th>
						<th class="tileBag">Tiles</th>
					</tr>
				</thead>
				<tbody id="tab_games_body">
				</tbody>
			</table>

			<div id="tab_games_empty">
				You have no active games. Create one!<br /><br />
				<button id="new_game">Create a new game</button>
			</div>

			<div class="statusbar">
				<a id="view_all_games">View&nbsp;my&nbsp;games&nbsp;(<span id="games_count2">?</span>)</a>
				<a id="create_games">Create&nbsp;game</a>
				<a id="share_gadget">Share&nbsp;this&nbsp;gadget</a>
				<a href="https://help.social.ea.com/cgi-bin/easocialnetwork.cfg/php/enduser/std_alp.php?p_cv=&p_pv=2.7521&p_prods=7338%2C7521&prod_lvl1=7338&prod_lvl2=7521" target="_blank">Help</a>
			</div>
		</div>

		<div id="tab_notifications" class="tab">
			<div id="tab_notifications_empty">
				<p>You have no notifications.</p>
			</div>
			<div id="tab_notifications_content"></div>
			<div class="statusbar">
				<img id="scrollUp" class="scroll" src="http://static.cdn.ea.com/mayhem/u/f/ig/1.0.22/up.gif" width="15" height="10" alt="" /><br />
				<img id="scrollDown" class="scroll" src="http://static.cdn.ea.com/mayhem/u/f/ig/1.0.22/down.gif" width="15" height="10" alt="" />

			</div>
		</div>

	</div>
</div>

<script type="text/javascript" src="http://webmayhem.eamobile.com/mayhem/scrabble/igoogle/js/config.js"></script>
<script type="text/javascript" src="http://webmayhem.eamobile.com/mayhem/scrabble/igoogle/js/default.js"></script>
<script type="text/javascript"> gadgets.util.registerOnLoadHandler(initHome); </script>

		]]>
	</Content>
	<Content type="html" view="canvas">
<![CDATA[

<style type="text/css"> #notice, #notice a { font-size:10px; color:gray; } </style>
<div id="tab_alert"></div>

<table width="100%" border="0">
	<tr>
		<td width="633" height="615" valign="top">
			<div id="scrabbleFlashContent"></div>
			<p id="notice">Use of this application is subject to the Electronic Arts <a href="http://tos.ea.com/legalapp/termsandconditions/us/en/pc/scrabble" target="_blank">Privacy Policy</a> and <a href="http://tos.ea.com/legalapp/eula/us/en/pc/scrabble" target="_blank">Terms of Service</a>.</p>
		</td>
		<td width="100" valign="top">
			<script type="text/javascript"><!-- 
				google_ad_client = "pub-5052845688615946"; 
				/* 160x600, created 7/27/09 */ 
				google_ad_slot = "8165729459"; 
				google_ad_width = 160; 
				google_ad_height = 600; 
			//--></script>
			<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
		</td>
		<td width="100%"><div id="ectobalLogging"></div></td>
	</tr>
</table>

<script type="text/javascript">
	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
	document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript" src="http://webmayhem.eamobile.com/mayhem/scrabble/igoogle/js/config.js"></script>
<script type="text/javascript" src="http://webmayhem.eamobile.com/mayhem/scrabble/igoogle/js/default.js"></script>
<script type="text/javascript" src="http://webmayhem.eamobile.com/mayhem/scrabble/igoogle/js/swfobject.js"></script>
<script type="text/javascript"> gadgets.util.registerOnLoadHandler(initCanvas); </script>
<script type="text/javascript">
	var pageTracker = _gat._getTracker(globals.config._tracker);
	pageTracker._initData();
	// pageTracker._trackPageview();
</script>

    ]]>
	</Content>
</Module>
<!--
vim: ft=gadgetxml
-->
