var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216090&x=3644',
		'title': '',
		'imageId': '70216090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216062&x=3644',
		'title': '',
		'imageId': '70216062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216064&x=3644',
		'title': '',
		'imageId': '70216064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216080&x=3644',
		'title': '',
		'imageId': '70216080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216096&x=3644',
		'title': '',
		'imageId': '70216096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216097&x=3644',
		'title': '',
		'imageId': '70216097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216109&x=3644',
		'title': '',
		'imageId': '70216109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216081&x=3644',
		'title': '',
		'imageId': '70216081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216112&x=3644',
		'title': '',
		'imageId': '70216112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216111&x=3644',
		'title': '',
		'imageId': '70216111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216061&x=3644',
		'title': '',
		'imageId': '70216061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216063&x=3644',
		'title': '',
		'imageId': '70216063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216093&x=3644',
		'title': '',
		'imageId': '70216093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216079&x=3644',
		'title': '',
		'imageId': '70216079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216059&x=3644',
		'title': '',
		'imageId': '70216059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216114&x=3644',
		'title': '',
		'imageId': '70216114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216116&x=3644',
		'title': '',
		'imageId': '70216116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216094&x=3644',
		'title': '',
		'imageId': '70216094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216095&x=3644',
		'title': '',
		'imageId': '70216095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216060&x=3644',
		'title': '',
		'imageId': '70216060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216078&x=3644',
		'title': '',
		'imageId': '70216078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019432&docid=70216077&x=3644',
		'title': '',
		'imageId': '70216077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019432';

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