var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932911&docid=67386879&x=146',
		'title': '',
		'imageId': '67386879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932911&docid=67386881&x=146',
		'title': '',
		'imageId': '67386881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932911&docid=67386882&x=146',
		'title': '',
		'imageId': '67386882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932911&docid=67386883&x=146',
		'title': '',
		'imageId': '67386883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932911&docid=67386884&x=146',
		'title': '',
		'imageId': '67386884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932911&docid=67386885&x=146',
		'title': '',
		'imageId': '67386885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932911&docid=67386886&x=146',
		'title': '',
		'imageId': '67386886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932911&docid=67386887&x=146',
		'title': '',
		'imageId': '67386887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932911&docid=67386888&x=146',
		'title': '',
		'imageId': '67386888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932911&docid=67386889&x=146',
		'title': '',
		'imageId': '67386889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932911&docid=67386890&x=146',
		'title': '',
		'imageId': '67386890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932911';

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