var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4030925&docid=70479067&x=5343',
		'title': '',
		'imageId': '70479067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030925&docid=70479075&x=5343',
		'title': '',
		'imageId': '70479075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030925&docid=70479070&x=5343',
		'title': '',
		'imageId': '70479070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030925&docid=70479064&x=5343',
		'title': '',
		'imageId': '70479064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030925&docid=70479068&x=5343',
		'title': '',
		'imageId': '70479068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030925&docid=70479073&x=5343',
		'title': '',
		'imageId': '70479073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030925&docid=70479066&x=5343',
		'title': '',
		'imageId': '70479066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030925&docid=70479069&x=5343',
		'title': '',
		'imageId': '70479069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030925&docid=70479065&x=5343',
		'title': '',
		'imageId': '70479065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030925&docid=70479074&x=5343',
		'title': '',
		'imageId': '70479074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030925&docid=70479072&x=5343',
		'title': '',
		'imageId': '70479072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4030925';

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