var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678861&x=1856',
		'title': '',
		'imageId': '67678861',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678862&x=1856',
		'title': '',
		'imageId': '67678862',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678866&x=1856',
		'title': '',
		'imageId': '67678866',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678868&x=1856',
		'title': '',
		'imageId': '67678868',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678871&x=1856',
		'title': '',
		'imageId': '67678871',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678877&x=1856',
		'title': '',
		'imageId': '67678877',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678867&x=1856',
		'title': '',
		'imageId': '67678867',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678875&x=1856',
		'title': '',
		'imageId': '67678875',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678876&x=1856',
		'title': '',
		'imageId': '67678876',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678863&x=1856',
		'title': '',
		'imageId': '67678863',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678860&x=1856',
		'title': '',
		'imageId': '67678860',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678865&x=1856',
		'title': '',
		'imageId': '67678865',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678870&x=1856',
		'title': '',
		'imageId': '67678870',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678864&x=1856',
		'title': '',
		'imageId': '67678864',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678872&x=1856',
		'title': '',
		'imageId': '67678872',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678878&x=1856',
		'title': '',
		'imageId': '67678878',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678873&x=1856',
		'title': '',
		'imageId': '67678873',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678869&x=1856',
		'title': '',
		'imageId': '67678869',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678874&x=1856',
		'title': '',
		'imageId': '67678874',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088457&docid=67678879&x=1856',
		'title': '',
		'imageId': '67678879',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4088457';

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