var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4023016&docid=70298277&x=2148',
		'title': '',
		'imageId': '70298277',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023016&docid=70298279&x=2148',
		'title': '',
		'imageId': '70298279',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023016&docid=70298278&x=2148',
		'title': '',
		'imageId': '70298278',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023016&docid=70298284&x=2148',
		'title': '',
		'imageId': '70298284',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023016&docid=70298289&x=2148',
		'title': '',
		'imageId': '70298289',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023016&docid=70298285&x=2148',
		'title': '',
		'imageId': '70298285',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023016&docid=70298293&x=2148',
		'title': '',
		'imageId': '70298293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023016&docid=70298294&x=2148',
		'title': '',
		'imageId': '70298294',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023016&docid=70298312&x=2148',
		'title': '',
		'imageId': '70298312',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023016&docid=70298276&x=2148',
		'title': '',
		'imageId': '70298276',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023016&docid=70298275&x=2148',
		'title': '',
		'imageId': '70298275',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4023016';

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