var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3988398&docid=69171955&x=140',
		'title': '',
		'imageId': '69171955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988398&docid=69171964&x=140',
		'title': '',
		'imageId': '69171964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988398&docid=69171962&x=140',
		'title': '',
		'imageId': '69171962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988398&docid=69171965&x=140',
		'title': '',
		'imageId': '69171965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988398&docid=69171958&x=140',
		'title': '',
		'imageId': '69171958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988398&docid=69171956&x=140',
		'title': '',
		'imageId': '69171956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988398&docid=69171957&x=140',
		'title': '',
		'imageId': '69171957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988398&docid=69171963&x=140',
		'title': '',
		'imageId': '69171963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988398&docid=69171960&x=140',
		'title': '',
		'imageId': '69171960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988398&docid=69171961&x=140',
		'title': '',
		'imageId': '69171961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988398&docid=69171959&x=140',
		'title': '',
		'imageId': '69171959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3988398';

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