var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3915618&docid=67783217&x=3147',
		'title': '',
		'imageId': '67783217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915618&docid=67783221&x=3147',
		'title': '',
		'imageId': '67783221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915618&docid=67783218&x=3147',
		'title': '',
		'imageId': '67783218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915618&docid=67783222&x=3147',
		'title': '',
		'imageId': '67783222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915618&docid=67783223&x=3147',
		'title': '',
		'imageId': '67783223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915618&docid=67783220&x=3147',
		'title': '',
		'imageId': '67783220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915618&docid=67783219&x=3147',
		'title': '',
		'imageId': '67783219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3915618';

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