var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016291&docid=70124936&x=2556',
		'title': '',
		'imageId': '70124936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016291&docid=70124937&x=2556',
		'title': '',
		'imageId': '70124937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016291&docid=70124938&x=2556',
		'title': '',
		'imageId': '70124938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016291&docid=70124939&x=2556',
		'title': '',
		'imageId': '70124939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016291&docid=70124940&x=2556',
		'title': '',
		'imageId': '70124940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016291&docid=70124941&x=2556',
		'title': '',
		'imageId': '70124941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016291&docid=70124942&x=2556',
		'title': '',
		'imageId': '70124942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016291&docid=70124943&x=2556',
		'title': '',
		'imageId': '70124943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016291&docid=70124944&x=2556',
		'title': '',
		'imageId': '70124944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016291&docid=70124945&x=2556',
		'title': '',
		'imageId': '70124945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016291&docid=70124946&x=2556',
		'title': '',
		'imageId': '70124946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016291&docid=70124947&x=2556',
		'title': '',
		'imageId': '70124947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016291';

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