var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047028&x=1836',
		'title': '',
		'imageId': '70047028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047029&x=1836',
		'title': '',
		'imageId': '70047029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047030&x=1836',
		'title': '',
		'imageId': '70047030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047034&x=1836',
		'title': '',
		'imageId': '70047034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047039&x=1836',
		'title': '',
		'imageId': '70047039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047044&x=1836',
		'title': '',
		'imageId': '70047044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047046&x=1836',
		'title': '',
		'imageId': '70047046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047045&x=1836',
		'title': '',
		'imageId': '70047045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047051&x=1836',
		'title': '',
		'imageId': '70047051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047052&x=1836',
		'title': '',
		'imageId': '70047052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047055&x=1836',
		'title': '',
		'imageId': '70047055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047061&x=1836',
		'title': '',
		'imageId': '70047061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047060&x=1836',
		'title': '',
		'imageId': '70047060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047066&x=1836',
		'title': '',
		'imageId': '70047066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047067&x=1836',
		'title': '',
		'imageId': '70047067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047070&x=1836',
		'title': '',
		'imageId': '70047070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047076&x=1836',
		'title': '',
		'imageId': '70047076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047077&x=1836',
		'title': '',
		'imageId': '70047077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047027&x=1836',
		'title': '',
		'imageId': '70047027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013583&docid=70047031&x=1836',
		'title': '',
		'imageId': '70047031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013583';

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