var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3888528&docid=67094127&x=5611',
		'title': '',
		'imageId': '67094127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888528&docid=67094128&x=5611',
		'title': '',
		'imageId': '67094128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888528&docid=67094130&x=5611',
		'title': '',
		'imageId': '67094130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888528&docid=67094132&x=5611',
		'title': '',
		'imageId': '67094132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888528&docid=67094134&x=5611',
		'title': '',
		'imageId': '67094134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888528&docid=67094135&x=5611',
		'title': '',
		'imageId': '67094135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888528&docid=67094136&x=5611',
		'title': '',
		'imageId': '67094136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3888528';

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