var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3928528&docid=68094947&x=4330',
		'title': '',
		'imageId': '68094947',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928528&docid=68094951&x=4330',
		'title': '',
		'imageId': '68094951',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928528&docid=68094952&x=4330',
		'title': '',
		'imageId': '68094952',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928528&docid=68094953&x=4330',
		'title': '',
		'imageId': '68094953',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928528&docid=68094956&x=4330',
		'title': '',
		'imageId': '68094956',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928528&docid=68094955&x=4330',
		'title': '',
		'imageId': '68094955',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928528&docid=68094954&x=4330',
		'title': '',
		'imageId': '68094954',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928528&docid=68094957&x=4330',
		'title': '',
		'imageId': '68094957',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928528&docid=68094958&x=4330',
		'title': '',
		'imageId': '68094958',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928528&docid=68094959&x=4330',
		'title': '',
		'imageId': '68094959',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928528&docid=68094960&x=4330',
		'title': '',
		'imageId': '68094960',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3928528';

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