var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3967101&docid=65185188&x=152',
		'title': '',
		'imageId': '65185188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967101&docid=65185186&x=152',
		'title': '',
		'imageId': '65185186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967101&docid=65185184&x=152',
		'title': '',
		'imageId': '65185184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967101&docid=65185190&x=152',
		'title': '',
		'imageId': '65185190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967101&docid=65185185&x=152',
		'title': '',
		'imageId': '65185185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967101&docid=65185183&x=152',
		'title': '',
		'imageId': '65185183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967101&docid=65185181&x=152',
		'title': '',
		'imageId': '65185181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967101&docid=65185205&x=152',
		'title': '',
		'imageId': '65185205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967101&docid=65185191&x=152',
		'title': '',
		'imageId': '65185191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967101&docid=65185180&x=152',
		'title': '',
		'imageId': '65185180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967101&docid=65185182&x=152',
		'title': '',
		'imageId': '65185182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3967101';

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