var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922352&docid=67958499&x=471',
		'title': '',
		'imageId': '67958499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922352&docid=67958500&x=471',
		'title': '',
		'imageId': '67958500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922352&docid=67958501&x=471',
		'title': '',
		'imageId': '67958501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922352&docid=67958502&x=471',
		'title': '',
		'imageId': '67958502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922352&docid=67958503&x=471',
		'title': '',
		'imageId': '67958503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922352&docid=67958504&x=471',
		'title': '',
		'imageId': '67958504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922352&docid=67958505&x=471',
		'title': '',
		'imageId': '67958505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922352&docid=67958506&x=471',
		'title': '',
		'imageId': '67958506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922352&docid=67958507&x=471',
		'title': '',
		'imageId': '67958507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922352&docid=67958508&x=471',
		'title': '',
		'imageId': '67958508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922352';

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