<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" 
  xmlns:widget="http://www.netvibes.com/ns/"  >
  <head>
 
    <meta name="author" content="Eutech SSII" />
    <meta name="description" content="UWA widget for Translation 2.0 purposes" />
    
    <meta name="apiVersion" content="1.0" />
    <meta name="autoRefresh" content="20" />
    <meta name="debugMode" content="true" />
      
    <title>Translation 2.0</title>
    <link rel="icon" type="image/png" 
      href="http://www.netvibes.com/favicon.ico" />
    <link rel="rich-icon" type="image/png"
  href="http://example.com/widget/richicon.png"/>
 
    <widget:preferences>
      <preference name="url" type="text" label="URL" 
        defaultValue="http://feeds.feedburner.com/NetvibesDevBlog" />
      <preference name="limit" type="range" label="Number of items to display"
        defaultValue="10" step="1" min="1" max="25" />
      <preference name="search" type="hidden" defaultValue="" />
    </widget:preferences>
 
    <style type="text/css">
     a {
	     font-size:9px;
	     color:#3366CC;
     }
    </style>
 
    <script type="text/javascript">
      
      var translation2uwa = {};
 
      translation2uwa.data = null;
 
      translation2uwa.display = function(responseJson) {
        
      }
 
      widget.onLoad = function() {
        UWA.Data.getFeed(widget.getValue('url'), translation2uwa.display);   
        UWA.Data.getText(
	    'http://www.translation2.com/translation2_backend/webresources/ajaxGetNumberOfRecords',
	    function(text){
	    
	    	//widget.addBody('<p>Already '+text+' websites added !</p>');
	    	var divCount = UWA.$element( widget.body.getElementById("count"));
	    	divCount.setHTML('Already '+text+' websites added !');
	    		    		    
	    }
  	);
  	 	
       }
    </script>
  </head>
  <body>
  	<div style="padding:5px;font-size:10px;color:#4c4c4c;">
  		<p style="text-align:center;color:#3366CC;font-weight:bold">WIN-WIN Contest, (c) <a href="http://www.translation2.com">translation2.com</a></p>
  		<br/>
		You're surfing the web and now you're stuck on a tricky term in a foreign language. Try our multilingual terminology search engine and find the meaning you're looking for.
		<br/>
		<form method="GET" target="_new" action="http://www.translation2.com/index.php">
		
		<input type="hidden" value="20" name="id"/>
		<input type="hidden" value="016366401723178772633:d21e-jabrmm" name="cx"/>
		<input type="hidden" value="FORID:11" name="cof"/>
		
		<input style="border:1px solid #a4b5d0" name="query" type="text" size="30" /> 
		<input style="border:1px solid #afafaf;background:#e9e9e9;" type="submit" value="search"/>
		</form>
		<br/>
		<br/>
		If you know of a term-rich multilingual website that's not yet indexed on <a href="http://www.translation2.com">translation2.com</a>, send us the URL and you can make $1 for each submission.
		<form method="GET" target="_new" action="http://www.translation2.com/index.php?id=26">
		<input type="hidden" value="26" name="id"/>
		<input style="border:1px solid #a4b5d0" type="text" name="defaultUrl" size="30"/>
		<input style="border:1px solid #afafaf;background:#e9e9e9;" type="submit" value="submit"/>
		<br/>
		<br/>
		<a href="http://www.translation2.com"><img src="http://www.translation2.com/translation2.jpg" border="0"/></a>
		</form>
		<br/>
		<p style="text-align:center;color:#3366CC;font-weight:bold">You Win $ 5,000 , We Win 5,000 URLs</p>
		<br/>
		<p id="count"></p>
		<br/>
		<p>Read the <a href="http://www.translation2.com/index.php?id=15">search engine FAQs</a> and the Win-Win Contest <a href="http://www.translation2.com/index.php?id=17">Rules and Regulations</a>.</p>
	</div>
  </body>
</html>