//= require jquery-3.2.1.min
//= require jquery.accordion
//= require google-sheet
//= require lity.min


$('.accordion').accordion({
    "transitionSpeed": 600,
    "singleOpen": false
});



$(document).ready(function() {
    $('#sincerely-cont').click(function() {
        $('#sincerely').load('sincerely.html', function() {
            $('iframe').ready(function() {
                $('#sincerely-cont').trigger('accordion.refresh');
                $('img').ready(function(){
                    $('#sincerely-cont').trigger('accordion.refresh')
                });
            });
        });

    });
});
$(document).ready(function() {
    $('#kx-cont').click(function() {
        $('#kx').load('kx.html', function() {
            $('iframe').ready(function() {
                $('#kx-cont').trigger('accordion.refresh');
                $('img').ready(function(){
                    $('#kx-cont').trigger('accordion.refresh')
                });
            });
        });

    });
});
$(document).ready(function() {
    $('#naah-cont').click(function() {
        $('#naah').load('naah.html', function() {
            $('iframe').ready(function() {
                $('#naah-cont').trigger('accordion.refresh');
                $('img').ready(function(){
                    $('#naah-cont').trigger('accordion.refresh')
                });
            });
        });

    });
});
$(document).ready(function() {
    $('#videobooth-cont').click(function() {
        $('#videobooth').load('videobooth.html', function() {
            $('iframe').ready(function() {
                $('#videobooth-cont').trigger('accordion.refresh');
                $('img').ready(function(){
                    $('#videobooth-cont').trigger('accordion.refresh')
                });
            });
        });

    });
});
$(document).ready(function() {
    $('#ra-cont').click(function() {
        $('#ra').load('ra.html', function() {
            $('iframe').ready(function() {
                $('#ra-cont').trigger('accordion.refresh');
                $('img').ready(function(){
                    $('#ra-cont').trigger('accordion.refresh')
                });
            });
        });

    });
});
$(document).ready(function() {
    $('#dcc-cont').click(function() {
        $('#dcc').load('dcc.html', function() {
            $('iframe').ready(function() {
                $('#dcc-cont').trigger('accordion.refresh');
                $('img').ready(function(){
                    $('#dcc-cont').trigger('accordion.refresh')
                });
            });
        });

    });
});
$(document).ready(function() {
    $('#bb-cont').click(function() {
        $('#bb').load('bb.html', function() {
            $('iframe').ready(function() {
                $('#bb-cont').trigger('accordion.refresh');
                $('img').ready(function(){
                    $('#bb-cont').trigger('accordion.refresh')
                });
            });
        });

    });
});
$(document).ready(function() {
    $('#emle-cont').click(function() {
        $('#emle').load('emle.html', function() {
            $('iframe').ready(function() {
                $('#emle-cont').trigger('accordion.refresh');
                $('img').ready(function(){
                    $('#emle-cont').trigger('accordion.refresh')
                });
            });
        });

    });
});
$(document).ready(function() {
    $('#charles-cont').click(function() {
        $('#charles').load('charles.html', function() {
            $('iframe').ready(function() {
                $('#charles-cont').trigger('accordion.refresh');
                $('img').ready(function(){
                    $('#charles-cont').trigger('accordion.refresh')
                });
            });
        });

    });
});
$(document).ready(function() {
    $('#shattered-cont').click(function() {
        $('#shattered').load('shattered.html', function() {
            $('iframe').ready(function() {
                $('#shattered-cont').trigger('accordion.refresh');
                $('img').ready(function(){
                    $('#shattered-cont').trigger('accordion.refresh')
                });
            });
        });

    });
});
$(document).ready(function() {
    $('#gpb-cont').click(function() {
        $('#gpb').load('gpb.html', function() {
            $('iframe').ready(function() {
                $('#gpb-cont').trigger('accordion.refresh');
                $('img').ready(function(){
                    $('#gpb-cont').trigger('accordion.refresh')
                });
            });
        });

    });
});
$(document).ready(function() {
    $('#music-cont').click(function() {
        $('#music').load('music.html', function() {
            $('iframe').ready(function() {
                $('#music-cont').trigger('accordion.refresh');
                $('img').ready(function(){
                    $('#music-cont').trigger('accordion.refresh')
                });
            });
        });

    });
});
$(document).ready(function() {
    $('#rrl-cont').click(function() {
        $('#rrl').load('rrl.html', function() {
            $('iframe').ready(function() {
                $('#rrl-cont').trigger('accordion.refresh');
                $('img').ready(function(){
                    $('#rrl-cont').trigger('accordion.refresh')
                });
            });
        });

    });
});
$(document).ready(function() {
    $('#ichth-cont').click(function() {
        $('#ichth').load('ichth.html', function() {
            $('iframe').ready(function() {
                $('#ichth-cont').trigger('accordion.refresh');
                $('img').ready(function(){
                    $('#ichth-cont').trigger('accordion.refresh')
                });
            });
        });

    });
});
$(document).ready(function() {
    $('#rh-cont').click(function() {
        $('#rh').load('rh.html', function() {
            $('iframe').ready(function() {
                $('#rh-cont').trigger('accordion.refresh');
                $('img').ready(function(){
                    $('#rh-cont').trigger('accordion.refresh')
                });
            });
        });

    });
});
$(document).ready(function() {
    $('#bs-cont').click(function() {
        $('#bs').load('bs.html', function() {
            $('iframe').ready(function() {
                $('#bs-cont').trigger('accordion.refresh');
                $('img').ready(function(){
                    $('#bs-cont').trigger('accordion.refresh');
                });
            });
        });

    });
});
