$(document).ready(function () {

	// Hyperlinks with arrows
	$('ul.menu li a, .homeLinks a').not('ul.menu li.current a').after(' <img src="/' + MediaLibrary + '/a_menu.png" alt="" width="4" height="8" />');
	$('.map-results div a').not('.map-results div.map-result-list a').append(' <img src="/' + MediaLibrary + '/a_menu.png" alt="" width="4" height="8" />');
	$('#mainContent h3 a, .stepsIcons a, ul.tabsInBody li a').after(' <img src="/' + MediaLibrary + '/a_h3.png" alt="" width="5" height="10" />');
	$('div.care-option p a:not(.read-more), a.more-collapsibleTable').after(' <img src="/' + MediaLibrary + '/a_blue.png" alt="" width="4" height="8" />');
	$('ul.wizardTabs li.current span').append(' <img class="current" src="/' + MediaLibrary + '/bg_wizardTabs_current.png" alt="" width="8" height="16" />');
	$('div.care-option p a.read-more').after(' <img src="/' + MediaLibrary + '/arrow_down.png" alt="" width="11" height="5" />');
	// Font resizing
	fontResizer('13px', '16px', '18px');

	$("#tabs").tabs({
		fx: { opacity: 'toggle' }
	});

	/*
	$('#sample_tip').hide();
	$('#mapContainer').bt({
	contentSelector: "$('#sample_tip')",
	padding: 0,
	cornerRadius: 25,
	fill: '#FFF',
	strokeStyle: '#ABABAB',
	strokeWidth: 1,
	clickAnywhereToClose: false,
	closeWhenOthersOpen: true,
	trigger: 'click',
	width: '300px'
	});
	*/
	$('.tip a.a').append(' <img src="/' + MediaLibrary + '/a_menu.png" alt="" width="4" height="8" />');
	$('.tip_close a').click(function () {
		//jQuery.bt.options.hideTip();
	});

	Cufon.replace(['.title', '.cufonize']);
});
var MediaLibrary = "Media Library"
BookmarkApp = function () { var isIEmac = false; var isMSIE = (-[1, ]) ? false : true; var cjTitle = document.title; var cjHref = location.href; function hotKeys() { var ua = navigator.userAgent.toLowerCase(); var str = ''; var isWebkit = (ua.indexOf('webkit') != -1); var isMac = (ua.indexOf('mac') != -1); if (ua.indexOf('konqueror') != -1) { str = 'CTRL + B'; } else if (window.home || isWebkit || isIEmac || isMac) { str = (isMac ? 'Command/Cmd' : 'CTRL') + ' + D'; } return ((str) ? 'Press ' + str + ' to bookmark this page.' : str); } function isIE8() { var rv = -1; if (navigator.appName == 'Microsoft Internet Explorer') { var ua = navigator.userAgent; var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); if (re.exec(ua) != null) { rv = parseFloat(RegExp.$1); } } if (rv > -1) { if (rv >= 8.0) { return true; } } return false; } function addBookmark(a) { try { if (typeof a == "object" && a.tagName.toLowerCase() == "a") { a.style.cursor = 'pointer'; if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) { window.sidebar.addPanel(cjTitle, cjHref, ""); return false; } else if (isMSIE && typeof window.external == "object") { if (isIE8()) { window.external.AddToFavoritesBar(cjHref, cjTitle); } else { window.external.AddFavorite(cjHref, cjTitle); } return false; } else if (window.opera) { a.href = cjHref; a.title = cjTitle; a.rel = 'sidebar'; return true; } else { alert(hotKeys()); } } else { throw "Error occured.\r\nNote, only A tagname is allowed!"; } } catch (err) { alert(err); } } return { addBookmark: addBookmark} } (); $('ul.tabs li a').not('ul.tabs li.current a').append(' <img src="/' + MediaLibrary + '/a_menu.png" alt="" width="4" height="8" />');


