var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930248&docid=67828072&x=4710',
		'title': '',
		'imageId': '67828072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930248&docid=67828075&x=4710',
		'title': '',
		'imageId': '67828075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930248&docid=67828073&x=4710',
		'title': '',
		'imageId': '67828073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930248&docid=67828083&x=4710',
		'title': '',
		'imageId': '67828083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930248&docid=67828081&x=4710',
		'title': '',
		'imageId': '67828081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930248&docid=67828084&x=4710',
		'title': '',
		'imageId': '67828084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930248&docid=67828091&x=4710',
		'title': '',
		'imageId': '67828091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930248&docid=67828094&x=4710',
		'title': '',
		'imageId': '67828094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930248&docid=67828095&x=4710',
		'title': '',
		'imageId': '67828095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930248&docid=67828100&x=4710',
		'title': '',
		'imageId': '67828100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930248';

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