<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>eurojoe.com &#187; Length Converter</title>
	<atom:link href="http://www.eurojoe.com/category/conversion-calculators/length-converter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eurojoe.com</link>
	<description>Source for Europeans Living in the US</description>
	<lastBuildDate>Wed, 14 Jul 2010 05:03:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Length Converter</title>
		<link>http://www.eurojoe.com/2007/11/17/length-converter/</link>
		<comments>http://www.eurojoe.com/2007/11/17/length-converter/#comments</comments>
		<pubDate>Sun, 18 Nov 2007 06:48:00 +0000</pubDate>
		<dc:creator>eurojoe</dc:creator>
				<category><![CDATA[Conversion Calculators]]></category>
		<category><![CDATA[Length Converter]]></category>

		<guid isPermaLink="false">http://eurojoe.com/2007/11/17/length-converter/</guid>
		<description><![CDATA[<p>Convert between these LENGTH Units: Centimeters, Meters, Kilometers, Miles, Inches, Feet, Yards</p>
]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript">

// Length Converter script- By Bruce Zhang
// For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/
// Please keep this notice intact

var factors1 = new Array(1, 0.01, 0.00001, 0.00000621, 0.3937, 0.0328, 0.01094);
var factors2 = new Array(100, 1, 0.001, 0.000621, 39.37, 3.28,  1.094);
var factors3 = new Array(100000, 1000, 1, 0.621, 39370, 3280, 1094);
var factors4 = new Array(160934, 1609.34, 1.60934, 1, 63360, 5280,1760);
var factors5 = new Array(2.54, 0.0254, 0.0000254, 0.0000158, 1, 0.08333, 0.02778);
var factors6 = new Array(30.48, 0.3048, 0.0003048, 0.0001896, 12, 1, 0.3333);
var factors7 = new Array(91.44, 0.9144, 0.0009144, 0.0005688, 36, 3, 1);
var factors = new Array(factors1,factors2,factors3,factors4,factors5,factors6,factors7);

function convert_unit()
{
	from_index = document.length_con.from_unit.selectedIndex;
	to_index = document.length_con.to_unit.selectedIndex;
	factor = factors[from_index][to_index];
	document.getElementById("formula").innerHTML = document.length_con.from_unit.options[document.length_con.from_unit.selectedIndex].text + " = " + factor + " " + document.length_con.to_unit.options[document.length_con.to_unit.selectedIndex].text;
	if(isNaN(document.length_con.from_value.value))
		document.getElementById("to_value").innerHTML = "Not a valid number.";
	else
		document.getElementById("to_value").innerHTML = factor * document.length_con.from_value.value;
}
</script></p>
<p>
<b>1</b> Select a length unit from the &#8220;From&#8221; dropdown list and one from the &#8220;To&#8221; dropdown list.<br />
<br /><b>2</b> Enter a numeric value, and click &#8220;To&#8221; button.</p>
<form name="length_con">
<table>
<tr>
<td>From </td>
<td>
<select name=from_unit onChange="convert_unit()";>
<option> centimeters</p>
<option> meters</p>
<option> kilometers</p>
<option> miles</p>
<option> inches</p>
<option> feet</p>
<option> yards<br />
			</select>
</td>
<td>  To </td>
<td>
<select name=to_unit onChange="convert_unit()";>
<option> centimeters</p>
<option> meters</p>
<option> kilometers</p>
<option> miles</p>
<option> inches</p>
<option> feet</p>
<option> yards<br />
			</select>
</td>
</tr>
<tr>
<td> </td>
<td colspan="3">
<div id="formula">centimeters = 1 centimeters</div>
</td>
</tr>
<tr>
<td colspan="4"> </td>
</tr>
<tr>
<td>Enter </td>
<td>
<input type="text" name="from_value" value="1" size="12" maxlength="12"></td>
<td>
<input type=button value="To" onClick="convert_unit()";> </td>
<td>
<div id="to_value">1</div>
</td>
</tr>
<tr>
<td>
<div align="center" style="font: normal 11px Arial">This free script provided by<br />
<a href="http://www.javascriptkit.com">JavaScript Kit</a></div>
</td>
</tr>
</table>
</form>
]]></content:encoded>
			<wfw:commentRss>http://www.eurojoe.com/2007/11/17/length-converter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
