var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016278&docid=70124241&x=946',
		'title': '',
		'imageId': '70124241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016278&docid=70124245&x=946',
		'title': '',
		'imageId': '70124245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016278&docid=70124242&x=946',
		'title': '',
		'imageId': '70124242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016278&docid=70124247&x=946',
		'title': '',
		'imageId': '70124247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016278&docid=70124251&x=946',
		'title': '',
		'imageId': '70124251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016278&docid=70124250&x=946',
		'title': '',
		'imageId': '70124250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016278&docid=70124248&x=946',
		'title': '',
		'imageId': '70124248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016278&docid=70124246&x=946',
		'title': '',
		'imageId': '70124246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016278&docid=70124252&x=946',
		'title': '',
		'imageId': '70124252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016278&docid=70124243&x=946',
		'title': '',
		'imageId': '70124243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016278&docid=70124249&x=946',
		'title': '',
		'imageId': '70124249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016278&docid=70124244&x=946',
		'title': '',
		'imageId': '70124244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016278';

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