var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70776246&x=3245',
		'title': '',
		'imageId': '70776246',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70776245&x=3245',
		'title': '',
		'imageId': '70776245',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70776253&x=3245',
		'title': '',
		'imageId': '70776253',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70776251&x=3245',
		'title': '',
		'imageId': '70776251',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70776240&x=3245',
		'title': '',
		'imageId': '70776240',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70776248&x=3245',
		'title': '',
		'imageId': '70776248',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70776252&x=3245',
		'title': '',
		'imageId': '70776252',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70776247&x=3245',
		'title': '',
		'imageId': '70776247',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70776243&x=3245',
		'title': '',
		'imageId': '70776243',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70776238&x=3245',
		'title': '',
		'imageId': '70776238',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70776239&x=3245',
		'title': '',
		'imageId': '70776239',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70776244&x=3245',
		'title': '',
		'imageId': '70776244',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70776249&x=3245',
		'title': '',
		'imageId': '70776249',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70776242&x=3245',
		'title': '',
		'imageId': '70776242',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70776241&x=3245',
		'title': '',
		'imageId': '70776241',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70776209&x=3245',
		'title': '',
		'imageId': '70776209',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70883725&x=3245',
		'title': '',
		'imageId': '70883725',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70883723&x=3245',
		'title': '',
		'imageId': '70883723',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70883728&x=3245',
		'title': '',
		'imageId': '70883728',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045435&docid=70883726&x=3245',
		'title': '',
		'imageId': '70883726',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4045435';

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