var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019168&docid=70208726&x=1215',
		'title': '',
		'imageId': '70208726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019168&docid=70208727&x=1215',
		'title': '',
		'imageId': '70208727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019168&docid=70208728&x=1215',
		'title': '',
		'imageId': '70208728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019168&docid=70208729&x=1215',
		'title': '',
		'imageId': '70208729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019168&docid=70208730&x=1215',
		'title': '',
		'imageId': '70208730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019168&docid=70208731&x=1215',
		'title': '',
		'imageId': '70208731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019168&docid=70208725&x=1215',
		'title': '',
		'imageId': '70208725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019168&docid=70208734&x=1215',
		'title': '',
		'imageId': '70208734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019168&docid=70208738&x=1215',
		'title': '',
		'imageId': '70208738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019168&docid=70208739&x=1215',
		'title': '',
		'imageId': '70208739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019168';

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