var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4000821&docid=69735568&x=3155',
		'title': '',
		'imageId': '69735568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000821&docid=69735569&x=3155',
		'title': '',
		'imageId': '69735569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000821&docid=69735570&x=3155',
		'title': '',
		'imageId': '69735570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000821&docid=69735573&x=3155',
		'title': '',
		'imageId': '69735573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000821&docid=69735576&x=3155',
		'title': '',
		'imageId': '69735576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000821&docid=69735579&x=3155',
		'title': '',
		'imageId': '69735579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000821&docid=69735580&x=3155',
		'title': '',
		'imageId': '69735580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000821&docid=69735583&x=3155',
		'title': '',
		'imageId': '69735583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000821&docid=69735586&x=3155',
		'title': '',
		'imageId': '69735586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000821&docid=69735591&x=3155',
		'title': '',
		'imageId': '69735591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000821&docid=69735596&x=3155',
		'title': '',
		'imageId': '69735596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4000821';

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