var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968056&docid=68986669&x=2910',
		'title': '',
		'imageId': '68986669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968056&docid=68986616&x=2910',
		'title': '',
		'imageId': '68986616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968056&docid=68986620&x=2910',
		'title': '',
		'imageId': '68986620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968056&docid=68986617&x=2910',
		'title': '',
		'imageId': '68986617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968056&docid=68986619&x=2910',
		'title': '',
		'imageId': '68986619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968056&docid=68986618&x=2910',
		'title': '',
		'imageId': '68986618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968056&docid=68986670&x=2910',
		'title': '',
		'imageId': '68986670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968056&docid=68986665&x=2910',
		'title': '',
		'imageId': '68986665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968056&docid=68986667&x=2910',
		'title': '',
		'imageId': '68986667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968056&docid=68986668&x=2910',
		'title': '',
		'imageId': '68986668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968056&docid=68986666&x=2910',
		'title': '',
		'imageId': '68986666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968056&docid=68986664&x=2910',
		'title': '',
		'imageId': '68986664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968056';

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