var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954562&docid=68693224&x=3926',
		'title': '',
		'imageId': '68693224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954562&docid=68693230&x=3926',
		'title': '',
		'imageId': '68693230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954562&docid=68693229&x=3926',
		'title': '',
		'imageId': '68693229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954562&docid=68693232&x=3926',
		'title': '',
		'imageId': '68693232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954562&docid=68693233&x=3926',
		'title': '',
		'imageId': '68693233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954562&docid=68693225&x=3926',
		'title': '',
		'imageId': '68693225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954562&docid=68693226&x=3926',
		'title': '',
		'imageId': '68693226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954562&docid=68693227&x=3926',
		'title': '',
		'imageId': '68693227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954562&docid=68693228&x=3926',
		'title': '',
		'imageId': '68693228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954562&docid=68693231&x=3926',
		'title': '',
		'imageId': '68693231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954562';

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