var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929535&docid=68120078&x=5810',
		'title': '',
		'imageId': '68120078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929535&docid=68120080&x=5810',
		'title': '',
		'imageId': '68120080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929535&docid=68120074&x=5810',
		'title': '',
		'imageId': '68120074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929535&docid=68120072&x=5810',
		'title': '',
		'imageId': '68120072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929535&docid=68120079&x=5810',
		'title': '',
		'imageId': '68120079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929535&docid=68120077&x=5810',
		'title': '',
		'imageId': '68120077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929535&docid=68120081&x=5810',
		'title': '',
		'imageId': '68120081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929535&docid=68120075&x=5810',
		'title': '',
		'imageId': '68120075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929535&docid=68120073&x=5810',
		'title': '',
		'imageId': '68120073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929535&docid=68120071&x=5810',
		'title': '',
		'imageId': '68120071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929535&docid=68120076&x=5810',
		'title': '',
		'imageId': '68120076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929535';

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