var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4032938&docid=68685818&x=3258',
		'title': '',
		'imageId': '68685818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032938&docid=68685816&x=3258',
		'title': '',
		'imageId': '68685816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032938&docid=68685817&x=3258',
		'title': '',
		'imageId': '68685817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032938&docid=68685821&x=3258',
		'title': '',
		'imageId': '68685821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032938&docid=68685823&x=3258',
		'title': '',
		'imageId': '68685823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032938&docid=68685824&x=3258',
		'title': '',
		'imageId': '68685824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032938&docid=68685819&x=3258',
		'title': '',
		'imageId': '68685819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032938&docid=68685822&x=3258',
		'title': '',
		'imageId': '68685822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032938&docid=68685820&x=3258',
		'title': '',
		'imageId': '68685820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032938&docid=70589165&x=3258',
		'title': '',
		'imageId': '70589165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032938&docid=70589166&x=3258',
		'title': '',
		'imageId': '70589166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4032938';

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