////////////////////////////////////////////////////////////////
// From http://brainerror.net/scripts/javascript/blendtrans/
// with a little tweaking
//change the opacity for different browsers
function changeOpac(opacity, id) {
    var object = document.getElementById(id).style;
    object.opacity = (opacity / 100);
    object.MozOpacity = (opacity / 100);
    object.KhtmlOpacity = (opacity / 100);
    object.filter = "alpha(opacity=" + opacity + ")";
}
function blendimage(divid, imageid, imagefile, millisec) {
    var speed = Math.round(millisec / 100);
    var timer = 0;
    
	//make image transparent
    changeOpac(0, imageid);
    
    //make new image
    document.getElementById(imageid).src = imagefile;

    //fade in image
    for(i = 0; i <= 100; i++) {
        setTimeout("changeOpac(" + i + ",'" + imageid + "')",(timer * speed));
        timer++;
    }
}
////////////////////////////////////////////////////////////////

var browserCheck = (document.all) ? 1 : 0;
if(browserCheck == 0) {
	banners = new Array('images/fp_01.png','images/fp_uc.png','images/fp_uc.png','images/fp_uc.png');
}
var now = 0;
function over(button) {
	if(browserCheck == 0 && now != button) {
		blendimage('banner','banimg',banners[button - 1],500);
	}
	now = button;
}