﻿function printdirections() {

    var dirwin = window.open('', '', 'scrollbars=1, width=500, height=500');
    dirwin.document.open("text/html");
    dirwin.document.write(document.getElementById('route').innerHTML);
    dirwin.document.close();
    dirwin.focus();
    dirwin.print();
    dirwin.close();
    initialize();    
}

function scrollWin() {
    $('html, body').animate({
        scrollTop: $("#Find").offset().top
    }, 2000);

}
