var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910482&docid=67036877&x=1122',
		'title': '',
		'imageId': '67036877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910482&docid=67036878&x=1122',
		'title': '',
		'imageId': '67036878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910482&docid=67036880&x=1122',
		'title': '',
		'imageId': '67036880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910482&docid=67036876&x=1122',
		'title': '',
		'imageId': '67036876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910482&docid=67036875&x=1122',
		'title': '',
		'imageId': '67036875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910482&docid=67036884&x=1122',
		'title': '',
		'imageId': '67036884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910482&docid=67036879&x=1122',
		'title': '',
		'imageId': '67036879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910482&docid=67036881&x=1122',
		'title': '',
		'imageId': '67036881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910482&docid=67036883&x=1122',
		'title': '',
		'imageId': '67036883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910482&docid=67036882&x=1122',
		'title': '',
		'imageId': '67036882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910482&docid=67036885&x=1122',
		'title': '',
		'imageId': '67036885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910482';

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