var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4079986&docid=71708633&x=5542',
		'title': '',
		'imageId': '71708633',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079986&docid=71708673&x=5542',
		'title': '',
		'imageId': '71708673',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079986&docid=71708691&x=5542',
		'title': '',
		'imageId': '71708691',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079986&docid=71708702&x=5542',
		'title': '',
		'imageId': '71708702',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079986&docid=71708710&x=5542',
		'title': '',
		'imageId': '71708710',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079986&docid=71708739&x=5542',
		'title': '',
		'imageId': '71708739',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079986&docid=71708741&x=5542',
		'title': '',
		'imageId': '71708741',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079986&docid=71708755&x=5542',
		'title': '',
		'imageId': '71708755',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079986&docid=71708772&x=5542',
		'title': '',
		'imageId': '71708772',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079986&docid=71708827&x=5542',
		'title': '',
		'imageId': '71708827',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079986&docid=71708846&x=5542',
		'title': '',
		'imageId': '71708846',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4079986';

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