var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998392&docid=69665093&x=4910',
		'title': '',
		'imageId': '69665093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998392&docid=69665094&x=4910',
		'title': '',
		'imageId': '69665094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998392&docid=69665095&x=4910',
		'title': '',
		'imageId': '69665095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998392&docid=69665096&x=4910',
		'title': '',
		'imageId': '69665096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998392&docid=69665097&x=4910',
		'title': '',
		'imageId': '69665097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998392&docid=69665098&x=4910',
		'title': '',
		'imageId': '69665098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998392&docid=69665100&x=4910',
		'title': '',
		'imageId': '69665100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998392&docid=69665101&x=4910',
		'title': '',
		'imageId': '69665101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998392&docid=69665102&x=4910',
		'title': '',
		'imageId': '69665102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998392&docid=69665103&x=4910',
		'title': '',
		'imageId': '69665103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998392&docid=69665104&x=4910',
		'title': '',
		'imageId': '69665104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998392';

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