var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015284&docid=70090973&x=217',
		'title': '',
		'imageId': '70090973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015284&docid=70090974&x=217',
		'title': '',
		'imageId': '70090974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015284&docid=70090975&x=217',
		'title': '',
		'imageId': '70090975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015284&docid=70090976&x=217',
		'title': '',
		'imageId': '70090976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015284&docid=70090977&x=217',
		'title': '',
		'imageId': '70090977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015284&docid=70090978&x=217',
		'title': '',
		'imageId': '70090978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015284&docid=70090979&x=217',
		'title': '',
		'imageId': '70090979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015284&docid=70090980&x=217',
		'title': '',
		'imageId': '70090980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015284&docid=70090981&x=217',
		'title': '',
		'imageId': '70090981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015284&docid=70090985&x=217',
		'title': '',
		'imageId': '70090985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015284&docid=70090986&x=217',
		'title': '',
		'imageId': '70090986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015284';

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