var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3959128&docid=68800365&x=477',
		'title': '',
		'imageId': '68800365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959128&docid=68800363&x=477',
		'title': '',
		'imageId': '68800363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959128&docid=68800361&x=477',
		'title': '',
		'imageId': '68800361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959128&docid=68800366&x=477',
		'title': '',
		'imageId': '68800366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959128&docid=68800360&x=477',
		'title': '',
		'imageId': '68800360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959128&docid=68800369&x=477',
		'title': '',
		'imageId': '68800369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959128&docid=68800368&x=477',
		'title': '',
		'imageId': '68800368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959128&docid=68800359&x=477',
		'title': '',
		'imageId': '68800359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959128&docid=68800362&x=477',
		'title': '',
		'imageId': '68800362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959128&docid=68800367&x=477',
		'title': '',
		'imageId': '68800367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959128&docid=68800364&x=477',
		'title': '',
		'imageId': '68800364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3959128';

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