var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4072321&docid=71509197&x=810',
		'title': '',
		'imageId': '71509197',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072321&docid=71509202&x=810',
		'title': '',
		'imageId': '71509202',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072321&docid=71509204&x=810',
		'title': '',
		'imageId': '71509204',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072321&docid=71509199&x=810',
		'title': '',
		'imageId': '71509199',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072321&docid=71509203&x=810',
		'title': '',
		'imageId': '71509203',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072321&docid=71509205&x=810',
		'title': '',
		'imageId': '71509205',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072321&docid=71509200&x=810',
		'title': '',
		'imageId': '71509200',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072321&docid=71509206&x=810',
		'title': '',
		'imageId': '71509206',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072321&docid=71509201&x=810',
		'title': '',
		'imageId': '71509201',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072321&docid=71509196&x=810',
		'title': '',
		'imageId': '71509196',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072321&docid=71509198&x=810',
		'title': '',
		'imageId': '71509198',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4072321';

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