var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3987954&docid=68138731&x=3641',
		'title': '',
		'imageId': '68138731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987954&docid=68138726&x=3641',
		'title': '',
		'imageId': '68138726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987954&docid=68138725&x=3641',
		'title': '',
		'imageId': '68138725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987954&docid=68138710&x=3641',
		'title': '',
		'imageId': '68138710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987954&docid=68138715&x=3641',
		'title': '',
		'imageId': '68138715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987954&docid=68138720&x=3641',
		'title': '',
		'imageId': '68138720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987954&docid=68138732&x=3641',
		'title': '',
		'imageId': '68138732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3987954';

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