<?xml version="1.0" encoding="UTF-8" ?>
<Module>  
	<ModulePrefs title="__MSG_title__" 
			   description="__MSG_desc__"
			   author_email="info@labpixies.com"
			   author="LabPixies"
			   directory_title="__MSG_gTitle__"
			   title_url="http://www.labpixies.com"
			   screenshot="http://www.labpixies.com/campaigns/todo/images/screenshot.png"
			   thumbnail="http://www.labpixies.com/campaigns/todo/images/thumbnail.jpg" 
			   height="270"
			   render_inline="never">				
    	<Require feature="views"/>  
		<Require feature="dynamic-height"/>	
		<Require feature="setprefs"/>	
		<Require feature="analytics" /> 

		<Locale messages="http://www.labpixies.com/campaigns/todo/i20/all_all.xml"/>
    <Locale lang="bg" messages="http://www.labpixies.com/campaigns/todo/i20/bg_all.xml"/>
  	<Locale lang="ca" messages="http://www.labpixies.com/campaigns/todo/i20/ca_all.xml"/>
  	<Locale lang="cs" messages="http://www.labpixies.com/campaigns/todo/i20/cs_all.xml"/>
  	<Locale lang="da" messages="http://www.labpixies.com/campaigns/todo/i20/da_all.xml"/>
  	<Locale lang="de" messages="http://www.labpixies.com/campaigns/todo/i20/de_all.xml"/>
  	
  	<Locale lang="el" messages="http://www.labpixies.com/campaigns/todo/i20/el_all.xml"/>
  	<Locale lang="es" messages="http://www.labpixies.com/campaigns/todo/i20/es_all.xml"/>
  	<Locale lang="fi" messages="http://www.labpixies.com/campaigns/todo/i20/fi_all.xml"/>
  	<Locale lang="fr" messages="http://www.labpixies.com/campaigns/todo/i20/fr_all.xml"/>
  	
  	<Locale lang="hi" messages="http://www.labpixies.com/campaigns/todo/i20/hi_all.xml"/>
  	<Locale lang="hr" messages="http://www.labpixies.com/campaigns/todo/i20/hr_all.xml"/>
  	<Locale lang="hu" messages="http://www.labpixies.com/campaigns/todo/i20/hu_all.xml"/>
  	<Locale lang="it" messages="http://www.labpixies.com/campaigns/todo/i20/it_all.xml"/>
  	<Locale lang="iw" messages="http://www.labpixies.com/campaigns/todo/i20/iw_all.xml"/>
  	
  	<Locale lang="ko" messages="http://www.labpixies.com/campaigns/todo/i20/ko_all.xml"/>
  	<Locale lang="lt" messages="http://www.labpixies.com/campaigns/todo/i20/lt_all.xml"/>
  	<Locale lang="lv" messages="http://www.labpixies.com/campaigns/todo/i20/lv_all.xml"/>
  	<Locale lang="ms" messages="http://www.labpixies.com/campaigns/todo/i20/ms_all.xml"/>
  	<Locale lang="nl" messages="http://www.labpixies.com/campaigns/todo/i20/nl_all.xml"/>
  	
  	<Locale lang="no" messages="http://www.labpixies.com/campaigns/todo/i20/no_all.xml"/>
  	<Locale lang="pl" messages="http://www.labpixies.com/campaigns/todo/i20/pl_all.xml"/>
  	<Locale lang="pt-BR" messages="http://www.labpixies.com/campaigns/todo/i20/pt_br_all.xml"/>
  	<Locale lang="pt-PT" messages="http://www.labpixies.com/campaigns/todo/i20/pt_pt_all.xml"/>
  	<Locale lang="ro" messages="http://www.labpixies.com/campaigns/todo/i20/ro_all.xml"/>
  	
  	<Locale lang="ru" messages="http://www.labpixies.com/campaigns/todo/i20/ru_all.xml"/>
  	<Locale lang="sk" messages="http://www.labpixies.com/campaigns/todo/i20/sk_all.xml"/>
  	<Locale lang="sl" messages="http://www.labpixies.com/campaigns/todo/i20/sl_all.xml"/>
  	<Locale lang="sr" messages="http://www.labpixies.com/campaigns/todo/i20/sr_all.xml"/>
  	<Locale lang="sv" messages="http://www.labpixies.com/campaigns/todo/i20/sv_all.xml"/>
  	
  	<Locale lang="th" messages="http://www.labpixies.com/campaigns/todo/i20/th_all.xml"/>
  	<Locale lang="tl" messages="http://www.labpixies.com/campaigns/todo/i20/tl_all.xml"/>
  	<Locale lang="tr" messages="http://www.labpixies.com/campaigns/todo/i20/tr_all.xml"/>
  	<Locale lang="uk" messages="http://www.labpixies.com/campaigns/todo/i20/uk_all.xml"/>
  	<Locale lang="vi" messages="http://www.labpixies.com/campaigns/todo/i20/vi_all.xml"/>
  	
  	<Locale lang="zh-CN" messages="http://www.labpixies.com/campaigns/todo/i20/zh_cn_all.xml"/>
  	<Locale lang="zh-TW" messages="http://www.labpixies.com/campaigns/todo/i20/zh_tw_all.xml"/>
    <Locale lang="ja" messages="http://www.labpixies.com/campaigns/todo/i20/ja_all.xml"/>
    <Locale lang="en" country="US" messages="http://www.labpixies.com/campaigns/todo/i20/en_us.xml"/>
  		
  	</ModulePrefs> 
	<UserPref name="todos" datatype="hidden" default_value=""/>
	<UserPref name="saved_tasks" datatype="hidden" default_value="" />
	<UserPref name="ver" datatype="hidden" default_value="none" />
	
	<Content type="html">  
  	<![CDATA[ 
	<!-- Old ToDo Gadget -->
	
	<title>ToDo</title>
	<style type="text/css">
	<!--
	body, html {
		margin: 0;
		padding: 0;
		background-color: #ffffff;
	}

	.style0{
	font-size: 1px;
	}
	.style1 {
		font-family: Arial, Helvetica, sans-serif;
		font-size: 9px;
	}
	.style2 {
		font-family: Arial, Helvetica, sans-serif;
		font-size: 12px;
		font-weight: bold;
		height: 16px;
		background-color: Transparent;
		border: 0px solid Transparent;
		width: 140px;
		align: bottom;
	    overflow: hidden;
		padding-top:1px;
	}
	.style3 {
		font-family: Arial, Helvetica, sans-serif;
		font-size: 12px;
		font-weight: bold;
		height: 16px;
		background-color: Transparent;
		border: 0px solid Transparent;
		width: 140px;
		align: bottom;
	    overflow: hidden;
	}
	.style4 {
		font-family: Arial, Helvetica, sans-serif;
		font-size: 12px;
		font-weight: bold;
		height: 16px;
		background-color: Transparent;
	    border: 0px solid Transparent;
		width: 140px;
		align: bottom;
	    overflow: hidden;
	}

	#lp_ad_div a:link, #lp_ad_div a:visited	{text-decoration:none;color:#006CB3;font-family: Verdana, Arial, sans-serif; font-size:11px;}
	#lp_ad_div a:hover, #lp_ad_div a:active	{text-decoration:underline;color:#006CB3;font-family: Verdana, Arial, sans-serif; font-size:11px;}

	a.tdada:link{font-size:11px;text-decoration:none;color:#006CB3;font-family:Verdana,Arial,sans-serif;}
	a.tdada:visited{font-size:11px;text-decoration:none;color:#006CB3;font-family:Verdana,Arial,sans-serif;}
	a.tdada:hover{font-size:11px;text-decoration:underline;color:#006CB3;font-family:Verdana,Arial,sans-serif;}
	a.tdada:active{font-size:11px;text-decoration:underline;color:#006CB3;font-family:Verdana,Arial,sans-serif;}

	-->
	</style>
	
	<!--[if IE 6]>
	<script type="text/javascript">
	try {//IE fix, causes it to automatically cache background image
	document.execCommand("BackgroundImageCache", false, true);
	}
	catch(e){
	}
	</script>
	<![endif]-->

	<!-- PUT THIS TAG IN THE head SECTION -->
	<script type="text/javascript" src="http://partner.googleadservices.com/gampad/google_service.js">
	</script>
	<script type="text/javascript">
	  GS_googleAddAdSenseService("ca-pub-8123415297019784");
	  GS_googleEnableAllServices();
	</script>
	<script type="text/javascript">
	  GA_googleAddSlot("ca-pub-8123415297019784", "todo_txt");
	</script>
	<script type="text/javascript">
	  GA_googleFetchAds();
	</script>
	<!-- END OF TAG FOR head SECTION -->

	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
	<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>	

	<script type="text/javascript">
	var $lp=jQuery.noConflict();

	var _gadgetID = 33;
	
	 var lp_pageTracker = _gat._getTracker("UA-345375-1");
    lp_pageTracker._initData();

    function lp_trackEvent(eventName,eventLable,eventVar) {
      try {
        lp_pageTracker._trackEvent("ToDo V1", eventName, eventLable, eventVar );
      }
      catch(ee) {

      }
    }

	
	var MAX_TASK_LEN = 70;
	var IMAGES_BASE = "http://www.labpixies.com/campaigns/todo/images/";
	var DELIMITER = "_#$LAB_UDI$#_";
	var EXT_DELIMITER = "_#$LAB_MATAN$#_";
	
	var tasks = new Array();
	var prefs = null;
	
	var currentColorSelection = 0;
	var colors = new Array("#000000", "#E22974","#DC4A20","#006CB3","#7E9D1E","#ED1C24","#737373","#F7941D","#662D91");

	//task class element
	function taskElement(){
		this.text_color = "black";
		this.content = "";
		this.position = 0;
		this.isEmpty = false;

		this.toString = function(){
		  var txt = "";
		  
		  if (!this.isEmpty) {
			txt += ('<div><table width="226" height="24" border="0" cellpadding="0" cellspacing="0">'+
						'<tr>'+
						'<td width="10">'+
							'<table width="10" border="0" cellspacing="0" cellpadding="0">'+
							'<tr>'+
								'<td><img title="__MSG_priority__" onclick="changeOrder(-1,'+this.position+');" onmouseout="on_image_out(this);" onmouseover="on_image_over(this);" src='+this.getUpImage()+' width="10" height="8" /></td>'+
							'</tr>'+
							'<tr>'+
								'<td><img title="__MSG_priority__" onclick="changeOrder(1,'+this.position+');" onmouseout="on_image_out(this);" onmouseover="on_image_over(this);" src='+this.getDownImage()+' width="10" height="8" /></td>'+
							'</tr>'+
							'</table>'+
						'</td>');
            
     if(__MSG_leftAlign__){
					txt += ('<td width="16">&nbsp;</td>'+'<td width="10"><span style="width:10px;color:'+ this.text_color+';" id="numElm'+ this.position +'" class="style2">'+ (this.position+1) +'.</span> </td>'+
						'<td id="inputCont'+this.position+'" width="140" ><div onclick="startEdit('+ this.position +');" onfocus="startEdit('+ this.position +');" style="color:'+ this.text_color+';"  class="style2"   id="content'+ this.position +'">&nbsp;'+ this.content +'</div></td>');
		 }else{
				  txt += ('<td dir="rtl" id="inputCont'+this.position+'" width="140" ><div onclick="startEdit('+ this.position +');" onfocus="startEdit('+ this.position +');" style="color:'+ this.text_color+';"  class="style2"   id="content'+ this.position +'">&nbsp;'+ this.content +'</div></td>'+
                  '<td  width="10"><span dir="rtl" style="width:10px;color:'+ this.text_color+';" id="numElm'+ this.position +'" class="style2">'+ (this.position+1) +'.</span> </td>'+'<td width="12">&nbsp;</td>');
     }
          txt += ('<td width="50"><img title="__MSG_delete__" onclick="removeElement('+ this.position +');" onmouseout="on_image_out(this);" onmouseover="on_image_over(this);" src="'+_IG_GetImageUrl(IMAGES_BASE+"remove_off.gif")+'" width="11" height="11" /><img title="__MSG_change__" onclick="toggleColorPal('+ this.position +');" onmouseout="on_image_out(this);" onmouseover="on_image_over(this);" src="'+_IG_GetImageUrl(IMAGES_BASE+"color_off.gif")+'" width="11" height="11" /></td>'+
						'</tr>'+
					'</table></div>');
		  }else{
			txt += ('<div><table width="226" height="24" border="0" cellpadding="0" cellspacing="0">'+
						'<tr>'+
						'<td width="10">'+
							'<table width="10" border="0" cellspacing="0" cellpadding="0">'+
							'<tr>'+
								'<td><img onmouseout="on_image_out(this);" onmouseover="on_image_over(this);" src="'+_IG_GetImageUrl(IMAGES_BASE+"no_up_down.gif")+'" width="10" height="8" /></td>'+
							'</tr>'+
							'<tr>'+
								'<td><img onmouseout="on_image_out(this);" onmouseover="on_image_over(this);" src="'+_IG_GetImageUrl(IMAGES_BASE+"no_up_down.gif")+'" width="10" height="8" /></td>'+
							'</tr>'+
							'</table>'+
						'</td>');
       if(__MSG_leftAlign__){
					txt += ('<td width="16">&nbsp;</td>'+'<td width="10"><span style="width:10px;color:'+ this.text_color+';" id="numElm'+ this.position +'" class="style2">'+ (this.position+1) +'. </td>'+
						'<td id="inputCont'+this.position+'" width="140" ><div  onclick="startEdit('+ this.position +');" onfocus="startEdit('+ this.position +');" style="color:'+ this.text_color+';"    class="style2"   id="content'+ this.position +'" >&nbsp;'+ this.content +'</div></td>');
		   }else{
				    txt += ('<td dir="rtl" id="inputCont'+this.position+'" width="140" ><div  onclick="startEdit('+ this.position +');" onfocus="startEdit('+ this.position +');" style="color:'+ this.text_color+';"    class="style2"   id="content'+ this.position +'" >&nbsp;'+ this.content +'</div></td>'+
            '<td dir="rtl" width="10"><span style="width:10px;color:'+ this.text_color+';" id="numElm'+ this.position +'" class="style2">'+ (this.position+1) +'. </td>'+'<td width="12">&nbsp;</td>');			
       }
          txt += ('<td width="50"></td>'+
						'</tr>'+
					'</table></div>');
			}
			return txt;
		};

		this.getUpImage = function(){
		  return (this.position == 0 ? (_IG_GetImageUrl(IMAGES_BASE+"no_up_down.gif")) : (_IG_GetImageUrl(IMAGES_BASE+"up_off.gif")));
		};

		this.getDownImage = function(){
		  return (this.position == 6 || (this.position==tasks.length-2 && tasks[tasks.length-1].isEmpty) ? (_IG_GetImageUrl(IMAGES_BASE+"no_up_down.gif")) : (_IG_GetImageUrl(IMAGES_BASE+"down_off.gif")));
		};
		
		this.getTextStyle = function(){
			return (this.content == "__MSG_empty__" ? "style3" : "style2");
		}

		this.serialize = function(){
			return (this.position + DELIMITER + this.content.substr(0, MAX_TASK_LEN) + DELIMITER + this.text_color);
		};

		this.deserialize = function(token){
			var tokArr = token.split(DELIMITER);
			this.position = parseInt(tokArr[0]);
			this.content = tokArr[1];
			this.text_color = tokArr[2];
		};
		
		
	}	
	
	function onKeyHandle(e,index){
		var keynum;
		var keychar;
		var numcheck;
		
		if(window.event) // IE
		{
			keynum = e.keyCode;
		}
		else if(e.which) // Netscape/Firefox/Opera
		{
			keynum = e.which;
		}
				
		if (keynum == 13) {
			
			try{
				_gel("content"+index).blur();
			}catch(e){}
			
			if (_gel("content"+index).value == "") {
				endEdit(index);
			}
			return false;
		}
		
		return true;
	}
		
	function changeOrder(dir,index){
		if (dir==-1 && index==0) {
			return;
		}
		if ((dir==1 && index==6) || (index == tasks.length-1 && dir==1)) {
			return;
		}
		if (tasks[index+dir].isEmpty) {
			return;
		}
		
		var temp = tasks[index+dir];
		tasks[index+dir] = tasks[index];
		tasks[index] = temp;
				
		//track_event('V1', 'ReorderTask');
		lp_trackEvent('Arrange List', 'Move item ' + dir);
		saveTasks();
		updateTaskDisplay();
		
	}
	
	function switchToInput(index){
		//take content from div
		//put in input
		_gel("inputCont"+index).innerHTML = '<input maxlength="'+MAX_TASK_LEN+'" onblur="endEdit('+ tasks[index].position +');" style="color:'+ tasks[index].text_color+';" onkeypress="onKeyHandle(event,'+ tasks[index].position +');" onchange="endEdit('+ tasks[index].position +');" type="text" class="style2"   id="content'+ tasks[index].position +'" value="'+ tasks[index].content +'" />';
		 
	}
	
	function startEdit(index){
		switchToInput(index);
		if (tasks[index].isEmpty) {
			_gel("content"+index).value = "";
		}
		_gel("content"+index).focus();
		_gel("content"+index).select();
		
	}
	
	function endEdit(index){
		
		//remove focus to avoid blinking cursor
		_gel("content"+index).blur();
		//reset the text so the input will display the string from starting index
		var text = _gel("content"+index).value;
		
		if(text==null){
			//no text to enter, problem that can happen in safari
			// return and do nothing
			return;
		}
		
		if (text == "") {
			if (tasks[index].isEmpty) {
				text = "__MSG_empty__";
			}else{
				removeElement(index);
				return;
			}
			
		}
		
		var old_content = tasks[index].content;
		
		tasks[index].content = text.replace(/"/g,"&quot;");
		
		
		if (tasks[index].isEmpty) {
			if (tasks[index].content != "__MSG_empty__") {
				tasks[index].text_color = "black";
				tasks[index].isEmpty = false;
				_gel("content"+index).title = text;
				addEmptyTask();
				saveTasks();				
				lp_trackEvent('Add New Item', 'Item ' + index);
			}
		}else{
			if(tasks[index].content){
				
				if (tasks[index].content != old_content) {
					saveTasks();
					lp_trackEvent('Edit Item', 'Item ' + index);
				}
			}
		}
		
		updateTaskDisplay();
		
		return false;
	}
	
	function removeElement(index){
		
		if (tasks[index].isEmpty) {
			return;
		}
	
		tasks.splice(index,1);		
		lp_trackEvent('Delete Item', 'Delete icon click');
		
		saveTasks();
		updateTasks();
	}

	function toggleColorPal(index){
		
		if(index == -1 || _gel("colormap").style.display == ""){
			_gel("colormap").style.display = "none";
			return;
		}
		
		currentColorSelection = index;
		
		var refernceTop,referenceLeft;
		
		//refernceTop = lp_getAbsoluteTop("test1");
		//referenceLeft = lp_getAbsoluteLeft("test1");
		refernceTop = $lp("#test1").offset().top;
		referenceLeft = $lp("#test1").offset().left;
				
		var top = refernceTop+42+(24*index);
		var left = referenceLeft+178;
		
		
		_gel("colormap").style.top = (top+"px");
		_gel("colormap").style.left = (left+"px");
		
		_gel("colormap").style.display = "";
	}

	function on_image_over(elm){
		elm.src = elm.src.replace("_off","_on");
	}
	
	function on_image_out(elm){
		elm.src = elm.src.replace("_on","_off");
	}

	function setColor(colIndex){
		
		//if (tasks[currentColorSelection].isEmpty) {
		//	return;
		//}
		
		tasks[currentColorSelection].text_color = colors[colIndex];		
		lp_trackEvent('Change Task Color', colors[colIndex]);
		
		saveTasks();
		toggleColorPal(-1);
		updateTasks();
	}
		
	function load(){
		prefs = new _IG_Prefs();
		setImages();
		updateTasks();
		//saveTasks(); 

		_IG_AdjustIFrameHeight();
	}
	
	function setImages() {
		
		_gel("bg_of_all").style.background = 'transparent url('+_IG_GetImageUrl(IMAGES_BASE+"__MSG_back__")+') 0px 0px no-repeat';
		_gel("colormap").src = _IG_GetImageUrl(IMAGES_BASE+"color_pallete.gif");
	}
	
	/*
	 * This function should parse the current saved tasks and update tasks display
	 */
	function updateTasks(){
		
		clearTasks();
		
		var taskStr = "";
		try {
			if (prefs)
				taskStr = prefs.getString("saved_tasks");
		} catch (eee) {}
		
		var taskNum = 0;
		var taskTokens = null;
		var i = 0;
		
		if (taskStr != null) {
			taskTokens = taskStr.split(EXT_DELIMITER);
			taskNum = taskTokens.length;
		}
		
		for(i=1;i < taskNum;i++){
			var currTask = new taskElement();
			currTask.deserialize(taskTokens[i]);
			tasks.push(currTask);
		}
		
		if (i < 8) {
			addEmptyTask();
		}
		
		updateTaskDisplay();
	}
	
	function addEmptyTask(){
		var position = tasks.length;
		if (position >= 7) {
			return;
		}
		var token = (position+DELIMITER+"__MSG_empty__"+DELIMITER+"#A7A7A7");
		var currTask = new taskElement();
		currTask.isEmpty = true;
		currTask.deserialize(token);
		tasks.push(currTask);
	}
	
	function saveTasks(){
		var i = 0;
		var saveSTR = "";
		
		for(i=0;i < tasks.length;i++){
			
			if (!tasks[i].isEmpty) {
				saveSTR += EXT_DELIMITER;
				saveSTR += tasks[i].serialize();
				
			}
		}
		
		try {
			if (prefs)
				prefs.set("saved_tasks", saveSTR);
		} catch (eee) {}
		
	}
	
	function clearTasks(){
		while(tasks.pop()){}
	}
	
	function updateTaskDisplay(){
		var i = 0;
		
		for(i=0;i<7;i++){
		  _gel("elmCont"+i).innerHTML = "";
		}
		
		i = 0;
		
		for(i=0;i < tasks.length;i++){
		  
		  var container = _gel("elmCont"+i);
		  tasks[i].position = i;
		  container.innerHTML = tasks[i].toString();
		  container.title = tasks[i].content.replace(/&quot;/g,'"');
		}
	}
	
	</script>
		<center>
			<table width="240"  border="0" cellpadding="0" cellspacing="0" >
				<tr>
					<td id="bg_of_all">
						<table id="test1" width="240" height="228" border="0" cellpadding="0" cellspacing="0">
							<tr>
								<td width="14">&nbsp;</td>
								<td width="226">
									<table  width="226" border="0" cellspacing="0" cellpadding="0" >
										<tr>
											<td height="42">&nbsp;</td>
										</tr>
										<tr>
											<td align="left" id="elmCont0" height="24"></td>
										</tr>
										<tr>
											<td align="left" id="elmCont1" height="24"></td>
										</tr>
										<tr>
											<td align="left" id="elmCont2" height="24"></td>
										</tr>
										<tr>
											<td align="left" id="elmCont3" height="24"></td>
										</tr>
										<tr>
											<td align="left" id="elmCont4" height="24"></td>
										</tr>
										<tr>
											<td align="left" id="elmCont5" height="24"></td>
										</tr>
										<tr>
											<td align="left" id="elmCont6" height="24"></td>
										</tr>
										<tr>
											<td height="18" id="why"><span class="style1">&nbsp;</span></td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>				
			</table>	
	  	<!-- PUT THIS TAG IN DESIRED LOCATION OF SLOT todo_txt -->
			<div style="width:100%;">
				<script type="text/javascript">
				GA_googleFillSlot("todo_txt");
				</script>
			</div>

			<!-- END OF TAG FOR SLOT todo_txt -->
		</center>
  				
		<img style="position:absolute;display:none;" name="colormap" width="23" height="23" border="0" usemap="#colormapMap" id="colormap" />
		<map name="colormapMap" id="colormapMap">
			<area shape="rect" coords="1,14,7,21" 	onclick="setColor(8);"  />
			<area shape="rect" coords="8,14,14,21" 	onclick="setColor(7);"  />
			<area shape="rect" coords="15,14,21,21" onClick="setColor(6);"  />
			<area shape="rect" coords="15,7,21,14" 	onclick="setColor(5);"  />
			<area shape="rect" coords="8,7,14,14" 	onclick="setColor(4);"  />
			<area shape="rect" coords="1,7,7,14" 	onclick="setColor(3);"  />
			<area shape="rect" coords="15,1,21,8" 	onclick="setColor(2);"  />
			<area shape="rect" coords="8,1,14,8" 	onclick="setColor(1);"  />
			<area shape="rect" coords="1,1,7,8"		onclick="setColor(0);"  />
		</map>
		
			<!-- init module operations -->
		<script type="text/javascript">
			_IG_RegisterOnloadHandler(load);
		</script>
		
		<!-- init google analytics -->
		<script type="text/javascript">
			_IG_Analytics("UA-345375-1", "/todo");
		</script>
		
		<div>
		<script type="text/javascript">
	    var mMENU = _IG_GetCachedUrl("http://cdn.labpixies.com/infra/js/lp_footer.js");
		  document.write('<scr'+'ipt type="text/javascript" src="'+mMENU+'"></scr'+'ipt>');
	  </script>
		</div>
		
		<iframe width="1" height="1" style="width:1px; height:1px; overflow:hidden; position:absolute; visibility:hidden;" src="http://static.labpixies.com/campaigns/todo/analytics.html"></iframe>
		
	]]>  
	</Content>  
	   	
	<Content type="html" view="profile,home">  
	<![CDATA[	
		<title>ToDo</title>
		<script language="JavaScript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>		
		<script language="JavaScript" src="http://www.google-analytics.com/ga.js"></script>	

		<style>
		.td_pr_table_title
		{	
			background-repeat: repeat-x;	
			padding-top:3px;
			padding-right:3px;
		}

		.td_pr_top_right_corner
		{
			background-color:#ffffff;	
			width:3px;
			height:41px;
		}

		.td_pr_items_table
		{
			background-color: #f3f378;
			width:100%;
			font-family: Arial;
			font-weight: bold;
			font-size: 11px;
		}

		.td_pr_red
		{		
			background-repeat:repeat-y;
			width:3px;	
		}

		.td_pr_item_text
		{
			text-decoration:none;
			color: #13807b;
			font-weight: normal;
		}

		.td_pr_item_text:hover
		{	
			text-decoration:underline;
		}

		.td_pr_right_cell
		{	
			background-repeat:repeat-y;
			width:3px;	
		}

		.td_pr_border_bottom
		{
			border-bottom: #00c5c2 solid 1px;	
		}

		.td_pr_bottom_left
		{	
			background-repeat:no-repeat;		
		}

		.td_pr_bottom_right
		{	
			background-repeat:repeat-x;
			background-position:top;	
		}

		.td_pr_right_blue
		{
			width:3px;
			height:24px;
		}

		.td_pr_item_link
		{
			cursor:pointer;
		}

		.td_pr_del
		{
			cursor:pointer;
			width:15px;
			height:15px;
		}

		.td_pr_ctrl
		{
			display: none;
			line-height:1px;
			font-size:1px;
			height:16px;
		}

		.td_pr_up
		{
			cursor:pointer;
			width:10px;
			height:6px;
			line-height:1px;
			font-size:1px;
		}

		.td_pr_down
		{
			cursor:pointer;
			width:10px;
			height:6px;
			line-height:1px;
			font-size:1px;
		}

		.td_pr_top_menu_link
		{
			font-family:Arial;
			font-size: 10px;
			color: #c5a618;
			text-decoration:none;
		}

		.td_pr_top_menu_link:hover
		{	
			color: #F3F378;
			text-decoration:none;
		}

		.td_pr_top_menu_link:visited
		{	
			color: #c5a618;	
		}

		.td_pr_add_item
		{
			text-decoration:none;
			color: #80795a;	
			font-weight: bold;
		}

		.td_pr_add_item:visited
		{	
			color: #80795a;	
		}

		.td_pr_add_item:hover
		{	
			text-decoration:underline;
		}

		.td_pr_edit
		{
			font-family: Arial;
			font-weight: bold;
			font-size: 11px;
			border: 1px solid #13807b;
			line-height: 18px;
		}
		
		.td_pr_btn_main
			{
				cursor:pointer;
				float:right;
				padding-top:1px;
			}
			
			.td_pr_btn_left
			{
				float:left;
				width:2px;
				height:15px;
				overflow:hidden;				
				background-position: -113px 0px;
			}
			
			.td_pr_btn_middle
			{
				float:left;	
				height:15px;								
				line-height:15px;		
				background-position: -115px 0px;
				font-family:Arial;
				font-size:11px;
				font-weight:bold;
				color:#C5A618;
				padding-left:3px;
				padding-right:3px;
			}
			
			.td_pr_btn_right
			{
				float:left;
				width:2px;
				height:15px;
				overflow:hidden;			
				background-position: -261px 0px;
			}
			
			.td_pr_more_opt
			{
				font-family:Arial;
				font-size:11px;
				font-weight:bold;
				color:#13807B;
				line-height:24px;
				height:24px;
				float:right;	
				cursor:pointer;
				display:none;
			}
			
			.td_pr_more_opt_btn
			{
				width:11px;
				height:11px;
				overflow:hidden;
				float:left;
				background-position: -263px 0px;
				margin-top:6px;
				margin-right:6px;
			}
		</style>
		
		<!--[if IE 6]>
		<script type="text/javascript">
		try {//IE fix, causes it to automatically cache background image
		document.execCommand("BackgroundImageCache", false, true);
		}
		catch(e){
		}
		</script>
		<![endif]-->
		
		<!-- PUT THIS TAG IN THE head SECTION -->
		<script type="text/javascript" src="http://partner.googleadservices.com/gampad/google_service.js">		
		</script>
		<script type="text/javascript">
		  GS_googleAddAdSenseService("ca-pub-8123415297019784");
		  GS_googleEnableAllServices();
		</script>
		<script type="text/javascript">
		  GA_googleAddSlot("ca-pub-8123415297019784", "todo_txt");
		</script>
		<script type="text/javascript">
		  GA_googleFetchAds();
		</script>
		<!-- END OF TAG FOR head SECTION -->
		
<script language="JavaScript">

    var $lp = jQuery.noConflict();
    var _gadgetID = 33;
    var ver;
    var VER_A = "A";
    var VER_B = "B";
    var VER_C = "C";
    var VER_D = "D";
    var prefs = new _IG_Prefs();;
    
    /* page tracker for regular reporting*/
    var lp_pageTracker = _gat._getTracker("UA-345375-1");
    lp_pageTracker._initData();
    
    /* page tracker for A/B testing reports*/
    var lp_pageTrackerTest = _gat._getTracker("UA-345375-3");
    lp_pageTrackerTest._initData();
    
    function lp_trackEvent(eventName,eventLable,eventVar) {
  
      try {
          lp_pageTracker._trackEvent("ToDo - Home",eventName,eventLable, eventVar);
          lp_pageTrackerTest._trackEvent("ToDo - Home_"+ver,eventName,eventLable, eventVar);
      } catch(ee) {}
  
    }
    

    var mTODO = _IG_GetCachedUrl("http://www.labpixies.com/campaigns/todo/todo_7.js");
    document.write('<scr'+'ipt type="text/javascript" src="'+mTODO+'"></scr'+'ipt>');

	var LP_email_subj = '__MSG_email_subj__'; 
	var LP_owner_title = '__MSG_owner_title__'; 
	var LP_more_my = ' __MSG_more_my__'; 
	var LP_add_first = '__MSG_add_first__'; 
	var LP_add_more = '__MSG_add_more__'; 
	var LP_more_first = ' __MSG_more_first__'; 								
	var LP_max_data_length = '__MSG_max_data_length__';
	var LP_add_new_task = '__MSG_add_new_task__'; 			
	var LP_g_add_more = '__MSG_g_add_more__';
	var LP_g_view_all = '__MSG_g_view_all__';
	var LP_g_add_new = '__MSG_g_add_new__';
	var LP_more_options = "__MSG_more_options__";
	var LP_new_task = '__MSG_new_task__';
	var LP_more_features = '__MSG_more_features__';
	

			function deploy_todo_profile()
			{
        setVersion();
				lpgadgets.lp.campaigns.todo.deploy();
						  
				$lp(window).resize(function(){lpgadgets.lp.campaigns.todo.set_profile_width()});
        _IG_AdjustIFrameHeight();
			}
			

			_IG_RegisterOnloadHandler(deploy_todo_profile);

      
      function reportFirstInteraction(){
        lp_trackEvent("User Interaction","Roll Over gadget");
        document.getElementById("td_pr_main_container").onmouseover=function(){};
      }
      
      function setVersion(){
        ver = prefs.getString("ver");
        //if user's language isnt en_us he will get version A
        if (!(__MSG_in_ab__) && ver!=VER_A){
		      ver = VER_A;
		      prefs.set("ver",ver);
		    }
		    else{
			    if ((ver!=VER_A) && (ver!=VER_B) && (ver!=VER_C) && (ver!=VER_D)){
	          ver = VER_A;
	          var rand = Math.ceil(Math.random()*100);
	          //for 1% we are giving the tested version
	          if (rand==1){
	            ver = VER_B;
	          }
	          if (rand==2){
	            ver = VER_C;
	          }
	          if (rand==3){
	            ver = VER_D;
	          }
	          prefs.set("ver",ver);
		    	}
		  	}
        
        //if ver = D, we are setting the animation on top
        if (ver==VER_D){

          document.getElementById("banner_img").src =("http://cdn.labpixies.com/campaigns/todo/images/v2/banner_gif_animation.gif");
				  
				  document.getElementById("banner_div").onclick = function(){
		  			lp_trackEvent('Open Canvas', 'Top animation');
		        var canvas_view = new gadgets.views.View("canvas");
						gadgets.views.requestNavigateTo(canvas_view);	
				  }
				  document.getElementById("td_pr_inner_container").style.paddingTop = "6px";
				  document.getElementById("banner_out").style.display="";
				}
				
        //_IG_Analytics("UA-345375-3", "/todo_profile_"+ver);
        lp_pageTrackerTest._trackPageview("/todo_profile_"+ver);
      }			
		</script>				
	
		<div id="td_pr_main_container" style="width:100%; text-align:center;" align="center" onmouseover="reportFirstInteraction();">
      <div id="banner_out" align="center" style="height:15px; display:none; padding-top:2px;"><div id="banner_div" style="width:203px; height:15px; cursor:pointer; overflow:hidden;"><img id="banner_img" src="file:///" width="203" height="15" /></div></div>
      <div id="td_pr_inner_container" class="td_pr_container" style="padding-top:10px;width:300px;height:265px;margin-left:auto;margin-right:auto;">
				<table cellspacing="0" cellpadding="0" border="0" class="td_pr_items_table">
					<tr height="41">
						<td class="td_pr_table_title" width="5">&nbsp;</td>
						<td class="td_pr_table_title" style="line-height:18px;font-size:10px;font-weight:bold;font-family:Arial;color:#C5A618" valign="top" align="left" id="td_pr_top_menu_left">
							<!--<font style="height:24px;line-height:24px">__MSG_owner_title__</font>-->
							__MSG_owner_title__
						</td>
						<td class="td_pr_table_title" valign="top" align="right" id="td_pr_top_menu">
							<div class="td_pr_btn_main" id="td_pr_max_btn">
								<div class="td_pr_btn_left td_pr_btn"></div>
								<div class="td_pr_btn_middle td_pr_btn">__MSG_full_screen__ &gt;</div>
								<div class="td_pr_btn_right td_pr_btn"></div>
							</div>						
						</td>						
						<td width="3"><div class="td_pr_top_right_corner" id="td_pr_top_title_right"></div></td>
					</tr>
				</table>
	
				<!-- TO DO ITEMS -->
				<div id="td_pr_items">
					
				</div>
	
				<!-- LAST 3 LINES --> 
				<div id="empty_line">				
					<table cellspacing="0" cellpadding="0" border="0" class="td_pr_items_table">
						<tr height="24">
							<td width="20" class="td_pr_last_lines td_pr_border_bottom" align="center">&nbsp;</td>
							<td width="3" class="td_pr_red td_pr_border_bottom"><div class="td_pr_red_cell_btm" style="width:3px;height:24px"></div></td>
							<td width="26" class="td_pr_border_bottom" align="center">&nbsp;</td>
							<td class="td_pr_border_bottom">&nbsp;</td>
							<td width="3" class="td_pr_right_cell" valign="top"><div class="td_pr_right_blue"></div></td>
						</tr>
					</table>
				</div>
				<div id="buttons_line">
				<table cellspacing="0" cellpadding="0" border="0" class="td_pr_items_table" >
					<tr height="24">
						<td width="20" class="td_pr_last_lines td_pr_border_bottom" align="center"><div  style="width:20px;height:24px">&nbsp;</div></td>
						<td width="3" class="td_pr_red td_pr_border_bottom"><div class="td_pr_red_cell_btm" style="width:3px;height:24px"></div></td>
						<td id="td_pr_more_items_out" class="td_pr_border_bottom" style="padding-left:6px;"><a class="td_pr_item_text" id="td_pr_more_items" href="javascript:void(0)"></a>&nbsp;</td>
						<td class="td_pr_border_bottom" style="padding-right:6px;" align="right">
							<div id="td_pr_more_options" class="td_pr_more_opt">
								<div id="td_pr_more_opt_btn_img" class="td_pr_more_opt_btn"></div>
								<div style="float:left">__MSG_more_options__</div>
							</div>
							&nbsp;							
							<a class="td_pr_item_text" id="td_pr_view_items" href="javascript:void(0)"></a>							
							</td>
						<td width="3" class="td_pr_right_cell" valign="top"><div class="td_pr_right_blue"></div></td>
					</tr>
				</table>
			 </div>
			
				<table cellspacing="0" cellpadding="0" border="0" class="td_pr_items_table">
					<tr>
						<td width="20" class="td_pr_last_lines" align="center" style="height:7px;line-height:7px;font-size:1px">&nbsp;</td>
						<td width="3" class="td_pr_red" style="height:7px;line-height:7px;font-size:1px">&nbsp;</td>
						<td width="26" align="center" style="height:7px;line-height:7px;font-size:1px">&nbsp;</td>
						<td style="height:7px;line-height:7px;font-size:1px">&nbsp;</td>
						<td width="3" class="td_pr_right_cell" valign="top" style="height:7px;line-height:7px;font-size:1px"><div class="td_pr_right_blue" style="height:7px"></div></td>
					</tr>
				</table>
				
				<table cellspacing="0" cellpadding="0" border="0"  width="100%">
					<tr>
						<td width="26" style="height:3px;line-height:3px;font-size:1px" class="td_pr_bottom_left" valign="top"><div id="td_pr_bottom_left_div" style="height:3px;width:36px;overflow:hidden;"></div></td>	
						<td width="100%"  style="height:3px;line-height:3px;font-size:1px" class="td_pr_bottom_right" valign="top"><div style="height:3px;width:100%;overflow:hidden;"></div></td>	
						<td width="3" style="height:3px;line-height:3px;font-size:1px" align="right" valign="top"><div id="td_pr_right_corner" style="height:3px;width:3px;overflow:hidden;"></div></td>
					</tr>
				</table>
		</div>
		</div>

		
		<div style="width:100%;float:left;margin-top:9px;" align="center">
			<!-- PUT THIS TAG IN DESIRED LOCATION OF SLOT todo_txt -->
			<script type="text/javascript">
			  GA_googleFillSlot("todo_txt");
			</script>
			<!-- END OF TAG FOR SLOT todo_txt -->
		</div>
		
		<div style="clear:both;">
		<script type="text/javascript">
            var mMENU = _IG_GetCachedUrl("http://cdn.labpixies.com/infra/js/lp_footer.js");
		  document.write('<scr'+'ipt type="text/javascript" src="'+mMENU+'"></scr'+'ipt>');
        </script>
        </div>
		
		<div id="td_size_cont" style="width:100%;height:1px;line-height:1px;font-size:1px;"><img width="1" height="1" class="td_pr_empty"/></div>	
		
		<script>
			try {
				lp_pageTracker._trackPageview("/todo_profile");
				//_IG_Analytics("UA-345375-1", "/todo_profile");
			} catch (e) {};
		</script>
		<iframe width="1" height="1" style="width:1px; height:1px; overflow:hidden; position:absolute; visibility:hidden;" src="http://static.labpixies.com/campaigns/todo/analytics.html"></iframe>
  ]]>  
	</Content>
	
	<Content type="html" view="canvas">  
  	<![CDATA[	
	<title>ToDo</title>
	<script language="JavaScript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>		
	<script language="JavaScript" src="http://www.google-analytics.com/ga.js"></script>

    <!-- PUT THIS TAG IN THE head SECTION -->
    <script type="text/javascript" src="http://partner.googleadservices.com/gampad/google_service.js">
    </script>
    <script type="text/javascript">
      GS_googleAddAdSenseService("ca-pub-8123415297019784");
      GS_googleEnableAllServices();
    </script>
    <script type="text/javascript">
      GA_googleAddSlot("ca-pub-8123415297019784", "todo_box_right");
      GA_googleAddSlot("ca-pub-8123415297019784", "todo_custom_1");
      GA_googleAddSlot("ca-pub-8123415297019784", "todo_custom_2");
      GA_googleAddSlot("ca-pub-8123415297019784", "todo_leaderboard_top");
    </script>
    <script type="text/javascript">
      GA_googleFetchAds();
    </script>
    <!-- END OF TAG FOR head SECTION -->

	<style>
		.td_cv_top
		{
			width:100%;
			height: 45px;	
		}

		.td_cv_items
		{
			width:100%;		
		}

		.td_cv_empty
		{
			border: 0;
		}

		.td_cv_title
		{	
			padding-top: 5px;
			padding-left: 12px;
			font-family: Arial;
			font-size: 14px;
			font-weight: bold;
			color: #c5a618;		
			background-repeat: repeat-x;	
		}

		.td_cv_title_menu
		{		
			padding-top: 5px;	
			font-family: Arial;
			font-size: 12px;
			font-weight: bold;
			color: #80795a;			
			background-repeat: repeat-x;
			/*width: 152px;*/
		}

		.td_cv_title_menu b
		{	
			font-family: Arial;
			font-size: 12px;
			font-weight: bold;
			color: #80795a;	
			text-decoration: none;
			padding: 0px 14px 0px 14px;
		}

		.td_cv_title_menu_link
		{		
			font-family: Arial;
			font-size: 12px;
			font-weight: bold;			
			color:#c5a618;
			text-decoration: none;		
		}

		.td_cv_title_menu_link:visited
		{					
			color:#c5a618;
		}

		.td_cv_title_menu_link:hover
		{		
			color: #f3f378;		
		}

		.td_cv_title_right
		{	
			background-repeat: no-repeat;
			width: 3px;	
		}

		.td_cv_item
		{
			background-color:#f3f378;	
		}

		.td_cv_item_all_over
		{
				
		}

		.td_cv_item_all
		{	
			border-bottom: #00c5c2 solid 1px;
		}

		.td_cv_ctrl
		{
			display: none;
		}

		.td_cv_item_arrows
		{	
			height: 23px;
			text-align: right;			
			padding: 5px 0px 0px 5px;
			width: 15px;	
		}

		.td_cv_item_eye
		{	
			padding: 9px 9px 0 9px;	
			text-align: center;	
			background-repeat: repeat-y;
			background-position: right;
		}

		.td_cv_item_count
		{
			font-family: Arial;
			font-weight: bold;
			font-size: 14px;
			color: #000000;
			padding-left: 10px;
			padding-right: 10px;
			padding-top: 7px;
			line-height: 18px;
		}

		.td_cv_item_text
		{
			font-family: Arial;
			font-weight: bold;
			font-size: 14px;
			color: #000000;	
			width:100%;
			padding-top: 7px;
			padding-right: 20px;
			padding-bottom: 7px;
			line-height: 18px;
		}

		.td_cv_item_eye_first
		{		
			background-repeat: repeat-y;
			background-position: right;
		}

		.td_cv_item_count_first
		{	
			line-height: 18px;
		}

		.td_cv_item_text_first
		{	
			width:100%;	
			line-height: 18px;
		}

		.td_cv_item_eye_bottom
		{		
			background-repeat: no-repeat;
			background-position: left;	
		}

		.td_cv_item_count_bottom
		{		
			background-repeat: repeat-x;
		}

		.td_cv_item_text_bottom
		{		
			width:100%;	
			background-repeat: repeat-x;	
		}

		.td_cv_item_rest_bottom
		{	
			background-repeat: repeat-x;;		
		}

		.td_cv_add
		{
			color: #80795a;	
		}

		.td_cv_add a
		{
			color: #80795a;
			text-decoration: none;
		}

		.td_cv_add a:hover
		{
			color: #80795a;
			text-decoration: underline;
		}

		.td_cv_add a:visited
		{
			color: #80795a;	
		}

		.td_cv_new_task
		{
			font-family: Arial;
			font-weight: bold;
			font-size: 14px;	
			background-color:#f3f378;
			border: none;
			color: #80795a;	
		}

		.td_cv_edit_task
		{
			font-family: Arial;
			font-weight: bold;
			font-size: 14px;
			background-color:#fcfcdb;
			border: none;
			overflow: hidden;	
			color: #80795a;	
		}

		.td_cv_item_done
		{	
			padding-right: 8px;
			padding-top: 7px;	
		}

		.td_cv_item_color
		{	
			padding-right: 8px;
			padding-top: 7px;	
		}

		.td_cv_item_delete
		{	
			padding-right: 8px;
			padding-top: 7px;	
		}

		.td_cv_item_right
		{	
			background-repeat: repeat-y;
			width: 3px;	
		}

		.td_cv_colors_pannel
		{
			position: absolute;
			display: none;
			width: 32px;
			height: 32px;
		}
		.rollover
		{
			cursor: pointer;
		}

		.td_cv_edit_cont_div
		{
			position:absolute;
			padding-top:5px;
			display:none;
			background-color:#fcfcdb;
			border: 1px solid #13807b;	
		}
		</style>
		
		<!--[if IE 6]>
		<script type="text/javascript">
		try {//IE fix, causes it to automatically cache background image
		document.execCommand("BackgroundImageCache", false, true);
		}
		catch(e){
		}
		</script>
		<![endif]-->		
			
<script language="JavaScript">
	var $lp = jQuery.noConflict();
	var _gadgetID = 33;
  var ver;
  var VER_A = "A";
  var VER_B = "B";
  var VER_C = "C";
  var VER_D = "D";
  var prefs = new _IG_Prefs();
  
  /* page tracker for regular reporting*/
  var lp_pageTracker = _gat._getTracker("UA-345375-1");
  lp_pageTracker._initData();
  
  /* page tracker for A/B testing reports*/
  var lp_pageTrackerTest = _gat._getTracker("UA-345375-3");
  lp_pageTrackerTest._initData();
  
  function lp_trackEvent(eventName,eventLable,eventVar) {

    try {
        lp_pageTracker._trackEvent("ToDo - Canvas",eventName,eventLable, eventVar);
        lp_pageTrackerTest._trackEvent("ToDo - Canvas_"+ver,eventName,eventLable, eventVar);
    } catch(ee) {}

  }
  
	var mTODO = _IG_GetCachedUrl("http://www.labpixies.com/campaigns/todo/todo_7.js");
  document.write('<scr'+'ipt type="text/javascript" src="'+mTODO+'"></scr'+'ipt>');

	var LP_email_subj = '__MSG_email_subj__'; 
	var LP_owner_title = '__MSG_owner_title__';
	var LP_more_my = ' __MSG_more_my__'; 
	var LP_add_first = '__MSG_add_first__'; 
	var LP_add_more = '__MSG_add_more__'; 
	var LP_more_first = ' __MSG_more_first__';
	var LP_max_data_length = '__MSG_max_data_length__';
	var LP_add_new_task = '__MSG_add_new_task__'; 			
	var LP_g_add_more = '__MSG_g_add_more__';
	var LP_g_view_all = '__MSG_g_view_all__';
	var LP_g_add_new = '__MSG_g_add_new__';
	
	
						
</script>	
		
<script language="JavaScript">									
	function deploy_todo_canvas()
	{											
		setVersion();
		// IE workaround
		$lp('.td_cv_title_menu_link').hover(
			function()
			{
				$lp(this).css('color','#f3f378');
			},
			function()
			{
				$lp(this).css('color','#c5a618');
			}
		);
		 
		// todo deploy is fired once all the OS data is ready in the sidebar				
		lpgadgets.lp.campaigns.todo.deploy();
	}
  
   function setVersion(){

        ver = prefs.getString("ver");
        //if no version then setting A as temporary (not saving to prefs)
        if ((ver!=VER_A) && (ver!=VER_B) && (ver!=VER_C) && (ver!=VER_D)){
          ver = VER_A;
        }
        lp_pageTrackerTest._trackPageview("/todo_canvas_"+ver); 
        //_IG_Analytics("UA-345375-3", "/todo_canvas_"+ver);
   }	
	
	//gadgets.util.registerOnLoadHandler(deploy_todo_canvas);
	_IG_RegisterOnloadHandler(deploy_todo_canvas);
	
</script>

<center>
    <div style="width:760px; height:106px; background-image:url(http://cdn.labpixies.com/infra/images/ad_unit_bg_760.png)">
		<div style="text-align:left; margin-left:22px; padding-top:9px;">
		  <script>
			 GA_googleFillSlot("todo_leaderboard_top");		
      </script>
		</div>
	</div>		
	<div style="height:15px; font-size:1px;"></div>
	
    <table cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td style="width:520px;">
                <div id="td_cv_main_container" style="width:520px;">
                	<table width="100%" cellpadding="0" cellspacing="0" border="0">
                		<tr>
                			<td valign="top">
                				<table class="td_cv_top" cellpadding="0" cellspacing="0" border="0">
                					<tr>
                						<td class="td_cv_title" valign="top" id="td_cv_title">__MSG_owner_title__</td>
                						<td class="td_cv_title_menu" style="padding-right:3px" valign="top" align="right"><a href="javascript:lpgadgets.lp.campaigns.todo.print_list()" class="td_cv_title_menu_link">__MSG_print_list__</a><b>|</b><a href="javascript:lpgadgets.lp.campaigns.todo.email_list()" class="td_cv_title_menu_link">__MSG_email_list__</a></td>
                						<td class="td_cv_title_right"></td>
                					</tr>
                				</table>

                				<table class="td_cv_items" id="td_cv_items" cellpadding="0" cellspacing="0" border="0">
                					<tr id="td_cv_item_top" class="td_cv_item" height="1">
                						<td height="1"><img class="td_cv_empty" height="1"/></td>
                						<td height="1" class="td_cv_item_eye_first"><img class="td_cv_empty" height="1" width="37"/></td>
                						<td height="1" class="td_cv_item_count_first" valign="top"><img class="td_cv_empty" width="1" height="1"/></td>
                						<td height="1" class="td_cv_item_text_first"><img class="td_cv_empty" width="1" height="1"/></td>
                						<td height="1"><img class="td_cv_empty" width="25" height="1"/></td>
                						<td height="1"><img class="td_cv_empty" width="25" height="1"/></td>
                						<td height="1"><img class="td_cv_empty" width="25" height="1"/></td>
                						<td height="1" class="td_cv_item_right"><img class="td_cv_empty" width="3" height="1"/></td>
                					</tr>
                				</table>

                				<div id="td_cv_edit_task_container" class="td_cv_edit_cont_div"><textarea class="td_cv_edit_task" size="70" name="td_cv_edit_task_item" id="td_cv_edit_task_item"></textarea></div>
                			</td>
                		</tr>
                	</table>

                	<div id="td_cv_comments"></div>
                </div>
            </td>
            <td style="width:240px;" align="right" valign="top">
                <div style="width:200px; margin-bottom:10px;">
                    <script type="text/javascript">
                      GA_googleFillSlot("todo_custom_1");
                    </script>
                </div>
                <div style="width:200px; margin-bottom:10px;">
                    <script type="text/javascript">
                      GA_googleFillSlot("todo_custom_2");
                    </script>
                </div>
                <div style="width:200px;">
                    <script type="text/javascript">
                      GA_googleFillSlot("todo_box_right");
                    </script>
                </div>
            </td>
        </tr>
     </table>
<div>
<script type="text/javascript">
    var mMENU = _IG_GetCachedUrl("http://cdn.labpixies.com/infra/js/lp_footer.js");
  document.write('<scr'+'ipt type="text/javascript" src="'+mMENU+'"></scr'+'ipt>');
</script>
</div>
	    	
 </center>
		<script>
		try {
		 	lp_pageTracker._trackPageview("/todo_canvas"); 
			//_IG_Analytics("UA-345375-1", "/todo_canvas");
		} catch (e) {};
		</script>
        <iframe width="1" height="1" style="width:1px; height:1px; overflow:hidden; position:absolute; visibility:hidden;" src="http://static.labpixies.com/campaigns/todo/analytics.html"></iframe>
	]]>  
  	</Content>	 	
</Module>