var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3977750&docid=69203163&x=5849',
		'title': '',
		'imageId': '69203163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977750&docid=69203167&x=5849',
		'title': '',
		'imageId': '69203167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977750&docid=69203162&x=5849',
		'title': '',
		'imageId': '69203162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977750&docid=69203168&x=5849',
		'title': '',
		'imageId': '69203168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977750&docid=69203169&x=5849',
		'title': '',
		'imageId': '69203169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977750&docid=69203158&x=5849',
		'title': '',
		'imageId': '69203158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977750&docid=69203159&x=5849',
		'title': '',
		'imageId': '69203159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977750&docid=69203160&x=5849',
		'title': '',
		'imageId': '69203160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977750&docid=69203170&x=5849',
		'title': '',
		'imageId': '69203170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977750&docid=69203171&x=5849',
		'title': '',
		'imageId': '69203171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977750&docid=69203172&x=5849',
		'title': '',
		'imageId': '69203172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977750&docid=69203173&x=5849',
		'title': '',
		'imageId': '69203173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977750&docid=69203174&x=5849',
		'title': '',
		'imageId': '69203174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977750&docid=69203175&x=5849',
		'title': '',
		'imageId': '69203175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977750&docid=69203176&x=5849',
		'title': '',
		'imageId': '69203176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977750&docid=69203161&x=5849',
		'title': '',
		'imageId': '69203161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3977750';

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