function PrintArticle(pagetitle) {
   $('div#image_gallery').hide();
   $('div#video_gallery').hide();
   $('div.clanek_oglas_holder').hide();  
   $('div#ARTICLE_PRINTABLE_AREA').printElement(
   {
      pageTitle:pagetitle,
      printMode:'popup',
      leaveOpen:true
   });
   $('div#image_gallery').show();
   $('div#video_gallery').show();
}
/*
$(document).ready(function() {
    $(".d_print").click(function() {
        printElem({
            leaveOpen: true, 
            printMode: 'popup',
            pageTitle: $(".d_print").attr("rel")
        });
    });
});

function printElem(options){
    $('div#image_gallery').hide();
    $('div.clanek_oglas_holder').hide();  
    $('div#video_gallery').hide();
     $('#ARTICLE_PRINTABLE_AREA').printElement(options);
    $('div#image_gallery').show();
    $('div#video_gallery').show();
 }*/
