var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3887215&docid=67278801&x=1242',
		'title': '',
		'imageId': '67278801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887215&docid=67278805&x=1242',
		'title': '',
		'imageId': '67278805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887215&docid=67278814&x=1242',
		'title': '',
		'imageId': '67278814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887215&docid=67278829&x=1242',
		'title': '',
		'imageId': '67278829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887215&docid=67278840&x=1242',
		'title': '',
		'imageId': '67278840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887215&docid=67278850&x=1242',
		'title': '',
		'imageId': '67278850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887215&docid=67278884&x=1242',
		'title': '',
		'imageId': '67278884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887215&docid=67278898&x=1242',
		'title': '',
		'imageId': '67278898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887215&docid=67278905&x=1242',
		'title': '',
		'imageId': '67278905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887215&docid=67278932&x=1242',
		'title': '',
		'imageId': '67278932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887215&docid=67278936&x=1242',
		'title': '',
		'imageId': '67278936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3887215';

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