var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017388&docid=70167211&x=3645',
		'title': '',
		'imageId': '70167211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017388&docid=70167196&x=3645',
		'title': '',
		'imageId': '70167196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017388&docid=70167205&x=3645',
		'title': '',
		'imageId': '70167205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017388&docid=70167210&x=3645',
		'title': '',
		'imageId': '70167210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017388&docid=70167209&x=3645',
		'title': '',
		'imageId': '70167209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017388&docid=70167206&x=3645',
		'title': '',
		'imageId': '70167206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017388&docid=70167207&x=3645',
		'title': '',
		'imageId': '70167207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017388&docid=70167212&x=3645',
		'title': '',
		'imageId': '70167212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017388&docid=70167208&x=3645',
		'title': '',
		'imageId': '70167208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017388&docid=70167204&x=3645',
		'title': '',
		'imageId': '70167204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017388&docid=70167213&x=3645',
		'title': '',
		'imageId': '70167213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017388';

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