var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006863&docid=67684759&x=3156',
		'title': '',
		'imageId': '67684759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006863&docid=67684768&x=3156',
		'title': '',
		'imageId': '67684768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006863&docid=67684763&x=3156',
		'title': '',
		'imageId': '67684763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006863&docid=67684762&x=3156',
		'title': '',
		'imageId': '67684762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006863&docid=67684760&x=3156',
		'title': '',
		'imageId': '67684760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006863&docid=67684765&x=3156',
		'title': '',
		'imageId': '67684765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006863&docid=67684761&x=3156',
		'title': '',
		'imageId': '67684761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006863&docid=67684767&x=3156',
		'title': '',
		'imageId': '67684767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006863&docid=67684769&x=3156',
		'title': '',
		'imageId': '67684769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006863&docid=67684764&x=3156',
		'title': '',
		'imageId': '67684764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006863';

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