hoverdata = [];
hoverdata[0] = [];
hoverdata[0][0] = "The Rewarder" 
hoverdata[0][1] = "Regular Savings Account" 
hoverdata[0][2] = "/savings/rewarder-savings/" 
hoverdata[1] = [];
hoverdata[1][0] = "The Youngster" 
hoverdata[1][1] = "Junior Savings Account" 
hoverdata[1][2] = "/savings/youngster-savings/" 
hoverdata[2] = [];
hoverdata[2][0] = "Cash ISA" 
hoverdata[2][1] = "Tax free Individual Savings Account" 
hoverdata[2][2] = "/savings/cash-isa/" 
hoverdata[3] = [];
hoverdata[3][0] = "The Resourcer" 
hoverdata[3][1] = "Fixed Term Loan Account" 
hoverdata[3][2] = "/loans/resourcer-fixed-term-loan/" 
hoverdata[4] = [];
hoverdata[4][0] = "The Responder" 
hoverdata[4][1] = "Unsecured Revolving Credit Account" 
hoverdata[4][2] = "/loans/responder-top-up-facility/" 
hoverdata[5] = [];
hoverdata[5][0] = "The Reloader" 
hoverdata[5][1] = "3 Year Pre-authorised Credit Facility" 
hoverdata[5][2] = "/loans/reloader-overdraft---credit-card-alternative/" 

function hover(id) {
	$('.leaflet-hover h3').text(hoverdata[id][0]);
	$('.leaflet-hover p').html('<a href="' + hoverdata[id][2] + '">' + hoverdata[id][1] + '</a>');
	$('.leaflet-hover').show();
}
function clear_hovers() {
	$('.leaflet-hover').hide();
}

	/*********************************************************************
		 * No onMouseOut event if the mouse pointer hovers a child element 
		 * *** Please do not remove this header. ***
		 * This code is working on my IE7, IE6, FireFox, Opera and Safari
		 * 
		 * Usage: 
		 * <div onMouseOut="fixOnMouseOut(this, event, 'JavaScript Code');"> 
		 *		So many childs 
		 *	</div>
		 *
		 * @Author Hamid Alipour Codehead @ webmaster-forums.code-head.com		
		**/
		function is_child_of(parent, child) {
			if( child != null ) {			
				while( child.parentNode ) {
					if( (child = child.parentNode) == parent ) {
						return true;
					}
				}
			}
			return false;
		}
		function fixOnMouseOut(element, event, JavaScript_code) {
			var current_mouse_target = null;
			if( event.toElement ) {				
				current_mouse_target 			 = event.toElement;
			} else if( event.relatedTarget ) {				
				current_mouse_target 			 = event.relatedTarget;
			}
			if( !is_child_of(element, current_mouse_target) && element != current_mouse_target ) {
				eval(JavaScript_code);
			}
		}
		/*********************************************************************/