function redirect(select) {
    select = select || 'rooms'
    var i = document.getElementById(select).value;
    if(parseInt(i) == i) {
        window.location = '/moving-boxes-kits' + i + '.php';
    }
    else {
        window.location = i;
    }
}
function video_click_track(src) {
    src = src || '/video-click-tracking-page.html';
    if(!document.getElementById('video-track-frame')) {
        var trackFrame = document.createElement('iframe');
        trackFrame.style.height = '1px';
        trackFrame.style.width = '1px';
        trackFrame.style.display = 'none';
        trackFrame.id = 'video-track-frame';
        trackFrame.src = src;
        document.body.appendChild(trackFrame);
    }
}
$(document).ready(function() {
    $('#nav>li').hover(function() {
        $(this).addClass('hover');
    }, function() {
        $(this).removeClass('hover');
    });
    $('.read-more-show').click(function() {
        $($(this).attr('href')).show();
        $(this).parent().hide();
        return false;
    });
    $('.wowwindow').wowwindow({
        height: 315,
        width: 560,
        draggable: true
    });
});
