var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3924627&docid=68009671&x=530',
		'title': '',
		'imageId': '68009671',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924627&docid=68009676&x=530',
		'title': '',
		'imageId': '68009676',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924627&docid=68009678&x=530',
		'title': '',
		'imageId': '68009678',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924627&docid=68009673&x=530',
		'title': '',
		'imageId': '68009673',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924627&docid=68009672&x=530',
		'title': '',
		'imageId': '68009672',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924627&docid=68009679&x=530',
		'title': '',
		'imageId': '68009679',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924627&docid=68009681&x=530',
		'title': '',
		'imageId': '68009681',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924627&docid=68009674&x=530',
		'title': '',
		'imageId': '68009674',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924627&docid=68009677&x=530',
		'title': '',
		'imageId': '68009677',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924627&docid=68009675&x=530',
		'title': '',
		'imageId': '68009675',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924627&docid=68009680&x=530',
		'title': '',
		'imageId': '68009680',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3924627';

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