//---------------------------------------------------------
// script to preload images
//---------------------------------------------------------
function preloadMenu()
{
   preLoad( "http://www.dndcycle.com/includes/images/index_11_highlight.gif",
            "http://www.dndcycle.com/includes/images/index_13.tmp.gif",
            "http://www.dndcycle.com/includes/images/index_14.tmp.gif",
            "http://www.dndcycle.com/includes/images/index_16.tmp.gif",
            "http://www.dndcycle.com/includes/images/index_18.tmp.gif",
            "http://www.dndcycle.com/includes/images/index_20.tmp.gif" );
}

function preloadBikeLinks()
{
   preLoad( "http://www.dndcycle.com/includes/images/v-logo1.gif",
            "http://www.dndcycle.com/includes/images/usedbikes_hover.gif" );
}

function preloadPhotoLinks()
{
   preLoad( "http://www.dndcycle.com/includes/images/custom_high.gif",
            "http://www.dndcycle.com/includes/images/store_high.gif",
            "http://www.dndcycle.com/includes/images/custphoto_high.gif" );
}

function preLoad()
{
    var imgArray = new Array();
    var imgCount = 0;
    
    for( imgCount=0; imgCount<preLoad.arguments.length; imgCount++ )
    {
       imgArray[imgCount] = new Image();
       imgArray[imgCount].src = preLoad.arguments[imgCount]
    }

}