// version 0.01 05.09.2008
function hoverImg(obj,wo) {
    var imgObj = obj.firstChild.nextSibling;//Img Obj mit Pfeilen
    if (imgObj == null || imgObj.nodeName.toUpperCase() != "IMG") {
		return;//Aufruf an ung�ltiger Stelle
	}
	var newSrc = "";
	var oldSrc = imgObj.getAttribute("src");
	var prefix = oldSrc.substring(0, oldSrc.lastIndexOf("/") + 1);
	oldSrc = oldSrc.substring(oldSrc.lastIndexOf("/") + 1, oldSrc.length);
	if (wo == 1) { //Mouseover
		if (oldSrc == 'link_arrows_right_swisslos_lo.gif') {
			newSrc = 'link_arrows_right_swisslos_hi.gif';
		} else if (oldSrc == 'link_arrows_right_swisslotto_lo.gif') {
			newSrc = 'link_arrows_right_swisslotto_hi.gif';
		} else if (oldSrc == 'link_arrows_right_sporttip_lo.gif') {
			newSrc = 'link_arrows_right_sporttip_hi.gif';
		} else if (oldSrc == 'link_arrows_right_euromillions_lo.gif') {
			newSrc = 'link_arrows_right_euromillions_hi.gif';
		} else {
			return;//kein g�ltiges Bild;
		}
	} else { //Mouseout
		if (oldSrc == 'link_arrows_right_swisslos_hi.gif') {
			newSrc = 'link_arrows_right_swisslos_lo.gif';
		} else if (oldSrc == 'link_arrows_right_swisslotto_hi.gif') {
			newSrc = 'link_arrows_right_swisslotto_lo.gif';
		} else if (oldSrc == 'link_arrows_right_sporttip_hi.gif') {
			newSrc = 'link_arrows_right_sporttip_lo.gif';
		} else if (oldSrc == 'link_arrows_right_euromillions_hi.gif') {
			newSrc = 'link_arrows_right_euromillions_lo.gif';
		} else {
			return;//kein g�ltiges Bild;
		}
	}
	imgObj.setAttribute("src", prefix + newSrc);
}

function hoverImgTrans(obj,wo) {
	var msie=(document.all && document.styleSheets);
	var spanObj = obj.firstChild.nextSibling;

	if (msie) {
		var oldSrc = spanObj.style.filter;
		oldSrc = oldSrc.substring(oldSrc.indexOf("src=\'") + 5, oldSrc.lastIndexOf("\'"));
	} else {
		oldSrc = spanObj.firstChild.getAttribute("src");
	}		

	var prefix = oldSrc.substring(0, oldSrc.lastIndexOf("/") + 1);
	oldSrc = oldSrc.substring(oldSrc.lastIndexOf("/") + 1, oldSrc.length);
	if (wo == 1) { //Mouseover
		if (oldSrc == 'link_arrows_right2_swisslos_lo.png') {
			var newSrc = 'link_arrows_right2_swisslos_hi.png';
		} else if (oldSrc == 'link_arrows_right2_swisslotto_lo.png') {
			newSrc = 'link_arrows_right2_swisslotto_hi.png';
		} else if (oldSrc == 'link_arrows_right2_sporttip_lo.png') {
			newSrc = 'link_arrows_right2_sporttip_hi.png';
		} else if (oldSrc == 'link_arrows_right2_euromillions_lo.png') {
			newSrc = 'link_arrows_right2_euromillions_hi.png';
		} else {
			return;//kein g�ltiges Bild;
		}
	} else { //Mouseout
		if (oldSrc == 'link_arrows_right2_swisslos_hi.png') {
			newSrc = 'link_arrows_right2_swisslos_lo.png';
		} else if (oldSrc == 'link_arrows_right2_swisslotto_hi.png') {
			newSrc = 'link_arrows_right2_swisslotto_lo.png';
		} else if (oldSrc == 'link_arrows_right2_sporttip_hi.png') {
			newSrc = 'link_arrows_right2_sporttip_lo.png';
		} else if (oldSrc == 'link_arrows_right2_euromillions_hi.png') {
			newSrc = 'link_arrows_right2_euromillions_lo.png';
		} else {
			return;//kein g�ltiges Bild;
		}
	}
	newSrc = prefix + newSrc;
	if (msie) {
		spanObj.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + newSrc + "')";
	} else {
		var imgObj = spanObj.firstChild;
		if (imgObj.nodeName.toUpperCase() == "IMG") {
			imgObj.setAttribute("src", newSrc);
		} 
	}
}