var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179471&docid=625371&x=2827',
		'title': '',
		'imageId': '625371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179471&docid=625372&x=2827',
		'title': '',
		'imageId': '625372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179471&docid=625373&x=2827',
		'title': '',
		'imageId': '625373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179471&docid=625374&x=2827',
		'title': '',
		'imageId': '625374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179471&docid=625375&x=2827',
		'title': '',
		'imageId': '625375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179471&docid=625376&x=2827',
		'title': '',
		'imageId': '625376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179471&docid=625377&x=2827',
		'title': '',
		'imageId': '625377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179471&docid=625378&x=2827',
		'title': '',
		'imageId': '625378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179471&docid=625379&x=2827',
		'title': '',
		'imageId': '625379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179471&docid=625380&x=2827',
		'title': '',
		'imageId': '625380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179471&docid=625381&x=2827',
		'title': '',
		'imageId': '625381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179471&docid=625382&x=2827',
		'title': '',
		'imageId': '625382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179471';

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