function StringUtils() {
	this.getUrlParam = function(name, value) {
		return "&" + name + "=" + value;
	}
}
var stringUtils = new StringUtils();

function getCookie(item) {
	var i, index, ar;
	ar = document.cookie.split(";");
	for (i = 0; i < ar.length; i++) {
		index = ar[i].indexOf("=");
		//2番目は頭がスペースのとき
		if (ar[i].substring(0, index) == item || 
			ar[i].substring(0, index) == " " + item)
			return decodeURIComponent(ar[i].substring(index + 1));
	}
	return "";
}

