var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932342&docid=68184181&x=4337',
		'title': '',
		'imageId': '68184181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932342&docid=68184182&x=4337',
		'title': '',
		'imageId': '68184182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932342&docid=68184183&x=4337',
		'title': '',
		'imageId': '68184183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932342&docid=68184186&x=4337',
		'title': '',
		'imageId': '68184186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932342&docid=68184189&x=4337',
		'title': '',
		'imageId': '68184189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932342&docid=68184194&x=4337',
		'title': '',
		'imageId': '68184194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932342&docid=68184195&x=4337',
		'title': '',
		'imageId': '68184195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932342&docid=68184184&x=4337',
		'title': '',
		'imageId': '68184184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932342&docid=68184185&x=4337',
		'title': '',
		'imageId': '68184185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932342&docid=68184198&x=4337',
		'title': '',
		'imageId': '68184198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932342';

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