var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013455&docid=70044317&x=1641',
		'title': '',
		'imageId': '70044317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013455&docid=70044318&x=1641',
		'title': '',
		'imageId': '70044318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013455&docid=70044319&x=1641',
		'title': '',
		'imageId': '70044319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013455&docid=70044320&x=1641',
		'title': '',
		'imageId': '70044320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013455&docid=70044321&x=1641',
		'title': '',
		'imageId': '70044321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013455&docid=70044322&x=1641',
		'title': '',
		'imageId': '70044322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013455&docid=70044323&x=1641',
		'title': '',
		'imageId': '70044323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013455&docid=70044324&x=1641',
		'title': '',
		'imageId': '70044324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013455&docid=70044325&x=1641',
		'title': '',
		'imageId': '70044325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013455&docid=70044326&x=1641',
		'title': '',
		'imageId': '70044326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013455';

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