var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951928&docid=68630265&x=4024',
		'title': '',
		'imageId': '68630265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951928&docid=68630266&x=4024',
		'title': '',
		'imageId': '68630266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951928&docid=68630267&x=4024',
		'title': '',
		'imageId': '68630267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951928&docid=68630268&x=4024',
		'title': '',
		'imageId': '68630268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951928&docid=68630269&x=4024',
		'title': '',
		'imageId': '68630269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951928&docid=68630270&x=4024',
		'title': '',
		'imageId': '68630270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951928&docid=68630271&x=4024',
		'title': '',
		'imageId': '68630271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951928&docid=68630272&x=4024',
		'title': '',
		'imageId': '68630272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951928&docid=68630273&x=4024',
		'title': '',
		'imageId': '68630273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951928&docid=68630274&x=4024',
		'title': '',
		'imageId': '68630274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951928';

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