var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3887225&docid=67279077&x=60',
		'title': '',
		'imageId': '67279077',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887225&docid=67279080&x=60',
		'title': '',
		'imageId': '67279080',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887225&docid=67279086&x=60',
		'title': '',
		'imageId': '67279086',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887225&docid=67279089&x=60',
		'title': '',
		'imageId': '67279089',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887225&docid=67279093&x=60',
		'title': '',
		'imageId': '67279093',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887225&docid=67279096&x=60',
		'title': '',
		'imageId': '67279096',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887225&docid=67279099&x=60',
		'title': '',
		'imageId': '67279099',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887225&docid=67279102&x=60',
		'title': '',
		'imageId': '67279102',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887225&docid=67279105&x=60',
		'title': '',
		'imageId': '67279105',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887225&docid=67279108&x=60',
		'title': '',
		'imageId': '67279108',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887225&docid=67566995&x=60',
		'title': '',
		'imageId': '67566995',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3887225';

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