var tipwidth='500px' //default tooltip width
var tipbgcolor='lightyellow'  //tooltip bgcolor
var disappeardelay=250  //tooltip disappear speed onMouseout (in miliseconds)
var vertical_offset="0px" //horizontal offset of tooltip from anchor link
var horizontal_offset="-200px" //horizontal offset of tooltip from anchor link

var content=new Array()
//change the array below to the text associated with your links Expand or contract the array, depending on how many links you have
content[0]='<strong>Head Injuries</strong><br>For minor head injuries involving no brain damage, you could receive <strong>up to £6000</strong>. For head injuries involving minor brain damage with good recovery, you could receive <strong>up to £21000</strong>.'

content[1]='<strong>Neck Injuries</strong><br>For neck injuries where recovery is within 2 years, you could receive <strong>£1000 to £3500</strong>.For severe neck injuries, you could receive <strong>up to £13000</strong>.'

content[2]='<strong>Shoulder Injuries</strong><br>For dislocation of the shoulder, you could receive <strong>£6000 to £9000</strong>. For moderate shoulder injuries, you could receive <strong>£3750 to £6000</strong>. For minor shoulder injuries you could receive <strong>£2000 to £3750</strong>.'

content[3]='<strong>Arm Injuries</strong><br>For serious fractures of one or both arms, you could receive <strong>£9000 to £29000</strong>. For Uncomplicated fractures with complete recovery within a short period, you could receive <strong>up to £3000</strong>. For uncomplicated fractures where there is modest or residual disability, you could receive <strong>up to £9000</strong>'

content[4]='<strong>Back Injuries</strong><br>For strains, sprains or soft tissue injuries, you could receive <strong>up to £6500</strong>. For severe back injuries, you could receive <strong>up to £14000</strong>.'

content[5]='<strong>Elbow Injuries</strong><br>For severely disabling elbow injuries, you can epect to receive <strong>£18350 to £25000</strong>. For elbow injuries leading to impairment of function, you could receive <strong>£7500 to £15000</strong>. For moderate or minor elbow injuries, you could receive <strong>up to £6000</strong>.'

content[6]='<strong>Hip Injuries</strong><br>For minor hip injuries, you could receive <strong>up to £6750</strong>. For severe hip injuries, you could receive<strong>up to £13000</strong>.'

content[7]='<strong>Leg Injuries</strong><br>For simple fractures of the leg, you could receive <strong>up to £4250</strong>. For severe leg injuries, you could receive <strong>up to £7000</strong>.'

content[8]='<strong>Wrist Injuries</strong><br>For wrist injuries resulting in significant or permanent disability, you could receive <strong>£12000 to £19500</strong>. For less severe or partial disability, you could receive <strong>£6000 to £12500</strong>. For wrist injuries where recovery is complete, you could receive <strong>up to £5000</strong>.For uncomplicated fractures of the wrist, you could receive <strong>up to £3500</strong>.'

content[9]='<strong>Hand Injuries</strong><br>For loss of fingers, you could receive <strong>£2000 to £9000</strong>.For severe fractures with partial amputations, you could receive <strong>up to £18500</strong>. For fractures with impairment of grip, you could receive <strong>£4250 to £5850</strong>. For serious injury to ring or middle fingers, you could receive <strong>£7000 to £7750</strong>. For the loss of a thumb, you could receive <strong>£18000 to £27500</strong>. For severe dislocation of thumb, you could receive <strong>£2000 to £3500</strong>.'

content[10]='<strong>Knee Injuries</strong><br>For lacerations, twisting or bruising injuries where recovery is complete, you could receive <strong>up to £3250</strong>. For ongoing minor symptoms of aching, discomfort or occasional pain, you could receive <strong>up to £6500</strong>.'

content[11]='<strong>Ankle Injuries</strong><br>For severe ankle injuries and significant permanent disability, you could receive <strong>£15000 to £25000</strong>. For fractures and ligament injuries resulting in moderate disability, you could receive <strong>£6500 to £13500</strong>.'

content[12]='<strong>Foot Injuries</strong><br>Broken bones, dislocations, sprains, contusions, infections, and other serious injuries can occur at any time. If you believe you have suffered a foot injury & it was the fault of someone else then you may be entitled to claim compensation. You could receive <strong>£1000 to £25000</strong>.'


/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
	document.write('<div id="fixedtipdiv" style="visibility:hidden;width:'+tipwidth+';background-color:'+tipbgcolor+'" ></div>')


function fixedtooltip(menucontents, obj, e, tipwidth){
	
	if (window.event)
		event.cancelBubble = true
	else if (e.stopPropagation)
		e.stopPropagation()
	
	clearhidetip()
	dropmenuobj = document.getElementById? document.getElementById("fixedtipdiv") : fixedtipdiv
	dropmenuobj.innerHTML = menucontents

	if (ie4||ns6){
		showhide(dropmenuobj.style, e, "visible", "hidden", tipwidth)
		dropmenuobj.x = getposOffset(obj, "left")
		dropmenuobj.y = getposOffset(obj, "top")
		dropmenuobj.style.left = dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
		dropmenuobj.style.top = dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
	}
}

function delayhidetip(){

	if (ie4||ns6)
		delayhide = setTimeout("hidetip()",disappeardelay)
}

function showhide(obj, e, visible, hidden, tipwidth){
	if (ie4||ns6)
		dropmenuobj.style.left = dropmenuobj.style.top =- 500
	if (tipwidth!=""){
		dropmenuobj.widthobj=dropmenuobj.style
		dropmenuobj.widthobj.width=tipwidth
	}
	
	if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
		obj.visibility=visible
	else if (e.type=="click")
		obj.visibility=hidden
}

function iecompattest(){
	return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
	var edgeoffset=(whichedge=="rightedge")? parseInt(horizontal_offset)*-1 : parseInt(vertical_offset)*-1
	if (whichedge=="rightedge"){
		var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
		dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
		if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
			edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
	}
	else{
		var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
		dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
		if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)
			edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
	}
	return edgeoffset
}


function hidetip(e){
	if (typeof dropmenuobj!="undefined"){
		if (ie4||ns6)
			dropmenuobj.style.visibility="hidden"
	}
}

function clearhidetip(){
	if (typeof delayhide!="undefined")
	clearTimeout(delayhide)
}

function getposOffset(what, offsettype){
	var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
	var parentEl=what.offsetParent;
	
	while (parentEl!=null){
		totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
		parentEl=parentEl.offsetParent;
	}
	return totaloffset;
}