stripLink(urlLnk);

function stripLink(lnk)
{
	var butFile, butName
	var imgSrc = new String(lnk)
	var sStr = imgSrc.lastIndexOf("?")+1
	var eStr = imgSrc.length
	var mStr = imgSrc.lastIndexOf("&")
	butFile = imgSrc.substring(sStr, mStr)
	butName = imgSrc.substring(mStr+1, eStr)
	var butFileMod = new String(butFile)
	if(butFile!=""&&butName!=""){
		butFile = butFileMod.replace("r","s")
		document.images[butName].src = "/images/" + butFile
	}else{
		document.images['home'].src = "/images/button_9s.gif"
	}
}
