var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952554&docid=68641852&x=3431',
		'title': '',
		'imageId': '68641852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952554&docid=68641904&x=3431',
		'title': '',
		'imageId': '68641904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952554&docid=68641901&x=3431',
		'title': '',
		'imageId': '68641901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952554&docid=68641902&x=3431',
		'title': '',
		'imageId': '68641902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952554&docid=68641846&x=3431',
		'title': '',
		'imageId': '68641846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952554&docid=68641848&x=3431',
		'title': '',
		'imageId': '68641848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952554&docid=68641847&x=3431',
		'title': '',
		'imageId': '68641847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952554&docid=68641851&x=3431',
		'title': '',
		'imageId': '68641851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952554&docid=68641850&x=3431',
		'title': '',
		'imageId': '68641850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952554&docid=68641845&x=3431',
		'title': '',
		'imageId': '68641845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952554&docid=68641849&x=3431',
		'title': '',
		'imageId': '68641849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952554&docid=68641903&x=3431',
		'title': '',
		'imageId': '68641903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952554';

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