/* global mouseOver-show text in div id=divMore 
copy this to anywhere:
<a id="iceA" onMouseMove="iceMoreShow('Free with a purchase of any jump drive!',event);" onMouseOut="iceMoreHide();">Free</a>
*/

function iceMoreShow(iceText,e) {
	var icepd=document.getElementById("divMore");
    e = e || window.event;
    var iceCursor = {x:0, y:0};
    if (e.pageX || e.pageY) {
        iceCursor.x = e.pageX;
        iceCursor.y = e.pageY;
    }
    else {
        var de = document.documentElement;
        var b = document.body;
        iceCursor.x = e.clientX +
            (de.scrollLeft || b.scrollLeft) - (de.clientLeft || 0);
        iceCursor.y = e.clientY +
            (de.scrollTop || b.scrollTop) - (de.clientTop || 0);
    }



boxWidth=Math.round(Math.sqrt(iceText.length)*1.3);
 icepd.style.width=boxWidth+"em";
    	icepd.style.left=iceCursor.x+11+"px";
	icepd.style.top=iceCursor.y+16+"px";
	icepd.firstChild.data=iceText;
	icepd.style.visibility="visible";
}

function iceMoreHide(){

	document.getElementById("divMore").style.visibility="hidden";
	}
	
