var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089219&docid=71916277&x=1754',
		'title': '',
		'imageId': '71916277',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089219&docid=71916280&x=1754',
		'title': '',
		'imageId': '71916280',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089219&docid=71916272&x=1754',
		'title': '',
		'imageId': '71916272',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089219&docid=71916275&x=1754',
		'title': '',
		'imageId': '71916275',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089219&docid=71916274&x=1754',
		'title': '',
		'imageId': '71916274',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089219&docid=71916273&x=1754',
		'title': '',
		'imageId': '71916273',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089219&docid=71916279&x=1754',
		'title': '',
		'imageId': '71916279',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089219&docid=71916271&x=1754',
		'title': '',
		'imageId': '71916271',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089219&docid=71916276&x=1754',
		'title': '',
		'imageId': '71916276',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089219&docid=71916278&x=1754',
		'title': '',
		'imageId': '71916278',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089219&docid=71916270&x=1754',
		'title': '',
		'imageId': '71916270',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089219';

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