function showPDFCatalogue(flashfile, id, domain, imagewidth, imageheight, doorFolderOrderLink) {
	Shadowbox.open({
        player:     'html',
        content:    '<div id="'+id+'"></div>',
        height:     596,
        width:      935,
		options:    {
		   onFinish: function(item){
				var flashvars  = {};
				var params     = {};
				params.quality = "high";
				params.scale = "noScale";
				params.salign = "TL";
				params.wmode = "opaque";
				flashvars._domain = domain;
				flashvars.id = id;
				flashvars._basepath = '/';
				flashvars.imagewidth = imagewidth;
				flashvars.imageheight = imageheight;
				flashvars.backlink = 'javascript:Shadowbox.close();';
				flashvars.doorFolderOrderLink = doorFolderOrderLink;
				var attributes = null;
				swfobject.embedSWF(flashfile, id, "935", "596", "8", false, flashvars, params, attributes);
/*
				var SB = Shadowbox;
				var SL = SB.lib;
				var shadowboxcontent = SL.get('shadowbox_content');
				var dims = Shadowbox.getDimensions();
				if (dims.inner_h < 695) {
					SL.setStyle(shadowboxcontent, 'overflow', 'scroll');
				}
				window.location.hash='#pdfcatalogue';
*/
		   },
		   viewportPadding: 0
	   }
   });
}

