var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986735&docid=69424377&x=5019',
		'title': '',
		'imageId': '69424377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986735&docid=69424376&x=5019',
		'title': '',
		'imageId': '69424376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986735&docid=69424378&x=5019',
		'title': '',
		'imageId': '69424378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986735&docid=69424379&x=5019',
		'title': '',
		'imageId': '69424379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986735&docid=69424380&x=5019',
		'title': '',
		'imageId': '69424380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986735&docid=69424381&x=5019',
		'title': '',
		'imageId': '69424381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986735&docid=69424390&x=5019',
		'title': '',
		'imageId': '69424390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986735&docid=69424393&x=5019',
		'title': '',
		'imageId': '69424393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986735&docid=69424396&x=5019',
		'title': '',
		'imageId': '69424396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986735&docid=69424399&x=5019',
		'title': '',
		'imageId': '69424399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986735&docid=69424404&x=5019',
		'title': '',
		'imageId': '69424404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986735';

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