var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998162&x=1954',
		'title': '',
		'imageId': '68998162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998163&x=1954',
		'title': '',
		'imageId': '68998163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998165&x=1954',
		'title': '',
		'imageId': '68998165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998167&x=1954',
		'title': '',
		'imageId': '68998167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998166&x=1954',
		'title': '',
		'imageId': '68998166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998164&x=1954',
		'title': '',
		'imageId': '68998164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998144&x=1954',
		'title': '',
		'imageId': '68998144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998149&x=1954',
		'title': '',
		'imageId': '68998149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998147&x=1954',
		'title': '',
		'imageId': '68998147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998145&x=1954',
		'title': '',
		'imageId': '68998145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998182&x=1954',
		'title': '',
		'imageId': '68998182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998181&x=1954',
		'title': '',
		'imageId': '68998181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998185&x=1954',
		'title': '',
		'imageId': '68998185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998199&x=1954',
		'title': '',
		'imageId': '68998199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998148&x=1954',
		'title': '',
		'imageId': '68998148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998146&x=1954',
		'title': '',
		'imageId': '68998146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998184&x=1954',
		'title': '',
		'imageId': '68998184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998183&x=1954',
		'title': '',
		'imageId': '68998183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998196&x=1954',
		'title': '',
		'imageId': '68998196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998200&x=1954',
		'title': '',
		'imageId': '68998200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998198&x=1954',
		'title': '',
		'imageId': '68998198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968870&docid=68998197&x=1954',
		'title': '',
		'imageId': '68998197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968870';

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