var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3959922&docid=68667905&x=3642',
		'title': '',
		'imageId': '68667905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959922&docid=68667902&x=3642',
		'title': '',
		'imageId': '68667902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959922&docid=68667909&x=3642',
		'title': '',
		'imageId': '68667909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959922&docid=68667908&x=3642',
		'title': '',
		'imageId': '68667908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959922&docid=68667910&x=3642',
		'title': '',
		'imageId': '68667910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959922&docid=68667911&x=3642',
		'title': '',
		'imageId': '68667911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959922&docid=68667916&x=3642',
		'title': '',
		'imageId': '68667916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959922&docid=68667915&x=3642',
		'title': '',
		'imageId': '68667915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959922&docid=68667912&x=3642',
		'title': '',
		'imageId': '68667912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959922&docid=68667914&x=3642',
		'title': '',
		'imageId': '68667914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959922&docid=68667913&x=3642',
		'title': '',
		'imageId': '68667913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959922&docid=68667917&x=3642',
		'title': '',
		'imageId': '68667917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3959922';

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