var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3866779&docid=64309202&x=2641',
		'title': '',
		'imageId': '64309202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866779&docid=64309176&x=2641',
		'title': '',
		'imageId': '64309176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866779&docid=64309171&x=2641',
		'title': '',
		'imageId': '64309171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866779&docid=64309178&x=2641',
		'title': '',
		'imageId': '64309178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866779&docid=64309179&x=2641',
		'title': '',
		'imageId': '64309179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866779&docid=64309175&x=2641',
		'title': '',
		'imageId': '64309175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866779&docid=64309174&x=2641',
		'title': '',
		'imageId': '64309174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866779&docid=64309177&x=2641',
		'title': '',
		'imageId': '64309177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866779&docid=64309181&x=2641',
		'title': '',
		'imageId': '64309181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866779&docid=64309182&x=2641',
		'title': '',
		'imageId': '64309182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866779&docid=64309173&x=2641',
		'title': '',
		'imageId': '64309173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866779&docid=64309172&x=2641',
		'title': '',
		'imageId': '64309172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3866779';

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