function ChgLayout(isp,is_simple,param,mode) {
	req = new XMLHttpRequest();
	if (req) {
		req.onreadystatechange = function() {
			if (req.readyState == 4 && (req.status == 200 || req.status == 304)) {
				document.getElementById("chgarea").innerHTML = req.responseText;
			}
		};
		var path;
		if(is_simple == 'y') {
			path = "/ppv/api/chglayout.php" + "\?" + param + "&isp=" + isp + "&simple=y" + "&mode=" + mode;
		} else {
			path = "/ppv/api/chglayout.php" + "\?" + param + "&isp=" + isp + "&mode=" + mode;
		}
		req.open('GET', path);
		req.send(null);
	}
}
