var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950466&docid=68595807&x=1629',
		'title': '',
		'imageId': '68595807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950466&docid=68595810&x=1629',
		'title': '',
		'imageId': '68595810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950466&docid=68595808&x=1629',
		'title': '',
		'imageId': '68595808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950466&docid=68595806&x=1629',
		'title': '',
		'imageId': '68595806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950466&docid=68595820&x=1629',
		'title': '',
		'imageId': '68595820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950466&docid=68595815&x=1629',
		'title': '',
		'imageId': '68595815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950466&docid=68595819&x=1629',
		'title': '',
		'imageId': '68595819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950466&docid=68595818&x=1629',
		'title': '',
		'imageId': '68595818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950466&docid=68595805&x=1629',
		'title': '',
		'imageId': '68595805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950466&docid=68595809&x=1629',
		'title': '',
		'imageId': '68595809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950466&docid=68595813&x=1629',
		'title': '',
		'imageId': '68595813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950466&docid=68595817&x=1629',
		'title': '',
		'imageId': '68595817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950466&docid=68595814&x=1629',
		'title': '',
		'imageId': '68595814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950466&docid=68595816&x=1629',
		'title': '',
		'imageId': '68595816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950466&docid=68595812&x=1629',
		'title': '',
		'imageId': '68595812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950466&docid=68595821&x=1629',
		'title': '',
		'imageId': '68595821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950466&docid=68595811&x=1629',
		'title': '',
		'imageId': '68595811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950466';

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