var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951759&docid=68626190&x=4349',
		'title': '',
		'imageId': '68626190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951759&docid=68626200&x=4349',
		'title': '',
		'imageId': '68626200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951759&docid=68626197&x=4349',
		'title': '',
		'imageId': '68626197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951759&docid=68626192&x=4349',
		'title': '',
		'imageId': '68626192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951759&docid=68626194&x=4349',
		'title': '',
		'imageId': '68626194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951759&docid=68626195&x=4349',
		'title': '',
		'imageId': '68626195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951759&docid=68626199&x=4349',
		'title': '',
		'imageId': '68626199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951759&docid=68626198&x=4349',
		'title': '',
		'imageId': '68626198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951759&docid=68626193&x=4349',
		'title': '',
		'imageId': '68626193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951759&docid=68626191&x=4349',
		'title': '',
		'imageId': '68626191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951759&docid=68626196&x=4349',
		'title': '',
		'imageId': '68626196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951759';

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