var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4085952&docid=71481694&x=5950',
		'title': '',
		'imageId': '71481694',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085952&docid=71481697&x=5950',
		'title': '',
		'imageId': '71481697',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085952&docid=71481701&x=5950',
		'title': '',
		'imageId': '71481701',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085952&docid=71481695&x=5950',
		'title': '',
		'imageId': '71481695',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085952&docid=71481692&x=5950',
		'title': '',
		'imageId': '71481692',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085952&docid=71481696&x=5950',
		'title': '',
		'imageId': '71481696',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085952&docid=71481698&x=5950',
		'title': '',
		'imageId': '71481698',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085952&docid=71481693&x=5950',
		'title': '',
		'imageId': '71481693',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085952&docid=71481700&x=5950',
		'title': '',
		'imageId': '71481700',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085952&docid=71481699&x=5950',
		'title': '',
		'imageId': '71481699',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085952&docid=71481691&x=5950',
		'title': '',
		'imageId': '71481691',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4085952';

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