function getObj(objName) {
    if (document.getElementById && document.getElementById(objName) != null)
        return document.getElementById(objName).style;
    else if (document.all)
        return document.all[objName].style;
	else if (document.layers)
        return document.layers[objName];
	else
		return null;
}


function over(id) {
	var atop = getObj('tooltip');
	if (atop != null)
		atop.visibility = "visible";
	if (document.images)
		document.images['i' + id].src = ia[id].src;

}


function out(id) {
	var atop = getObj('tooltip');
	if (atop != null)
		atop.visibility = "hidden";
	if (document.images) {
		document.images['i' + id].src = ip[id].src;
	}
}


function preloadImages() {
    if (!document.images)
        return;

	ip = new Array();	ia = new Array();

	ip[1] = new Image;	ip[1].src = '../images/footer/indexp.gif';
	ia[1] = new Image;	ia[1].src = '../images/footer/indexa.gif';

	ip[2] = new Image;	ip[2].src = '../images/footer/nextp.gif';
	ia[2] = new Image;	ia[2].src = '../images/footer/nexta.gif';
}


preloadImages();