var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3937862&docid=68316537&x=5923',
		'title': '',
		'imageId': '68316537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937862&docid=68316538&x=5923',
		'title': '',
		'imageId': '68316538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937862&docid=68316539&x=5923',
		'title': '',
		'imageId': '68316539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937862&docid=68316548&x=5923',
		'title': '',
		'imageId': '68316548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937862&docid=68316542&x=5923',
		'title': '',
		'imageId': '68316542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937862&docid=68316547&x=5923',
		'title': '',
		'imageId': '68316547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937862&docid=68316541&x=5923',
		'title': '',
		'imageId': '68316541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937862&docid=68316536&x=5923',
		'title': '',
		'imageId': '68316536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937862&docid=68316543&x=5923',
		'title': '',
		'imageId': '68316543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937862&docid=68316534&x=5923',
		'title': '',
		'imageId': '68316534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937862&docid=68316540&x=5923',
		'title': '',
		'imageId': '68316540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937862&docid=68316544&x=5923',
		'title': '',
		'imageId': '68316544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937862&docid=68316546&x=5923',
		'title': '',
		'imageId': '68316546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937862&docid=68316545&x=5923',
		'title': '',
		'imageId': '68316545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937862&docid=68316535&x=5923',
		'title': '',
		'imageId': '68316535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937862&docid=68316533&x=5923',
		'title': '',
		'imageId': '68316533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3937862';

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