'); } if (videotype == 'youtube') { $('#PhotoGalleryWindow').html(''); } } if (showtype == 'picture') { $('#PhotoGalleryWindow').html(''); } $('#PostGalleryContainer').show(); $('#PhotoGalleryWindow').show(); $('#PostGallery').animate({width: window_w}, 500); $('#PhotoGalleryThumbnails').delay(500)....