var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014156&docid=69922351&x=5236',
		'title': '',
		'imageId': '69922351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014156&docid=69922352&x=5236',
		'title': '',
		'imageId': '69922352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014156&docid=69446527&x=5236',
		'title': '',
		'imageId': '69446527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014156&docid=69446523&x=5236',
		'title': '',
		'imageId': '69446523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014156&docid=69446530&x=5236',
		'title': '',
		'imageId': '69446530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014156&docid=69446526&x=5236',
		'title': '',
		'imageId': '69446526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014156&docid=69446531&x=5236',
		'title': '',
		'imageId': '69446531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014156&docid=69446524&x=5236',
		'title': '',
		'imageId': '69446524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014156&docid=69446520&x=5236',
		'title': '',
		'imageId': '69446520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014156&docid=69446522&x=5236',
		'title': '',
		'imageId': '69446522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014156';

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