var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3936303&docid=68278833&x=5335',
		'title': '',
		'imageId': '68278833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936303&docid=68278830&x=5335',
		'title': '',
		'imageId': '68278830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936303&docid=68278831&x=5335',
		'title': '',
		'imageId': '68278831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936303&docid=68278835&x=5335',
		'title': '',
		'imageId': '68278835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936303&docid=68278832&x=5335',
		'title': '',
		'imageId': '68278832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936303&docid=68278829&x=5335',
		'title': '',
		'imageId': '68278829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936303&docid=68278834&x=5335',
		'title': '',
		'imageId': '68278834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3936303';

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";
	})
}
