var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=928572&docid=7447021&x=2645',
		'title': '',
		'imageId': '7447021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928572&docid=7447024&x=2645',
		'title': '',
		'imageId': '7447024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928572&docid=7447027&x=2645',
		'title': '',
		'imageId': '7447027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928572&docid=7447030&x=2645',
		'title': '',
		'imageId': '7447030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928572&docid=7447033&x=2645',
		'title': '',
		'imageId': '7447033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928572&docid=7447039&x=2645',
		'title': '',
		'imageId': '7447039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928572&docid=7447042&x=2645',
		'title': '',
		'imageId': '7447042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928572&docid=7447045&x=2645',
		'title': '',
		'imageId': '7447045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928572&docid=7447051&x=2645',
		'title': '',
		'imageId': '7447051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928572&docid=7447054&x=2645',
		'title': '',
		'imageId': '7447054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928572&docid=7447057&x=2645',
		'title': '',
		'imageId': '7447057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=928572&docid=7447060&x=2645',
		'title': '',
		'imageId': '7447060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #928572';

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