var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948051&docid=68546834&x=2126',
		'title': '',
		'imageId': '68546834',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948051&docid=68546833&x=2126',
		'title': '',
		'imageId': '68546833',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948051&docid=68546836&x=2126',
		'title': '',
		'imageId': '68546836',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948051&docid=68546835&x=2126',
		'title': '',
		'imageId': '68546835',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948051&docid=68546832&x=2126',
		'title': '',
		'imageId': '68546832',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948051&docid=68546831&x=2126',
		'title': '',
		'imageId': '68546831',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948051&docid=68546839&x=2126',
		'title': '',
		'imageId': '68546839',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948051&docid=68546838&x=2126',
		'title': '',
		'imageId': '68546838',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948051&docid=68546837&x=2126',
		'title': '',
		'imageId': '68546837',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948051&docid=68546840&x=2126',
		'title': '',
		'imageId': '68546840',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948051&docid=68546906&x=2126',
		'title': '',
		'imageId': '68546906',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948051';

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