var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3885775&docid=67015774&x=2333',
		'title': '',
		'imageId': '67015774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885775&docid=67015775&x=2333',
		'title': '',
		'imageId': '67015775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885775&docid=67015776&x=2333',
		'title': '',
		'imageId': '67015776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885775&docid=67015779&x=2333',
		'title': '',
		'imageId': '67015779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885775&docid=67015780&x=2333',
		'title': '',
		'imageId': '67015780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885775&docid=67015782&x=2333',
		'title': '',
		'imageId': '67015782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885775&docid=67015783&x=2333',
		'title': '',
		'imageId': '67015783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885775&docid=67015784&x=2333',
		'title': '',
		'imageId': '67015784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885775&docid=67015785&x=2333',
		'title': '',
		'imageId': '67015785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885775&docid=67015786&x=2333',
		'title': '',
		'imageId': '67015786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885775&docid=67015787&x=2333',
		'title': '',
		'imageId': '67015787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885775&docid=67015781&x=2333',
		'title': '',
		'imageId': '67015781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3885775';

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