/*
 * 札幌発の処理
 *
 */
var sapporoPrintSw = new Array(false,
                               false,
                               false,
                               false,
                               false,
                               false,
                               false,
                               false,
                               false
                               );
for (var i=0; i<sapporoPrintMax; i++) {
    sapporoPrintSw[i] = true;
}

if (sapporoPrintSw[0]) {
    var tourListId = '#' + sapporoListId + '1';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + sapporo + '&period=' + '1',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + sapporoListId + '1' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + sapporoListId + '1';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (sapporoPrintSw[1]) {
    var tourListId = '#' + sapporoListId + '2';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + sapporo + '&period=' + '2',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + sapporoListId + '2' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + sapporoListId + '2';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (sapporoPrintSw[2]) {
    var tourListId = '#' + sapporoListId + '3';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + sapporo + '&period=' + '3',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + sapporoListId + '3' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + sapporoListId + '3';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (sapporoPrintSw[3]) {
    var tourListId = '#' + sapporoListId + '4';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + sapporo + '&period=' + '4',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + sapporoListId + '4' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + sapporoListId + '4';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (sapporoPrintSw[4]) {
    var tourListId = '#' + sapporoListId + '5';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + sapporo + '&period=' + '5',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + sapporoListId + '5' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + sapporoListId + '5';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (sapporoPrintSw[5]) {
    var tourListId = '#' + sapporoListId + '6';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + sapporo + '&period=' + '6',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + sapporoListId + '6' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + sapporoListId + '6';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (sapporoPrintSw[6]) {
    var tourListId = '#' + sapporoListId + '7';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + sapporo + '&period=' + '7',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + sapporoListId + '7' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + sapporoListId + '7';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (sapporoPrintSw[7]) {
    var tourListId = '#' + sapporoListId + '8';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + sapporo + '&period=' + '8',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + sapporoListId + '8' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + sapporoListId + '8';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (sapporoPrintSw[8]) {
    var tourListId = '#' + sapporoListId + '9';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + sapporo + '&period=' + '9',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + sapporoListId + '9' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + sapporoListId + '9';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}

/*
 * 東京発の処理
 *
 */
var tokyoPrintSw = new Array(false,
                             false,
                             false,
                             false,
                             false,
                             false,
                             false,
                             false,
                             false
                             );
for (var i=0; i<tokyoPrintMax; i++) {
    tokyoPrintSw[i] = true;
}

if (tokyoPrintSw[0]) {
    var tourListId = '#' + tokyoListId + '1';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + tokyo + '&period=' + '1',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + tokyoListId + '1' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + tokyoListId + '1';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (tokyoPrintSw[1]) {
    var tourListId = '#' + tokyoListId + '2';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + tokyo + '&period=' + '2',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + tokyoListId + '2' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + tokyoListId + '2';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (tokyoPrintSw[2]) {
    var tourListId = '#' + tokyoListId + '3';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + tokyo + '&period=' + '3',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + tokyoListId + '3' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + tokyoListId + '3';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (tokyoPrintSw[3]) {
    var tourListId = '#' + tokyoListId + '4';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + tokyo + '&period=' + '4',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + tokyoListId + '4' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + tokyoListId + '4';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (tokyoPrintSw[4]) {
    var tourListId = '#' + tokyoListId + '5';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + tokyo + '&period=' + '5',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + tokyoListId + '5' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + tokyoListId + '5';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (tokyoPrintSw[5]) {
    var tourListId = '#' + tokyoListId + '6';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + tokyo + '&period=' + '6',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + tokyoListId + '6' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + tokyoListId + '6';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (tokyoPrintSw[6]) {
    var tourListId = '#' + tokyoListId + '7';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + tokyo + '&period=' + '7',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + tokyoListId + '7' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + tokyoListId + '7';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (tokyoPrintSw[7]) {
    var tourListId = '#' + tokyoListId + '8';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + tokyo + '&period=' + '8',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + tokyoListId + '8' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + tokyoListId + '8';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (tokyoPrintSw[8]) {
    var tourListId = '#' + tokyoListId + '9';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + tokyo + '&period=' + '9',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + tokyoListId + '9' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + tokyoListId + '9';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}

/*
 * 名古屋発の処理
 *
 */
var nagoyaPrintSw = new Array(false,
                              false,
                              false,
                              false,
                              false,
                              false,
                              false,
                              false,
                              false
                              );
for (var i=0; i<nagoyaPrintMax; i++) {
    nagoyaPrintSw[i] = true;
}

if (nagoyaPrintSw[0]) {
    var tourListId = '#' + nagoyaListId + '1';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + nagoya + '&period=' + '1',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + nagoyaListId + '1' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + nagoyaListId + '1';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (nagoyaPrintSw[1]) {
    var tourListId = '#' + nagoyaListId + '2';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + nagoya + '&period=' + '2',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + nagoyaListId + '2' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + nagoyaListId + '2';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (nagoyaPrintSw[2]) {
    var tourListId = '#' + nagoyaListId + '3';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + nagoya + '&period=' + '3',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + nagoyaListId + '3' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + nagoyaListId + '3';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (nagoyaPrintSw[3]) {
    var tourListId = '#' + nagoyaListId + '4';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + nagoya + '&period=' + '4',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + nagoyaListId + '4' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + nagoyaListId + '4';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (nagoyaPrintSw[4]) {
    var tourListId = '#' + nagoyaListId + '5';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + nagoya + '&period=' + '5',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + nagoyaListId + '5' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + nagoyaListId + '5';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (nagoyaPrintSw[5]) {
    var tourListId = '#' + nagoyaListId + '6';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + nagoya + '&period=' + '6',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + nagoyaListId + '6' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + nagoyaListId + '6';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (nagoyaPrintSw[6]) {
    var tourListId = '#' + nagoyaListId + '7';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + nagoya + '&period=' + '7',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + nagoyaListId + '7' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + nagoyaListId + '7';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (nagoyaPrintSw[7]) {
    var tourListId = '#' + nagoyaListId + '8';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + nagoya + '&period=' + '8',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + nagoyaListId + '8' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + nagoyaListId + '8';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (nagoyaPrintSw[8]) {
    var tourListId = '#' + nagoyaListId + '9';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + nagoya + '&period=' + '9',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + nagoyaListId + '9' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + nagoyaListId + '9';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}

/*
 * 大阪発の処理
 *
 */
var osakaPrintSw = new Array(false,
                             false,
                             false,
                             false,
                             false,
                             false,
                             false,
                             false,
                             false
                             );
for (var i=0; i<osakaPrintMax; i++) {
    osakaPrintSw[i] = true;
}

if (osakaPrintSw[0]) {
    var tourListId = '#' + osakaListId + '1';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + osaka + '&period=' + '1',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + osakaListId + '1' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + osakaListId + '1';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (osakaPrintSw[1]) {
    var tourListId = '#' + osakaListId + '2';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + osaka + '&period=' + '2',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + osakaListId + '2' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + osakaListId + '2';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (osakaPrintSw[2]) {
    var tourListId = '#' + osakaListId + '3';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + osaka + '&period=' + '3',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + osakaListId + '3' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + osakaListId + '3';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (osakaPrintSw[3]) {
    var tourListId = '#' + osakaListId + '4';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + osaka + '&period=' + '4',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + osakaListId + '4' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + osakaListId + '4';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (osakaPrintSw[4]) {
    var tourListId = '#' + osakaListId + '5';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + osaka + '&period=' + '5',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + osakaListId + '5' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + osakaListId + '5';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (osakaPrintSw[5]) {
    var tourListId = '#' + osakaListId + '6';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + osaka + '&period=' + '6',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + osakaListId + '6' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + osakaListId + '6';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (osakaPrintSw[6]) {
    var tourListId = '#' + osakaListId + '7';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + osaka + '&period=' + '7',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + osakaListId + '7' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + osakaListId + '7';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (osakaPrintSw[7]) {
    var tourListId = '#' + osakaListId + '8';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + osaka + '&period=' + '8',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + osakaListId + '8' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + osakaListId + '8';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (osakaPrintSw[8]) {
    var tourListId = '#' + osakaListId + '9';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + osaka + '&period=' + '9',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + osakaListId + '9' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + osakaListId + '9';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}

/*
 * 福岡発の処理
 *
 */
var fukuokaPrintSw = new Array(false,
                               false,
                               false,
                               false,
                               false,
                               false,
                               false,
                               false,
                               false
                               );
for (var i=0; i<fukuokaPrintMax; i++) {
    fukuokaPrintSw[i] = true;
}

if (fukuokaPrintSw[0]) {
    var tourListId = '#' + fukuokaListId + '1';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + fukuoka + '&period=' + '1',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + fukuokaListId + '1' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + fukuokaListId + '1';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (fukuokaPrintSw[1]) {
    var tourListId = '#' + fukuokaListId + '2';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + fukuoka + '&period=' + '2',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + fukuokaListId + '2' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + fukuokaListId + '2';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (fukuokaPrintSw[2]) {
    var tourListId = '#' + fukuokaListId + '3';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + fukuoka + '&period=' + '3',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + fukuokaListId + '3' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + fukuokaListId + '3';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (fukuokaPrintSw[3]) {
    var tourListId = '#' + fukuokaListId + '4';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + fukuoka + '&period=' + '4',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + fukuokaListId + '4' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + fukuokaListId + '4';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (fukuokaPrintSw[4]) {
    var tourListId = '#' + fukuokaListId + '5';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + fukuoka + '&period=' + '5',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + fukuokaListId + '5' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + fukuokaListId + '5';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (fukuokaPrintSw[5]) {
    var tourListId = '#' + fukuokaListId + '6';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + fukuoka + '&period=' + '6',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + fukuokaListId + '6' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + fukuokaListId + '6';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (fukuokaPrintSw[6]) {
    var tourListId = '#' + fukuokaListId + '7';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + fukuoka + '&period=' + '7',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + fukuokaListId + '7' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + fukuokaListId + '7';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (fukuokaPrintSw[7]) {
    var tourListId = '#' + fukuokaListId + '8';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + fukuoka + '&period=' + '8',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + fukuokaListId + '8' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + fukuokaListId + '8';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (fukuokaPrintSw[8]) {
    var tourListId = '#' + fukuokaListId + '9';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + fukuoka + '&period=' + '9',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + fukuokaListId + '9' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + fukuokaListId + '9';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}

/*
 * 沖縄発の処理
 *
 */
var okinawaPrintSw = new Array(false,
                               false,
                               false,
                               false,
                               false,
                               false,
                               false,
                               false,
                               false
                               );
for (var i=0; i<okinawaPrintMax; i++) {
    okinawaPrintSw[i] = true;
}

if (okinawaPrintSw[0]) {
    var tourListId = '#' + okinawaListId + '1';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + okinawa + '&period=' + '1',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + okinawaListId + '1' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + okinawaListId + '1';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (okinawaPrintSw[1]) {
    var tourListId = '#' + okinawaListId + '2';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + okinawa + '&period=' + '2',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + okinawaListId + '2' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + okinawaListId + '2';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (okinawaPrintSw[2]) {
    var tourListId = '#' + okinawaListId + '3';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + okinawa + '&period=' + '3',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + okinawaListId + '3' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + okinawaListId + '3';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (okinawaPrintSw[3]) {
    var tourListId = '#' + okinawaListId + '4';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + okinawa + '&period=' + '4',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + okinawaListId + '4' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + okinawaListId + '4';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (okinawaPrintSw[4]) {
    var tourListId = '#' + okinawaListId + '5';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + okinawa + '&period=' + '5',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + okinawaListId + '5' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + okinawaListId + '5';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (okinawaPrintSw[5]) {
    var tourListId = '#' + okinawaListId + '6';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + okinawa + '&period=' + '6',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + okinawaListId + '6' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + okinawaListId + '6';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (okinawaPrintSw[6]) {
    var tourListId = '#' + okinawaListId + '7';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + okinawa + '&period=' + '7',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + okinawaListId + '7' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + okinawaListId + '7';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (okinawaPrintSw[7]) {
    var tourListId = '#' + okinawaListId + '8';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + okinawa + '&period=' + '8',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + okinawaListId + '8' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + okinawaListId + '8';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
if (okinawaPrintSw[8]) {
    var tourListId = '#' + okinawaListId + '9';
    $(tourListId).ready(function(){
        $.ajax({
            async: true,
            url: getTourListUrl + '?destination=' + destination + '&departure=' + okinawa + '&period=' + '9',
            dataType: 'html',
            error: function() {
                alert('Error: loading html document(' + okinawaListId + '9' + ')');
            },
            success: function(htmlCode, status) {
                var tourListId = '#' + okinawaListId + '9';
                $(tourListId).html(htmlCode);
                // tablesorter
                var tourListIdTablesorter = tourListId + ' table';
                $(tourListIdTablesorter).tablesorter({
                    headers: {
                        4: {sorter: false}
                    },
                    widgets: ['zebra'],
                    sortMultiSortKey: 'altKey'
                });
            }
        });
    });
}
