var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946252&docid=68488775&x=1556',
		'title': '',
		'imageId': '68488775',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946252&docid=68488777&x=1556',
		'title': '',
		'imageId': '68488777',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946252&docid=68488778&x=1556',
		'title': '',
		'imageId': '68488778',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946252&docid=68488779&x=1556',
		'title': '',
		'imageId': '68488779',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946252&docid=68488780&x=1556',
		'title': '',
		'imageId': '68488780',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946252&docid=68488782&x=1556',
		'title': '',
		'imageId': '68488782',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946252&docid=68488781&x=1556',
		'title': '',
		'imageId': '68488781',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946252&docid=68488783&x=1556',
		'title': '',
		'imageId': '68488783',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946252&docid=68488786&x=1556',
		'title': '',
		'imageId': '68488786',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946252&docid=68488784&x=1556',
		'title': '',
		'imageId': '68488784',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946252&docid=68488785&x=1556',
		'title': '',
		'imageId': '68488785',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946252';

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