function resize_Content_form(id,board,opt,wh) {
	var obj = document.getElementById(id);
	if(obj) {
		if(wh) {
			var height = parseInt(obj.style.height.replace("px",""));
			if(opt == 1) {
				height = height+100; 
			} else {
				if(height > 100)
					height = height-100;
			}
			obj.style.height = height+'px';
			setCookie(board+"_content_textarea_height_size",height,1);
		} else {
			var width = parseInt(obj.style.width.replace("px",""));
			if(opt == 1) {
				width = width+100; 
			} else {
				if(width > 100)
					width = width-100;
			}
			obj.style.width = width+'px';
			setCookie(board+"_content_textarea_width_size",width,1);
		}
	}
}

function setCookie(name, value, expireDays) {
	var todayDate = new Date();
	todayDate.setDate(todayDate.getDate() + expireDays);
 	document.cookie = name + "=" + value + "; path=/; expires=" + todayDate.toGMTString() + ";";
}

