var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909725&docid=67009420&x=4112',
		'title': '',
		'imageId': '67009420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909725&docid=67009423&x=4112',
		'title': '',
		'imageId': '67009423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909725&docid=67009421&x=4112',
		'title': '',
		'imageId': '67009421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909725&docid=67009424&x=4112',
		'title': '',
		'imageId': '67009424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909725&docid=67009422&x=4112',
		'title': '',
		'imageId': '67009422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909725&docid=67009419&x=4112',
		'title': '',
		'imageId': '67009419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909725&docid=67009418&x=4112',
		'title': '',
		'imageId': '67009418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909725&docid=67009426&x=4112',
		'title': '',
		'imageId': '67009426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909725&docid=67009425&x=4112',
		'title': '',
		'imageId': '67009425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909725&docid=67009427&x=4112',
		'title': '',
		'imageId': '67009427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909725';

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