
<!--
/*
This code is from Dynamic Web Coding 
www.dyn-web.com 
Copyright 2001 by Sharon Paine 
Permission granted to use this code as long as this 
entire notice is included.
*/

/* IMPORTANT: Put script after tooltip div or 
	 put tooltip div just before </BODY>. */

var dom = (document.getElementById) ? true : false;
var ns5 = ((navigator.userAgent.indexOf("Gecko")>-1) && dom) ? true: false;
var ie5 = ((navigator.userAgent.indexOf("MSIE")>-1) && dom) ? true : false;
var ns4 = (document.layers && !dom) ? true : false;
var ie4 = (document.all && !dom) ? true : false;
var nodyn = (!ns5 && !ns4 && !ie4 && !ie5) ? true : false;

// resize fix for ns4
var origWidth, origHeight;
if (ns4) {
	origWidth = window.innerWidth; origHeight = window.innerHeight;
	window.onresize = function() { if (window.innerWidth != origWidth || window.innerHeight != origHeight) history.go(0); }
}

// avoid error of passing event object in older browsers
if (nodyn) event = "nope";

///////////////////////  CUSTOMIZE HERE   ////////////////////
// settings for tooltip 
// Do you want tip to move with mouse movement along link?
var tipFollowMouse	= false;	
var tipWidth 			 	= 205;
var offX					 	= 20;	// how far from mouse to show tip
var offY					 	= 3; 
var tipFontFamily 	= "arial, helvetica, sans-serif";
var tipFontSize			= "8pt";
var tipFontColor		= "#000000";
var tipBgColor 			= "#ffffff";
var tipBorderColor 	= "#666666";
var tipBorderWidth 	= 1;
var tipBorderStyle 	= "solid";
var tipPadding		 	= 1;

// preload images to be placed in tooltip
//var img1 = new Image(100,100);	// (width,height)
// img1.src = "your.gif";


// variables for tooltip content 
var tip0 = '<img src="http://www.JulieLahart.com/graphics/Clay.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 267 Range: $40,000 - $549,900<br /><br />HOMES SOLD IN JUNE<br /><br /># = 58 Range: $55,000 - $294,600<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip1 = '<img src="http://www.JulieLahart.com/graphics/Lysander.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 221 Range: $20,000 - $950,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 33 Range: $77,000 - $497,400<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip2 = '<img src="http://www.JulieLahart.com/graphics/Cicero.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 257 Range: $65,900 - $1,950,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 57 Range: $63,000 - $470,000<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip3 = '<img src="http://www.JulieLahart.com/graphics/DeWitt.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 147 Range: $29,900 - $3,000,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 30 Range: $59,000 - $603,000<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip4 = '<img src="http://www.JulieLahart.com/graphics/Manlius.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 310 Range: $56,500 - $1,800,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 32 Range: $84,000 - $497,000<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip5 = '<img src="http://www.JulieLahart.com/graphics/Pompey.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 43 Range: $119,900 - $1,275,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 3 Range: $67,500 - $300,000 <br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip6 = '<img src="http://www.JulieLahart.com/graphics/Lafayette.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 35 Range: $90,000 - $1,299,900<br /><br />HOMES SOLD IN JUNE<br /><br /># = 2 Range: $139,000 - $144,000<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip7 = '<img src="http://www.JulieLahart.com/graphics/Otisco.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 16 Range: $39,900 - $375,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 0 Range: <br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip8 = '<img src="http://www.JulieLahart.com/graphics/Spafford.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 10 Range: $64,777 - $598,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 0 Range:  <br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip9 = '<img src="http://www.JulieLahart.com/graphics/Niles.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 13 Range: $89,900 - $775,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 0 Range: <br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip10 = '<img src="http://www.JulieLahart.com/graphics/Onondaga.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 131 Range: $34,900 - $1,200,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 20 Range: $50,000 - $325,000<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip11 = '<img src="http://www.JulieLahart.com/graphics/Marcellus.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 75 Range: $89,900 - $550,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 5 Range: $50,000 - $119,500<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip12 = '<img src="http://www.JulieLahart.com/graphics/Camillus.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 187 Range: $62,900 - $1,940,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 34 Range: $55,000 - $285,000<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip13 = '<img src="http://www.JulieLahart.com/graphics/VanBuren.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 59 Range: $29,900 - $329,900<br /><br />HOMES SOLD IN JUNE<br /><br /># = 23 Range: $71,500 - $315,000<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip14 = '<img src="http://www.JulieLahart.com/graphics/Elbridge.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 54 Range: $54,900 - $1,130,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 7 Range: $74,000 - $244,500<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip15 = '<img src="http://www.JulieLahart.com/graphics/Skaneateles.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 165 Range: $78,000 - $3,220,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 1 Range: $760,000 <br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip16 = '<img src="http://www.JulieLahart.com/graphics/Fleming.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 18 Range: $65,000 - $599,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 1 Range: $175,000<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip17 = '<img src="http://www.JulieLahart.com/graphics/Owasco.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 47 Range: $52,000 - $1,300,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 2 Range: $110,000 - $380,000<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip18 = '<img src="http://www.JulieLahart.com/graphics/Sennett.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 23 Range: $105,000 - $399,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 1 Range: $174,000 <br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip19 = '<img src="http://www.JulieLahart.com/graphics/Auburn.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 167 Range: $8,000 - $275,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 11 Range: $35,000 - $135,900<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip20 = '<img src="http://www.JulieLahart.com/graphics/Brutus.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 39 Range: $42,900 - $455,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 1 Range: $30,000<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip21 = '<img src="http://www.JulieLahart.com/graphics/Cato.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 23 Range: $105,000 - $399,900<br /><br />HOMES SOLD IN JUNE<br /><br /># = 1 Range: $74,000 - $77,500<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip22 = '<img src="http://www.JulieLahart.com/graphics/Scipio.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 12 Range: $89,900 - $850,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 2 Range: $74,000 - $100,000<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip23 = '<img src="http://www.JulieLahart.com/graphics/Fabius.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 6 Range: $59,900 - $259,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 1 Range: $212,500 <br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'
var tip24 = '<img src="http://www.JulieLahart.com/graphics/Tully.gif" width="225" height="24" border="0"><br><table width="225" cellpadding=3 cellspacing=0 border=0><tr><td BGCOLOR="#ffffff"><font size="1" face="arial" color="#000000">HOMES CURRENTLY LISTED <br /><br /># = 37 Range: $64,000 - $549,000<br /><br />HOMES SOLD IN JUNE<br /><br /># = 1 Range: $147,000<br /><br />This information is courtesy of GSAR and is deemed reliable but not guaranteed.'

////////////////////  END OF CUSTOMIZATION AREA  ///////////////////

////////////////////////////////////////////////////////////
//  initTip	- initialization for tooltip.
//		Global variables for tooltip. 
//		Set styles for all but ns4. 
//		Set up mousemove capture if tipFollowMouse set true.
////////////////////////////////////////////////////////////
var tooltip, tipcss;
function initTip() {
	if (nodyn) return;
	tooltip = (ns4)? document.tipDiv.document: (ie4)? document.all['tipDiv']: (ie5||ns5)? document.getElementById('tipDiv'): null;
	tipcss = (ns4)? document.tipDiv: tooltip.style;
	if (ie4||ie5||ns5) {	// ns4 would lose all this on rewrites
		tipcss.width = tipWidth+"px";
		tipcss.fontFamily = tipFontFamily;
		tipcss.fontSize = tipFontSize;
		tipcss.color = tipFontColor;
		tipcss.backgroundColor = tipBgColor;
		tipcss.borderColor = tipBorderColor;
		tipcss.borderWidth = tipBorderWidth+"px";
		tipcss.padding = tipPadding+"px";
		tipcss.borderStyle = tipBorderStyle;
	}
	if (tooltip&&tipFollowMouse) {
		if (ns4) document.captureEvents(Event.MOUSEMOVE);
		document.onmousemove = trackMouse;
	}
}
window.onload = initTip;

/////////////////////////////////////////////////////////////
//  doTooltip function
//			Assembles content for tooltip and writes it to tipDiv.
//			Call positionTip function from here if tipFollowMouse
//			is set to false.
//////////////////////////////////////////////////////////////
var t1,t2;	// for setTimeouts
var tipOn = false;	// check if over tooltip link
function doTooltip(evt,txt) {
	if (!tooltip) return;
	if (t1) clearTimeout(t1);	if (t2) clearTimeout(t2);
	tipOn = true;
	if (ns4) {
		tip = '<table bgcolor="' + tipBorderColor + '" width="' + tipWidth + '" cellspacing="0" cellpadding="' + tipBorderWidth + '" border="0"><tr><td><table bgcolor="' + tipBgColor + '" width="100%" cellspacing="0" cellpadding="' + tipPadding + '" border="0"><tr><td><span style="font-family:' + tipFontFamily + '; font-size:' + tipFontSize + '; color:' + tipFontColor + ';">' + txt  + '</span></td></tr></table></td></tr></table>';
		tooltip.write(tip);
		tooltip.close();
	} else if (ie4||ie5||ns5) {
		tip = txt;
	 	tooltip.innerHTML = tip;
	}
	if (!tipFollowMouse) positionTip(evt);
}

var mouseX, mouseY;
function trackMouse(evt) {
	mouseX = (ns4||ns5)? evt.pageX: window.event.clientX + document.body.scrollLeft;
	mouseY = (ns4||ns5)? evt.pageY: window.event.clientY + document.body.scrollTop;
	if (tipOn) positionTip(evt);
}

/////////////////////////////////////////////////////////////
//  positionTip function
//		If tipFollowMouse set false, so trackMouse function
//		not being used, get position of mouseover event.
//		Calculations use mouseover event position, 
//		offset amounts and tooltip width to position
//		tooltip within window.
/////////////////////////////////////////////////////////////
function positionTip(evt) {
	if (!tipFollowMouse) {
		mouseX = (ns4||ns5)? evt.pageX: window.event.clientX + document.body.scrollLeft;
		mouseY = (ns4||ns5)? evt.pageY: window.event.clientY + document.body.scrollTop;
	}
	// tooltip width and height
	var tpWd = (ns4)? tooltip.width: (ie4||ie5)? tooltip.clientWidth: tooltip.offsetWidth;
	var tpHt = (ns4)? tooltip.height: (ie4||ie5)? tooltip.clientHeight: tooltip.offsetHeight;
	// document area in view (subtract scrollbar width for ns)
	var winWd = (ns4||ns5)? window.innerWidth-20+window.pageXOffset: document.body.clientWidth+document.body.scrollLeft;
	var winHt = (ns4||ns5)? window.innerHeight+window.pageYOffset: document.body.clientHeight+document.body.scrollTop;
	// check mouse position against tip and window dimensions
	// and position the tooltip 
	if ((mouseX+offX+tpWd)>winWd) 
		tipcss.left = (ns4)? mouseX-(tpWd+offX): mouseX-(tpWd+offX)+"px";
	else tipcss.left = (ns4)? mouseX+offX: mouseX+offX+"px";
	if ((mouseY+offY+tpHt)>winHt) 
		tipcss.top = (ns4)? mouseY-(tpHt+offY): mouseY-(tpHt+offY)+"px";
	else tipcss.top = (ns4)? mouseY+offY: mouseY+offY+"px";
	t1=setTimeout("tipcss.visibility='visible'",100);
}

function hideTip() {
	if (!tooltip) return;
//	tipcss.visibility = "hidden";
	t2=setTimeout("tipcss.visibility='hidden'",100);
	tipOn = false;
}

//-->
