var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884120&x=2047',
		'title': '',
		'imageId': '68884120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884122&x=2047',
		'title': '',
		'imageId': '68884122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884124&x=2047',
		'title': '',
		'imageId': '68884124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884123&x=2047',
		'title': '',
		'imageId': '68884123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884127&x=2047',
		'title': '',
		'imageId': '68884127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884121&x=2047',
		'title': '',
		'imageId': '68884121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884142&x=2047',
		'title': '',
		'imageId': '68884142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884144&x=2047',
		'title': '',
		'imageId': '68884144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884134&x=2047',
		'title': '',
		'imageId': '68884134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884139&x=2047',
		'title': '',
		'imageId': '68884139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884140&x=2047',
		'title': '',
		'imageId': '68884140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884145&x=2047',
		'title': '',
		'imageId': '68884145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884148&x=2047',
		'title': '',
		'imageId': '68884148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884153&x=2047',
		'title': '',
		'imageId': '68884153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884154&x=2047',
		'title': '',
		'imageId': '68884154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884159&x=2047',
		'title': '',
		'imageId': '68884159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884160&x=2047',
		'title': '',
		'imageId': '68884160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884163&x=2047',
		'title': '',
		'imageId': '68884163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884168&x=2047',
		'title': '',
		'imageId': '68884168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884176&x=2047',
		'title': '',
		'imageId': '68884176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884173&x=2047',
		'title': '',
		'imageId': '68884173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963181&docid=68884177&x=2047',
		'title': '',
		'imageId': '68884177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963181';

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