var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3891121&docid=67173857&x=1827',
		'title': '',
		'imageId': '67173857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891121&docid=67173858&x=1827',
		'title': '',
		'imageId': '67173858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891121&docid=67173859&x=1827',
		'title': '',
		'imageId': '67173859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891121&docid=67173860&x=1827',
		'title': '',
		'imageId': '67173860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891121&docid=67173861&x=1827',
		'title': '',
		'imageId': '67173861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891121&docid=67173862&x=1827',
		'title': '',
		'imageId': '67173862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891121&docid=67173863&x=1827',
		'title': '',
		'imageId': '67173863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891121&docid=67173864&x=1827',
		'title': '',
		'imageId': '67173864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891121&docid=67173865&x=1827',
		'title': '',
		'imageId': '67173865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891121&docid=67173866&x=1827',
		'title': '',
		'imageId': '67173866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891121&docid=67173867&x=1827',
		'title': '',
		'imageId': '67173867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891121&docid=67173873&x=1827',
		'title': '',
		'imageId': '67173873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3891121';

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