var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3887382&docid=67850132&x=749',
		'title': '',
		'imageId': '67850132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887382&docid=67850134&x=749',
		'title': '',
		'imageId': '67850134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887382&docid=67850131&x=749',
		'title': '',
		'imageId': '67850131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887382&docid=67850135&x=749',
		'title': '',
		'imageId': '67850135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887382&docid=67850128&x=749',
		'title': '',
		'imageId': '67850128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887382&docid=67850129&x=749',
		'title': '',
		'imageId': '67850129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887382&docid=67850133&x=749',
		'title': '',
		'imageId': '67850133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887382&docid=67850130&x=749',
		'title': '',
		'imageId': '67850130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887382&docid=67951717&x=749',
		'title': '',
		'imageId': '67951717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887382&docid=67951716&x=749',
		'title': '',
		'imageId': '67951716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887382&docid=67951715&x=749',
		'title': '',
		'imageId': '67951715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887382&docid=67951718&x=749',
		'title': '',
		'imageId': '67951718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887382&docid=67951721&x=749',
		'title': '',
		'imageId': '67951721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887382&docid=67951720&x=749',
		'title': '',
		'imageId': '67951720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887382&docid=67951719&x=749',
		'title': '',
		'imageId': '67951719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887382&docid=67951722&x=749',
		'title': '',
		'imageId': '67951722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3887382';

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