var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3899878&docid=67401386&x=4811',
		'title': '',
		'imageId': '67401386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899878&docid=67401419&x=4811',
		'title': '',
		'imageId': '67401419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899878&docid=67401418&x=4811',
		'title': '',
		'imageId': '67401418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899878&docid=67401417&x=4811',
		'title': '',
		'imageId': '67401417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899878&docid=67401415&x=4811',
		'title': '',
		'imageId': '67401415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899878&docid=67401412&x=4811',
		'title': '',
		'imageId': '67401412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899878&docid=67401413&x=4811',
		'title': '',
		'imageId': '67401413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899878&docid=67401414&x=4811',
		'title': '',
		'imageId': '67401414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899878&docid=67401421&x=4811',
		'title': '',
		'imageId': '67401421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899878&docid=67401420&x=4811',
		'title': '',
		'imageId': '67401420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899878&docid=67401416&x=4811',
		'title': '',
		'imageId': '67401416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3899878';

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