var DataRequest = function(idContentContainer, strAction, intID, strArray){
	if(strAction == "SetGlobalItemSwitch"){
		strAction = "global_obj_switch";
		var strTemplatePath = "include/" + strAction + ".php";
	}
	else{
		var strTemplatePath = "template/" + strAction + ".php";
	}
		
	new Ajax.Updater(idContentContainer, strTemplatePath, {
		method: "post",
		evalScripts: true,
		parameters: "intID="+intID+"&strArray="+strArray
	});
}


