<?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>Thomas&#039; Thoughts</title>
	<atom:link href="http://theas.us/thoughts/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://theas.us/thoughts</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 31 Jan 2012 19:05:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>jQuery Version Check:  live() Vs. On()</title>
		<link>http://theas.us/thoughts/?p=76</link>
		<comments>http://theas.us/thoughts/?p=76#comments</comments>
		<pubDate>Tue, 31 Jan 2012 18:34:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Compatibility]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://theas.us/thoughts/?p=76</guid>
		<description><![CDATA[Recently I started work on my own jQuery plugins.  I do love that jQuery.  But, as I was working, I came to see the difference between on() and live(). I&#8217;m reading that live() is depreciated, so in order to make my plugin a bit more universal, I wrote a function to detect the jQuery version [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I started work on my own jQuery plugins.  I do love that jQuery.  But, as I was working, I came to see the difference between on() and live().</p>
<p>I&#8217;m reading that live() is depreciated, so in order to make my plugin a bit more universal, I wrote a function to detect the jQuery version being used, and act accordingly.  Here it is:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> useOn<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #003366; font-weight: bold;">var</span> jRequired <span style="color: #339933;">=</span> <span style="color: #3366CC;">'1.7.1'</span>.<span style="color: #660066;">split</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #003366; font-weight: bold;">var</span> jInstalled <span style="color: #339933;">=</span> jQuery.<span style="color: #660066;">fn</span>.<span style="color: #660066;">jquery</span>.<span style="color: #660066;">split</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #003366; font-weight: bold;">var</span> on <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span>x <span style="color: #000066; font-weight: bold;">in</span> jInstalled<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>parseInt<span style="color: #009900;">&#40;</span>jInstalled<span style="color: #009900;">&#91;</span>x<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&lt;</span> parseInt<span style="color: #009900;">&#40;</span>jRequired<span style="color: #009900;">&#91;</span>x<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> on<span style="color: #339933;">==</span><span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
				on <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>	
			<span style="color: #009900;">&#125;</span>
		<span style="color: #009900;">&#125;</span>
		<span style="color: #000066; font-weight: bold;">return</span> on<span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span></pre></div></div>

<p>If the jQuery version is 1.7.1 or higher, this function will return true.  If lower, it will return false.  I call the function when I&#8217;m getting ready to set click functions on some of my objects.</p>
<p>I couldn&#8217;t find anything like it will poking around Google, so hopefully someone else finds this helpful. </p>
]]></content:encoded>
			<wfw:commentRss>http://theas.us/thoughts/?feed=rss2&#038;p=76</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>United States JSON state list</title>
		<link>http://theas.us/thoughts/?p=69</link>
		<comments>http://theas.us/thoughts/?p=69#comments</comments>
		<pubDate>Fri, 04 Feb 2011 16:28:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JSON]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[States]]></category>
		<category><![CDATA[US]]></category>
		<category><![CDATA[United States]]></category>

		<guid isPermaLink="false">http://theas.us/thoughts/?p=69</guid>
		<description><![CDATA[In case anyone needs it. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 [...]]]></description>
			<content:encoded><![CDATA[<p>In case anyone needs it.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> US <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
<span style="color: #3366CC;">&quot;AL&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;0&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Alabama&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;AL&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;AK&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;1&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Alaska&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;AK&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;AZ&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;2&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Arizona &quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;AZ&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;AR&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;3&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Arkansas&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;AR&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;CA&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;4&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;California &quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;CA&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;CO&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;5&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Colorado &quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;CO&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;CT&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;6&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Connecticut&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;CT&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;DE&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;7&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Delaware&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;DE&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;DC&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;8&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;District Of Columbia&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;DC&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;FL&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;9&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Florida&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;FL&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;GA&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;10&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Georgia&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;GA&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;HI&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;11&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Hawaii&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;HI&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;ID&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;12&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Idaho&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;ID&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;IL&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;13&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Illinois&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;IL&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;IN&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;14&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Indiana&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;IN&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;IA&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;15&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Iowa&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;IA&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;KS&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;16&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Kansas&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;KS&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;KY&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;17&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Kentucky&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;KY&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;LA&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;18&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Louisiana&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;LA&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;ME&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;19&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Maine&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;ME&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;MD&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;20&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Maryland&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;MD&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;MA&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;21&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Massachusetts&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;MA&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;MI&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;22&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Michigan&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;MI&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;MN&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;23&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Minnesota&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;MN&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;MS&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;24&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Mississippi&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;MS&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;MO&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;25&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Missouri&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;MO&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;MT&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;26&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Montana&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;MT&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;NE&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;27&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Nebraska&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;NE&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;NV&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;28&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Nevada&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;NV&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;NH&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;29&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;New Hampshire&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;NH&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;NJ&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;30&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;New Jersey&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;NJ&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;NM&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;31&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;New Mexico&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;NM&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;NY&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;32&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;New York&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;NY&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;NC&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;33&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;North Carolina&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;NC&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;ND&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;34&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;North Dakota&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;ND&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;OH&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;35&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Ohio&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;OH&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;OK&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;36&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Oklahoma&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;OK&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;OR&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;37&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Oregon&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;OR&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;PA&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;38&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Pennsylvania&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;PA&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;RI&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;39&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Rhode Island&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;RI&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;SC&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;40&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;South Carolina&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;SC&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;SD&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;41&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;South Dakota&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;SD&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;TN&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;42&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Tennessee&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;TN&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;TX&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;43&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Texas&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;TX&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;UT&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;44&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Utah&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;UT&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;VT&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;45&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Vermont&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;VT&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;VA&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;46&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Virginia &quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;VA&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;WA&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;47&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Washington&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;WA&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;WV&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;48&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;West Virginia&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;WV&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;WI&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;49&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Wisconsin&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;WI&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
<span style="color: #3366CC;">&quot;WY&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;count&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;50&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Wyoming&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;abbr&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;WY&quot;</span><span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>[Generated using jQuery and the US Postal Service. <img src='http://theas.us/thoughts/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ]</p>
]]></content:encoded>
			<wfw:commentRss>http://theas.us/thoughts/?feed=rss2&#038;p=69</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cleinman Performance Partners has a new website</title>
		<link>http://theas.us/thoughts/?p=61</link>
		<comments>http://theas.us/thoughts/?p=61#comments</comments>
		<pubDate>Sat, 29 Jan 2011 06:15:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://theas.us/thoughts/?p=61</guid>
		<description><![CDATA[Since my last post, which I know was some time ago, I&#8217;ve started a new position with a consulting firm in Upstate New York, near where I was born and raised.  When I left Upstate at the age of 18 for college, I knew I was going to be gone for a long time, but [...]]]></description>
			<content:encoded><![CDATA[<p>Since my last post, which I know was some time ago, I&#8217;ve started a new position with a consulting firm in Upstate New York, near where I was born and raised.  When I left Upstate at the age of 18 for college, I knew I was going to be gone for a long time, but I also knew I was always going to come home.  Last year, the stars aligned, and I found a job very close to my hometown, where I could move home with my wife and 1 year old son, and give him the same life in the woods that I had growing up.</p>
<p>This was no mean feat.  Finding a position as a developer away from an urban area is tricking, but I found Cleinman Performance Partners.  An optometrist consulting company, CPP helps medical professionals of that certain bend be more successful, and in fulfilling that task they decided to invest in me to give them an edge most companies don&#8217;t have in house.  Their unique needs and drive led them to the conclusion that a mere webmaster, or web design company, wasn&#8217;t enough.</p>
<p>I&#8217;ve been here since September, and the challenges have been thrilling.  I have complete latitude to make all the technical determinations necessary to make this website a success, and I have been able to put out some of my finest work to date.  I hope this is a trend that continues for a long while.</p>
<div id="attachment_63" class="wp-caption aligncenter" style="width: 410px"><a href="http://www.cleinman.com"><img class="size-large wp-image-63" title="Cleinman Performance Partners" src="http://theas.us/thoughts/wp-content/uploads/2011/01/home_page-874x1024.jpg" alt="Cleinman Performance Partners" width="400" /></a><p class="wp-caption-text">Cleinman Performance Partners</p></div>
<p>The design is derived from what existed when I began working there.  I cleaned up the layout, added some subtle effects, and replaced all flash elements with jQuery derived scripts.  The company that designed and built the site initially&#8230; well, they did a very bad job technically.  There was a Coldfusion based proprietary CMS in place to manage the site&#8230;  It was broken.  It was also duplicated so many times from client to client that it was a giant security hazard, whose database still contained active user credentials for dozens of other websites&#8230;  The initial charge for that site was astronomical, and took 6 months to deliver a broken and insecure system.  </p>
<p>My replacement was Open Source, took 2 weeks, and has vastly improved security.</p>
<p>There are many facets to the site, so many at this point to cover them all I will wait for other posts, but this has been my real jump into JavaScript as a powerful weapon in my arsenal.  I&#8217;ve been getting deeper into client-side scripting over the past few years, but now I derive true joy and achieve excellent results.  I have also gotten much deeper into jQuery and a little bit into MooTools.  I am at the point where I can&#8217;t think of the next time I will need to use Flash again in the foreseeable future.  And good riddance. (I kid&#8230; kinda.)</p>
]]></content:encoded>
			<wfw:commentRss>http://theas.us/thoughts/?feed=rss2&#038;p=61</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Better CSV Export from MicroSoft Excel for MySQL</title>
		<link>http://theas.us/thoughts/?p=58</link>
		<comments>http://theas.us/thoughts/?p=58#comments</comments>
		<pubDate>Wed, 25 Aug 2010 18:54:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://theas.us/thoughts/?p=58</guid>
		<description><![CDATA[I had a problem getting a CSV from Excel in a format that would easily import into a MySQL database.  So I looked around, and found this macro. (I don&#8217;t recall the source, or I&#8217;d post that too&#8230;) Sub CSVFile() Dim SrcRg As Range Dim CurrRow As Range Dim CurrCell As Range Dim CurrTextStr As [...]]]></description>
			<content:encoded><![CDATA[<p>I had a problem getting a CSV from Excel in a format that would easily import into a MySQL database.  So I looked around, and found this macro. (I don&#8217;t recall the source, or I&#8217;d post that too&#8230;)</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Sub CSVFile()</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Dim SrcRg As Range</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Dim CurrRow As Range</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Dim CurrCell As Range</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Dim CurrTextStr As String</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Dim ListSep As String</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Dim FName As Variant</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">FName = Application.GetSaveAsFilename(&#8220;&#8221;, &#8220;CSV File (*.csv), *.csv&#8221;)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">If FName &lt;&gt; False Then</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ListSep = Application.International(xlListSeparator)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">If Selection.Cells.Count &gt; 1 Then</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Set SrcRg = Selection</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Else</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Set SrcRg = ActiveSheet.UsedRange</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">End If</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Open FName For Output As #1</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">For Each CurrRow In SrcRg.Rows</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">CurrTextStr = &#8220;&#8221;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">For Each CurrCell In CurrRow.Cells</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">CurrTextStr = CurrTextStr &amp; &#8220;&#8221;"&#8221; &amp; CurrCell.Value &amp; &#8220;&#8221;"&#8221; &amp; ListSep</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Next</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">While Right(CurrTextStr, 1) = ListSep</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">CurrTextStr = Left(CurrTextStr, Len(CurrTextStr) &#8211; 1)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Wend</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Print #1, CurrTextStr</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Next</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Close #1</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">End If</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">End Sub</div>
<p>Sub CSVFile()</p>
<p>Dim SrcRg As Range</p>
<p>Dim CurrRow As Range</p>
<p>Dim CurrCell As Range</p>
<p>Dim CurrTextStr As String</p>
<p>Dim ListSep As String</p>
<p>Dim FName As Variant</p>
<p>FName = Application.GetSaveAsFilename(&#8220;&#8221;, &#8220;CSV File (*.csv), *.csv&#8221;)</p>
<p>If FName &lt;&gt; False Then</p>
<p>ListSep = Application.International(xlListSeparator)</p>
<p>If Selection.Cells.Count &gt; 1 Then</p>
<p>Set SrcRg = Selection</p>
<p>Else</p>
<p>Set SrcRg = ActiveSheet.UsedRange</p>
<p>End If</p>
<p>Open FName For Output As #1</p>
<p>For Each CurrRow In SrcRg.Rows</p>
<p>CurrTextStr = &#8220;&#8221;</p>
<p>For Each CurrCell In CurrRow.Cells</p>
<p>CurrTextStr = CurrTextStr &amp; &#8220;&#8221;"&#8221; &amp; CurrCell.Value &amp; &#8220;&#8221;"&#8221; &amp; ListSep</p>
<p>Next</p>
<p>While Right(CurrTextStr, 1) = ListSep</p>
<p>CurrTextStr = Left(CurrTextStr, Len(CurrTextStr) &#8211; 1)</p>
<p>Wend</p>
<p>Print #1, CurrTextStr</p>
<p>Next</p>
<p>Close #1</p>
<p>End If</p>
<p>End Sub</p>
]]></content:encoded>
			<wfw:commentRss>http://theas.us/thoughts/?feed=rss2&#038;p=58</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5: So much potential</title>
		<link>http://theas.us/thoughts/?p=56</link>
		<comments>http://theas.us/thoughts/?p=56#comments</comments>
		<pubDate>Tue, 20 Jul 2010 15:00:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://theas.us/thoughts/?p=56</guid>
		<description><![CDATA[I&#8217;ve recently been tasked with researching HTML5 for my company.  The point of this is to generate very specific search pages for mobile devices, starting with the iPhone, iPod and iPad.  So far, thanks to the compliance level of the iOS version of Safari, its been great fun. Due to this, we now how CS5 [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently been tasked with researching HTML5 for my company.  The point of this is to generate very specific search pages for mobile devices, starting with the iPhone, iPod and iPad.  So far, thanks to the compliance level of the iOS version of Safari, its been great fun.</p>
<p>Due to this, we now how CS5 in the office, because the new Dreamweaver has some nice improvements to make this a little easier.  As and aside, kudos to Adobe for their fine works on this version.</p>
<p>Fortunatly for me, using HTML5 techniques on this project is going to turn out an excellent mobile search when I&#8217;m all done.  However, unfortunatly, it will be a while before I can carry ovr some of the things I&#8217;m learning here into other areas.</p>
<p>HTML5 support in web browsers is currently spotty at best.  My best experience thus far testing new tags and attributes has been on Chrome, Safari and Opera.  I&#8217;m seeing among the daily user I encounter increasing usage of Chrome, but I know very few people who use Safari, and no one who uses Opera for general web surfing. (I&#8217;m not saying Opera is a bad browser by any means, just that its adoption rate is negligible in my personal observations.)</p>
<p>The big browsers right now are Firefox and Internet Explorer.  Firefox is planning more support in the near future, which i guess is fine, but its IE that will be the bigger problem. Versions 7 and 8 are now widely being used by general users, and this is only because of the &#8216;Facebook Effect&#8217; I believe.  Popular sites like Youtube and Facebook quit IE6 support a while ago, and finally its seems to have pushed IE6 use off a cliff, with only 5% of users on that browser last time I check.</p>
<p>Unfortunately, IE7 and IE8 aren&#8217;t going to be going anywhere any time soon.  Additionally, Microsoft isn&#8217;t planning wider HTML5 support until IE9&#8230; the real problem here is that, from what I&#8217;m hearing, IE9 will only be available for Windows Vista and Windows 7+ users. XP users? You are out of luck.</p>
<p>Now, my name is Thomas, and I&#8217;m a PC.  I&#8217;m running Windows 7 64bit, and very happy with it.  But due to the very bad press surrounding the Vista release, many people have clung to XP and are unwilling to let go.  Which means a big section of the internet population will be unable to use the forthcoming version of IE that will allow the deployment of the more advance, and useful, HTML5 coding techniques.</p>
<p>What a shame, is all I can say.  I&#8217;m not terribly surprised however.  I&#8217;m planing, in general development, to continue to use more widely supported HTML4, with the current CSS and AJAX techniques, to get by until, oh say&#8230; 2012&#8230; 2015&#8230; maybe longer?  It took so long for IE6 to fall off the map, that I can&#8217;t expect 7 and 8 to go in any kind of reasonable time frame now.</p>
<p>However, on my current project, an HTML5 mobile search for the iProducts, things should go pretty well.  So long as I can avoid years and years of writing individual exceptions for user-agents, I&#8217;ll be just fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://theas.us/thoughts/?feed=rss2&#038;p=56</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>General Update</title>
		<link>http://theas.us/thoughts/?p=53</link>
		<comments>http://theas.us/thoughts/?p=53#comments</comments>
		<pubDate>Wed, 21 Apr 2010 13:41:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://theas.us/thoughts/?p=53</guid>
		<description><![CDATA[As busy as I am with work and fatherhood, I have a moment today where I thought I would give an update on my recent activities. Lately I&#8217;ve been doing more JavaScript, which has really broadened my mind.  My most recent work is this new contact page for Smarter Agent&#8217;s MLS inquiries. Using JS and [...]]]></description>
			<content:encoded><![CDATA[<p>As busy as I am with work and fatherhood, I have a moment today where I thought I would give an update on my recent activities.</p>
<p>Lately I&#8217;ve been doing more JavaScript, which has really broadened my mind.  My most recent work is this new contact page for Smarter Agent&#8217;s MLS inquiries. Using JS and PHP, I built a dynamic form to send mail without loading a new window.</p>
<div class="wp-caption aligncenter" style="width: 410px"><a href="http://www.smarteragent.com/formls"><img title="Smarter Agent MLS Contact Form" src="http://theas.us/images/mls_page.jpg" alt="Smarter Agent MLS Contact Form" width="400" height="374" /></a><p class="wp-caption-text">Smarter Agent MLS Contact Form</p></div>
<p>JavasScript is used to validate  all of the form fields, with some form validation by PHP after the submit button is checked.  It took a good afternoon, and was lots of fun.</p>
<p>I&#8217;ve been using JS to build new downloaders for Smarter Agent&#8217;s Homes for Sale mobile application.  Recently I&#8217;ve been doing more downloaders for mobile devices, which require a broad set of considerations.  Given the variety of phones, and their differing capabilities, you can&#8217;t  rely on one way of doing things.  The iPhone is a very capable device to design for, but obviously Flash is out of the question.  Android is also quite nice, but seems to lack JavaScript in application browser windows (meaning a browser window opened by an Android application.  The Android browser by itself is very capable.).  Palm is excellent as well, but older model Blackberry devices and not-so-smartphones require the most basic of codes.</p>
<p>This week has been dedicated to more mobile oriented work than I normally do, but its been fun.  Hopefully in a few weeks time I will have every mobile solution I need.  Thats what I love about my job.  There is no end of problems to solve, and I can learn something new everyday.</p>
]]></content:encoded>
			<wfw:commentRss>http://theas.us/thoughts/?feed=rss2&#038;p=53</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling PHP Error messages</title>
		<link>http://theas.us/thoughts/?p=44</link>
		<comments>http://theas.us/thoughts/?p=44#comments</comments>
		<pubDate>Fri, 29 Jan 2010 17:28:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[error_reporting]]></category>
		<category><![CDATA[ini_set]]></category>
		<category><![CDATA[reporting]]></category>

		<guid isPermaLink="false">http://theas.us/thoughts/?p=44</guid>
		<description><![CDATA[I have a server at work which has error messages turned off in the PHP INI file, which I do not have access to (kind of irritating given this is the server I have to test on daily&#8230;).  To get around this, and to find places where a PHP file is failing, I add the [...]]]></description>
			<content:encoded><![CDATA[<p>I have a server at work which has error messages turned off in the PHP INI file, which I do not have access to (kind of irritating given this is the server I have to test on daily&#8230;).  To get around this, and to find places where a PHP file is failing, I add the following lines to the top of a give script if I want to see the errors on this box:</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">error_reporting(E_ALL);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ini_set(&#8220;display_errors&#8221;, 1);</div>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">error_reporting</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">E_ALL</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">ini_set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;display_errors&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://theas.us/thoughts/?feed=rss2&#038;p=44</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smarter Agent has a new website</title>
		<link>http://theas.us/thoughts/?p=39</link>
		<comments>http://theas.us/thoughts/?p=39#comments</comments>
		<pubDate>Fri, 23 Oct 2009 00:19:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://theas.us/thoughts/?p=39</guid>
		<description><![CDATA[This past Saturday we launched the new Smarter Agent website. Designed by Alison Hinch, with Flash by Nick &#8216;the best damn intern&#8217; Mazzetti, constructed and implemented by me, it came online October 17th in all its glory. This is the second time I&#8217;ve rebuilt the site for Smarter Agent, and the first major redesign implementation. [...]]]></description>
			<content:encoded><![CDATA[<p>This past Saturday we launched the new <a href="http://www.smarteragent.com">Smarter Agent</a> website.  Designed by Alison Hinch, with Flash by Nick &#8216;the best damn intern&#8217; Mazzetti, constructed and implemented by me, it came online October 17th in all its glory.  This is the second time I&#8217;ve rebuilt the site for Smarter Agent, and the first major redesign implementation.  It was a good technological leap too, bringing several new functions for customers that should help us serve them better, and platform changes for further improvements in the near future.</p>
<p>Its built with a new CMS system, with many custom sections for unique database requirements.  I&#8217;ve been doing &#8216;bolt tightening&#8217; on it all week, and am excited about the new work this is going to come next.</p>
<div class="wp-caption aligncenter" style="width: 510px"><a href="http://www.smarteragent.com"><img title="Smarter Agent" src="http://theas.us/images/saSite.jpg" alt="The new Smarrter Agent site.  Click to visit." width="500" height="390" /></a><p class="wp-caption-text">The new Smarter Agent site.  Click to visit.</p></div>
<p>Credits:<br />
<a title="Alison" href="http://www.thehinchfamily.com/alison/portfolio/index.asp">Alison Hinch</a><br />
<a title="Nick" href="http://www.nickmazzetti.com/" target="_blank">Nick &#8216;the best damn intern&#8217; Mazzetti</a></p>
]]></content:encoded>
			<wfw:commentRss>http://theas.us/thoughts/?feed=rss2&#038;p=39</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JavaScript function for blacklisting characters in Unicode</title>
		<link>http://theas.us/thoughts/?p=17</link>
		<comments>http://theas.us/thoughts/?p=17#comments</comments>
		<pubDate>Tue, 18 Aug 2009 23:18:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Characters and Fonts]]></category>
		<category><![CDATA[Forms]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[field]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[unicode]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://theas.us/thoughts/?p=17</guid>
		<description><![CDATA[This is a handy little function I wrote today to help me out with a special text field. This field needs to accept number and letters only, no spaces and no other characters.  There is a var for each character I don&#8217;t want the field to accept, and there is an array that holds all [...]]]></description>
			<content:encoded><![CDATA[<p>This is a handy little function I wrote today to help me out with a special text field. This field needs to accept number and letters only, no spaces and no other characters.  There is a var for each character I don&#8217;t want the field to accept, and there is an array that holds all those vars for the checking loop at the end.</p>
<p>Depending on how this field works out, I may need to restore a couple of characters, like &#8216;-&#8217; and &#8216;_&#8217;, for which all I have to do is remove them from the array.  My short hand for the characters may be a little vague, but you can find the Unicode for any character by using the Character Mapper in Windows.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> noChars<span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #003366; font-weight: bold;">var</span> keynum<span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> keychar<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>window.<span style="color: #660066;">event</span><span style="color: #009900;">&#41;</span> <span style="color: #006600; font-style: italic;">// IE</span>
	<span style="color: #009900;">&#123;</span>
	keynum <span style="color: #339933;">=</span> e.<span style="color: #660066;">keyCode</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>e.<span style="color: #660066;">which</span><span style="color: #009900;">&#41;</span> <span style="color: #006600; font-style: italic;">// Netscape/Firefox/Opera</span>
	<span style="color: #009900;">&#123;</span>
	keynum <span style="color: #339933;">=</span> e.<span style="color: #660066;">which</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
keychar <span style="color: #339933;">=</span> String.<span style="color: #660066;">fromCharCode</span><span style="color: #009900;">&#40;</span>keynum<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">var</span> space <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u0020/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> hash <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u0023/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> exc <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u0021/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> at <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u0040/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> dollar <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u0024/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> perc <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u0025/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> amp <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u0026/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> lper <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u0028/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> rper <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u0029/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> ast <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u002a/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> apos <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u0027/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> lbra <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u007b/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> pipe <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u007c/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> rbra <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u007d/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> cir <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u005e/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> hm <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u002d/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> us <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u005f/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> plus <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u002b/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> equal <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u003d/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> sqrl <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u005b/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> sqrr <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u005d/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> bakslash <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u005c/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> forslash <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u002f/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> dq <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u0022/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> colon <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u003a/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> semi <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u003b/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> ques <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u003f/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> per <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u002e/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> com <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u002c/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> ltag <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u003c/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> rtag <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u003e/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> tld <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u007e/</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> acc <span style="color: #339933;">=</span> <span style="color: #009966; font-style: italic;">/\u0060/</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">var</span> charChecks <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Array<span style="color: #009900;">&#40;</span>space<span style="color: #339933;">,</span>hash<span style="color: #339933;">,</span>exc<span style="color: #339933;">,</span>at<span style="color: #339933;">,</span>dollar<span style="color: #339933;">,</span>perc<span style="color: #339933;">,</span>amp<span style="color: #339933;">,</span>lper<span style="color: #339933;">,</span> rper<span style="color: #339933;">,</span>ast<span style="color: #339933;">,</span>apos<span style="color: #339933;">,</span>lbra<span style="color: #339933;">,</span>pipe<span style="color: #339933;">,</span>rbra<span style="color: #339933;">,</span>cir<span style="color: #339933;">,</span>hm<span style="color: #339933;">,</span>us<span style="color: #339933;">,</span>plus<span style="color: #339933;">,</span>equal<span style="color: #339933;">,</span>sqrl<span style="color: #339933;">,</span>sqrr<span style="color: #339933;">,</span>bakslash<span style="color: #339933;">,</span> forslash<span style="color: #339933;">,</span>dq<span style="color: #339933;">,</span>colon<span style="color: #339933;">,</span>semi<span style="color: #339933;">,</span>ques<span style="color: #339933;">,</span>per<span style="color: #339933;">,</span>com<span style="color: #339933;">,</span>ltag<span style="color: #339933;">,</span>rtag<span style="color: #339933;">,</span>tld<span style="color: #339933;">,</span>acc<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #003366; font-weight: bold;">var</span> i<span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span>i<span style="color: #339933;">=</span><span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> charChecks.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>charChecks<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">test</span><span style="color: #009900;">&#40;</span>keychar<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000066; font-weight: bold;">return</span> <span style="color: #339933;">!</span>charChecks<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">test</span><span style="color: #009900;">&#40;</span>keychar<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Use it like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="htmlt" style="font-family:monospace;">&lt;input id=&quot;fieldid&quot; onkeypress=&quot;return noChars(event)&quot; maxlength=&quot;30&quot; name=&quot;fieldname&quot; type=&quot;text&quot; /&gt;</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://theas.us/thoughts/?feed=rss2&#038;p=17</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Knowing you made the right descision&#8230; Priceless</title>
		<link>http://theas.us/thoughts/?p=9</link>
		<comments>http://theas.us/thoughts/?p=9#comments</comments>
		<pubDate>Sun, 26 Jul 2009 18:18:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://theas.us/thoughts/?p=9</guid>
		<description><![CDATA[Before this site came online yesterday, I used to use another site, hosted at Godaddy. The service with them was fine for a long time, up until about the beginning of this year.  At a certain point, I couldn&#8217;t load files half of the time.  I would get these random disconnects.  I&#8217;m not even sure [...]]]></description>
			<content:encoded><![CDATA[<p>Before this site came online yesterday, I used to use another site, hosted at Godaddy. The service with them was fine for a long time, up until about the beginning of this year.  At a certain point, I couldn&#8217;t load files half of the time.  I would get these random disconnects.  I&#8217;m not even sure they would qualify as timeouts, its like the line would just go dead, with no reason why from the server.  I thought it was my computer, or my ISP, but when it began to happen in the office as well as home, I knew the problem was on their end.</p>
<p>I wrote a letter detailing the problem, and said to the effect &#8216;don&#8217;t tell me its my computer, because its not just my computer, but also my work machine, and don&#8217;t tell me its my ISP, because I don&#8217;t have the same ISP at work, don&#8217;t tell me its the program, because I have tried in multiple programs, and don&#8217;t tell me its my firewall, cause again, I&#8217;ve tried from behind different firewalls.&#8217;</p>
<p>The letter I got back from them was along the lines of  &#8217;please check your setting in Dreamweaver and your firewall&#8217;&#8230;</p>
<p>So&#8230; NEW HOST!  I&#8217;m on <a href="http://hostmonster.com" target="_blank">Host Monster</a> now, and one day in, I&#8217;m very happy.  I can load files and not get kicked off for no reason.  This is especially important for all the PHP i write these days.  I need this stuff on a server, and don&#8217;t have time to wait.  The funny part was, when i went to load a modified index.php file to redirect my oldsite over here from godaddy (i&#8217;m not disconnecting them just yet)&#8230; it disconnected on me again!  I am feeling pretty good about this move already.</p>
<p>As i go, I&#8217;ll let you all know how these guys do.  I don&#8217;t recommend Godaddy shared hosting for anything.  Their dedicated servers are fine&#8230; if you can afford them.  But if you have to share a box with 10,000 other sites, its not worth it to go with them anymore.</p>
]]></content:encoded>
			<wfw:commentRss>http://theas.us/thoughts/?feed=rss2&#038;p=9</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

