/**
 * @author dark
 */
function SetLanguage(_lang)
{
	function setCookie(c_name,value,expiredays)
	{
		var exdate=new Date();
		exdate.setDate(exdate.getDate()+expiredays);
		document.cookie=c_name+ "=" +escape(value)+ ((expiredays==null) ? "" : ";expires="+exdate.toGMTString() + "; path=/");
	}

	setCookie("lang", _lang, 1);
	window.location.reload();
}
