var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4067337&docid=71418781&x=5257',
		'title': '',
		'imageId': '71418781',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067337&docid=71418782&x=5257',
		'title': '',
		'imageId': '71418782',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067337&docid=71418783&x=5257',
		'title': '',
		'imageId': '71418783',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067337&docid=71418784&x=5257',
		'title': '',
		'imageId': '71418784',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067337&docid=71418785&x=5257',
		'title': '',
		'imageId': '71418785',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067337&docid=71418786&x=5257',
		'title': '',
		'imageId': '71418786',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067337&docid=71418787&x=5257',
		'title': '',
		'imageId': '71418787',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067337&docid=71418788&x=5257',
		'title': '',
		'imageId': '71418788',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067337&docid=71418789&x=5257',
		'title': '',
		'imageId': '71418789',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067337&docid=71418790&x=5257',
		'title': '',
		'imageId': '71418790',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067337&docid=71418791&x=5257',
		'title': '',
		'imageId': '71418791',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4067337';

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