var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4076411&docid=71619694&x=3332',
		'title': '',
		'imageId': '71619694',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076411&docid=71619695&x=3332',
		'title': '',
		'imageId': '71619695',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076411&docid=71619696&x=3332',
		'title': '',
		'imageId': '71619696',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076411&docid=71619697&x=3332',
		'title': '',
		'imageId': '71619697',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076411&docid=71619698&x=3332',
		'title': '',
		'imageId': '71619698',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076411&docid=71619699&x=3332',
		'title': '',
		'imageId': '71619699',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076411&docid=71619700&x=3332',
		'title': '',
		'imageId': '71619700',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076411&docid=71619701&x=3332',
		'title': '',
		'imageId': '71619701',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076411&docid=71619702&x=3332',
		'title': '',
		'imageId': '71619702',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4076411';

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