dojo.io.cookie.setObjectCookie = function(name, obj, days, path, domain, secure, clearCurrent) { if(arguments.length == 5) { clearCurrent = domain; domain = null; secure = null; } var pairs = [], cookie, value = ""; if(!clearCurrent) { cookie = dojo.io.cookie.getObjectCookie(name); } if(days >= 0) { if(!cookie) { cookie = {}; } for(var prop in obj) { if(prop == null) { delete cookie[prop]; } else if(typeof obj[prop] == "string" || typeof obj[prop] == "number") { cookie[prop] = obj[prop]; } } prop = null; for(var prop in cookie) { pairs.push(escape(prop) + "=" + escape(cookie[prop])); } value = pairs.join("&"); } dojo.io.cookie.setCookie(name, value, days, path, domain, secure); 
dojo.io.cookie.setObjectCookie=function(name,obj,days,path,_653,_654,_655){ if(arguments.length==5){ _655=_653; _653=null; _654=null; 
dojo.io.cookie.setObjectCookie = function(name, obj, days, path, domain, secure, clearCurrent) {  if(arguments.length == 5) { // for backwards compat    clearCurrent = domain;    domain = null;    secure = null;  }  var pairs = [], cookie, value = "";  if(!clearCurrent) { cookie = dojo.io.cookie.getObjectCookie(name); }  if(days >= 0) {    if(!cookie) { cookie = {}; }    for(var prop in obj) {      if(prop == null) {        delete cookie[prop];      } else if(typeof obj[prop] == "string" || typeof obj[prop] == "number") {        cookie[prop] = obj[prop];      }    }    prop = null;    for(var prop in cookie) {      pairs.push(escape(prop) + "=" + escape(cookie[prop]));    }    value = pairs.join("&");  }  dojo.io.cookie.setCookie(name, value, days, path, domain, secure);}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/90939f35f46f873d9b1f5c5f818ecf012711dc71/dojo.js/buggy/src/main/resources/org/apache/struts2/static/dojo/dojo.js