var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3957057&docid=68752060&x=1811',
		'title': '',
		'imageId': '68752060',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957057&docid=68752065&x=1811',
		'title': '',
		'imageId': '68752065',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957057&docid=68752064&x=1811',
		'title': '',
		'imageId': '68752064',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957057&docid=68752067&x=1811',
		'title': '',
		'imageId': '68752067',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957057&docid=68752059&x=1811',
		'title': '',
		'imageId': '68752059',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957057&docid=68752066&x=1811',
		'title': '',
		'imageId': '68752066',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957057&docid=68752062&x=1811',
		'title': '',
		'imageId': '68752062',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957057&docid=68752063&x=1811',
		'title': '',
		'imageId': '68752063',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957057&docid=68752061&x=1811',
		'title': '',
		'imageId': '68752061',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957057&docid=68752069&x=1811',
		'title': '',
		'imageId': '68752069',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957057&docid=68752068&x=1811',
		'title': '',
		'imageId': '68752068',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3957057';

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