var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013453&docid=70044227&x=168',
		'title': '',
		'imageId': '70044227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013453&docid=70044228&x=168',
		'title': '',
		'imageId': '70044228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013453&docid=70044229&x=168',
		'title': '',
		'imageId': '70044229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013453&docid=70044230&x=168',
		'title': '',
		'imageId': '70044230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013453&docid=70044231&x=168',
		'title': '',
		'imageId': '70044231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013453&docid=70044232&x=168',
		'title': '',
		'imageId': '70044232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013453&docid=70044234&x=168',
		'title': '',
		'imageId': '70044234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013453&docid=70044235&x=168',
		'title': '',
		'imageId': '70044235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013453&docid=70044236&x=168',
		'title': '',
		'imageId': '70044236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013453&docid=70044237&x=168',
		'title': '',
		'imageId': '70044237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013453&docid=70044256&x=168',
		'title': '',
		'imageId': '70044256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013453';

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