var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3960617&docid=68829671&x=4657',
		'title': '',
		'imageId': '68829671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960617&docid=68829678&x=4657',
		'title': '',
		'imageId': '68829678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960617&docid=68829679&x=4657',
		'title': '',
		'imageId': '68829679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960617&docid=68829677&x=4657',
		'title': '',
		'imageId': '68829677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960617&docid=68829675&x=4657',
		'title': '',
		'imageId': '68829675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960617&docid=68829676&x=4657',
		'title': '',
		'imageId': '68829676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960617&docid=68829673&x=4657',
		'title': '',
		'imageId': '68829673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960617&docid=68829672&x=4657',
		'title': '',
		'imageId': '68829672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960617&docid=68829680&x=4657',
		'title': '',
		'imageId': '68829680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960617&docid=68829674&x=4657',
		'title': '',
		'imageId': '68829674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3960617';

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