var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4027558&docid=70392192&x=4050',
		'title': '',
		'imageId': '70392192',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027558&docid=70392165&x=4050',
		'title': '',
		'imageId': '70392165',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027558&docid=70392168&x=4050',
		'title': '',
		'imageId': '70392168',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027558&docid=70392186&x=4050',
		'title': '',
		'imageId': '70392186',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027558&docid=70392183&x=4050',
		'title': '',
		'imageId': '70392183',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027558&docid=70392172&x=4050',
		'title': '',
		'imageId': '70392172',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027558&docid=70392176&x=4050',
		'title': '',
		'imageId': '70392176',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027558&docid=70392191&x=4050',
		'title': '',
		'imageId': '70392191',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027558&docid=70392195&x=4050',
		'title': '',
		'imageId': '70392195',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027558&docid=70392177&x=4050',
		'title': '',
		'imageId': '70392177',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027558&docid=70392180&x=4050',
		'title': '',
		'imageId': '70392180',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027558&docid=70392198&x=4050',
		'title': '',
		'imageId': '70392198',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027558&docid=70392160&x=4050',
		'title': '',
		'imageId': '70392160',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027558&docid=70392161&x=4050',
		'title': '',
		'imageId': '70392161',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027558&docid=70392163&x=4050',
		'title': '',
		'imageId': '70392163',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027558&docid=70392162&x=4050',
		'title': '',
		'imageId': '70392162',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027558&docid=70392164&x=4050',
		'title': '',
		'imageId': '70392164',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4027558';

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