var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998608&docid=69671325&x=232',
		'title': '',
		'imageId': '69671325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998608&docid=69671323&x=232',
		'title': '',
		'imageId': '69671323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998608&docid=69671324&x=232',
		'title': '',
		'imageId': '69671324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998608&docid=69671319&x=232',
		'title': '',
		'imageId': '69671319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998608&docid=69671317&x=232',
		'title': '',
		'imageId': '69671317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998608&docid=69671318&x=232',
		'title': '',
		'imageId': '69671318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998608&docid=69671321&x=232',
		'title': '',
		'imageId': '69671321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998608&docid=69671316&x=232',
		'title': '',
		'imageId': '69671316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998608&docid=69671322&x=232',
		'title': '',
		'imageId': '69671322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998608&docid=69671320&x=232',
		'title': '',
		'imageId': '69671320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998608';

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