var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3945068&docid=68465341&x=3729',
		'title': '',
		'imageId': '68465341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945068&docid=68465354&x=3729',
		'title': '',
		'imageId': '68465354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945068&docid=68465351&x=3729',
		'title': '',
		'imageId': '68465351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945068&docid=68465350&x=3729',
		'title': '',
		'imageId': '68465350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945068&docid=68465355&x=3729',
		'title': '',
		'imageId': '68465355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945068&docid=68465356&x=3729',
		'title': '',
		'imageId': '68465356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945068&docid=68465353&x=3729',
		'title': '',
		'imageId': '68465353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945068&docid=68465342&x=3729',
		'title': '',
		'imageId': '68465342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945068&docid=68465346&x=3729',
		'title': '',
		'imageId': '68465346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945068&docid=68465344&x=3729',
		'title': '',
		'imageId': '68465344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945068&docid=68465345&x=3729',
		'title': '',
		'imageId': '68465345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945068&docid=68465343&x=3729',
		'title': '',
		'imageId': '68465343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945068&docid=68465352&x=3729',
		'title': '',
		'imageId': '68465352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945068&docid=68465349&x=3729',
		'title': '',
		'imageId': '68465349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945068&docid=68465347&x=3729',
		'title': '',
		'imageId': '68465347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945068&docid=68465348&x=3729',
		'title': '',
		'imageId': '68465348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3945068';

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