var bkmurls = new Array();
bkmurls["dynlive"] = ["http://odds.marathonbet.com/dynlive.php","_top"];
bkmurls["m.s"] = ["http://www.marathonbet.com/bin/odds.mpl","_top"];
bkmurls["m.t"] = ["http://www.marathonbet.com/totals.shtml","_top"];
bkmurls["m.r"] = ["http://results.marathonbet.com/results.php","_top"];
bkmurls["m.rl"] = ["http://results.marathonbet.com/liveresults.php","_top"];
bkmurls["m.ss"] = ["http://results.marathonbet.com/sportstat.php","_top"];
bkmurls["m.rg"] = ["https://www.marathonbet.com/bin/reg","_top"];
bkmurls["m.a"] = ["https://account.marathonbet.com/hist.phtml","_top"];
bkmurls["m.ao"] = ["http://www.marathonbet.com/acc.shtml","_top"];
bkmurls["m.b"] = ["http://www.marathonbet.com/betmall.shtml","_top"];
bkmurls["m.rz"] = ["http://www4.marathonbet.com/rules.phtml","_top"];
bkmurls["m.ht"] = ["http://www4.marathonbet.com/guest.phtml","_top"];
bkmurls["m.n"] = ["http://www4.marathonbet.com/news","lws"];
bkmurls["m.j"] = ["http://www4.marathonbet.com/job","lws"];
bkmurls["m.us"] = ["http://www.marathonbet.com/aboutus.phtml","_top"];
bkmurls["m.f"] = ["http://www4.marathonbet.com/bb","_top"];
bkmurls["mailto"] = ["mailto:support@marathonbet.com",""];
bkmurls["aboutus"] = ["/aboutus.phtml","_top"];
bkmurls["google"] = ["http://maps.google.ru/maps?f=q&hl=ru&q=http://static.marathonbet.com/google/marathon","dddddd"];
bkmurls["finvideo"] = ["http://tototvrussia.maxinetti.fi/directview.php?fcode=","_blank"];
bkmurls["secur"] = ["https://www.marathonbet.com/scripts/secur.php","_top"];
function mlJ(o,key,param)
{
	if(bkmurls[key])
	{
		o.href = bkmurls[key][0]+param;
		o.target = bkmurls[key][1];
	}
        return true;
}
function mlJ1(o,key)
{
        return mlJ(o,key,'');
}
function go2secur() {
	document.location='https://www.marathonbet.com/members/bin/secur.mpl';
}
function lnk(als,parms) {
	var href='';
	var trg='';
	if(als=='dynlive') {
		href='http://odds.marathonbet.com/dynlive.php'+parms;
		trg='_top';
	} else if(als=='m.s') {
		href='http://www.marathonbet.com/bin/odds.mpl';
		trg='_top';
	} else if(als=='m.t') {
		href='http://www.marathonbet.com/totals.shtml';
		trg='_top';
	} else if(als=='m.r') {
		href='http://results.marathonbet.com/results.php';
		trg='_top';
	} else if(als=='m.rl') {
		href='http://results.marathonbet.com/liveresults.php';
		trg='_top';
	} else if(als=='m.ss') {
		href='http://results.marathonbet.com/sportstat.php';
		trg='_top';
	} else if(als=='m.rg') {
		href='https://www.marathonbet.com/bin/reg';
		trg='_top';
	} else if(als=='m.a') {
		href='https://account.marathonbet.com/hist.phtml';
		trg='_top';
	} else if(als=='m.ao') {
		href='http://www.marathonbet.com/acc.shtml';
		trg='_top';
	} else if(als=='m.b') {
		href='http://www.marathonbet.com/betmall.shtml';
		trg='_top';
	} else if(als=='m.rz') {
		href='http://www4.marathonbet.com/rules.phtml';
		trg='_top';
	} else if(als=='m.ht') {
		href='http://www4.marathonbet.com/guest.phtml';
		trg='_top';
	} else if(als=='m.n') {
		href='http://www4.marathonbet.com/news';
		trg='lws';
	} else if(als=='m.j') {
		href='http://www4.marathonbet.com/job';
		trg='lws';
	} else if(als=='m.us') {
		href='http://www.marathonbet.com/aboutus.phtml';
		trg='_top';
	} else if(als=='m.f') {
		href='http://www4.marathonbet.com/bb';
		trg='_top';
	} else if(als=='mailto') {
		href='mailto:support@marathonbet.com'+parms;
	} else if(als=='aboutus') {
		href='/aboutus.phtml'+parms;
	} else if(als=='google') {
		href='http://maps.google.ru/maps?f=q&hl=ru&q=http://static.marathonbet.com/google/marathon'+parms;
		trg='dddddd';
	} else if(als=='finvideo') {
		href='http://tototvrussia.maxinetti.fi/directview.php?fcode='+parms;
		trg='_blank';
	} else if(als=='secur') {
		href='https://www.marathonbet.com/scripts/secur.php';
		trg='_top';
	}
	if(href!='') {
		if(trg!='') {
			window.open(href, trg);
		} else {
			document.location=href;
		}
	}
	return false;
}
function lnks(als) {
	lnk(als,'');
	return false;
}
