var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015866&docid=70107908&x=5041',
		'title': '',
		'imageId': '70107908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015866&docid=70107912&x=5041',
		'title': '',
		'imageId': '70107912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015866&docid=70107909&x=5041',
		'title': '',
		'imageId': '70107909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015866&docid=70107913&x=5041',
		'title': '',
		'imageId': '70107913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015866&docid=70107911&x=5041',
		'title': '',
		'imageId': '70107911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015866&docid=70107910&x=5041',
		'title': '',
		'imageId': '70107910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015866&docid=70107907&x=5041',
		'title': '',
		'imageId': '70107907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015866&docid=70107906&x=5041',
		'title': '',
		'imageId': '70107906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015866&docid=70107914&x=5041',
		'title': '',
		'imageId': '70107914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015866&docid=70107915&x=5041',
		'title': '',
		'imageId': '70107915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015866';

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