// Google Analitics Electronic commerce function

function commerce(shop, price, name, category){

	if(shop == "SoftKey") price = Math.round(price / 24);
	if(shop == "MobiHand") price = Math.round(price / 24);
	if(shop == "Softkey") price = Math.round(price / 24);
	if(shop == "Allsoft") price = Math.round(price / 24);
	if(shop == "AllSoft") price = Math.round(price / 24);
	if(shop == "MobileRu") price = Math.round(price / 24);
	if(shop == "Mobile2Day") price = Math.round(price * 1.5);
	if(shop == "Mobile2day") price = Math.round(price * 1.5);
	if(shop == "MobileDe") price = Math.round(price * 1.5);

	var trans  = "UTM:T|000|" + shop + "|" + price + "|0.00|00.00|New York|CA|USA\n";
		trans += "UTM:I|000|XXX000|" + name + "|" + category + "|" + price + "|1";

	document.getElementById("utmtrans").value = trans;

	__utmSetTrans();

	}

if(document.getElementById("sec_pic"))
{	document.getElementById("sec_pic").src = "http://penreader.com/sms/png.php";	}
