/**
 * How to use.
 * (Look below for an example)
 * http://www.gtaero.net/twitter/	
 * [optional]	[DEFAULT]	navarr		?user	=USERNAME		STR
 * [optional]	[DEFAULT]	10		&count	=NUMBER_TO_SHOW		INT 0-20
 * [optional]	[DEFAULT]	true		&time	=DISPLAY_TIME		BOOL[true,false]	Display the Time of the Tweet
 * [optional]	[DEFAULT]	true		&client	=DISPLAY_CLIENT		BOOL[true,false]	Display the Client the tweet was posted from
 * [optional]	[DEFAULT]	true		&br	=BREAK_TWEET_TIME	BOOL[true,false]	Break the Tweet and the Time in HTML (<br />)
 * [optional]	[DEFAULT]	false		&turl	=USE_TURLED		BOOL[true,false]	Use Turled profile links instead of twitter
 * [optional]	[DEFAULT]	5		&cache	=MINUTES_TO_CACHE	INT >= 5		The number of minutes (greater than or equal to five) to cache tweets.
 *
 *
 * How to embed:
 * Put in <head>: <script type="text/javascript" src="http://www.gtaero.net/twitter/?VARIABLES" />
 * Put in <body>: <div id="twitterz"></div><script type="text/javascript">twitter2id("twitterz");</script>
 *
 * Example of URL with variables: http://gtaero.net/twitter/?user=navarr&count=5
 *
 * PHP Source Code: http://www.gtaero.net/twitter/index.php?source
 *
 * About & License: http://tech.gtaero.net/code/simple-twitter
 */
function twitter2id(id)
{
	// Used New File
	var twitterEle = document.getElementById(id);
	var ul = document.createElement("ul");
	var li;
	li = document.createElement("li");
	li.innerHTML = "What a fun project. Hey, anything that invovles a road trip across the country and creative photography techniques... <a href=\"http://fb.me/Eb30uF0a\">http://fb.me/Eb30uF0a</a><br />about <a href=\"http://twitter.com/CreativePhotoKC/statuses/19670280185\">2 days ago</a>";
	ul.appendChild(li);
	li = document.createElement("li");
	li.innerHTML = "Join me in a live video discussion with @<a href=\"http://twitter.com/DaneSanders\">DaneSanders</a> <a href=\"http://bit.ly/dtUOfe\">http://bit.ly/dtUOfe</a> #<a href=\"http://www.hashtags.org/tag/vokle/\">vokle</a><br />about <a href=\"http://twitter.com/CreativePhotoKC/statuses/19031410153\">1 week ago</a>";
	ul.appendChild(li);
	li = document.createElement("li");
	li.innerHTML = "Add Target, Snapfish, Shutterfly and Walgreens to list of Apps you might want to block on Facebook to keep people from printing your photos.<br />about <a href=\"http://twitter.com/CreativePhotoKC/statuses/19029705478\">1 week ago</a>";
	ul.appendChild(li);
	li = document.createElement("li");
	li.innerHTML = "You have tied the knot, you have eaten, danced, shoved cake in each other's face and had fun with your bouquet and... <a href=\"http://fb.me/Fbv3qmIU\">http://fb.me/Fbv3qmIU</a><br />about <a href=\"http://twitter.com/CreativePhotoKC/statuses/19020644089\">1 week ago</a>";
	ul.appendChild(li);
	li = document.createElement("li");
	li.innerHTML = "@<a href=\"http://twitter.com/\"></a> LadyREDDVelvet  Congrats on your engagement.... wish you both the best!<br />about <a href=\"http://twitter.com/CreativePhotoKC/statuses/19019934694\">1 week ago</a>";
	ul.appendChild(li);
	li = document.createElement("li");
	li.innerHTML = "You are have tied the know, you have eaten, danced, shoved cake in each other's face and had fun with your bouquet... <a href=\"http://fb.me/FbBkkNvw\">http://fb.me/FbBkkNvw</a><br />about <a href=\"http://twitter.com/CreativePhotoKC/statuses/18955148624\">1 week ago</a>";
	ul.appendChild(li);
	li = document.createElement("li");
	li.innerHTML = "Free to a good home... one slightly used iPhone 4 <b>snicker</b> <a href=\"http://bit.ly/aHXN0k\">http://bit.ly/aHXN0k</a><br />about <a href=\"http://twitter.com/CreativePhotoKC/statuses/18892301419\">1 week ago</a>";
	ul.appendChild(li);
	li = document.createElement("li");
	li.innerHTML = "This would have been a fun shoot to do for a client! <a href=\"http://bit.ly/9wWErg\">http://bit.ly/9wWErg</a><br />about <a href=\"http://twitter.com/CreativePhotoKC/statuses/18891944811\">1 week ago</a>";
	ul.appendChild(li);
	li = document.createElement("li");
	li.innerHTML = "Still room to join us for the Worldwide Photowalk next Saturday in the Crossroads and then grab dinner at The Cashew. <a href=\"http://bit.ly/91Okw2\">http://bit.ly/91Okw2</a><br />about <a href=\"http://twitter.com/CreativePhotoKC/statuses/18880351271\">2 weeks ago</a>";
	ul.appendChild(li);
	li = document.createElement("li");
	li.innerHTML = "There are still a few spots left if you want to join us on the Worldwide Photo Walk next weekend. Sign up here.  <a href=\"http://bit.ly/91Okw2\">http://bit.ly/91Okw2</a><br />about <a href=\"http://twitter.com/CreativePhotoKC/statuses/18783132504\">2 weeks ago</a>";
	ul.appendChild(li);
	twitterEle.innerHTML = "";
	twitterEle.appendChild(ul);
	var span = document.createElement("span");
	span.style.textAlign = "center";
	span.style.width = "100%";
	span.style.fontSize = "60%";
	span.style.visibility = "visible !important";
	span.style.display = "inline-block !important";
	span.setAttribute("class","simpleTwitterLink");
	var link = document.createElement("a");
	link.setAttribute("href","http://tech.gtaero.net/code/simple-twitter");
	link.innerHTML = "Simple Twitter";
	span.appendChild(link);
//	twitterEle.appendChild(span);
}
