function MvmCsoportAtiranyitas(in_url){
/*
	if (getCookie("mvm_csoport_atiranyitas"))
	{
		SetCookie();
	} else {
		SetCookie();
		if (getCookie("mvm_csoport_atiranyitas"))
		{
			if (getUrlVar('#')!="fmc")
			{
				window.location="http://www.mvm-csoport.hu/index.php?in="+in_url;
			}
		}
	}
}

function SetCookie(){
	var date = new Date();
	var days = 730;  // lejárat napban
	date.setTime(date.getTime()+(days*24*60*60*1000));
	var expires = date.toGMTString();
	document.cookie = "mvm_csoport_atiranyitas_megtortent=true; expires="+expires+"; path=/";
*/
}

function getUrlVar(searchchar)
{
	var url=window.location.href;
	var s=url.indexOf(searchchar);
	var hashed=false;
	if (s>0){
		hashed=url.substring(s+1);
	} else {
		hashed=false;
	}
	return hashed;
}

function getCookie(expectedvar)
{
	var fullcookie=false;
	fullcookie=document.cookie;
	if (fullcookie)
	{
		var searched=fullcookie.indexOf(expectedvar);
		if (searched>-1)
		{
			return true;
		} else {
			return false;
		}
	} else {
		return false;
	}
}