var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=915156&docid=7289293&x=202',
		'title': '',
		'imageId': '7289293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915156&docid=7289296&x=202',
		'title': '',
		'imageId': '7289296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915156&docid=7289302&x=202',
		'title': '',
		'imageId': '7289302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915156&docid=7289330&x=202',
		'title': '',
		'imageId': '7289330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915156&docid=7289365&x=202',
		'title': '',
		'imageId': '7289365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915156&docid=7289368&x=202',
		'title': '',
		'imageId': '7289368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915156&docid=7289371&x=202',
		'title': '',
		'imageId': '7289371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915156&docid=7289374&x=202',
		'title': '',
		'imageId': '7289374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915156&docid=7289378&x=202',
		'title': '',
		'imageId': '7289378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915156&docid=7289381&x=202',
		'title': '',
		'imageId': '7289381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #915156';

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