var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956137&docid=68270681&x=5818',
		'title': '',
		'imageId': '68270681',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956137&docid=68270678&x=5818',
		'title': '',
		'imageId': '68270678',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956137&docid=68729700&x=5818',
		'title': '',
		'imageId': '68729700',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956137&docid=68270676&x=5818',
		'title': '',
		'imageId': '68270676',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956137&docid=68270682&x=5818',
		'title': '',
		'imageId': '68270682',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956137&docid=68270674&x=5818',
		'title': '',
		'imageId': '68270674',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956137&docid=68270680&x=5818',
		'title': '',
		'imageId': '68270680',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956137&docid=68270677&x=5818',
		'title': '',
		'imageId': '68270677',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956137&docid=68270679&x=5818',
		'title': '',
		'imageId': '68270679',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956137&docid=68270673&x=5818',
		'title': '',
		'imageId': '68270673',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956137&docid=68270675&x=5818',
		'title': '',
		'imageId': '68270675',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956137';

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