dojo.io.cookie.setObjectCookie = function(	/*String*/name, /*Object*/obj, /*Number?*/days, /*String?*/path, /*String?*/domain, /*boolean?*/secure, /*boolean?*/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(obj[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(  /*String*/name, /*Object*/obj, /*Number?*/days, /*String?*/path, /*String?*/domain, /*boolean?*/secure, /*boolean?*/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(obj[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(	/*String*/name, /*Object*/obj, 											/*Number?*/days, /*String?*/path, 											/*String?*/domain, /*boolean?*/secure, 											/*boolean?*/clearCurrent){	//summary: Takes an object, serializes it to a cookie value, and either	//sets a cookie with the serialized value.	//description: If clearCurrent is true, then any current cookie value	//for this object will be replaced with the the new serialized object value.	//If clearCurrent is false, then the existing cookie value will be modified	//with any changes from the new object value.	//Objects must be simple name/value pairs where the value is either a string	//or a number. Any other value will be ignored.	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(obj[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/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js