var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4061734&docid=71294085&x=651',
		'title': '',
		'imageId': '71294085',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061734&docid=71294089&x=651',
		'title': '',
		'imageId': '71294089',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061734&docid=71294088&x=651',
		'title': '',
		'imageId': '71294088',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061734&docid=71294086&x=651',
		'title': '',
		'imageId': '71294086',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061734&docid=71294087&x=651',
		'title': '',
		'imageId': '71294087',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061734&docid=71294094&x=651',
		'title': '',
		'imageId': '71294094',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061734&docid=71294091&x=651',
		'title': '',
		'imageId': '71294091',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061734&docid=71385901&x=651',
		'title': '',
		'imageId': '71385901',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061734&docid=71385902&x=651',
		'title': '',
		'imageId': '71385902',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061734&docid=71385900&x=651',
		'title': '',
		'imageId': '71385900',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061734&docid=71385903&x=651',
		'title': '',
		'imageId': '71385903',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4061734';

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