var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3944297&docid=68446670&x=046',
		'title': '',
		'imageId': '68446670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944297&docid=68446642&x=046',
		'title': '',
		'imageId': '68446642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944297&docid=68446643&x=046',
		'title': '',
		'imageId': '68446643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944297&docid=68446644&x=046',
		'title': '',
		'imageId': '68446644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944297&docid=68446645&x=046',
		'title': '',
		'imageId': '68446645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944297&docid=68446646&x=046',
		'title': '',
		'imageId': '68446646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944297&docid=68446647&x=046',
		'title': '',
		'imageId': '68446647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944297&docid=68446648&x=046',
		'title': '',
		'imageId': '68446648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944297&docid=68446649&x=046',
		'title': '',
		'imageId': '68446649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944297&docid=68446658&x=046',
		'title': '',
		'imageId': '68446658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944297&docid=68446663&x=046',
		'title': '',
		'imageId': '68446663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3944297';

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