// Cookie parsing plugin
jQuery.returnCookie = function(cookie) {
	var string = getCookie(cookie);
	var array = new Array();
	//alert(string);
	if(string) {
		$(string.split("|")).each(function(){
			var child = new Array();
			if(this.length > 0) {
				$(this.split("~")).each(function(){
					if(this != "") {
						child.push(this);
					}
				});
				array.push(child);
			} 
		});
	}
	if(array == "") {
		return false;
	} else {
		return $(array);
	}
}