var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153286&x=3050',
		'title': '',
		'imageId': '70153286',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153287&x=3050',
		'title': '',
		'imageId': '70153287',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153288&x=3050',
		'title': '',
		'imageId': '70153288',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153271&x=3050',
		'title': '',
		'imageId': '70153271',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153289&x=3050',
		'title': '',
		'imageId': '70153289',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153272&x=3050',
		'title': '',
		'imageId': '70153272',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153273&x=3050',
		'title': '',
		'imageId': '70153273',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153274&x=3050',
		'title': '',
		'imageId': '70153274',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153275&x=3050',
		'title': '',
		'imageId': '70153275',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153276&x=3050',
		'title': '',
		'imageId': '70153276',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153277&x=3050',
		'title': '',
		'imageId': '70153277',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153278&x=3050',
		'title': '',
		'imageId': '70153278',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153279&x=3050',
		'title': '',
		'imageId': '70153279',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153280&x=3050',
		'title': '',
		'imageId': '70153280',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153281&x=3050',
		'title': '',
		'imageId': '70153281',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153282&x=3050',
		'title': '',
		'imageId': '70153282',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153283&x=3050',
		'title': '',
		'imageId': '70153283',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153284&x=3050',
		'title': '',
		'imageId': '70153284',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016936&docid=70153285&x=3050',
		'title': '',
		'imageId': '70153285',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016936';

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