var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997516&docid=69649573&x=11',
		'title': '',
		'imageId': '69649573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997516&docid=69649576&x=11',
		'title': '',
		'imageId': '69649576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997516&docid=69649571&x=11',
		'title': '',
		'imageId': '69649571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997516&docid=69649572&x=11',
		'title': '',
		'imageId': '69649572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997516&docid=69649575&x=11',
		'title': '',
		'imageId': '69649575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997516&docid=69649574&x=11',
		'title': '',
		'imageId': '69649574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997516&docid=69692870&x=11',
		'title': '',
		'imageId': '69692870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997516&docid=69692871&x=11',
		'title': '',
		'imageId': '69692871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997516&docid=69692873&x=11',
		'title': '',
		'imageId': '69692873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997516&docid=69692874&x=11',
		'title': '',
		'imageId': '69692874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997516';

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