var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013484&docid=70045226&x=578',
		'title': '',
		'imageId': '70045226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013484&docid=70045229&x=578',
		'title': '',
		'imageId': '70045229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013484&docid=70045232&x=578',
		'title': '',
		'imageId': '70045232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013484&docid=70045235&x=578',
		'title': '',
		'imageId': '70045235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013484&docid=70045238&x=578',
		'title': '',
		'imageId': '70045238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013484&docid=70045241&x=578',
		'title': '',
		'imageId': '70045241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013484&docid=70045244&x=578',
		'title': '',
		'imageId': '70045244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013484&docid=70045247&x=578',
		'title': '',
		'imageId': '70045247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013484&docid=70045250&x=578',
		'title': '',
		'imageId': '70045250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013484&docid=70045253&x=578',
		'title': '',
		'imageId': '70045253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013484&docid=70045256&x=578',
		'title': '',
		'imageId': '70045256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013484';

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