var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3959704&docid=68815839&x=2638',
		'title': '',
		'imageId': '68815839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959704&docid=68815838&x=2638',
		'title': '',
		'imageId': '68815838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959704&docid=68815837&x=2638',
		'title': '',
		'imageId': '68815837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959704&docid=68815842&x=2638',
		'title': '',
		'imageId': '68815842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959704&docid=68815836&x=2638',
		'title': '',
		'imageId': '68815836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959704&docid=68815845&x=2638',
		'title': '',
		'imageId': '68815845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959704&docid=68815843&x=2638',
		'title': '',
		'imageId': '68815843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959704&docid=68815840&x=2638',
		'title': '',
		'imageId': '68815840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959704&docid=68815841&x=2638',
		'title': '',
		'imageId': '68815841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959704&docid=68815844&x=2638',
		'title': '',
		'imageId': '68815844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959704&docid=68815846&x=2638',
		'title': '',
		'imageId': '68815846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3959704';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
