var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3988719&docid=69462507&x=4558',
		'title': '',
		'imageId': '69462507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988719&docid=69462503&x=4558',
		'title': '',
		'imageId': '69462503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988719&docid=69462505&x=4558',
		'title': '',
		'imageId': '69462505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988719&docid=69462504&x=4558',
		'title': '',
		'imageId': '69462504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988719&docid=69462502&x=4558',
		'title': '',
		'imageId': '69462502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988719&docid=69462509&x=4558',
		'title': '',
		'imageId': '69462509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988719&docid=69462508&x=4558',
		'title': '',
		'imageId': '69462508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988719&docid=69462506&x=4558',
		'title': '',
		'imageId': '69462506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988719&docid=69502476&x=4558',
		'title': '',
		'imageId': '69502476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988719&docid=69502475&x=4558',
		'title': '',
		'imageId': '69502475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988719&docid=69502478&x=4558',
		'title': '',
		'imageId': '69502478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988719&docid=69502477&x=4558',
		'title': '',
		'imageId': '69502477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3988719';

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