var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998446&docid=68871743&x=2730',
		'title': '',
		'imageId': '68871743',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998446&docid=68871465&x=2730',
		'title': '',
		'imageId': '68871465',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998446&docid=68871740&x=2730',
		'title': '',
		'imageId': '68871740',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998446&docid=68871744&x=2730',
		'title': '',
		'imageId': '68871744',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998446&docid=68871741&x=2730',
		'title': '',
		'imageId': '68871741',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998446&docid=68871745&x=2730',
		'title': '',
		'imageId': '68871745',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998446&docid=68871739&x=2730',
		'title': '',
		'imageId': '68871739',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998446&docid=68871747&x=2730',
		'title': '',
		'imageId': '68871747',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998446&docid=68871742&x=2730',
		'title': '',
		'imageId': '68871742',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998446&docid=68871738&x=2730',
		'title': '',
		'imageId': '68871738',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998446&docid=68871746&x=2730',
		'title': '',
		'imageId': '68871746',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998446';

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