var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3912061&docid=67688124&x=1433',
		'title': '',
		'imageId': '67688124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912061&docid=67688122&x=1433',
		'title': '',
		'imageId': '67688122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912061&docid=67688123&x=1433',
		'title': '',
		'imageId': '67688123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912061&docid=67688126&x=1433',
		'title': '',
		'imageId': '67688126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912061&docid=67688127&x=1433',
		'title': '',
		'imageId': '67688127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912061&docid=67688125&x=1433',
		'title': '',
		'imageId': '67688125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912061&docid=67688130&x=1433',
		'title': '',
		'imageId': '67688130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912061&docid=67688136&x=1433',
		'title': '',
		'imageId': '67688136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912061&docid=67688135&x=1433',
		'title': '',
		'imageId': '67688135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912061&docid=67688141&x=1433',
		'title': '',
		'imageId': '67688141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912061&docid=67688142&x=1433',
		'title': '',
		'imageId': '67688142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912061&docid=67688147&x=1433',
		'title': '',
		'imageId': '67688147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3912061';

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