var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3961452&docid=68841283&x=516',
		'title': '',
		'imageId': '68841283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961452&docid=68841281&x=516',
		'title': '',
		'imageId': '68841281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961452&docid=68841287&x=516',
		'title': '',
		'imageId': '68841287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961452&docid=68841288&x=516',
		'title': '',
		'imageId': '68841288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961452&docid=68841289&x=516',
		'title': '',
		'imageId': '68841289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961452&docid=68841292&x=516',
		'title': '',
		'imageId': '68841292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961452&docid=68841295&x=516',
		'title': '',
		'imageId': '68841295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961452&docid=68841298&x=516',
		'title': '',
		'imageId': '68841298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961452&docid=68841302&x=516',
		'title': '',
		'imageId': '68841302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961452&docid=68841279&x=516',
		'title': '',
		'imageId': '68841279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3961452';

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