var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3871053&docid=66672678&x=35',
		'title': '',
		'imageId': '66672678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871053&docid=66672685&x=35',
		'title': '',
		'imageId': '66672685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871053&docid=66672677&x=35',
		'title': '',
		'imageId': '66672677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871053&docid=66672679&x=35',
		'title': '',
		'imageId': '66672679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871053&docid=66672682&x=35',
		'title': '',
		'imageId': '66672682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871053&docid=66672683&x=35',
		'title': '',
		'imageId': '66672683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871053&docid=66672684&x=35',
		'title': '',
		'imageId': '66672684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871053&docid=66672681&x=35',
		'title': '',
		'imageId': '66672681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871053&docid=66672680&x=35',
		'title': '',
		'imageId': '66672680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3871053&docid=66672686&x=35',
		'title': '',
		'imageId': '66672686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3871053';

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