var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969805&docid=69013300&x=5029',
		'title': '',
		'imageId': '69013300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969805&docid=69013301&x=5029',
		'title': '',
		'imageId': '69013301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969805&docid=69013304&x=5029',
		'title': '',
		'imageId': '69013304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969805&docid=69013308&x=5029',
		'title': '',
		'imageId': '69013308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969805&docid=69013309&x=5029',
		'title': '',
		'imageId': '69013309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969805&docid=69013305&x=5029',
		'title': '',
		'imageId': '69013305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969805&docid=69013310&x=5029',
		'title': '',
		'imageId': '69013310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969805&docid=69013307&x=5029',
		'title': '',
		'imageId': '69013307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969805&docid=69013303&x=5029',
		'title': '',
		'imageId': '69013303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969805&docid=69013306&x=5029',
		'title': '',
		'imageId': '69013306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969805&docid=69013302&x=5029',
		'title': '',
		'imageId': '69013302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969805';

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