var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978854&docid=69232304&x=456',
		'title': '',
		'imageId': '69232304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978854&docid=69232307&x=456',
		'title': '',
		'imageId': '69232307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978854&docid=69232310&x=456',
		'title': '',
		'imageId': '69232310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978854&docid=69232313&x=456',
		'title': '',
		'imageId': '69232313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978854&docid=69232317&x=456',
		'title': '',
		'imageId': '69232317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978854&docid=69232325&x=456',
		'title': '',
		'imageId': '69232325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978854&docid=69232328&x=456',
		'title': '',
		'imageId': '69232328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978854&docid=69232331&x=456',
		'title': '',
		'imageId': '69232331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978854&docid=69232334&x=456',
		'title': '',
		'imageId': '69232334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978854&docid=69232339&x=456',
		'title': '',
		'imageId': '69232339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978854&docid=69232342&x=456',
		'title': '',
		'imageId': '69232342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978854&docid=69232345&x=456',
		'title': '',
		'imageId': '69232345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978854';

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