<!-- Copyright 2009 Radio Codes NI Order for verify, LLC
function CookieTheValues() {
//
// Two personalization places in this function:
//

// 1.
// Between the quotes, specify the form name:

var FormName = "form1";

// 2.
// Between the quotes, specify the cookie name:

var CookieName = "Myradiocodecontactform";

//
// No other personalizations needed in this function.
//
var cookiestring = new Array();
var ilen = eval('document.'+FormName+'.length');
for (i = 0; i < ilen; i++) { 
   var n = eval('document.'+FormName+'.elements['+i+'].name');
   if(n.length == 0) { continue; }
   var fieldlen = eval('document.'+FormName+'.'+n+'.length');
   if(fieldlen > 0) { continue; }
   var v = eval('document.'+FormName+'.'+n+'.value');
   if(v.length == 0) { continue; }
   v = escape(v);
   cookiestring.push(n + '%09' + v);
   }
document.cookie = CookieName + '=' + cookiestring.join('%09%09') + '; path=/';
return true;
}
