var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4083903&docid=71786825&x=4557',
		'title': '',
		'imageId': '71786825',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083903&docid=71786827&x=4557',
		'title': '',
		'imageId': '71786827',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083903&docid=71786828&x=4557',
		'title': '',
		'imageId': '71786828',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083903&docid=71786829&x=4557',
		'title': '',
		'imageId': '71786829',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083903&docid=71786830&x=4557',
		'title': '',
		'imageId': '71786830',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083903&docid=71786831&x=4557',
		'title': '',
		'imageId': '71786831',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083903&docid=71786833&x=4557',
		'title': '',
		'imageId': '71786833',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083903&docid=71786839&x=4557',
		'title': '',
		'imageId': '71786839',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083903&docid=71786847&x=4557',
		'title': '',
		'imageId': '71786847',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083903&docid=71786856&x=4557',
		'title': '',
		'imageId': '71786856',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083903&docid=71786880&x=4557',
		'title': '',
		'imageId': '71786880',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4083903';

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