var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179593&docid=626918&x=2229',
		'title': '',
		'imageId': '626918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179593&docid=626919&x=2229',
		'title': '',
		'imageId': '626919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179593&docid=626920&x=2229',
		'title': '',
		'imageId': '626920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179593&docid=626921&x=2229',
		'title': '',
		'imageId': '626921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179593&docid=626922&x=2229',
		'title': '',
		'imageId': '626922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179593&docid=626923&x=2229',
		'title': '',
		'imageId': '626923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179593&docid=626924&x=2229',
		'title': '',
		'imageId': '626924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179593&docid=626925&x=2229',
		'title': '',
		'imageId': '626925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179593';

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