<!-- Begin
// This is the image mouseover script
// HTML CODE SYNTAX:  onmouseover="document.ChangeToDivID.src='NEW IMAGE GOES HERE';" onmouseout="document.ChangeToDivID.src='ORIGINAL IMAGE GOES HERE';"

function movepic(img_name,img_src) {
document[img_name].src=img_src;
}
// End -->



<!-- Begin
// This is the DIV toggle script
// MAKE SURE that the referenced DIV has a style and it contains either 'display: block;' (on) or 'display: none;' (off)
// HTML CODE SYNTAX:  onclick="toggle_visibility('ChangeToDivID');"

function toggle_visibility(id) {
var e = document.getElementById(id);

if (e.style.display == 'none')
	e.style.display = 'block';
else
	e.style.display = 'none';
}
// End -->


<!-- BEGIN
//Open new window script
 function openPopup(href, name, width, height, menu, status, scroll, loc, resize, title, toolbar){
	 var attributes = '';
	 attributes = attributes + ',width=' + width;
	 attributes = attributes + ',height=' + height;
	 attributes = attributes + ',left=' +(screen.width - width) / 2;
	 attributes = attributes + ',top=' +(screen.height - height) / 2;
	 attributes = attributes + ',menubar=' + (menu==1?'yes':'no');
	 attributes = attributes + ',status=' + (status==1?'yes':'no');
	 attributes = attributes + ',scrollbars=' + (scroll==1?'yes':'no');
	 attributes = attributes + ',location=' + (loc==1?'yes':'no');
	 attributes = attributes + ',titlebar=' + (title==1?'yes':'no');
	 attributes = attributes + ',toolbar=' + (toolbar==1?'yes':'no');
	 attributes = attributes + ',resizable=' + (resize==1?'yes':'no');
	 attributes = attributes.substring(1,attributes.length);
	 var Popup = window.open(href, name, attributes)
}
// END -->



<!-- Begin
//This is the menu fade-in fade-out script
menufadeObjects = new Object();
menufadeTimers = new Object();

function menufade(object, destOp, loopdelay, changepercentage){
if (!document.all)
return
    if (object != "[object]"){  //do this so I can take a string too
        setTimeout("menufade("+object+","+destOp+","+loopdelay+","+changepercentage+")",0);
        return;
    }
        
    clearTimeout(menufadeTimers[object.sourceIndex]);
    
    diff = destOp-object.filters.alpha.opacity;
    direction = 1;
    if (object.filters.alpha.opacity > destOp){
        direction = -1;
    }
    changepercentage=Math.min(direction*diff,changepercentage);
    object.filters.alpha.opacity+=direction*changepercentage;

    if (object.filters.alpha.opacity != destOp){
        menufadeObjects[object.sourceIndex]=object;
        menufadeTimers[object.sourceIndex]=setTimeout("menufade(menufadeObjects["+object.sourceIndex+"],"+destOp+","+loopdelay+","+changepercentage+")",loopdelay);
    }
}
// End -->


function gMap() {
    Shadowbox.open({
        player:     'html',
        content:    '',
        height:     300,
        width:      500,
        options:    {
            onFinish: function(item){
                if(GBrowserIsCompatible()){
                    var map = new GMap2(document.getElementById('shadowbox_content'));
                    map.setCenter(new GLatLng(34.746681,-92.28006), 6);
					
                    var marker1 = new GMarker(new GLatLng(34.618044,-92.496628));
					GEvent.addListener(marker1, 
					   "click", 
					   function() {
							marker1.openInfoWindowHtml('212 McClanahan Drive<br />Bryant, AR 72022<br />501-847-3090<br />800-148-1614');
					   }
					);	
					map.addOverlay(marker1);					
					
                    var marker2 = new GMarker(new GLatLng(35.238415, -92.317036));
					GEvent.addListener(marker2, 
					   "click", 
					   function() {
							marker2.openInfoWindowHtml('363 Hwy. 225E<br />Greenbriar, AR 72058<br />501-764-1876');
					   }
					);					
					map.addOverlay(marker2);	
					
                    var marker3 = new GMarker(new GLatLng(34.469511,-93.067639));
					GEvent.addListener(marker3, 
					   "click", 
					   function() {
							marker3.openInfoWindowHtml('1350 Higdon Ferry Road<br />Hot Springs, AR 71901<br />501-760-7788');
					   }
					);
					map.addOverlay(marker3);	
					
                    var marker4 = new GMarker(new GLatLng(36.338238,-94.206476));
					GEvent.addListener(marker4, 
					   "click", 
					   function() {
							marker4.openInfoWindowHtml('3311 Southwest I Street, Suite 3<br />Bentonville, AR  72712<br />479-715-6099');
					   }
					);
					map.addOverlay(marker4);	
		
                    // add some simple controls
                    map.addControl(new GSmallMapControl());
                    map.addControl(new GMapTypeControl());
                }
            }
        }
    });
};