var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261452&x=1837',
		'title': '',
		'imageId': '68261452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261456&x=1837',
		'title': '',
		'imageId': '68261456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261451&x=1837',
		'title': '',
		'imageId': '68261451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261458&x=1837',
		'title': '',
		'imageId': '68261458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261465&x=1837',
		'title': '',
		'imageId': '68261465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261460&x=1837',
		'title': '',
		'imageId': '68261460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261454&x=1837',
		'title': '',
		'imageId': '68261454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261450&x=1837',
		'title': '',
		'imageId': '68261450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261457&x=1837',
		'title': '',
		'imageId': '68261457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261459&x=1837',
		'title': '',
		'imageId': '68261459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261464&x=1837',
		'title': '',
		'imageId': '68261464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261461&x=1837',
		'title': '',
		'imageId': '68261461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261449&x=1837',
		'title': '',
		'imageId': '68261449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261462&x=1837',
		'title': '',
		'imageId': '68261462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261453&x=1837',
		'title': '',
		'imageId': '68261453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261468&x=1837',
		'title': '',
		'imageId': '68261468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261466&x=1837',
		'title': '',
		'imageId': '68261466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261467&x=1837',
		'title': '',
		'imageId': '68261467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261455&x=1837',
		'title': '',
		'imageId': '68261455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947916&docid=68261463&x=1837',
		'title': '',
		'imageId': '68261463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947916';

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