function CookieTheValues() {
var FormName = "WPCon";
var CookieName = "ScribaWP";
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;
}
