var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929556&docid=68120353&x=740',
		'title': '',
		'imageId': '68120353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929556&docid=68120351&x=740',
		'title': '',
		'imageId': '68120351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929556&docid=68120354&x=740',
		'title': '',
		'imageId': '68120354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929556&docid=68120352&x=740',
		'title': '',
		'imageId': '68120352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929556&docid=68120355&x=740',
		'title': '',
		'imageId': '68120355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929556&docid=68120356&x=740',
		'title': '',
		'imageId': '68120356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929556&docid=68120357&x=740',
		'title': '',
		'imageId': '68120357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929556&docid=68120358&x=740',
		'title': '',
		'imageId': '68120358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929556&docid=68120359&x=740',
		'title': '',
		'imageId': '68120359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929556&docid=68120349&x=740',
		'title': '',
		'imageId': '68120349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929556&docid=68120350&x=740',
		'title': '',
		'imageId': '68120350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929556';

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