<?xml version="1.0" encoding="UTF-8"?>
<Module>
	<ModulePrefs author="LabPixies"
	author_email="diversions@nytimes.com"
	description="Classic Puzzle from The New York Times Archive, Enjoy this free weekly puzzle from the New York Times archive, updated every Monday"
	screenshot="http://graphics8.nytimes.com/images/promos/crosswords/gadget/screenshot.gif"
	title="NY Times Crossword"
	title_url="http://www.nytimes.com/crosswords"
	thumbnail="http://graphics8.nytimes.com/images/promos/crosswords/gadget/thumbnail.gif" height="150" render_inline="never" >
		<Require feature="dynamic-height"/>
		<Require feature="setprefs" />
		<Require feature="views" />
	</ModulePrefs>
	
	<UserPref name="nyt_puzzle_save" datatype="hidden"	default_value="" /> 
	<UserPref name="usr_puzzle_save" datatype="hidden"	default_value="" />
	<UserPref name="do_not_ask" datatype="hidden"	default_value="0" /> 
	<UserPref name="checked_answers" datatype="hidden"	default_value="0" />
	<UserPref name="submitted_puzzle" datatype="hidden"	default_value="0" /> 
	<UserPref name="hide_social" datatype="hidden"	default_value="0" />	
	<UserPref name="usr_stats_save" datatype="hidden"	default_value="" />
	<UserPref name="nyt_score_save" datatype="hidden"	default_value="" />

	<Content type="html" view="canvas">
    <![CDATA[
<!-- ALm6fM0OzlUr7I8Imp0lJraH8QRMlLnULfVi96csn1dOgOYYTQ_6bdKskFGWv4eZhCFJ8evjarVibQWT90nOccwpWYLSztDxmrE1Lk36C7RbKlQvLzJOzEMHZzNY6VT1DYTOetMgPEohp1Pma1bkK8vVXVyeyU80dA== -->
<!-- ALm6fM3NMhWayxhuQVxBvrotIW0El5su3RYnIReYUVumAL2SwSZ4fwjWWTv0LUo8LbCZswnML4Da4m7WifMQEAXS5QR5jfPIuWoomSg3Ltp-Ye3pYHgwoxWm-t1Hrx9pyU45nv-RrwL5eGs4n8FP6-Ic7AHVz2g-XA== -->
<!-- ALm6fM3gPKEEMIvwsJ2_3uDnVLLY5UXN_n0Nhmgo9C93hwDkKLR1thU4c55GE3ZligODUPYYR3VLbMXKBTORl6nu6-jOFxFjSBsOexu6dOm0mN_3_2TtJ9hd8AYdiRKFsye8Q51FDcP2xCoRul-VVV57ne6ZibwGuA== -->
<!-- ALm6fM3-ax11eXJe8pVQ2mHSkGXh4jU5khWS-QbczaExHYPn9TLQF9ndg51HwEZH4IuF5_fBzMVR9awjwMpIZ-5J4nnBx15WbLqb8MuEeLEdQIMaABzjmTW7Ld7bj0rbk14k1O5Nhbrt4dP5rhvAkS1Kn6vw8RpHnA== -->
<!-- ALm6fM0CMiX_52L-F2j0CZz-VwASyqOSSii_ur8lhsl6Cyr4ffXL7TmMXsxAJeNXQmsK47BQDhDvnb4rGjmd8zAkfITLm3Yx0pn4s7qPPQO-sGOtvwxibywFc1rB4y8REtHX-mTM39j_lfZKGDY1hT7t4FfXplUWgCHhSukY7EPwi94XcxJAMrY= -->
    	<style type="text/css">
		
		body {margin: 0px;padding:0px;}
		
		.control_button{
            font-family: Arial;
			font-size: 12px;
        }

		.style1 {
			font-family: Arial, Helvetica, sans-serif;
			font-size: 10px;
			color: #666666;
		}
		.style2 {
			font-family: Arial, Helvetica, sans-serif;
			font-size: 11px;
			color: #666666;
		}
		.style3 {font-size: 1px}
		.style5 {
			font-size: 11px;
			color: #333333;
			font-family: Arial, Helvetica, sans-serif;
			font-weight: bold;
		}
		.style6 {
			font-family: Georgia, Times New Roman, Times, serif;
			font-size: 12px;
			color: #333333;
			line-height: 12px;
		}
		.style7 {
			font-family: Arial, Helvetica, sans-serif;
			font-size: 10px;
			font-weight: bold;
			color: #004276;
		}
		.style9 {
			font-family: Arial, Helvetica, sans-serif;
			cursor: pointer;
			font-size: 11px;
			color: #000000;
		}
		.style10 {
			font-family: Arial, Helvetica, sans-serif;
			font-size: 10px;
			color: #333333;
			cursor: pointer;
			height : 14px;
		}
		.style11 {
			font-family: Arial, Helvetica, sans-serif;
			font-size: 12px;
			color: #000000;
		}
		.style12 {
			font-family: Georgia, Times New Roman, Times, serif;
			font-size: 12px;
			font-weight: bold;
		}
		.style13 {
			font-family: Arial, Helvetica, sans-serif;
			font-size: 12px;
			color: #E2001A;
			font-weight: bold;
		}
		.style14 {
			font-family: Georgia, Times New Roman, Times, serif;
			font-size: 14px;
		}
		.style16 {font-size: 16px; color: #CC0000; font-family: Georgia, Times New Roman, Times, serif;}
		
		.style17 {
			font-family: Georgia, Times New Roman, Times, serif;
			font-size: 12px;
			color: #000000;
		}
    .regularCanvasDef{
			font-family: Georgia, Times New Roman, Times, serif;
			font-size: 12px;
			color: #4C4C4C;
			line-height: 14px;
    }
    .selectedCanvasDef{
      background-color: #d2d2d2;
      border: solid 1px red;
      font-family: Georgia, Times New Roman, Times, serif;
			font-size: 12px;
			color: #000000;
      line-height: 14px;
    }
    .highlightedCanvasDef{
      background-color: #E1E1E1;
      font-family: Georgia, Times New Roman, Times, serif;
			font-size: 12px;
			color: #4C4C4C;
      line-height: 14px;
    }
    .topButton{
      font-family: Arial;
			font-size: 11px;
			color: #000000;
      border: solid 1px #000000;
      font-weight: bold;
      padding-right: 2px;
      padding-left: 2px;
      margin-left: 7px;
      
    }
    .topLabel{
      font-family: Arial;
			font-size: 11px;
			color: #000000;
      font-weight: bold;
    }
    .topButtonOn{
      font-family: Arial;
			font-size: 11px;
			color: #004276;
      border: solid 1px #004276;
      font-weight: bold;
      padding-right: 2px;
      padding-left: 2px;
       margin-left: 7px;
       
    }
    
    .defsArea{
      font-size:14px;
      font-family:arial;
      color:#000000;
      font-weight: bold;
      border-right: solid 1px #000000;
      border-bottom: solid 1px #000000;
      border-top: solid 1px #000000;
    }
    .defsBorder{
      border-right: solid 1px #000000;
      border-bottom: solid 1px #000000;
    }
    .adStyle{
      padding-top:10px;
      font-family:Georgia, Times New Roman, Times, serif;
      font-size:12px;
      color:#004276;
    }
    
    .holder {
				float: left;
				
			}
			.scroll-pane {
				
				overflow: auto;
				float: left;
				height: 200px;
			}
			.osX .jScrollPaneTrack {
				
			}
			.osX .jScrollPaneDrag {
				background: url();
	      background-repeat: repeat-y;
			}
			.osX .jScrollPaneDragTop {
				
			}
			.osX .jScrollPaneDragBottom {
				
			}
			.osX a.jScrollArrowUp {
				height: 12px;
			}
			.osX a.jScrollArrowUp:hover {
				height: 12px;
			}
			.osX a.jScrollArrowDown {
				height: 12px;
				
			}
			.osX a.jScrollArrowDown:hover {
				height: 12px;
			}
			.left .jScrollPaneTrack {
				left: 0;
				right: auto;
			}
			.left a.jScrollArrowUp {
				left: 0;
				right: auto;
			}
			.left a.jScrollArrowDown {
				left: 0;
				right: auto;
			}
		
			
			/* IE SPECIFIC HACKED STYLES */
			* html .NYT .jScrollPaneDragBottom {
				bottom: -1px;
			}
			/* /IE SPECIFIC HACKED STYLES */
      
      .jScrollPaneContainer {
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.jScrollPaneTrack {
	position: absolute;
	cursor: pointer;
	right: 0;
	top: 0;
	height: 100%;
	background: #aaa;
}
.jScrollPaneDrag {
	position: absolute;
	background: #666;
	cursor: pointer;
	overflow: hidden;
}
.jScrollPaneDragTop {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
}
.jScrollPaneDragBottom {
	position: absolute;
	bottom: 0;
	left: 0;
	overflow: hidden;
}
a.jScrollArrowUp {
	display: block;
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	text-indent: -2000px;
	overflow: hidden;
	/*background-color: #666;*/
	height: 12px;
}
a.jScrollArrowUp:hover {
	/*background-color: #f60;*/
}

a.jScrollArrowDown {
	display: block;
	position: absolute;
	z-index: 1;
	bottom: 0;
	right: 0;
	text-indent: -2000px;
	overflow: hidden;
	/*background-color: #666;*/
	height: 12px;
}
a.jScrollArrowDown:hover {
	/*background-color: #f60;*/
}
a.jScrollActiveArrowButton, a.jScrollActiveArrowButton:hover {
	/*background-color: #f00;*/
}

		</style>
		
		<script src="http://www.nytimes.com/adx/bin/adx_remote.html?type=fastscript&page=google.nytimes.com/gadget/crossword&posall=CrosswordBig,TopAd,Inv1,Inv2,Inv3&query=qstring&keywords=?"></script>		
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
		<script type="text/javascript">
			var IMAGES_BASE_LP="http://dev.nytgadget.appspot.com/static/images/";
			
			var mJQONE = _IG_GetCachedUrl("http://dev.nytgadget.appspot.com/static/jquery.dimensions.js");
			document.write('<scr'+'ipt type="text/javascript" src="'+mJQONE+'"></scr'+'ipt>');
			var mJQTWO = _IG_GetCachedUrl("http://dev.nytgadget.appspot.com/static/jquery.mousewheel.js");
			document.write('<scr'+'ipt type="text/javascript" src="'+mJQTWO+'"></scr'+'ipt>');
			var mJQTHREE = _IG_GetCachedUrl("http://dev.nytgadget.appspot.com/static/jscrollpane.js");
			document.write('<scr'+'ipt type="text/javascript" src="'+mJQTHREE+'"></scr'+'ipt>');
			var mPUZZLE =  _IG_GetCachedUrl("http://nytgadget.appspot.com/static/puzzle_so.js?id=39");
			document.write('<scr'+'ipt type="text/javascript" src="'+mPUZZLE+'"></scr'+'ipt>');
			
			if(typeof(isDefault)=='undefined'){
                isDefault = false;
            }
		</script>
    
    <div id="wrap" width="100%" style="width:100%;">
      <!-- Main Puzzle Table -->
      <table   width="100%" id="mainTbl"   border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td >
            <table  border="0" cellpadding="0" cellspacing="0">
              <!-- title logo + menu section -->
              <tr>
                <td width="100%" >
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="305" id="titleCont" align="left">
                        <a href="http://www.nytimes.com/crosswords" target="_blank" >
                          <img border="0" id="canvasLogo" />
                        </a>
                      </td>
                      <td id="stats_holder" width="100%" align="right" valign="bottom">
                        <!-- Put stats here-->
                        <table id="stats_table" style="display:none; font-family:arial;font-size:12px;border: solid 2px #c3d9ff;background-color: #e0edfe;padding:3px;"  cellspacing="0" cellpadding="0">
                            <tr><td>This week's puzzle: <strong><span id="perc_disp"></span>% complete</strong></td></tr>
                            <tr><td>My score: <strong><span id="score_disp">0</span> points</strong></td></tr>
                            <tr><td><a href="javascript:void(0);" onclick="showMessage('Instructions','instructions',300);">Instructions</a></td></tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
              <!-- Author/Date + info section -->
              <tr>
                <td align="left" height="26" valign="top" class="style1">
                    <div id="author_date">
                    <span class="style1" id="dateStr">&nbsp;</span>&#8226;
                    <span class="style1" id="authorStr">&nbsp;</span>&nbsp;
                    <img style="display:none;" id="infoButton"  onclick="showMessage('Note','notepad',300);" />
                    </div>
                </td>
              </tr>
              
              
              <tr>
                <td align="center" >
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <!-- Main puzzle area -->              
                      <td valign="top">
                        <div class="style17" id="outer" style="width:100%;"><span class="style11">Loading content, please wait...</span><br/>&nbsp;</div>
                      </td>
                      <!-- Across definitions area -->
                      <td id="across_td" valign="top" style="display:none;">
                        <table border="0" cellspacing="0" cellpadding="0">
                          <tr><td id="acrossTitle" class="defsArea" align="left" height="25" >&nbsp;Across</td></tr>
                          <tr><td id="acrossDefsCont" class="holder defsBorder"><div id="acrossDefs" class="scroll-pane" ></div></td></tr>
                        </table>
                      </td>
                      <!-- Down definitions area -->
                      <td id="down_td" valign="top" style="display:none;">
                        <table border="0" cellspacing="0" cellpadding="0">
                          <tr><td id="downTitle" class="defsArea" align="left" height="25" >&nbsp;Down</td></tr>
                          <tr><td id="downDefsCont" class="holder defsBorder"><div id="downDefs" class="scroll-pane" ></div></td></tr>
                        </table>
                      </td>
                    </tr> 
                  </table>
                </td>
              </tr>
              
            </table>
          </td>
        </tr>
      </table>
			


		<!-- Notepad popup -->
		<div onclick="hideMessage();" id="notepad" style="padding:5px;display:none;"  border="0" cellpadding="0" cellspacing="0">
				 <p class="style11" id="notepadText">&nbsp;</p>
		</div>
    
    <div id="instructions" style="display:none;padding-left:5px;">
      <p class="style11">Classic Puzzle from The New York Times Archive, updated every Monday.<br/><br/>The puzzle's clues are displayed on the right; scroll through the "Across" or "Down" definitions or simply click the desired puzzle cell to view its clue. Your score is calculated each time you submit a puzzle and is based on the number of correct words you solved. Each puzzle can be submitted only once per week.<br/><br/>Hints are available using the bottom menu; select "Letter", "Word", or "All" and press "Go". Note that using hints will lower your total score. After submitting your puzzle you will be able to check your answers against the puzzle solution. Enjoy!</p>
    </div>
		<!-- general popup -->
		<div id="allMenu" style="display:none;">
      <table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:white;">
						<tr>
							<td  valign="top" class="style11" align="left" style="padding:5px;">
								<p align="left" class="style11" id="allQuestion" style="margin-top:10px;margin-bottom:10px;"></p>
								<p align="left" class="style11" id="allQuestion2" style="display:none;margin-bottom:10px;"></p>
								<div class="style11" style="text-align:center;margin-top:20px;"><input value="Yes" border="0" id="yes" type="button" class="control_button" />&nbsp;<input class="control_button" value="No" onclick="hideMessage();" border="0" id="no" type="button"/></div>
								<div id="popup_checkbox" style="margin-top:10px;"><input type="checkbox" id="do_not_check" /> Do not ask me again</div>
							</td>
						</tr>
					</table>
		</div>
		
		<!-- Get Answer screen -->
		<div id="getAnswerContent" style="display:none;padding:5px;">
            Get Answer content will load here
        </div>
		
		
		<!-- Congratulation screen -->
		<table id="congratMenu" style="display:none;"  border="0" cellpadding="0" cellspacing="0" width="100%">
				  <tr>
				    <td width="8">&nbsp;</td>
				    <td><table  border="0" cellpadding="0" cellspacing="0" width="100%">
				      
				      <tr>
				        <td height="10" class="style3">&nbsp;</td>
				      </tr>
				      <tr>
				        <td valign="top" width="100%">
                  <p align="left" class="style11" id="congratsMSG">You have successfully solved the puzzle!</p>
				          <div style="text-align:center;"><input onclick="hideMessage();" class="control_button" value="Ok" type="button" id="ok" style="margin-bottom:5px;"/></div></td>
				      </tr>
				    </table></td>
				    <td width="8">&nbsp;</td>
				  </tr>
		</table>
		</div>
		
		<!-- bottom controls area-->
		<table id="bottom_controls" style="margin-top:5px;display:none;font-family:arial;font-size:12px" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td width="50%" align="left">
                    <span>Get the answer for this:</span>
                    <select>
                        <option id="rev_opt0" value="0">Letter</option>
                        <option id="rev_opt1" value="1">Word</option>
    					<option id="rev_opt2" value="2">All</option>
                    </select>
                    <input title="Get the answer" class="control_button" type="button" value="Go" onclick="handleGoReveal();" />
                </td>
                <td width="50%" align="right">
                    <input class="control_button" type="button" value="Clear all" onclick="toggleAllCheck(1);" />
                    <input class="control_button" type="button" value="Check answers" onclick="toggleAllCheck(2);" />
                    <input class="control_button" id="submit_button" type="button" value="Submit puzzle" onclick="toggleAllCheck(3);" />
                </td>            
            </tr>
        </table>
        <div id="message" style="margin-top:10px;width:750px;font-size:12px;"><strong></strong></div>
        <div id="popup_wrap" style="position:absolute; top:100px; left:100px; border: solid 4px #C3D9FF;  z-index:5; background-color:#FFFFFF; display:none;">
          <div  style="background-color:#E0EDFE;padding:5px">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
              <tr>
                <td width="100%" align="left" id="popup_title" style="font-size:14px;font-weight:bold;"></td>
                <td width="20" align="center"><img border="0" style="cursor:pointer;" id="pop_close" onclick="hideMessage();" /></td>
              </tr>
            </table>
          </div>
          <div id="popup_container" style="margin-bottom:5px;"></div>
        </div>
        <div id="shadow_div" style="position:absolute; width:100%; top:0px; left:0px; background-color:#000000;-moz-opacity:.3; opacity:.3; filter: alpha(opacity = 30); display:none; z-index:1;" onclick="hideMessage();"></div>

		<table id="ad_table" border="0" cellpadding="0" cellspacing="0">
            <tr height="20">
                <td height="20" align="right">
                  <div style="height:15px;margin-top:5px;" align="right">
                    <a href="http://www.labpixies.com/?source=canvas_footer&footer_item=logo&gadget=48" target="_blank" >
                      <img border="0" id="lpLogo" width="104" height="15" />
                    </a>
                  </div>
                </td>
              </tr>
            <tr><td height="" align="left" class="adStyle">
                <!-- CrosswordBig position -->
                <div>
                    <script language="JavaScript">
                        if (typeof adxpos_CrosswordBig != "undefined")
                            document.write(adxads[adxpos_CrosswordBig]);
                    </script>
                    <noscript>
                        <a href="http://www.nytimes.com/adx/bin/adx_click.html?type=cookie&pos=CrosswordBig"><img src="http://www.nytimes.com/adx/bin/adx_remote.html?type=noscript&page=google.nytimes.com/gadget/crossword&posall=CrosswordBig,TopAd,Inv1,Inv2,Inv3&pos=CrosswordBig&query=qstring&keywords=?"></a>
                    </noscript>
                </div>
                <!-- TopAd position -->
                <div style="margin-top:5px;">                
                    <script language="JavaScript">
                        if (typeof adxpos_TopAd != "undefined")
                            document.write(adxads[adxpos_TopAd]);
                    </script>
                    <noscript>
                        <a href="http://www.nytimes.com/adx/bin/adx_click.html?type=cookie&pos=TopAd"><img src="http://www.nytimes.com/adx/bin/adx_remote.html?type=noscript&page=google.nytimes.com/gadget/crossword&posall=CrosswordBig,TopAd,Inv1,Inv2,Inv3&pos=TopAd&query=qstring&keywords=?"></a>
                    </noscript>
                </div>
              </td>
              </tr>
              
        </table>
        		<script type="text/javascript">
			
			_IG_RegisterOnloadHandler(function () {
				
                prefs = new _IG_Prefs();
				MM_preloadImages(imageBase+'plate_background.png',imageBase+'info_background.png',imageBase+'yes_button_roll.png',imageBase+'no_button_roll.png',imageBase+'ok_button_roll.png');
				
				$('#canvasLogo').attr('src',_IG_GetImageUrl(IMAGES_BASE_LP+"logo_canvas.png"));
				$('#revealLoc').attr('src',_IG_GetImageUrl(IMAGES_BASE_LP+"reveal_menu_off.png"));
				$('#infoButton').attr('src',_IG_GetImageUrl(IMAGES_BASE_LP+"canvas_info_button.png"));
				$('#lpLogo').attr('src',_IG_GetImageUrl(imageBase+"labpixies_logo.png"));
				
				$('#pop_close').attr('src',_IG_GetImageUrl(IMAGES_BASE_LP+"x.png"));
				$('#yes').attr('src',_IG_GetImageUrl(imageBase+"yes_button.png"));
				$('#no').attr('src',_IG_GetImageUrl(imageBase+"no_button.png"));
				
				$('#ok').attr('src',_IG_GetImageUrl(imageBase+"ok_button.png"));
				
				if(!isDefault){
				    document.onkeyup = handleKey;
				}
				document.onkeypress = handleSpecialKey;
				document.onkeydown = hBKey;
				getPuzzleContent();
        });
        
		</script>
		
		
    <!-- Inv1 position -->
    <script language="JavaScript">
    if (typeof adxpos_Inv1 != "undefined")
        document.write(adxads[adxpos_Inv1]);
    </script>

    <!-- Inv2 position -->
    <script language="JavaScript">
    if (typeof adxpos_Inv2 != "undefined")
        document.write(adxads[adxpos_Inv2]);
    </script>

    <!-- Inv3 position -->
    <script language="JavaScript">
    if (typeof adxpos_Inv3 != "undefined")
        document.write(adxads[adxpos_Inv3]);
    </script>
     
		]]>
  </Content>
<Content type="html" view="profile,home">

    <![CDATA[
    	<style type="text/css">
		
		body {margin: 0px;padding:0px;font-size:11px;font-family:arial;}
		a{
			font-size:11px;
			font-family:arial;
		}
		a:link    {text-decoration:none;color:#006CB3;}
		a:visited {text-decoration:none;color:#006CB3;}
		a:hover   {text-decoration:underline;color:#006CB3;}
		a:active  {text-decoration:underline;color:#006CB3;}
		.clearer {
			clear:left;
			height:0;
			line-height:0;
			font-size:0;
		}

		</style>
		
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
		<script type="text/JavaScript">
			var mPUZZLE =  _IG_GetCachedUrl("http://nytgadget.appspot.com/static/puzzle_so.js?id=39");
			document.write('<scr'+'ipt type="text/javascript" src="'+mPUZZLE+'"></scr'+'ipt>');
		</script>
		<script type="text/javascript">
			var $=jQuery.noConflict();
			
			var IMAGES_BASE = "http://dev.nytgadget.appspot.com/static/images/";
			
			$(function(){
				//$('#nyLogo').attr('src',_IG_GetImageUrl(IMAGES_BASE+"logo_gadget.png"));
			    $('#nyIcon').attr('src',_IG_GetImageUrl(IMAGES_BASE+"loading.gif"));
				
				getPuzzleContent();
			});
			
			

		</script>
		<div style="text-align:left;">
			
			     <table border="0" cellpadding="0" cellspacing="0">
                   
                    <tr>
                        <td align="right"><img border="0" id="nyIcon" style="margin-top:5px;" usemap="#map1"/></td>
                        <td align="left" id="wrap" onclick="navigateTo('canvas');" style="cursor:pointer" title="Solve Puzzle">    
                            <div id="retrievingDiv" style="text-align:center;font-size:12px;font-family:arial;">
    							Retrieving data...
    						</div>
    						<div id="gadgDataDiv" style="font-size:12px;font-family:arial;text-align:left;color:#6A6A6A;margin-left:7px;display:none;">
    							<div style="font-weight:bold;color:#000000;margin-top:5px;">This week's puzzle:
    							 <span style="color:blue;font-size:12px;text-decoration:underline;">
    								<span id="percSpan"></span>% done</span><span style="color:red;text-decoration:none;" id="newSpan"></span>
                                </div>
    							<div style="color:#000000;font-size:12px;margin-top:3px;">My score: <strong><span id="score_disp">0</span> points</strong></div>
                                <div id="cluesTo" style="font-weight:bold;color:#000000;margin-top:3px;">
    								Clue to solve:
    							</div>
    							<div id="hintDiv" style="font-family:arial;margin-bottom:5px;">
    							</div>
    							<div style="float:left;font-size:11px;font-family:arial;">
    								Originally published:&nbsp;
    							</div>
    							<div id="dateDiv" style="float:left;font-size:11px;font-family:arial;">
    							</div>
    						</div>
                        </td>
                    </tr>
                 </table>
				
		
		</div>
	    <div id="message" style="margin-top:10px;"><strong></strong></div>

		<map name="map1" id="map1">
          <area shape="rect" coords="0,0,90,20" href="http://www.nytimes.com/" title="Go to nytimes.com" target="_blank" />
          <area id="profImg" shape="rect" coords="0,21,93,92" href="javascript:void(0);" title="Solve Puzzle" onclick="navigateTo('canvas');"/>
        </map>
		]]>
</Content>
<Content type="html"> <![CDATA[
	
		<style type="text/css">
		
		body {margin: 0px;padding:0px;}
		a{
			font-size:11px;
			font-family:arial;
		}
		a:link    {text-decoration:none;color:#006CB3;}
		a:visited {text-decoration:none;color:#006CB3;}
		a:hover   {text-decoration:underline;color:#006CB3;}
		a:active  {text-decoration:underline;color:#006CB3;}

		.style1 {
			font-family: Arial, Helvetica, sans-serif;
			font-size: 10px;
			color: #666666;
		}
		.style2 {
			font-family: Arial, Helvetica, sans-serif;
			font-size: 11px;
			color: #666666;
		}
		.style3 {font-size: 1px}
		.style5 {
			font-size: 11px;
			color: #333333;
			font-family: Arial, Helvetica, sans-serif;
			font-weight: bold;
		}
		.style6 {
			font-family: Georgia, Times New Roman, Times, serif;
			font-size: 12px;
			color: #333333;
			line-height: 12px;
		}
		.style7 {
			font-family: Arial, Helvetica, sans-serif;
			font-size: 10px;
			font-weight: bold;
			color: #004276;
		}
		.style9 {
			font-family: Arial, Helvetica, sans-serif;
			font-weight: bold;
			font-size: 11px;
			color: #000000;
		}
		.style10 {
			font-family: Arial, Helvetica, sans-serif;
			font-size: 10px;
			color: #333333;
			cursor: pointer;
			height : 14px;
		}
		.style11 {
			font-family: Georgia, Times New Roman, Times, serif;
			font-size: 12px;
			color: #000000;
		}
		.style12 {
			font-family: Georgia, Times New Roman, Times, serif;
			font-size: 12px;
			font-weight: bold;
		}
		.style13 {
			font-family: Arial, Helvetica, sans-serif;
			font-size: 12px;
			color: #E2001A;
			font-weight: bold;
		}
		.style14 {
			font-family: Georgia, Times New Roman, Times, serif;
			font-size: 14px;
		}
		.style16 {font-size: 16px; color: #CC0000; font-family: Georgia, Times New Roman, Times, serif;}
		
		.style17 {
			font-family: Georgia, Times New Roman, Times, serif;
			font-size: 12px;
			color: #000000;
		}
		
		</style>
		<script type="text/javascript">
			var isDefault=true;
		</script>
		<script type="text/javascript" src="http://www.nytimes.com/adx/bin/adx_remote.html?type=fastscript&page=google.nytimes.com/gadget/crossword&posall=CrosswordSmall,Inv1,Inv2,Inv3&query=qstring&keywords=?"></script>
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
		<script type="text/javascript">
				var mPUZZLE = _IG_GetCachedUrl("http://dev.nytgadget.appspot.com/static/puzzle.min.js?id=3");
				document.write('<scr'+'ipt type="text/javascript" src="'+mPUZZLE+'"></scr'+'ipt>');
		</script>
		
		
		<center>
			<div id="wrap" width="100%" style="width:100%;overflow: auto;">
			<!-- Main Puzzle Table -->
			<table   width="100%" id="mainTbl"   border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td >
						<table  border="0" cellpadding="0" cellspacing="0">
							<tr>
								<td align="center" height="23">
									<table border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td id="titleCont" align="left"><a href="http://www.nytimes.com/crosswords" target="_blank" ><img border="0" id="titleImg"/></a></td>
											<td width="19" align="right" id="infoCont"><img style="display:none;" id="infoButton"  onclick="toggleNotepad();" width="19" height="23" /></td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td align="center" height="12">
									<table id="titleInfo"  border="0" cellpadding="0" cellspacing="0">
										<tr>
											<td align="left"><span class="style1" id="dateStr">&nbsp;</span></td>
											<td align="right"><span class="style1" id="authorStr">&nbsp; </span></td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td align="center" ><div class="style17" id="outer">Loading content, please wait...<br/>&nbsp;</div></td>
							</tr>
							<tr>
								<td align="center" height="61">
									<table style="border: 1px solid black;"  height="61" border="0" cellpadding="0" cellspacing="0">
										<tr>
											<td width="3">&nbsp;</td>
											
											<td width="53" align="left">
												<table width="53" border="0" cellspacing="0" cellpadding="0" ID="Table1">
													<tr>
														<td><span class="style9">Reveal</span></td>
													</tr>
													<tr>
														<td height="18"><img id="revealLoc" onclick="toggleRevelMenu();" width="49" height="15" style="cursor:pointer;" /></td>
													</tr>
													<tr>
														<td  height="13" style="cursor:pointer; " ><span onclick="testCurr();" class="style7">Check&raquo; </span></td>
													</tr>
													<tr>
														<td height="13" style="cursor:pointer;"><span class="style7" onclick="toggleAllCheck(1);">Clear All&raquo; </span></td>
													</tr>
												</table>
											</td>
											<td width="3" id="vert_hori">&nbsp;</td>
											<td  valign="middle">
												<table  height="55" border="0" cellpadding="0" cellspacing="0">
													<tr>
														<td id="def1" align="left">
															<table onclick="handleDefClick(0)" id="tab2" height="25" border="0" cellpadding="0" cellspacing="0">
																<tr>
																	<td width="24" valign="top" class="style5"><div id="defNum1" class="style5" align="center">&nbsp;</div></td>
																	<td width="14" valign="top"><img id="rArrow" width="14" height="14" /></td>
																	<td id="acrossDefC" valign="top"><div><span class="style6"  id="acrossDef">&nbsp;</span></div></td>
																</tr>
															</table>
														</td>
													</tr>
													<tr>
														<td height="5"><span class="style3">&nbsp;</span></td>
													</tr>
													<tr>
														<td id="def2" align="left">
															<table onclick="handleDefClick(1)" id="tab1" height="25" border="0" cellpadding="0" cellspacing="0">
																<tr>
																	<td width="24" valign="top" class="style5"><div id="defNum2" align="center">&nbsp;</div></td>
																	<td width="14" valign="top"><img id="dArrow" width="14" height="14" /></td>
																	<td id="downDefC" valign="top" ><div><span class="style6"   id="downDef">&nbsp;</span></div></td>
																</tr>
															</table>
														</td>
													</tr>
												</table>
											</td>
											
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td height="23" align="center">
									<!-- CrosswordSmall position -->
                                    <script language="JavaScript">
                                    if (typeof adxpos_CrosswordSmall != "undefined")
                                        document.write(adxads[adxpos_CrosswordSmall]);
                                    </script>
                                    <noscript>
                                        <a href="http://www.nytimes.com/adx/bin/adx_click.html?type=cookie&pos=CrosswordSmall"><img src="http://www.nytimes.com/adx/bin/adx_remote.html?type=noscript&page=google.nytimes.com/gadget/crossword&posall=CrosswordSmall,Inv1,Inv2,Inv3&pos=CrosswordBig&query=qstring&keywords=?"></a>
                                    </noscript>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr height="15">
					<td height="15"><div style="height:15px;" align="right"><a href="http://www.labpixies.com" target="_blank" ><img border="0" id="lpLogo" width="104" height="15" /></a></div></td>
				</tr>
			</table>
			

		</center>
		<!-- Reveal popup menu -->
		<div id="revelMenu" style="position:absolute;display:none;">
		<table  width="49" height="42" border="0" cellpadding="0" cellspacing="0" >
				  <tr>
				    <td height="14" width="37" class="style10" onclick="reveal(0);">&nbsp;Letter</td><td width="12" class="style10" style="cursor:default;" onclick="toggleRevelMenu();">&nbsp;</td>
				  </tr>
				  <tr>
				    <td bgcolor="#FFFFFF" style="border-left:1px solid #B7B7B7;border-right:1px solid #B7B7B7;" height="14" colspan="2" class="style10" onclick="reveal(1);">&nbsp;Word</td>
				  </tr>
				  <tr>
				    <td bgcolor="#FFFFFF" style="border-bottom:1px solid #B7B7B7;border-left:1px solid #B7B7B7;border-right:1px solid #B7B7B7;" colspan="2"  height="14" class="style10" onclick="reveal(2);">&nbsp;All</td>
				  </tr>
		</table>
		</div>

		<!-- Notepad popup -->
		<table onclick="toggleNotepad();" id="notepad" style="position:absolute;display:none;" width="261" height="229" border="0" cellpadding="0" cellspacing="0">
				  <tr>
				    <td width="8">&nbsp;</td>
				    <td width="245"><table width="245" border="0" cellspacing="0" cellpadding="0">
				      <tr>
				        <td height="8" class="style3">&nbsp;</td>
				      </tr>
				      <tr>
				        <td height="21"><span class="style11">&nbsp;Note</span></td>
				      </tr>
				      <tr>
				        <td height="10" class="style3">&nbsp;</td>
				      </tr>
				      <tr>
				        <td height="190" valign="top" align="center">
				          <p class="style11" id="notepadText">&nbsp;</p></td>
				      </tr>
				    </table></td>
				    <td width="8">&nbsp;</td>
				  </tr>
		</table>

		<!-- general popup -->
		<table id="allMenu" style="position:absolute;display:none;" width="180" height="144" border="0" cellpadding="0" cellspacing="0">
				  <tr>
				    <td width="8">&nbsp;</td>
				    <td><table width="164" height="144" border="0" cellpadding="0" cellspacing="0">
				      <tr>
				        <td height="8" class="style3">&nbsp;&nbsp;</td>
				      </tr>
				      <tr>
				        <td height="27"><div align="center"><img id="warnIcon" width="24" height="24" align="absmiddle" />&nbsp;<span class="style13" id="allTitle">Reveal All Words</span></div></td>
				      </tr>
				      <tr>
				        <td height="10" class="style3">&nbsp;</td>
				      </tr>
				      <tr>
				        <td height="99" valign="top"><p align="center" class="style14" id="allQuestion">Are you sure you want to reveal entire puzzle? </p>
				          <p align="center" class="style14"><img onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('yes','',imageBase+'yes_button_roll.png',1)"  name="yes" width="26" height="13" border="0" id="yes" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('no','',imageBase+'no_button_roll.png',1)" name="no" onclick="toggleAllCheck(0);" width="26" height="13" border="0" id="no" /></p></td>
				      </tr>
				    </table></td>
				    <td width="8">&nbsp;</td>
				  </tr>
		</table>

		<!-- Congratulation screen -->
		<table id="congratMenu" style="position:absolute;display:none;" width="180" height="144" border="0" cellpadding="0" cellspacing="0">
				  <tr>
				    <td width="8">&nbsp;</td>
				    <td><table width="164" height="144" border="0" cellpadding="0" cellspacing="0">
				      <tr>
				        <td height="8" class="style3">&nbsp;&nbsp;</td>
				      </tr>
				      <tr>
				        <td height="27"><div align="center" class="style16" id="congratsTitle">Congratulations!</div></td>
				      </tr>
				      <tr>
				        <td height="10" class="style3">&nbsp;</td>
				      </tr>
				      <tr>
				        <td height="99" valign="top"><p align="center" class="style14" id="congratsMSG">You have successfully solved the puzzle! </p>
				              <p align="center" class="style14"><img onclick="toggleCongrats();" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('ok','',imageBase+'ok_button_roll.png',1)" name="ok" width="26" height="13" border="0" id="ok" /></p></td>
				      </tr>
				    </table></td>
				    <td width="8">&nbsp;</td>
				  </tr>
		</table>
		</div>
		<script type="text/javascript">
			
			_IG_RegisterOnloadHandler(function () {
				MM_preloadImages(imageBase+'plate_background.png',imageBase+'info_background.png',imageBase+'yes_button_roll.png',imageBase+'no_button_roll.png',imageBase+'ok_button_roll.png');
				
				var $lp=jQuery.noConflict();
				$lp('#infoButton').attr('src',_IG_GetImageUrl(imageBase+"info_button.png"));
				$lp('#titleImg').attr('src',_IG_GetImageUrl(imageBase+"title1.png"));
				$lp('#revealLoc').attr('src',_IG_GetImageUrl(imageBase+"reveal_menu.png"));
				$lp('#vert_hori').css('background-image','url('+_IG_GetImageUrl(imageBase+"vertical_horiz.png")+')');
				$lp('#rArrow').attr('src',_IG_GetImageUrl(imageBase+'right_arrow.png'));
				$lp('#dArrow').attr('src',_IG_GetImageUrl(imageBase+'down_arrow.png'));
				$lp('#nyFetch').attr('src',_IG_GetImageUrl('http://www.nytimes.com/adx/bin/adx_remote.html?type=noscript&page=google.nytimes.com&posall=Position1&pos=Position1&query=qstring&keywords=?'));
				$lp('#lpLogo').attr('src',_IG_GetImageUrl(imageBase+'labpixies_logo.png'));
				$lp('#notepad').css('background','url('+_IG_GetImageUrl(imageBase+"info_background.png")+')');
				$lp('#allMenu').css('background','url('+_IG_GetImageUrl(imageBase+"plate_background.png")+')');
				$lp('#warnIcon').attr('src',_IG_GetImageUrl(imageBase+"warning_icon.png"));
				$lp('#yes').attr('src',_IG_GetImageUrl(imageBase+"yes_button.png"));
				$lp('#no').attr('src',_IG_GetImageUrl(imageBase+"no_button.png"));
				$lp('#congratMenu').css('background','url('+_IG_GetImageUrl(imageBase+"plate_background.png")+')');
				$lp('#ok').attr('src',_IG_GetImageUrl(imageBase+"ok_button.png"));
				
				document.onkeyup = handleKey;
				document.onkeypress = handleSpecialKey;
				document.onkeydown = hBKey;
				getPuzzleContent();
			});
		</script>
		<!-- Inv1 position -->
        <script language="JavaScript">
        if (typeof adxpos_Inv1 != "undefined")
            document.write(adxads[adxpos_Inv1]);
        </script>
        <noscript>
            <a href="http://www.nytimes.com/adx/bin/adx_click.html?type=cookie&pos=Inv1"><img src="http://www.nytimes.com/adx/bin/adx_remote.html?type=noscript&page=google.nytimes.com/gadget/crossword&posall=CrosswordSmall,Inv1,Inv2,Inv3&pos=Inv1&query=qstring&keywords=?"></a>
        </noscript>
        
        <!-- Inv2 position -->
        <script language="JavaScript">
        if (typeof adxpos_Inv2 != "undefined")
            document.write(adxads[adxpos_Inv2]);
        </script>
        <noscript>
            <a href="http://www.nytimes.com/adx/bin/adx_click.html?type=cookie&pos=Inv2"><img src="http://www.nytimes.com/adx/bin/adx_remote.html?type=noscript&page=google.nytimes.com/gadget/crossword&posall=CrosswordSmall,Inv1,Inv2,Inv3&pos=Inv2&query=qstring&keywords=?"></a>
        </noscript>
        
        <!-- Inv3 position -->
        <script language="JavaScript">
        if (typeof adxpos_Inv3 != "undefined")
            document.write(adxads[adxpos_Inv3]);
        </script>
        <noscript>
            <a href="http://www.nytimes.com/adx/bin/adx_click.html?type=cookie&pos=Inv3"><img src="http://www.nytimes.com/adx/bin/adx_remote.html?type=noscript&page=google.nytimes.com/gadget/crossword&posall=CrosswordSmall,Inv1,Inv2,Inv3&pos=Inv3&query=qstring&keywords=?"></a>
        </noscript>

	]]> 
	</Content>
</Module>

