var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946251&docid=68488763&x=5627',
		'title': '',
		'imageId': '68488763',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946251&docid=68488765&x=5627',
		'title': '',
		'imageId': '68488765',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946251&docid=68488766&x=5627',
		'title': '',
		'imageId': '68488766',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946251&docid=68488767&x=5627',
		'title': '',
		'imageId': '68488767',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946251&docid=68488768&x=5627',
		'title': '',
		'imageId': '68488768',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946251&docid=68488770&x=5627',
		'title': '',
		'imageId': '68488770',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946251&docid=68488769&x=5627',
		'title': '',
		'imageId': '68488769',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946251&docid=68488771&x=5627',
		'title': '',
		'imageId': '68488771',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946251&docid=68488774&x=5627',
		'title': '',
		'imageId': '68488774',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946251&docid=68488772&x=5627',
		'title': '',
		'imageId': '68488772',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946251&docid=68488773&x=5627',
		'title': '',
		'imageId': '68488773',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946251';

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