var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954108&docid=68676023&x=459',
		'title': '',
		'imageId': '68676023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954108&docid=68676024&x=459',
		'title': '',
		'imageId': '68676024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954108&docid=68676028&x=459',
		'title': '',
		'imageId': '68676028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954108&docid=68676031&x=459',
		'title': '',
		'imageId': '68676031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954108&docid=68676029&x=459',
		'title': '',
		'imageId': '68676029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954108&docid=68676025&x=459',
		'title': '',
		'imageId': '68676025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954108&docid=68676027&x=459',
		'title': '',
		'imageId': '68676027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954108&docid=68676030&x=459',
		'title': '',
		'imageId': '68676030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954108&docid=68676022&x=459',
		'title': '',
		'imageId': '68676022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954108&docid=68676032&x=459',
		'title': '',
		'imageId': '68676032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954108&docid=68676026&x=459',
		'title': '',
		'imageId': '68676026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954108';

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