var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952613&docid=68642888&x=1529',
		'title': '',
		'imageId': '68642888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952613&docid=68642892&x=1529',
		'title': '',
		'imageId': '68642892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952613&docid=68642891&x=1529',
		'title': '',
		'imageId': '68642891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952613&docid=68642890&x=1529',
		'title': '',
		'imageId': '68642890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952613&docid=68642886&x=1529',
		'title': '',
		'imageId': '68642886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952613&docid=68642893&x=1529',
		'title': '',
		'imageId': '68642893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952613&docid=68642884&x=1529',
		'title': '',
		'imageId': '68642884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952613&docid=68642885&x=1529',
		'title': '',
		'imageId': '68642885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952613&docid=68642889&x=1529',
		'title': '',
		'imageId': '68642889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952613&docid=68642887&x=1529',
		'title': '',
		'imageId': '68642887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952613';

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