var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4043595&docid=65001220&x=4545',
		'title': '',
		'imageId': '65001220',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043595&docid=67191551&x=4545',
		'title': '',
		'imageId': '67191551',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043595&docid=67191555&x=4545',
		'title': '',
		'imageId': '67191555',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043595&docid=61257206&x=4545',
		'title': '',
		'imageId': '61257206',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043595&docid=61257213&x=4545',
		'title': '',
		'imageId': '61257213',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043595&docid=61257200&x=4545',
		'title': '',
		'imageId': '61257200',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043595&docid=65001226&x=4545',
		'title': '',
		'imageId': '65001226',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043595&docid=60553178&x=4545',
		'title': '',
		'imageId': '60553178',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043595&docid=60553182&x=4545',
		'title': '',
		'imageId': '60553182',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043595&docid=60553188&x=4545',
		'title': '',
		'imageId': '60553188',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043595&docid=60553192&x=4545',
		'title': '',
		'imageId': '60553192',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4043595';

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