function doTrans(spanObj,FilterIndex) {
        
        spanObj.filters[FilterIndex].apply();
        if (spanObj.style.backgroundImage.indexOf('green')!=-1) {
            
            spanObj.style.backgroundImage  = spanObj.style.backgroundImage.replace('green','blue');
			}
        else {
           
            spanObj.style.backgroundImage  = spanObj.style.backgroundImage.replace('blue','green');
			}
		spanObj.style.cursor="hand"; //make sure the cursor doesn't return to an arrow
        spanObj.filters[FilterIndex].play();
}

function PopupInNewWindow(url)
{
	window.open(url);
}
