var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955958&docid=68741428&x=2125',
		'title': '',
		'imageId': '68741428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955958&docid=68741433&x=2125',
		'title': '',
		'imageId': '68741433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955958&docid=68741430&x=2125',
		'title': '',
		'imageId': '68741430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955958&docid=68741431&x=2125',
		'title': '',
		'imageId': '68741431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955958&docid=68741432&x=2125',
		'title': '',
		'imageId': '68741432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955958&docid=68741429&x=2125',
		'title': '',
		'imageId': '68741429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955958&docid=68741425&x=2125',
		'title': '',
		'imageId': '68741425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955958&docid=68741435&x=2125',
		'title': '',
		'imageId': '68741435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955958&docid=68741426&x=2125',
		'title': '',
		'imageId': '68741426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955958&docid=68741427&x=2125',
		'title': '',
		'imageId': '68741427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955958&docid=68741434&x=2125',
		'title': '',
		'imageId': '68741434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955958&docid=68741436&x=2125',
		'title': '',
		'imageId': '68741436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955958';

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