var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3781301&docid=68729488&x=1812',
		'title': '',
		'imageId': '68729488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3781301&docid=68729491&x=1812',
		'title': '',
		'imageId': '68729491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3781301&docid=68729484&x=1812',
		'title': '',
		'imageId': '68729484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3781301&docid=68729480&x=1812',
		'title': '',
		'imageId': '68729480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3781301&docid=68729485&x=1812',
		'title': '',
		'imageId': '68729485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3781301&docid=68729483&x=1812',
		'title': '',
		'imageId': '68729483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3781301&docid=68729481&x=1812',
		'title': '',
		'imageId': '68729481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3781301&docid=68729490&x=1812',
		'title': '',
		'imageId': '68729490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3781301&docid=68729487&x=1812',
		'title': '',
		'imageId': '68729487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3781301&docid=68729489&x=1812',
		'title': '',
		'imageId': '68729489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3781301&docid=68729482&x=1812',
		'title': '',
		'imageId': '68729482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3781301&docid=68729486&x=1812',
		'title': '',
		'imageId': '68729486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3781301';

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