var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3967888&docid=68727995&x=1051',
		'title': '',
		'imageId': '68727995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967888&docid=68728004&x=1051',
		'title': '',
		'imageId': '68728004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967888&docid=68728010&x=1051',
		'title': '',
		'imageId': '68728010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967888&docid=68728025&x=1051',
		'title': '',
		'imageId': '68728025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967888&docid=68728028&x=1051',
		'title': '',
		'imageId': '68728028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967888&docid=68728064&x=1051',
		'title': '',
		'imageId': '68728064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967888&docid=68728125&x=1051',
		'title': '',
		'imageId': '68728125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967888&docid=68728128&x=1051',
		'title': '',
		'imageId': '68728128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967888&docid=68728144&x=1051',
		'title': '',
		'imageId': '68728144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967888&docid=68410565&x=1051',
		'title': '',
		'imageId': '68410565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3967888';

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