var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013599&docid=70049946&x=4439',
		'title': '',
		'imageId': '70049946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013599&docid=70049933&x=4439',
		'title': '',
		'imageId': '70049933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013599&docid=70049926&x=4439',
		'title': '',
		'imageId': '70049926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013599&docid=70049930&x=4439',
		'title': '',
		'imageId': '70049930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013599&docid=70049916&x=4439',
		'title': '',
		'imageId': '70049916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013599&docid=70049921&x=4439',
		'title': '',
		'imageId': '70049921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013599&docid=70048967&x=4439',
		'title': '',
		'imageId': '70048967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013599';

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