﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Hilbert Solutions, LLC</title>
    <description>Tips, Tricks, Code and Help.  Mostly focusing on Dotnetnuke and other Web Development Resources.</description>
    <link>http://www.hilbertsolutions.com/Blog_/BlogId/1.aspx</link>
    <language>en-US</language>
    <managingEditor>stuart@hilbersolutions.com</managingEditor>
    <webMaster>contact@hilbertsolutions.com</webMaster>
    <pubDate>Sun, 01 Aug 2010 05:50:52 GMT</pubDate>
    <lastBuildDate>Sun, 01 Aug 2010 05:50:52 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Blog RSS Generator Version 3.5.1.19887</generator>
    <item>
      <title>Constant Contact Sign Up Module – 10% Discount</title>
      <description>&lt;p&gt; &lt;/p&gt;
&lt;p align="center"&gt;&lt;a href="http://bit.ly/9rTVj8"&gt;Get your 10% Discount Now!&lt;/a&gt;&lt;/p&gt;&lt;a href=http://www.hilbertsolutions.com/Blog_/EntryId/81/Constant-Contact-Sign-Up-Module-ndash-10-Discount.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://www.hilbertsolutions.com/Blog_/EntryId/81/Constant-Contact-Sign-Up-Module-ndash-10-Discount.aspx</link>
      <author>stuart@hilbersolutions.com</author>
      <comments>http://www.hilbertsolutions.com/Blog_/EntryId/81/Constant-Contact-Sign-Up-Module-ndash-10-Discount.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.hilbertsolutions.com/Blog_/EntryId/81/Constant-Contact-Sign-Up-Module-ndash-10-Discount.aspx</guid>
      <pubDate>Fri, 25 Jun 2010 16:41:14 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.hilbertsolutions.com/DesktopModules/Blog/Trackback.aspx?id=81</trackback:ping>
    </item>
    <item>
      <title>DotNetNuke.Common.SendMail IS DEAD!  LONG LIVE DotNetNuke.Services.Mail.Mail.SendMail()</title>
      <description>&lt;p&gt; Call me old fashioned but I have been using DotNetNuke.Common.SendMail for a long time.  We are old friends who have been delivering email for quite a while.&lt;/p&gt;&lt;a href=http://www.hilbertsolutions.com/Blog_/EntryId/80/DotNetNuke-Common-SendMail-IS-DEAD-LONG-LIVE-DotNetNuke-Services-Mail-Mail-SendMail.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://www.hilbertsolutions.com/Blog_/EntryId/80/DotNetNuke-Common-SendMail-IS-DEAD-LONG-LIVE-DotNetNuke-Services-Mail-Mail-SendMail.aspx</link>
      <author>stuart@hilbersolutions.com</author>
      <comments>http://www.hilbertsolutions.com/Blog_/EntryId/80/DotNetNuke-Common-SendMail-IS-DEAD-LONG-LIVE-DotNetNuke-Services-Mail-Mail-SendMail.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.hilbertsolutions.com/Blog_/EntryId/80/DotNetNuke-Common-SendMail-IS-DEAD-LONG-LIVE-DotNetNuke-Services-Mail-Mail-SendMail.aspx</guid>
      <pubDate>Tue, 30 Mar 2010 14:44:00 GMT</pubDate>
      <slash:comments>5</slash:comments>
      <trackback:ping>http://www.hilbertsolutions.com/DesktopModules/Blog/Trackback.aspx?id=80</trackback:ping>
    </item>
    <item>
      <title>Populating a Form using Querystring values and Javascript</title>
      <description>&lt;p&gt;We recently had a client ask us if we could pre-populate a form using the values in a querystring.  The client has a Paypal form on their website and they wanted to be able to provide a promo code to their affiliates in the form of a URL containing a querystring and have it automatically populate the promo code box.&lt;/p&gt;  &lt;p&gt;They also wanted to make sure as their clients navigate through their site that the promo code stays populated in the promo code textbox.  We solved this by using a little Javascript and a cookie.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;NOTE: &lt;/strong&gt;The script should fall after the input box. The name of the input box in the example is: oS0&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;Here is the code:&lt;/p&gt;  &lt;p&gt;&lt;SCRIPT type="text/javascript"&gt;   &lt;br /&gt;//Function to get the specified querystring    &lt;br /&gt;//Found at &lt;a href="http://www.bloggingdeveloper.com/post/JavaScript-QueryString-ParseGet-QueryString-with-Client-Side-JavaScript.aspx"&gt;http://www.bloggingdeveloper.com/post/JavaScript-QueryString-ParseGet-QueryString-with-Client-Side-JavaScript.aspx&lt;/a&gt;    &lt;br /&gt;function getQuerystring(key, default_)    &lt;br /&gt;{    &lt;br /&gt;  if (default_==null) default_="";     &lt;br /&gt;  key = key.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");    &lt;br /&gt;  var regex = new RegExp("[\\?&amp;]"+key+"=([^&amp;#]*)");    &lt;br /&gt;  var qs = regex.exec(window.location.href);    &lt;br /&gt;  if(qs == null)    &lt;br /&gt;    return default_;    &lt;br /&gt;  else    &lt;br /&gt;    return qs[1];    &lt;br /&gt;} &lt;/p&gt;  &lt;p&gt;//Found at &lt;a href="http://www.w3schools.com/JS/js_cookies.asp"&gt;http://www.w3schools.com/JS/js_cookies.asp&lt;/a&gt;    &lt;br /&gt;function setCookie(c_name,value,expiredays)    &lt;br /&gt;{    &lt;br /&gt;var exdate=new Date();    &lt;br /&gt;exdate.setDate(exdate.getDate()+expiredays);    &lt;br /&gt;document.cookie=c_name+ "=" +escape(value)+    &lt;br /&gt;((expiredays==null) ? "" : ";expires="+exdate.toGMTString());    &lt;br /&gt;} &lt;/p&gt;  &lt;p&gt;//Found at &lt;a href="http://www.w3schools.com/JS/js_cookies.asp"&gt;http://www.w3schools.com/JS/js_cookies.asp&lt;/a&gt;    &lt;br /&gt;function getCookie(c_name)    &lt;br /&gt;{    &lt;br /&gt;if (document.cookie.length&gt;0)    &lt;br /&gt;  {    &lt;br /&gt;  c_start=document.cookie.indexOf(c_name + "=");    &lt;br /&gt;  if (c_start!=-1)    &lt;br /&gt;    {    &lt;br /&gt;    c_start=c_start + c_name.length+1;    &lt;br /&gt;    c_end=document.cookie.indexOf(";",c_start);    &lt;br /&gt;    if (c_end==-1) c_end=document.cookie.length;    &lt;br /&gt;    return unescape(document.cookie.substring(c_start,c_end));    &lt;br /&gt;    }    &lt;br /&gt;  }    &lt;br /&gt;return "";    &lt;br /&gt;} &lt;/p&gt;  &lt;p&gt;//Checking if the promo cookie exists   &lt;br /&gt;if (getCookie("LOADMODDIYPROMO").length &gt; 0 )    &lt;br /&gt;{ &lt;/p&gt;  &lt;p&gt;    //Promo cookie does exist so populate text field with value from cookie   &lt;br /&gt;    //Writing the promo code to the promo textbox.    &lt;br /&gt;        inputObj = document.getElementById('os0');    &lt;br /&gt;        inputObj.value = getCookie("PROMOCOOKIE");    &lt;br /&gt;}    &lt;br /&gt;else    &lt;br /&gt;{ &lt;/p&gt;  &lt;p&gt;    //Promo cookie doesn't exists so check the querystring   &lt;br /&gt;    //Getting the querystring values    &lt;br /&gt;        var urlString = parent.document.URL;    &lt;br /&gt;        var queryString = urlString.substring(urlString.indexOf('?'),urlString.length);    &lt;br /&gt;        //Determining if the querystring contains the word PROMO    &lt;br /&gt;        var pos=queryString.indexOf("PROMO=");    &lt;br /&gt;        if (pos&gt;=0)    &lt;br /&gt;            {    &lt;br /&gt;                //Writing the promo code to the promo textbox.    &lt;br /&gt;                inputObj = document.getElementById('os0');    &lt;br /&gt;                inputObj.value = getQuerystring('PROMO');    &lt;br /&gt;                //Writing a cookie for later user    &lt;br /&gt;                setCookie("PROMOCOOKIE",inputObj.value,7);    &lt;br /&gt;                alert("setting cookie");    &lt;br /&gt;            }    &lt;br /&gt;} &lt;/p&gt;  &lt;p&gt;&lt;/SCRIPT&gt;&lt;/p&gt;</description>
      <link>http://www.hilbertsolutions.com/Blog_/EntryId/79/Populating-a-Form-using-Querystring-values-and-Javascript.aspx</link>
      <author>stuart@hilbersolutions.com</author>
      <comments>http://www.hilbertsolutions.com/Blog_/EntryId/79/Populating-a-Form-using-Querystring-values-and-Javascript.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.hilbertsolutions.com/Blog_/EntryId/79/Populating-a-Form-using-Querystring-values-and-Javascript.aspx</guid>
      <pubDate>Wed, 24 Feb 2010 21:06:25 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.hilbertsolutions.com/DesktopModules/Blog/Trackback.aspx?id=79</trackback:ping>
    </item>
    <item>
      <title>Release of the Constant Contact Sign Up Module 1.2</title>
      <description>&lt;table border="0" cellspacing="1" cellpadding="1" align="left"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td&gt;         &lt;h1&gt;&lt;img border="0" alt="Constant Contact Sign Up Logo" src="/Portals/0/CCSignUp/CCSignUp.png" width="100" height="100" /&gt;&lt;/h1&gt;       &lt;/td&gt;        &lt;td align="left"&gt;         &lt;h1&gt;Constant Contact Sign Up 1.2&lt;/h1&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;h1&gt;Introduction&lt;/h1&gt;  &lt;p&gt;The Hilbert Solutions, LLC &lt;strong&gt;Constant Contact Sign Up &lt;/strong&gt;module is an easy to use &lt;a href="http://www.dotnetnuke.com" target="_new"&gt;Dotnetnuke&lt;/a&gt; module that can be used to gather information about your user's when they join your &lt;a href="http://www.constantcontact.com" target="_blank"&gt;Constant Contac&lt;/a&gt;t mailing list. &lt;strong&gt;Constant Contact Sign Up &lt;/strong&gt;provides a flexible templating system to include numerous oppurtunities to gather specific information while your client joins your mailing list.&lt;/p&gt;  &lt;h1&gt;Features&lt;/h1&gt;  &lt;ul&gt;   &lt;li&gt;Easy to use &lt;/li&gt;    &lt;li&gt;Highly configurable &lt;/li&gt;    &lt;li&gt;Templated Form &lt;/li&gt;    &lt;li&gt;Templated Success Message &lt;/li&gt;    &lt;li&gt;Templated Join Button &lt;/li&gt;    &lt;li&gt;Supports the collection of over 30 unique fields. &lt;/li&gt;    &lt;li&gt;Completely Localized &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;&lt;font color="#ff0000"&gt;NEW!&lt;/font&gt; &lt;/strong&gt;Multiple mailing list sign up &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;&lt;font color="#ff0000"&gt;NEW!&lt;/font&gt; &lt;/strong&gt;Send welcome email on mailing list sign up &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;&lt;font color="#ff0000"&gt;NEW!&lt;/font&gt; &lt;/strong&gt;Send notification email to specified email address on mailing list sign up &lt;/li&gt;    &lt;li&gt;Works with all versions of Dotnetnuke 5 and Dotnetnuke 4.7.x and up.  If you need it for older versions of Dotnetnuke 4 please let us know.&lt;/li&gt;    &lt;li&gt;Free upgrades for six month from purchase date &lt;/li&gt;    &lt;li&gt;Browser Tested Against:      &lt;br /&gt;&lt;img alt="" src="/Portals/0/IE.png" width="25" height="25" /&gt;&lt;img alt="" src="/Portals/0/Firefox.png" width="25" height="25" /&gt;&lt;img alt="" src="/Portals/0/Chrome.png" width="25" height="25" /&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;h1&gt;Licensing&lt;/h1&gt;  &lt;ul&gt;   &lt;li&gt;Site License: One Dotnetnuke Database is covered. &lt;/li&gt;    &lt;li&gt;Server License: All Dotnetnuke Databases on one server are covered. &lt;/li&gt;    &lt;li&gt;&lt;span id="_ctl0__ctl0__ctl0_lblPackageDescription" class="Normal"&gt;Enterprise License: Unlimited use of module within hosting environment.&lt;/span&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;h1&gt;Screenshots&lt;/h1&gt;  &lt;h2&gt;Settings&lt;/h2&gt;  &lt;p&gt;&lt;img alt="Constant Contact Sign Up Settings Page One" src="/Portals/0/CCSignUp/CCSignUpSetting1.png" width="663" height="558" /&gt;     &lt;br /&gt;&lt;img alt="Constant Contact Sign Up Settings Page Two" src="/Portals/0/CCSignUp/CCSignUpSetting2.png" width="663" height="566" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;h2&gt;Three of the Infinite Possibilities the Form can Take&lt;/h2&gt;  &lt;h1&gt;&lt;img alt="Three of the many possible ways the module can render" src="/Portals/0/CCSignUp/CCSignUpFormRender.png" width="766" height="253" /&gt;&lt;/h1&gt;  &lt;h2&gt;&lt;/h2&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p style="text-align: center" class="NormalRed"&gt;PLEASE NOTE: Hilbert Solutions, LLC is in no way associated with Constant Contact.&lt;/p&gt; &lt;span class="SubHead"&gt;See a Live Demo at &lt;a href="http://www.hilbertsolutions.com/Products/ConstantContactSignUp.aspx" target="_new"&gt;HilbertSolutions.com&lt;/a&gt;&lt;/span&gt;</description>
      <link>http://www.hilbertsolutions.com/Blog_/EntryId/78/Release-of-the-Constant-Contact-Sign-Up-Module-1-2.aspx</link>
      <author>stuart@hilbersolutions.com</author>
      <comments>http://www.hilbertsolutions.com/Blog_/EntryId/78/Release-of-the-Constant-Contact-Sign-Up-Module-1-2.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.hilbertsolutions.com/Blog_/EntryId/78/Release-of-the-Constant-Contact-Sign-Up-Module-1-2.aspx</guid>
      <pubDate>Mon, 15 Feb 2010 17:31:55 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.hilbertsolutions.com/DesktopModules/Blog/Trackback.aspx?id=78</trackback:ping>
    </item>
    <item>
      <title>FIX: Dotnetnuke Menu Behind Module</title>
      <description>&lt;p&gt;All of us have seen a Dotnetnuke website where the main menu of the site is hidden behind a module.  Recently we were contacted about this issue with our new module, &lt;a href="http://www.hilbertsolutions.com/Products/Advanced_News_Ticker.aspx"&gt;Advanced News Ticker&lt;/a&gt;.  &lt;/p&gt;  &lt;p&gt;A quick search revealed that this is something that can be fixed at the skin level.  I found the following &lt;a href="http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/109/threadid/338142/scope/posts/threadpage/1/Default.aspx"&gt;thread&lt;/a&gt; on the Dotnetnuke Forum that explains how to fix the problem.&lt;/p&gt;  &lt;p&gt;In particular interest this post:   &lt;br /&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;You need to make sure you set the z-index in the css settings for the submenu items, for example, in skin.css you would have something like ".menuItemClass {z-index: 1000;}" to make sure the menu appears in front of input boxes, select drop downs, and flash.  The submenu really shouldn't need any z-index setting to simply have it appear in front of modules, unless you've got some erroneous setting in your css that is causing that to happen, like a position setting or display setting or even an incorrect or "not in proper order" z-index setting...  It can be tricky to set up.  Follow the menu setting and css files for the default skin, even do a copy paste into your skins files and then edit as necessary to match your design. &lt;/p&gt;&lt;/blockquote&gt;</description>
      <link>http://www.hilbertsolutions.com/Blog_/EntryId/77/FIX-Dotnetnuke-Menu-Behind-Module.aspx</link>
      <author>stuart@hilbersolutions.com</author>
      <comments>http://www.hilbertsolutions.com/Blog_/EntryId/77/FIX-Dotnetnuke-Menu-Behind-Module.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.hilbertsolutions.com/Blog_/EntryId/77/FIX-Dotnetnuke-Menu-Behind-Module.aspx</guid>
      <pubDate>Fri, 08 Jan 2010 19:35:06 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.hilbertsolutions.com/DesktopModules/Blog/Trackback.aspx?id=77</trackback:ping>
    </item>
    <item>
      <title>Release of the Constant Contact Sign Up Module</title>
      <description>&lt;span id="dnn_ctr582_MainView_ViewEntry_lblEntry"&gt;The Hilbert Solutions, LLC &lt;strong&gt;Constant Contact Sign Up &lt;/strong&gt;module is an easy to use &lt;a href="http://www.dotnetnuke.com/" target="_new"&gt;Dotnetnuke&lt;/a&gt; module that can be used to gather information about your user's when they join your &lt;a href="http://www.constantcontact.com/" target="_blank"&gt;Constant Contac&lt;/a&gt;t mailing list. &lt;strong&gt;Constant Contact Sign Up &lt;/strong&gt;provides a flexible templating system to include numerous oppurtunities to gather specific information while your client joins your mailing list.&lt;/span&gt;&lt;a href=http://www.hilbertsolutions.com/Blog_/EntryId/75/Release-of-the-Constant-Contact-Sign-Up-Module.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://www.hilbertsolutions.com/Blog_/EntryId/75/Release-of-the-Constant-Contact-Sign-Up-Module.aspx</link>
      <author>stuart@hilbersolutions.com</author>
      <comments>http://www.hilbertsolutions.com/Blog_/EntryId/75/Release-of-the-Constant-Contact-Sign-Up-Module.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.hilbertsolutions.com/Blog_/EntryId/75/Release-of-the-Constant-Contact-Sign-Up-Module.aspx</guid>
      <pubDate>Tue, 15 Dec 2009 13:31:19 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.hilbertsolutions.com/DesktopModules/Blog/Trackback.aspx?id=75</trackback:ping>
    </item>
    <item>
      <title>Advanced News Ticker Module Released</title>
      <description>&lt;p&gt; The Hilbert Solutions, LLC &lt;strong&gt;Advanced News Ticker&lt;/strong&gt; is a modern impementation of the traditional news ticker.  Using the latest in JQuery technology the &lt;strong&gt;Advanced News Ticker&lt;/strong&gt; provides a modern and attractive way to display new items.  &lt;strong&gt;Advanced News Ticker&lt;/strong&gt; has been designed from the start with ease of use in mind, so even the person with no technical experience can create and edit news items in no time.  The&lt;strong&gt; Advanced News Ticker&lt;/strong&gt; module for &lt;a href="http://www.dotnetnuke.com"&gt;Dotnetnuke &lt;/a&gt;is a must have for a modern website.&lt;/p&gt;&lt;a href=http://www.hilbertsolutions.com/Blog_/EntryId/74/Advanced-News-Ticker-Module-Released.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://www.hilbertsolutions.com/Blog_/EntryId/74/Advanced-News-Ticker-Module-Released.aspx</link>
      <author>stuart@hilbersolutions.com</author>
      <comments>http://www.hilbertsolutions.com/Blog_/EntryId/74/Advanced-News-Ticker-Module-Released.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.hilbertsolutions.com/Blog_/EntryId/74/Advanced-News-Ticker-Module-Released.aspx</guid>
      <pubDate>Tue, 08 Dec 2009 17:56:52 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.hilbertsolutions.com/DesktopModules/Blog/Trackback.aspx?id=74</trackback:ping>
    </item>
    <item>
      <title>Hilbert Solutions, LLC is now a Dotnetnuke Registered Partner</title>
      <description>&lt;p&gt; &lt;/p&gt;&lt;a href=http://www.hilbertsolutions.com/Blog_/EntryId/73/Hilbert-Solutions-LLC-is-now-a-Dotnetnuke-Registered-Partner.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://www.hilbertsolutions.com/Blog_/EntryId/73/Hilbert-Solutions-LLC-is-now-a-Dotnetnuke-Registered-Partner.aspx</link>
      <author>stuart@hilbersolutions.com</author>
      <comments>http://www.hilbertsolutions.com/Blog_/EntryId/73/Hilbert-Solutions-LLC-is-now-a-Dotnetnuke-Registered-Partner.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.hilbertsolutions.com/Blog_/EntryId/73/Hilbert-Solutions-LLC-is-now-a-Dotnetnuke-Registered-Partner.aspx</guid>
      <pubDate>Thu, 03 Dec 2009 16:23:21 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.hilbertsolutions.com/DesktopModules/Blog/Trackback.aspx?id=73</trackback:ping>
    </item>
    <item>
      <title>Just won an Zune HD from PowerDNN</title>
      <description>&lt;p&gt;&lt;a href="http://www.powerdnn.com" target="_blank"&gt;PowerDNN&lt;/a&gt; the Premium Dotnetnuke Web Hosting Company is currently running a &lt;a href="http://www.powerdnn.com/Home/TheOpenForceGiveaway/tabid/434/Default.aspx" target="_blank"&gt;giveaway&lt;/a&gt; via &lt;a href="http://twitter.com/slhilbert" target="_blank"&gt;Twitter&lt;/a&gt; where if you retweet a message then you are entered into win a number of prizes.  Well I did just that and today I got a call from a nice lady who said I had a choice between $100 of Omaha Steaks or an Zune HD.  I picked the Zune HD of course. You can follow PowerDNN on Twitter at &lt;a href="http://twitter.com/PowerDNN" target="_blank"&gt;@PowerDNN&lt;/a&gt;.&lt;/p&gt;</description>
      <link>http://www.hilbertsolutions.com/Blog_/EntryId/72/Just-won-an-Zune-HD-from-PowerDNN.aspx</link>
      <author>stuart@hilbersolutions.com</author>
      <comments>http://www.hilbertsolutions.com/Blog_/EntryId/72/Just-won-an-Zune-HD-from-PowerDNN.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.hilbertsolutions.com/Blog_/EntryId/72/Just-won-an-Zune-HD-from-PowerDNN.aspx</guid>
      <pubDate>Thu, 05 Nov 2009 16:51:39 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.hilbertsolutions.com/DesktopModules/Blog/Trackback.aspx?id=72</trackback:ping>
    </item>
    <item>
      <title>Javascript to Convert State Name to Abbreviation</title>
      <description>&lt;p&gt;Doing a little javascript these days to handle some presentation changes.  I wanted to convert a State Name spelled out to the state’s abbreviations.  I found a little javascript that got me started and then reworked it from there.&lt;/p&gt;  &lt;pre class="csharpcode"&gt;    &lt;span class="kwrd"&gt;function&lt;/span&gt; changeStateAbbr(theValue){    
        
                &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Alambama"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"AL"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Alaska"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"AK"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Arizona"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"AZ"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Arkansas"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"AR"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"California"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"CA"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Colorado"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"CO"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Connecticut"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"CT"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Delaware"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"DE"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"District of Columbia"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"DC"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Florida"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"FL"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Georgia"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"GA"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Hawaii"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"HI"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Idaho"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"ID"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Illinois"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"IL"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Indiana"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"IN"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Iowa"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"IA"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Kansas"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"KS"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Kentucky"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"KY"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Louisiana"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"LA"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Maine"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"ME"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Maryland"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"MD"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Massachusetts"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"MA"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Michigan"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"MI"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Minnesota"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"MN"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Mississippi"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"MS"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Missouri"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"MO"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Montana"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"MT"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Nebraska"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"NE"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Nevada"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"NV"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"New Hamspire"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"NH"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"New Jersey"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"NJ"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"New Mexico"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"NM"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"New York"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"NY"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"North Carolina"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"NC"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"North Dakota"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"ND"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Ohio"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"OH"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Oklahoma"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"OK"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Oregon"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"OR"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Pennsylvania"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"PA"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Rhode Island"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"RI"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"South Carolina"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"SC"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"South Dakota"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"SD"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Tennessee"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"TN"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Texas"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"TX"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Utah"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"UT"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Vermont"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"VT"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Virginia"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"VA"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Washington"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"WA"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"West Virginia"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"WV"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Wisconsin"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"WI"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue == &lt;span class="str"&gt;"Wyoming"&lt;/span&gt;){
                    document.write(&lt;span class="str"&gt;"WY"&lt;/span&gt;);
                    }
                
                &lt;span class="kwrd"&gt;else&lt;/span&gt; &lt;span class="kwrd"&gt;if&lt;/span&gt; (theValue){
                    document.write(theValue);
                    }
                
        }&lt;/pre&gt;
&lt;style type="text/css"&gt;
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;</description>
      <link>http://www.hilbertsolutions.com/Blog_/EntryId/71/Javascript-to-Convert-State-Name-to-Abbreviation.aspx</link>
      <author>stuart@hilbersolutions.com</author>
      <comments>http://www.hilbertsolutions.com/Blog_/EntryId/71/Javascript-to-Convert-State-Name-to-Abbreviation.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.hilbertsolutions.com/Blog_/EntryId/71/Javascript-to-Convert-State-Name-to-Abbreviation.aspx</guid>
      <pubDate>Fri, 30 Oct 2009 14:16:27 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.hilbertsolutions.com/DesktopModules/Blog/Trackback.aspx?id=71</trackback:ping>
    </item>
  </channel>
</rss>