var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3849118&docid=66136648&x=1153',
		'title': '',
		'imageId': '66136648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849118&docid=66135980&x=1153',
		'title': '',
		'imageId': '66135980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849118&docid=66135981&x=1153',
		'title': '',
		'imageId': '66135981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849118&docid=66135979&x=1153',
		'title': '',
		'imageId': '66135979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849118&docid=66135988&x=1153',
		'title': '',
		'imageId': '66135988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849118&docid=66135987&x=1153',
		'title': '',
		'imageId': '66135987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849118&docid=66135986&x=1153',
		'title': '',
		'imageId': '66135986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849118&docid=66135984&x=1153',
		'title': '',
		'imageId': '66135984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849118&docid=66135985&x=1153',
		'title': '',
		'imageId': '66135985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849118&docid=66135982&x=1153',
		'title': '',
		'imageId': '66135982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849118&docid=66135983&x=1153',
		'title': '',
		'imageId': '66135983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3849118';

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