var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4079502&docid=71454682&x=1345',
		'title': '',
		'imageId': '71454682',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079502&docid=71454680&x=1345',
		'title': '',
		'imageId': '71454680',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079502&docid=71454675&x=1345',
		'title': '',
		'imageId': '71454675',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079502&docid=71454677&x=1345',
		'title': '',
		'imageId': '71454677',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079502&docid=71454681&x=1345',
		'title': '',
		'imageId': '71454681',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079502&docid=71454684&x=1345',
		'title': '',
		'imageId': '71454684',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079502&docid=71454676&x=1345',
		'title': '',
		'imageId': '71454676',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079502&docid=71454685&x=1345',
		'title': '',
		'imageId': '71454685',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079502&docid=71454683&x=1345',
		'title': '',
		'imageId': '71454683',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079502&docid=71454679&x=1345',
		'title': '',
		'imageId': '71454679',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079502&docid=71454678&x=1345',
		'title': '',
		'imageId': '71454678',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4079502';

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