var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3923477&docid=68006056&x=2132',
		'title': '',
		'imageId': '68006056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923477&docid=68006051&x=2132',
		'title': '',
		'imageId': '68006051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923477&docid=68006054&x=2132',
		'title': '',
		'imageId': '68006054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923477&docid=68006050&x=2132',
		'title': '',
		'imageId': '68006050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923477&docid=68006057&x=2132',
		'title': '',
		'imageId': '68006057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923477&docid=68006052&x=2132',
		'title': '',
		'imageId': '68006052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923477&docid=68006053&x=2132',
		'title': '',
		'imageId': '68006053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923477&docid=68006058&x=2132',
		'title': '',
		'imageId': '68006058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923477&docid=68006055&x=2132',
		'title': '',
		'imageId': '68006055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923477&docid=68006048&x=2132',
		'title': '',
		'imageId': '68006048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3923477';

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