var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3903236&docid=67485270&x=2723',
		'title': '',
		'imageId': '67485270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903236&docid=67485271&x=2723',
		'title': '',
		'imageId': '67485271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903236&docid=67485269&x=2723',
		'title': '',
		'imageId': '67485269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903236&docid=67485272&x=2723',
		'title': '',
		'imageId': '67485272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903236&docid=67485273&x=2723',
		'title': '',
		'imageId': '67485273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903236&docid=67485274&x=2723',
		'title': '',
		'imageId': '67485274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903236&docid=67485275&x=2723',
		'title': '',
		'imageId': '67485275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903236&docid=67485276&x=2723',
		'title': '',
		'imageId': '67485276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903236&docid=67485278&x=2723',
		'title': '',
		'imageId': '67485278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903236&docid=67485277&x=2723',
		'title': '',
		'imageId': '67485277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903236&docid=67485279&x=2723',
		'title': '',
		'imageId': '67485279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903236&docid=67485280&x=2723',
		'title': '',
		'imageId': '67485280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3903236';

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