var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013452&docid=70044070&x=5552',
		'title': '',
		'imageId': '70044070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013452&docid=70044071&x=5552',
		'title': '',
		'imageId': '70044071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013452&docid=70044072&x=5552',
		'title': '',
		'imageId': '70044072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013452&docid=70044073&x=5552',
		'title': '',
		'imageId': '70044073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013452&docid=70044080&x=5552',
		'title': '',
		'imageId': '70044080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013452&docid=70044094&x=5552',
		'title': '',
		'imageId': '70044094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013452&docid=70044095&x=5552',
		'title': '',
		'imageId': '70044095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013452&docid=70044098&x=5552',
		'title': '',
		'imageId': '70044098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013452&docid=70044099&x=5552',
		'title': '',
		'imageId': '70044099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013452&docid=70044100&x=5552',
		'title': '',
		'imageId': '70044100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013452&docid=70044101&x=5552',
		'title': '',
		'imageId': '70044101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013452';

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