var scriptUrl	= "/.wm/modules/wmscripts/client/php/index.php";
var gateUrl	= "/x_gate/index.php";

var Config = {
	prgsBar : {
		deltaTime : 50,//мс
		imgSrc : '/pics/loading.gif'
	},

	Summaries : {
		url : scriptUrl,
		formId : 'frm_summaries',
		show : {
			method : "get",
			update : "summaries_content",
			data : {
				"script_id" : 507
			}
		},

		send : {
			prgsMsg : "Отправка данных...",
			data : {
				"script_id" : 507,
				"func" : "send"
			}
		},

		msg : {
			update : "summaries_content"
		},

		error : {
			update : "__error"
		}

	},
	Feedback : {
		url : scriptUrl,
		formId : 'frm_feedback',
		show : {
			method : "get",
			update : "feedback_content",
			data : {
				"script_id" : 662
			}
		},

		send : {
			prgsMsg : "Отправка данных...",
			data : {
				"script_id" : 662,
				"func" : "send"
			}
		},

		msg : {
			update : "feedback_content"
		},

		error : {
			update : "__error"
		}

	},
	OrderSeminar : {
		url : scriptUrl,
		formId : 'frm_order',
		show : {
			method : "get",
			update : "order_content",
			data : {
				"script_id" : 550
			}
		},

		send : {
			prgsMsg : "Отправка данных...",
			data : {
				"script_id" : 550,
				"func" : "send"
			}
		},

		msg : {
			update : "order_content"
		},

		error : {
			update : "__error"
		}

	},
	OrderExp : {
		url : gateUrl,
		formId : 'frm_order_exh',
		show : {
			method : "get",
			update : "order_exh_content",
			data : {
				"action" : "order_exhibition_form"
			}
		},

		send : {
			prgsMsg : "Отправка данных...",
			data : {
				"action" : "order_exhibition_send"
			}
		},

		msg : {
			update : "order_exh_content"
		},

		error : {
			update : "__error"
		}

	},
	OrderEvent : {
		url : gateUrl,
		formId : 'frm_order_event',
		show : {
			method : "get",
			update : "order_event_content",
			data : {
				"action" : "order_event_form"
			}
		},

		send : {
			prgsMsg : "Отправка данных...",
			data : {
				"action" : "order_event_send"
			}
		},

		msg : {
			update : "order_event_content"
		},

		error : {
			update : "__error"
		}

	},
	OrderSport : {
		url : gateUrl,
		formId : 'frm_order_sport',
		show : {
			method : "get",
			update : "order_sport_content",
			data : {
				"action" : "order_event_form"
			}
		},

		send : {
			prgsMsg : "Отправка данных...",
			data : {
				"action" : "order_sport_send"
			}
		},

		msg : {
			update : "order_sport_content"
		},

		error : {
			update : "__error"
		}

	},
	Control : {
		url : scriptUrl,
		formId : 'frm_control',
		show : {
			method : "get",
			update : "control_content",
			data : {
				"script_id" : 1084
			}
		},

		send : {
			prgsMsg : "Отправка данных...",
			data : {
				"script_id" : 1084,
				"func" : "send"
			}
		},

		msg : {
			update : "control_content"
		},

		error : {
			update : "__error"
		}

	},
	Subscribe : {
		url : scriptUrl,
		formId : 'frm_subscribe',
		show : {
			method : "get",
			update : "subscribe_content",
			data : {
				"script_id" : 1755
			}
		},

		send : {
			prgsMsg : "Отправка данных...",
			data : {
				"script_id" : 1755,
				"func" : "send"
			}
		},

		msg : {
			update : "subscribe_content"
		},

		error : {
			update : "__error"
		}

	},
	Unsubscribe : {
		url : scriptUrl,
		formId : 'frm_unsubscribe',
		show : {
			method : "get",
			update : "unsubscribe_content",
			data : {
				"script_id" : 1756
			}
		},

		send : {
			prgsMsg : "Отправка данных...",
			data : {
				"script_id" : 1756,
				"func" : "send"
			}
		},

		msg : {
			update : "unsubscribe_content"
		},

		error : {
			update : "unsubscribe_error"
		}

	}
}
