var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954743&docid=67560106&x=757',
		'title': '',
		'imageId': '67560106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954743&docid=67560107&x=757',
		'title': '',
		'imageId': '67560107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954743&docid=67560108&x=757',
		'title': '',
		'imageId': '67560108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954743&docid=67560109&x=757',
		'title': '',
		'imageId': '67560109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954743&docid=67560110&x=757',
		'title': '',
		'imageId': '67560110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954743&docid=67560111&x=757',
		'title': '',
		'imageId': '67560111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954743&docid=67560112&x=757',
		'title': '',
		'imageId': '67560112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954743&docid=67560113&x=757',
		'title': '',
		'imageId': '67560113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954743&docid=67560114&x=757',
		'title': '',
		'imageId': '67560114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954743&docid=67560115&x=757',
		'title': '',
		'imageId': '67560115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954743&docid=67560116&x=757',
		'title': '',
		'imageId': '67560116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954743';

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