var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4062380&docid=71310907&x=2015',
		'title': '',
		'imageId': '71310907',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062380&docid=71310908&x=2015',
		'title': '',
		'imageId': '71310908',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062380&docid=71310909&x=2015',
		'title': '',
		'imageId': '71310909',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062380&docid=71310910&x=2015',
		'title': '',
		'imageId': '71310910',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062380&docid=71310915&x=2015',
		'title': '',
		'imageId': '71310915',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062380&docid=71310916&x=2015',
		'title': '',
		'imageId': '71310916',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062380&docid=71310920&x=2015',
		'title': '',
		'imageId': '71310920',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062380&docid=71310906&x=2015',
		'title': '',
		'imageId': '71310906',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062380&docid=71310905&x=2015',
		'title': '',
		'imageId': '71310905',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4062380';

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