var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3937163&docid=68298726&x=5158',
		'title': '',
		'imageId': '68298726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937163&docid=68298727&x=5158',
		'title': '',
		'imageId': '68298727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937163&docid=68298722&x=5158',
		'title': '',
		'imageId': '68298722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937163&docid=68298729&x=5158',
		'title': '',
		'imageId': '68298729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937163&docid=68298721&x=5158',
		'title': '',
		'imageId': '68298721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937163&docid=68298723&x=5158',
		'title': '',
		'imageId': '68298723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937163&docid=68298724&x=5158',
		'title': '',
		'imageId': '68298724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937163&docid=68298731&x=5158',
		'title': '',
		'imageId': '68298731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937163&docid=68298725&x=5158',
		'title': '',
		'imageId': '68298725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937163&docid=68298730&x=5158',
		'title': '',
		'imageId': '68298730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3937163';

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