var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3920931&docid=67932093&x=4615',
		'title': '',
		'imageId': '67932093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920931&docid=67932091&x=4615',
		'title': '',
		'imageId': '67932091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920931&docid=67932090&x=4615',
		'title': '',
		'imageId': '67932090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920931&docid=67932084&x=4615',
		'title': '',
		'imageId': '67932084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920931&docid=67932085&x=4615',
		'title': '',
		'imageId': '67932085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920931&docid=67932087&x=4615',
		'title': '',
		'imageId': '67932087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920931&docid=67932086&x=4615',
		'title': '',
		'imageId': '67932086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920931&docid=67932089&x=4615',
		'title': '',
		'imageId': '67932089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920931&docid=67932092&x=4615',
		'title': '',
		'imageId': '67932092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920931&docid=67932088&x=4615',
		'title': '',
		'imageId': '67932088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3920931';

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