var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3896767&docid=67310586&x=342',
		'title': '',
		'imageId': '67310586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3896767&docid=67310587&x=342',
		'title': '',
		'imageId': '67310587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3896767&docid=67310588&x=342',
		'title': '',
		'imageId': '67310588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3896767&docid=67310589&x=342',
		'title': '',
		'imageId': '67310589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3896767&docid=67310590&x=342',
		'title': '',
		'imageId': '67310590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3896767&docid=67310591&x=342',
		'title': '',
		'imageId': '67310591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3896767&docid=67310592&x=342',
		'title': '',
		'imageId': '67310592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3896767&docid=67310593&x=342',
		'title': '',
		'imageId': '67310593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3896767';

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