var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910673&docid=67653922&x=3149',
		'title': '',
		'imageId': '67653922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910673&docid=67653923&x=3149',
		'title': '',
		'imageId': '67653923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910673&docid=67653924&x=3149',
		'title': '',
		'imageId': '67653924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910673&docid=67653925&x=3149',
		'title': '',
		'imageId': '67653925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910673&docid=67653926&x=3149',
		'title': '',
		'imageId': '67653926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910673&docid=67653927&x=3149',
		'title': '',
		'imageId': '67653927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910673&docid=67653928&x=3149',
		'title': '',
		'imageId': '67653928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910673&docid=67653929&x=3149',
		'title': '',
		'imageId': '67653929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910673&docid=67653930&x=3149',
		'title': '',
		'imageId': '67653930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910673&docid=67653931&x=3149',
		'title': '',
		'imageId': '67653931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910673&docid=67653932&x=3149',
		'title': '',
		'imageId': '67653932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910673&docid=67653933&x=3149',
		'title': '',
		'imageId': '67653933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910673';

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