var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013620&docid=70050428&x=1646',
		'title': '',
		'imageId': '70050428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013620&docid=70050427&x=1646',
		'title': '',
		'imageId': '70050427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013620&docid=70050426&x=1646',
		'title': '',
		'imageId': '70050426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013620&docid=70050269&x=1646',
		'title': '',
		'imageId': '70050269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013620&docid=70050273&x=1646',
		'title': '',
		'imageId': '70050273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013620&docid=70050270&x=1646',
		'title': '',
		'imageId': '70050270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013620&docid=70050271&x=1646',
		'title': '',
		'imageId': '70050271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013620';

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