var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4075176&docid=71586297&x=2321',
		'title': '',
		'imageId': '71586297',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075176&docid=71586294&x=2321',
		'title': '',
		'imageId': '71586294',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075176&docid=71586296&x=2321',
		'title': '',
		'imageId': '71586296',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075176&docid=71586295&x=2321',
		'title': '',
		'imageId': '71586295',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075176&docid=71586298&x=2321',
		'title': '',
		'imageId': '71586298',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075176&docid=71586380&x=2321',
		'title': '',
		'imageId': '71586380',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075176&docid=71586368&x=2321',
		'title': '',
		'imageId': '71586368',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075176&docid=71586376&x=2321',
		'title': '',
		'imageId': '71586376',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075176&docid=71586387&x=2321',
		'title': '',
		'imageId': '71586387',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075176&docid=71586384&x=2321',
		'title': '',
		'imageId': '71586384',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075176&docid=71586410&x=2321',
		'title': '',
		'imageId': '71586410',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4075176';

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