var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4035348&docid=70598937&x=1920',
		'title': '',
		'imageId': '70598937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035348&docid=70599029&x=1920',
		'title': '',
		'imageId': '70599029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035348&docid=70598938&x=1920',
		'title': '',
		'imageId': '70598938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035348&docid=70598946&x=1920',
		'title': '',
		'imageId': '70598946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035348&docid=70598945&x=1920',
		'title': '',
		'imageId': '70598945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035348&docid=70598944&x=1920',
		'title': '',
		'imageId': '70598944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035348&docid=70598943&x=1920',
		'title': '',
		'imageId': '70598943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035348&docid=70598942&x=1920',
		'title': '',
		'imageId': '70598942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035348&docid=70598941&x=1920',
		'title': '',
		'imageId': '70598941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035348&docid=70598935&x=1920',
		'title': '',
		'imageId': '70598935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035348&docid=70598934&x=1920',
		'title': '',
		'imageId': '70598934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035348&docid=70598936&x=1920',
		'title': '',
		'imageId': '70598936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4035348';

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