var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973466&docid=69105367&x=1428',
		'title': '',
		'imageId': '69105367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973466&docid=69105368&x=1428',
		'title': '',
		'imageId': '69105368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973466&docid=69105369&x=1428',
		'title': '',
		'imageId': '69105369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973466&docid=69105371&x=1428',
		'title': '',
		'imageId': '69105371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973466&docid=69105372&x=1428',
		'title': '',
		'imageId': '69105372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973466&docid=69105375&x=1428',
		'title': '',
		'imageId': '69105375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973466&docid=69105383&x=1428',
		'title': '',
		'imageId': '69105383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973466&docid=69105384&x=1428',
		'title': '',
		'imageId': '69105384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973466&docid=69105370&x=1428',
		'title': '',
		'imageId': '69105370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973466&docid=69105378&x=1428',
		'title': '',
		'imageId': '69105378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973466';

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