var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141608&x=3835',
		'title': '',
		'imageId': '68141608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141613&x=3835',
		'title': '',
		'imageId': '68141613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141599&x=3835',
		'title': '',
		'imageId': '68141599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141612&x=3835',
		'title': '',
		'imageId': '68141612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141596&x=3835',
		'title': '',
		'imageId': '68141596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141606&x=3835',
		'title': '',
		'imageId': '68141606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141616&x=3835',
		'title': '',
		'imageId': '68141616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141618&x=3835',
		'title': '',
		'imageId': '68141618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141615&x=3835',
		'title': '',
		'imageId': '68141615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141605&x=3835',
		'title': '',
		'imageId': '68141605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141617&x=3835',
		'title': '',
		'imageId': '68141617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141623&x=3835',
		'title': '',
		'imageId': '68141623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141594&x=3835',
		'title': '',
		'imageId': '68141594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141620&x=3835',
		'title': '',
		'imageId': '68141620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141621&x=3835',
		'title': '',
		'imageId': '68141621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141607&x=3835',
		'title': '',
		'imageId': '68141607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141619&x=3835',
		'title': '',
		'imageId': '68141619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141624&x=3835',
		'title': '',
		'imageId': '68141624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141601&x=3835',
		'title': '',
		'imageId': '68141601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141597&x=3835',
		'title': '',
		'imageId': '68141597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930682&docid=68141603&x=3835',
		'title': '',
		'imageId': '68141603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930682';

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