var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4034492&docid=70577448&x=4156',
		'title': '',
		'imageId': '70577448',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034492&docid=70577457&x=4156',
		'title': '',
		'imageId': '70577457',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034492&docid=70577458&x=4156',
		'title': '',
		'imageId': '70577458',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034492&docid=70577459&x=4156',
		'title': '',
		'imageId': '70577459',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034492&docid=70577452&x=4156',
		'title': '',
		'imageId': '70577452',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034492&docid=70577453&x=4156',
		'title': '',
		'imageId': '70577453',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034492&docid=70577456&x=4156',
		'title': '',
		'imageId': '70577456',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034492&docid=70577460&x=4156',
		'title': '',
		'imageId': '70577460',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034492&docid=70577454&x=4156',
		'title': '',
		'imageId': '70577454',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034492&docid=70577455&x=4156',
		'title': '',
		'imageId': '70577455',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034492&docid=70577451&x=4156',
		'title': '',
		'imageId': '70577451',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4034492';

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