var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4000292&docid=69720176&x=5017',
		'title': '',
		'imageId': '69720176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000292&docid=69720177&x=5017',
		'title': '',
		'imageId': '69720177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000292&docid=69720180&x=5017',
		'title': '',
		'imageId': '69720180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000292&docid=69720179&x=5017',
		'title': '',
		'imageId': '69720179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000292&docid=69720178&x=5017',
		'title': '',
		'imageId': '69720178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000292&docid=69720181&x=5017',
		'title': '',
		'imageId': '69720181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000292&docid=69720182&x=5017',
		'title': '',
		'imageId': '69720182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000292&docid=69720185&x=5017',
		'title': '',
		'imageId': '69720185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000292&docid=69720183&x=5017',
		'title': '',
		'imageId': '69720183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000292&docid=69720184&x=5017',
		'title': '',
		'imageId': '69720184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000292&docid=69720186&x=5017',
		'title': '',
		'imageId': '69720186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4000292';

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