var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3959895&docid=68819114&x=273',
		'title': '',
		'imageId': '68819114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959895&docid=68819116&x=273',
		'title': '',
		'imageId': '68819116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959895&docid=68819121&x=273',
		'title': '',
		'imageId': '68819121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959895&docid=68819112&x=273',
		'title': '',
		'imageId': '68819112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959895&docid=68819113&x=273',
		'title': '',
		'imageId': '68819113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959895&docid=68819111&x=273',
		'title': '',
		'imageId': '68819111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959895&docid=68819117&x=273',
		'title': '',
		'imageId': '68819117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959895&docid=68819120&x=273',
		'title': '',
		'imageId': '68819120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959895&docid=68819118&x=273',
		'title': '',
		'imageId': '68819118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959895&docid=68819115&x=273',
		'title': '',
		'imageId': '68819115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959895&docid=68819119&x=273',
		'title': '',
		'imageId': '68819119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3959895';

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