var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3899953&docid=67403354&x=2247',
		'title': '',
		'imageId': '67403354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899953&docid=67403349&x=2247',
		'title': '',
		'imageId': '67403349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899953&docid=67403355&x=2247',
		'title': '',
		'imageId': '67403355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899953&docid=67403351&x=2247',
		'title': '',
		'imageId': '67403351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899953&docid=67403350&x=2247',
		'title': '',
		'imageId': '67403350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899953&docid=67403352&x=2247',
		'title': '',
		'imageId': '67403352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899953&docid=67403353&x=2247',
		'title': '',
		'imageId': '67403353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899953&docid=67403372&x=2247',
		'title': '',
		'imageId': '67403372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899953&docid=67403371&x=2247',
		'title': '',
		'imageId': '67403371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899953&docid=67403373&x=2247',
		'title': '',
		'imageId': '67403373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3899953';

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