
    Shadowbox.init({
        language: 'en',
        players:  ['img', 'html', 'iframe', 'qt', 'wmp', 'swf', 'flv']
    });

     function show_img(id,topic){
        var image    = new Image();
        image.src = '/downloads/Image/articles/large/' + id + '.jpg';

        //  For FireFox
      if (window.XMLHttpRequest) {
          image.onload=function() {
          // open a welcome message as soon as the window loads
            Shadowbox.open({
                content:    '/downloads/Image/articles/large/' + id + '.jpg',
                player:     'iframe',
                title:      topic,
                height:     image.height,
                width:      image.width
            });
          }
        }else{
          // open a welcome message as soon as the window loads
          Shadowbox.open({
              content:    '/downloads/Image/articles/large/' + id + '.jpg',
              player:     'iframe',
              title:      topic,
              height:     image.height,
              width:      image.width
          });
        }
    };
