var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3917768&docid=67848833&x=2240',
		'title': '',
		'imageId': '67848833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917768&docid=67848834&x=2240',
		'title': '',
		'imageId': '67848834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917768&docid=67848835&x=2240',
		'title': '',
		'imageId': '67848835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917768&docid=67848836&x=2240',
		'title': '',
		'imageId': '67848836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917768&docid=67848837&x=2240',
		'title': '',
		'imageId': '67848837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917768&docid=67848838&x=2240',
		'title': '',
		'imageId': '67848838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917768&docid=67848839&x=2240',
		'title': '',
		'imageId': '67848839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917768&docid=67848840&x=2240',
		'title': '',
		'imageId': '67848840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917768&docid=67848841&x=2240',
		'title': '',
		'imageId': '67848841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917768&docid=67848842&x=2240',
		'title': '',
		'imageId': '67848842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917768&docid=67848843&x=2240',
		'title': '',
		'imageId': '67848843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917768&docid=67848844&x=2240',
		'title': '',
		'imageId': '67848844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3917768';

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