var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017192&docid=70162606&x=5352',
		'title': '',
		'imageId': '70162606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017192&docid=70162598&x=5352',
		'title': '',
		'imageId': '70162598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017192&docid=70162599&x=5352',
		'title': '',
		'imageId': '70162599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017192&docid=70162602&x=5352',
		'title': '',
		'imageId': '70162602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017192&docid=70162607&x=5352',
		'title': '',
		'imageId': '70162607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017192&docid=70162609&x=5352',
		'title': '',
		'imageId': '70162609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017192&docid=70162597&x=5352',
		'title': '',
		'imageId': '70162597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017192&docid=70162604&x=5352',
		'title': '',
		'imageId': '70162604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017192&docid=70162596&x=5352',
		'title': '',
		'imageId': '70162596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017192&docid=70162610&x=5352',
		'title': '',
		'imageId': '70162610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017192&docid=70162601&x=5352',
		'title': '',
		'imageId': '70162601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017192&docid=70162603&x=5352',
		'title': '',
		'imageId': '70162603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017192&docid=70162611&x=5352',
		'title': '',
		'imageId': '70162611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017192&docid=70162605&x=5352',
		'title': '',
		'imageId': '70162605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017192&docid=70162600&x=5352',
		'title': '',
		'imageId': '70162600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017192&docid=70162608&x=5352',
		'title': '',
		'imageId': '70162608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017192';

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