﻿function mainImageCgange(iName,str)
{	document.images[iName].src = str;
	document.images[iName].style.left = 120;
	document.images[iName].style.top = 0;
}

function addArrow(id,str)
{	document.getElementById(id).style.backgroundImage = str;
	document.getElementById(id).style.backgroundRepeat = "no-repeat";
	document.getElementById(id).style.backgroundPosition = "0 4px"
}

function noArrow(id)
{
	document.getElementById(id).style.backgroundImage = "none";
}
function indexAddArrow(id,str)
{	document.getElementById(id).style.backgroundImage = str;
	document.getElementById(id).style.backgroundRepeat = "no-repeat";
	document.getElementById(id).style.backgroundPosition = "0 center"
}
