var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3959717&docid=67609150&x=3331',
		'title': '',
		'imageId': '67609150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959717&docid=67609167&x=3331',
		'title': '',
		'imageId': '67609167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959717&docid=67609170&x=3331',
		'title': '',
		'imageId': '67609170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959717&docid=67609159&x=3331',
		'title': '',
		'imageId': '67609159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959717&docid=67609153&x=3331',
		'title': '',
		'imageId': '67609153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959717&docid=67609173&x=3331',
		'title': '',
		'imageId': '67609173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959717&docid=67609182&x=3331',
		'title': '',
		'imageId': '67609182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3959717';

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