var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431814&x=4741',
		'title': '',
		'imageId': '67431814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431813&x=4741',
		'title': '',
		'imageId': '67431813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431811&x=4741',
		'title': '',
		'imageId': '67431811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431812&x=4741',
		'title': '',
		'imageId': '67431812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431810&x=4741',
		'title': '',
		'imageId': '67431810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431825&x=4741',
		'title': '',
		'imageId': '67431825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431829&x=4741',
		'title': '',
		'imageId': '67431829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431828&x=4741',
		'title': '',
		'imageId': '67431828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431827&x=4741',
		'title': '',
		'imageId': '67431827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431826&x=4741',
		'title': '',
		'imageId': '67431826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431858&x=4741',
		'title': '',
		'imageId': '67431858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431857&x=4741',
		'title': '',
		'imageId': '67431857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431859&x=4741',
		'title': '',
		'imageId': '67431859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431860&x=4741',
		'title': '',
		'imageId': '67431860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431861&x=4741',
		'title': '',
		'imageId': '67431861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431901&x=4741',
		'title': '',
		'imageId': '67431901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431904&x=4741',
		'title': '',
		'imageId': '67431904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431900&x=4741',
		'title': '',
		'imageId': '67431900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431903&x=4741',
		'title': '',
		'imageId': '67431903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431902&x=4741',
		'title': '',
		'imageId': '67431902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431897&x=4741',
		'title': '',
		'imageId': '67431897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924199&docid=67431915&x=4741',
		'title': '',
		'imageId': '67431915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3924199';

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