var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=476682&docid=2605905&x=4040',
		'title': '',
		'imageId': '2605905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476682&docid=2605908&x=4040',
		'title': '',
		'imageId': '2605908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476682&docid=2605911&x=4040',
		'title': '',
		'imageId': '2605911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476682&docid=2605914&x=4040',
		'title': '',
		'imageId': '2605914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476682&docid=2605899&x=4040',
		'title': '',
		'imageId': '2605899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476682&docid=2605918&x=4040',
		'title': '',
		'imageId': '2605918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476682&docid=2605922&x=4040',
		'title': '',
		'imageId': '2605922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #476682';

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