function lightboximage(path) {
	if ($('a#lightbox').length == 0) {
		$("body").append('<a id="lightbox" style="visibility: hidden; position: absolute; left: -9999px;"  href="'+path+'">calling js lightbox from flash</a>');
		$('a#lightbox').lightBox();
		// if it already exists but the path is different we will set the new path
	} else 
	if ($('a#lightbox').attr("href") != path) {
		$('a#lightbox').attr("href", path);
	}
	// now we will simulate the click here.
	$('a#lightbox').trigger("click");
}
