var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932552&docid=68192901&x=717',
		'title': '',
		'imageId': '68192901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932552&docid=68192904&x=717',
		'title': '',
		'imageId': '68192904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932552&docid=68192916&x=717',
		'title': '',
		'imageId': '68192916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932552&docid=68192938&x=717',
		'title': '',
		'imageId': '68192938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932552&docid=68192941&x=717',
		'title': '',
		'imageId': '68192941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932552&docid=68192944&x=717',
		'title': '',
		'imageId': '68192944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932552&docid=68192947&x=717',
		'title': '',
		'imageId': '68192947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932552&docid=68192952&x=717',
		'title': '',
		'imageId': '68192952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932552&docid=68192959&x=717',
		'title': '',
		'imageId': '68192959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932552&docid=68192968&x=717',
		'title': '',
		'imageId': '68192968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932552';

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