var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3908908&docid=67609831&x=213',
		'title': '',
		'imageId': '67609831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908908&docid=67609823&x=213',
		'title': '',
		'imageId': '67609823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908908&docid=67609837&x=213',
		'title': '',
		'imageId': '67609837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908908&docid=67609835&x=213',
		'title': '',
		'imageId': '67609835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908908&docid=67609834&x=213',
		'title': '',
		'imageId': '67609834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908908&docid=67609833&x=213',
		'title': '',
		'imageId': '67609833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908908&docid=67609832&x=213',
		'title': '',
		'imageId': '67609832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908908&docid=67609829&x=213',
		'title': '',
		'imageId': '67609829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908908&docid=67609828&x=213',
		'title': '',
		'imageId': '67609828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908908&docid=67609825&x=213',
		'title': '',
		'imageId': '67609825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908908&docid=67609824&x=213',
		'title': '',
		'imageId': '67609824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908908&docid=67609822&x=213',
		'title': '',
		'imageId': '67609822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908908&docid=67609826&x=213',
		'title': '',
		'imageId': '67609826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908908&docid=67609827&x=213',
		'title': '',
		'imageId': '67609827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908908&docid=67609830&x=213',
		'title': '',
		'imageId': '67609830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908908&docid=67609836&x=213',
		'title': '',
		'imageId': '67609836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3908908';

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