var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4076395&docid=71619342&x=1550',
		'title': '',
		'imageId': '71619342',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076395&docid=71619343&x=1550',
		'title': '',
		'imageId': '71619343',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076395&docid=71619344&x=1550',
		'title': '',
		'imageId': '71619344',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076395&docid=71619345&x=1550',
		'title': '',
		'imageId': '71619345',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076395&docid=71619346&x=1550',
		'title': '',
		'imageId': '71619346',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076395&docid=71619347&x=1550',
		'title': '',
		'imageId': '71619347',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076395&docid=71619348&x=1550',
		'title': '',
		'imageId': '71619348',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076395&docid=71619349&x=1550',
		'title': '',
		'imageId': '71619349',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076395&docid=71619350&x=1550',
		'title': '',
		'imageId': '71619350',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4076395';

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