var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3767856&docid=64025172&x=913',
		'title': '',
		'imageId': '64025172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3767856&docid=64025175&x=913',
		'title': '',
		'imageId': '64025175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3767856&docid=64025174&x=913',
		'title': '',
		'imageId': '64025174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3767856&docid=64025168&x=913',
		'title': '',
		'imageId': '64025168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3767856&docid=64025170&x=913',
		'title': '',
		'imageId': '64025170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3767856&docid=64025177&x=913',
		'title': '',
		'imageId': '64025177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3767856&docid=64025169&x=913',
		'title': '',
		'imageId': '64025169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3767856&docid=64025176&x=913',
		'title': '',
		'imageId': '64025176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3767856&docid=64025171&x=913',
		'title': '',
		'imageId': '64025171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3767856&docid=64025173&x=913',
		'title': '',
		'imageId': '64025173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3767856';

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