var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962839&docid=68876069&x=583',
		'title': '',
		'imageId': '68876069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962839&docid=68876072&x=583',
		'title': '',
		'imageId': '68876072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962839&docid=68876083&x=583',
		'title': '',
		'imageId': '68876083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962839&docid=68876089&x=583',
		'title': '',
		'imageId': '68876089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962839&docid=68876092&x=583',
		'title': '',
		'imageId': '68876092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962839&docid=68876098&x=583',
		'title': '',
		'imageId': '68876098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962839&docid=68876101&x=583',
		'title': '',
		'imageId': '68876101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962839&docid=68876104&x=583',
		'title': '',
		'imageId': '68876104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962839&docid=68876108&x=583',
		'title': '',
		'imageId': '68876108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962839&docid=68876111&x=583',
		'title': '',
		'imageId': '68876111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962839&docid=68876114&x=583',
		'title': '',
		'imageId': '68876114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962839&docid=68876117&x=583',
		'title': '',
		'imageId': '68876117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962839';

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