var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3915387&docid=67777172&x=5942',
		'title': '',
		'imageId': '67777172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915387&docid=67777164&x=5942',
		'title': '',
		'imageId': '67777164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915387&docid=67777173&x=5942',
		'title': '',
		'imageId': '67777173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915387&docid=67777165&x=5942',
		'title': '',
		'imageId': '67777165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915387&docid=67777171&x=5942',
		'title': '',
		'imageId': '67777171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915387&docid=67777170&x=5942',
		'title': '',
		'imageId': '67777170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915387&docid=67777167&x=5942',
		'title': '',
		'imageId': '67777167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915387&docid=67777166&x=5942',
		'title': '',
		'imageId': '67777166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915387&docid=67777168&x=5942',
		'title': '',
		'imageId': '67777168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915387&docid=67777162&x=5942',
		'title': '',
		'imageId': '67777162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915387&docid=67777169&x=5942',
		'title': '',
		'imageId': '67777169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3915387';

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