var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016892&docid=70150395&x=2026',
		'title': '',
		'imageId': '70150395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016892&docid=70150393&x=2026',
		'title': '',
		'imageId': '70150393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016892&docid=70150392&x=2026',
		'title': '',
		'imageId': '70150392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016892&docid=70150402&x=2026',
		'title': '',
		'imageId': '70150402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016892&docid=70150394&x=2026',
		'title': '',
		'imageId': '70150394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016892&docid=70150401&x=2026',
		'title': '',
		'imageId': '70150401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016892&docid=70150396&x=2026',
		'title': '',
		'imageId': '70150396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016892&docid=70150404&x=2026',
		'title': '',
		'imageId': '70150404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016892&docid=70150405&x=2026',
		'title': '',
		'imageId': '70150405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016892&docid=70150407&x=2026',
		'title': '',
		'imageId': '70150407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016892&docid=70150408&x=2026',
		'title': '',
		'imageId': '70150408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016892&docid=70150397&x=2026',
		'title': '',
		'imageId': '70150397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016892&docid=70150400&x=2026',
		'title': '',
		'imageId': '70150400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016892&docid=70150406&x=2026',
		'title': '',
		'imageId': '70150406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016892&docid=70150399&x=2026',
		'title': '',
		'imageId': '70150399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016892&docid=70150403&x=2026',
		'title': '',
		'imageId': '70150403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016892';

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