/*
function colorIt(t)
{
	// #660605  original red mouseover
	t.style.background = '#660605';
	t.style.color = 'White';
	if (document.all)
		t.parentElement.style.background = '#660605';
	else
		t.parentNode.style.background = '#660605';
}
function deColorIt(t) 
{
	t.style.background = "transparent";
	t.style.color = '#660605';
	if (document.all)
		t.parentElement.style.background = 'transparent';
	else
		t.parentNode.style.background = 'transparent';
	
}
*/
function borderIt(t) {

    for (i = 0; i < t.childNodes.length; i++) {
        if (t.childNodes[i].tagName == "IMG") {
            var base = t.childNodes[i];
            base.width = base.width + 5;
            base.height = base.height + 5;
            break;

        }
    }
}
function deBorderIt(t) {
    for (i = 0; i < t.childNodes.length; i++) {
        if (t.childNodes[i].tagName == "IMG") {
            var base = t.childNodes[i];
            base.width = base.width - 5;
            base.height = base.height - 5;
            break;

        }
    }

}
function colorIt(t)
{
    
    for (i = 0; i < t.childNodes.length; i++) {
        if (t.childNodes[i].tagName == "IMG") {
            var base = t.childNodes[i].src;
            var s = base.lastIndexOf('.');
         //   alert(base.substr(0, s));
            t.childNodes[i].src = base.substr(0, s) + "_over.jpg";
            break;
            
        }
    }
 	
}
function deColorIt(t) 
{
    for (i = 0; i < t.childNodes.length; i++) {
        if (t.childNodes[i].tagName == "IMG") {
            var base = t.childNodes[i].src;
            var s = base.lastIndexOf('_');
            t.childNodes[i].src = base.substr(0, s) + ".jpg";
        }
    }
	
}
var win1 = null;
function showDir()
{
	if (win1 != null) {if (!win1.closed) {win1.close();win1 = null}}
	win1 = window.open('directions.htm','_blank','top=10,left=10,width=650,height=550,resizable,scrollbars');

}
function closeIt() 
{
	if (win1 != null) {if (!win1.closed) {win1.close();win1 = null}}

}
var placesWin = null;
function showPlaces(link) {
    if (placesWin == null || placesWin.closed) {
        placesWin = window.open("plsWait.htm",  "Places", "top=10,left=10,width=700,height=600,location=0,toolbar=0,resizable=1,scrollbars = 1");
        
        placesWin.location = link;
    }
    else {
        placesWin.location = "PlsWait.htm";
        
        placesWin.location = link;
        placesWin.focus();
    }

}

