var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4027765&docid=70398162&x=1230',
		'title': '',
		'imageId': '70398162',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027765&docid=70398159&x=1230',
		'title': '',
		'imageId': '70398159',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027765&docid=70398165&x=1230',
		'title': '',
		'imageId': '70398165',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027765&docid=70398155&x=1230',
		'title': '',
		'imageId': '70398155',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027765&docid=70398158&x=1230',
		'title': '',
		'imageId': '70398158',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027765&docid=70398161&x=1230',
		'title': '',
		'imageId': '70398161',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027765&docid=70398164&x=1230',
		'title': '',
		'imageId': '70398164',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027765&docid=70398163&x=1230',
		'title': '',
		'imageId': '70398163',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027765&docid=70398160&x=1230',
		'title': '',
		'imageId': '70398160',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027765&docid=70398156&x=1230',
		'title': '',
		'imageId': '70398156',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027765&docid=70398157&x=1230',
		'title': '',
		'imageId': '70398157',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4027765';

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