var strCookieName = "touchdown";
var strCookieText = jQuery.cookie(strCookieName );
if( strCookieText  != null ){
  var strCookieArray = strCookieText.split(",");
  for ( intNum in strCookieArray ){
    myRegex = new RegExp( "(ic|em|rf)=(.*)" );
    var res = strCookieArray[intNum].match(myRegex);
    var strKey = res[1];
    var strVal = res[2];
    if( strKey == "rf" ) strVal = decodeURI( strVal );
    jQuery( "#"+strKey ).val( strVal );
  }
}
