var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968462&docid=68987527&x=1350',
		'title': '',
		'imageId': '68987527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968462&docid=68987528&x=1350',
		'title': '',
		'imageId': '68987528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968462&docid=68987529&x=1350',
		'title': '',
		'imageId': '68987529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968462&docid=68987530&x=1350',
		'title': '',
		'imageId': '68987530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968462&docid=68987531&x=1350',
		'title': '',
		'imageId': '68987531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968462&docid=68987532&x=1350',
		'title': '',
		'imageId': '68987532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968462&docid=68987533&x=1350',
		'title': '',
		'imageId': '68987533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968462&docid=68987534&x=1350',
		'title': '',
		'imageId': '68987534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968462&docid=69688090&x=1350',
		'title': '',
		'imageId': '69688090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968462&docid=69688089&x=1350',
		'title': '',
		'imageId': '69688089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968462&docid=69688091&x=1350',
		'title': '',
		'imageId': '69688091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968462&docid=69688088&x=1350',
		'title': '',
		'imageId': '69688088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968462';

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