var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954689&docid=68693141&x=50',
		'title': '',
		'imageId': '68693141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954689&docid=68693140&x=50',
		'title': '',
		'imageId': '68693140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954689&docid=68693145&x=50',
		'title': '',
		'imageId': '68693145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954689&docid=68693150&x=50',
		'title': '',
		'imageId': '68693150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954689&docid=68693142&x=50',
		'title': '',
		'imageId': '68693142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954689&docid=68693146&x=50',
		'title': '',
		'imageId': '68693146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954689&docid=68693149&x=50',
		'title': '',
		'imageId': '68693149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954689&docid=68693143&x=50',
		'title': '',
		'imageId': '68693143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954689&docid=68693148&x=50',
		'title': '',
		'imageId': '68693148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954689&docid=68693144&x=50',
		'title': '',
		'imageId': '68693144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954689&docid=68693147&x=50',
		'title': '',
		'imageId': '68693147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954689';

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