var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3906232&docid=67553476&x=5411',
		'title': '',
		'imageId': '67553476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906232&docid=67553473&x=5411',
		'title': '',
		'imageId': '67553473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906232&docid=67553474&x=5411',
		'title': '',
		'imageId': '67553474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906232&docid=67553478&x=5411',
		'title': '',
		'imageId': '67553478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906232&docid=67553470&x=5411',
		'title': '',
		'imageId': '67553470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906232&docid=67553477&x=5411',
		'title': '',
		'imageId': '67553477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906232&docid=67553471&x=5411',
		'title': '',
		'imageId': '67553471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906232&docid=67553479&x=5411',
		'title': '',
		'imageId': '67553479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906232&docid=67553472&x=5411',
		'title': '',
		'imageId': '67553472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906232&docid=67553480&x=5411',
		'title': '',
		'imageId': '67553480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906232&docid=67553475&x=5411',
		'title': '',
		'imageId': '67553475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3906232';

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