var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3944305&docid=68446928&x=055',
		'title': '',
		'imageId': '68446928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944305&docid=68446929&x=055',
		'title': '',
		'imageId': '68446929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944305&docid=68446930&x=055',
		'title': '',
		'imageId': '68446930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944305&docid=68446932&x=055',
		'title': '',
		'imageId': '68446932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944305&docid=68446933&x=055',
		'title': '',
		'imageId': '68446933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944305&docid=68446931&x=055',
		'title': '',
		'imageId': '68446931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944305&docid=68446936&x=055',
		'title': '',
		'imageId': '68446936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944305&docid=68446935&x=055',
		'title': '',
		'imageId': '68446935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944305&docid=68446934&x=055',
		'title': '',
		'imageId': '68446934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944305&docid=68446937&x=055',
		'title': '',
		'imageId': '68446937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3944305';

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