var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3967079&docid=68970445&x=2719',
		'title': '',
		'imageId': '68970445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967079&docid=68970446&x=2719',
		'title': '',
		'imageId': '68970446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967079&docid=68970447&x=2719',
		'title': '',
		'imageId': '68970447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967079&docid=68970448&x=2719',
		'title': '',
		'imageId': '68970448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967079&docid=68970449&x=2719',
		'title': '',
		'imageId': '68970449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967079&docid=68970450&x=2719',
		'title': '',
		'imageId': '68970450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967079&docid=68970451&x=2719',
		'title': '',
		'imageId': '68970451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967079&docid=68970452&x=2719',
		'title': '',
		'imageId': '68970452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967079&docid=68970453&x=2719',
		'title': '',
		'imageId': '68970453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967079&docid=68970458&x=2719',
		'title': '',
		'imageId': '68970458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3967079';

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