// LightBox v2.0 Flash Adaptation
// Version: v1.0 2007012301

//
// Using:
// 1. Install LightBox in your html document
// 2. Insert the line anywhere in html file: <a href="" rel="lightbox" title="" id="fakeA"></a>
// 3. Insert <script src="mdSoftLightBox.js" type="text/javascript"></script> in your header
// 4. To run lightbox from Flash use: getURL('javascript:mdSoftwareLightBox("url/to/your/file.jpg", "title")');
// 5. Enjoy your lightbox flash adaptation :)

function mdSoftwareLightBox(file, title) {
    link = document.getElementById('fakeA');
    link.href = file;
    link.title = title;
    myLightbox.start(link);
}
