function preload_Buttons(allImages) {
		//alert (preload_Buttons.arguments.length);
        if (document.images)
        {
                my_buttons = new Array();
                        for (x = 0;x < preload_Buttons.arguments.length; x++)
                        {
                                 my_buttons[x] = preload_Buttons.arguments[x];
                                }

        buttonslist = new Array()

        for(y = 0; y < my_buttons.length; y++)
                {
                buttonslist[y] = new Image;
                buttonslist[y].src = '/images/' + my_buttons[y] + 'r.gif';	
		//alert(buttonslist[y].src);
                }
        }

}

preload_Buttons('home','vehicles','milestones','logos','executive','contacts','privacy','webmaster','amanti','sorento','sedona','optima','spectra4','spectra5','rio','riocinco','sorentosurf','cincoswim','slice','corporate');

function button_Over (type) {

	if (document.images)
                {
                document.images[type].src='./images/' + type + 'r.gif';
                return

                }

}


function button_Out (type) {

	if (document.images)
                {
                document.images[type].src='./images/' + type +'.gif';
                return

                }

}

function button_Over2 (type) {

	if (document.images)
                {
                document.images[type].src='../images/' + type + 'r.gif';
                return

                }

}


function button_Out2 (type) {

	if (document.images)
                {
                document.images[type].src='../images/' + type +'.gif';
                return

                }

}


var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',noresize'
win = window.open(mypage,myname,settings)
win.opener = self;
}