var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4026000&docid=70354869&x=358',
		'title': '',
		'imageId': '70354869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026000&docid=70354864&x=358',
		'title': '',
		'imageId': '70354864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026000&docid=70354862&x=358',
		'title': '',
		'imageId': '70354862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026000&docid=70354866&x=358',
		'title': '',
		'imageId': '70354866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026000&docid=70354861&x=358',
		'title': '',
		'imageId': '70354861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026000&docid=70354863&x=358',
		'title': '',
		'imageId': '70354863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026000&docid=70354865&x=358',
		'title': '',
		'imageId': '70354865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026000&docid=70354868&x=358',
		'title': '',
		'imageId': '70354868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026000&docid=70354867&x=358',
		'title': '',
		'imageId': '70354867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026000&docid=70354870&x=358',
		'title': '',
		'imageId': '70354870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4026000';

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