var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029850&docid=70449323&x=1812',
		'title': '',
		'imageId': '70449323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029850&docid=70449327&x=1812',
		'title': '',
		'imageId': '70449327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029850&docid=70449325&x=1812',
		'title': '',
		'imageId': '70449325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029850&docid=70449326&x=1812',
		'title': '',
		'imageId': '70449326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029850&docid=70449321&x=1812',
		'title': '',
		'imageId': '70449321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029850&docid=70449316&x=1812',
		'title': '',
		'imageId': '70449316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029850&docid=70449329&x=1812',
		'title': '',
		'imageId': '70449329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029850&docid=70449320&x=1812',
		'title': '',
		'imageId': '70449320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029850&docid=70449318&x=1812',
		'title': '',
		'imageId': '70449318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029850&docid=70449317&x=1812',
		'title': '',
		'imageId': '70449317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029850&docid=70449324&x=1812',
		'title': '',
		'imageId': '70449324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029850&docid=70449328&x=1812',
		'title': '',
		'imageId': '70449328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029850';

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