function match_toggle(match_id){
	$("tr.js_matches_for_"+match_id).toggle();
	var tog = $("div.js_toggler_"+match_id);
	if (tog.is('.ico_plus')){
		tog.removeClass('ico_plus');
		tog.addClass('ico_minus');
	} else {
		tog.addClass('ico_plus');
		tog.removeClass('ico_minus');
	}
}


function send_transaction(orderid, affiliate, product, match, price){
	orderid = orderid + Math.floor(Math.random()*1000000)
	pageTracker._addTrans(
		orderid, // required
		affiliate,
		0,
		0,
		0,
		"",
		"",
		""
	);
	pageTracker._addItem(
		orderid, // required
		"",
		match,
		product,
		price,  // required
		1  //required
	); 
	pageTracker._trackTrans();
	pageTracker._trackPageview('/outgoing/'+affiliate+'/'+match);
}


