function swapImage(tag,strImg)
{
	//swaps the image source of the tag passed in to the path specified
	tag.src=strImg;
	return true;
}

function swapImageOver(tag, img)
{
	if (img && img[1])
		tag.src = img[1].src;
}

function swapImageNormal(tag, img)
{
	if (img && img[0])
		tag.src = img[0].src;
}

function preloadImage(name)
{
	var imgs = new Array;
	imgs[0] = new Image;
	imgs[0].src = "images/" + name + ".gif"
	
	imgs[1] = new Image;
	imgs[1].src = "images/" + name + "_ro.gif"
	
	return imgs;
}