var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346319&x=5826',
		'title': '',
		'imageId': '70346319',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346310&x=5826',
		'title': '',
		'imageId': '70346310',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346313&x=5826',
		'title': '',
		'imageId': '70346313',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346330&x=5826',
		'title': '',
		'imageId': '70346330',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346324&x=5826',
		'title': '',
		'imageId': '70346324',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346316&x=5826',
		'title': '',
		'imageId': '70346316',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346311&x=5826',
		'title': '',
		'imageId': '70346311',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346325&x=5826',
		'title': '',
		'imageId': '70346325',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346320&x=5826',
		'title': '',
		'imageId': '70346320',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346326&x=5826',
		'title': '',
		'imageId': '70346326',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346329&x=5826',
		'title': '',
		'imageId': '70346329',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346317&x=5826',
		'title': '',
		'imageId': '70346317',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346328&x=5826',
		'title': '',
		'imageId': '70346328',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346327&x=5826',
		'title': '',
		'imageId': '70346327',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346314&x=5826',
		'title': '',
		'imageId': '70346314',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346309&x=5826',
		'title': '',
		'imageId': '70346309',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346315&x=5826',
		'title': '',
		'imageId': '70346315',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025688&docid=70346601&x=5826',
		'title': '',
		'imageId': '70346601',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4025688';

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