var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948710&docid=68558384&x=560',
		'title': '',
		'imageId': '68558384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948710&docid=68558387&x=560',
		'title': '',
		'imageId': '68558387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948710&docid=68558388&x=560',
		'title': '',
		'imageId': '68558388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948710&docid=68558389&x=560',
		'title': '',
		'imageId': '68558389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948710&docid=68558390&x=560',
		'title': '',
		'imageId': '68558390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948710&docid=68558391&x=560',
		'title': '',
		'imageId': '68558391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948710&docid=68558392&x=560',
		'title': '',
		'imageId': '68558392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948710&docid=68558393&x=560',
		'title': '',
		'imageId': '68558393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948710&docid=68558394&x=560',
		'title': '',
		'imageId': '68558394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948710&docid=68558396&x=560',
		'title': '',
		'imageId': '68558396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948710&docid=68558397&x=560',
		'title': '',
		'imageId': '68558397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948710&docid=68558395&x=560',
		'title': '',
		'imageId': '68558395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948710';

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