var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931486&docid=68157296&x=1427',
		'title': '',
		'imageId': '68157296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931486&docid=68157295&x=1427',
		'title': '',
		'imageId': '68157295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931486&docid=68157297&x=1427',
		'title': '',
		'imageId': '68157297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931486&docid=68157299&x=1427',
		'title': '',
		'imageId': '68157299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931486&docid=68157300&x=1427',
		'title': '',
		'imageId': '68157300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931486&docid=68157302&x=1427',
		'title': '',
		'imageId': '68157302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931486&docid=68157294&x=1427',
		'title': '',
		'imageId': '68157294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931486&docid=68157304&x=1427',
		'title': '',
		'imageId': '68157304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931486&docid=68157305&x=1427',
		'title': '',
		'imageId': '68157305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931486&docid=68157298&x=1427',
		'title': '',
		'imageId': '68157298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931486&docid=68157303&x=1427',
		'title': '',
		'imageId': '68157303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931486&docid=68157301&x=1427',
		'title': '',
		'imageId': '68157301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931486';

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