var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006707&docid=69695948&x=4225',
		'title': '',
		'imageId': '69695948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006707&docid=69695944&x=4225',
		'title': '',
		'imageId': '69695944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006707&docid=69695949&x=4225',
		'title': '',
		'imageId': '69695949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006707&docid=69695950&x=4225',
		'title': '',
		'imageId': '69695950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006707&docid=69695947&x=4225',
		'title': '',
		'imageId': '69695947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006707&docid=69695946&x=4225',
		'title': '',
		'imageId': '69695946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006707&docid=69695859&x=4225',
		'title': '',
		'imageId': '69695859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006707&docid=69695959&x=4225',
		'title': '',
		'imageId': '69695959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006707&docid=69695955&x=4225',
		'title': '',
		'imageId': '69695955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006707&docid=69695961&x=4225',
		'title': '',
		'imageId': '69695961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006707&docid=69695958&x=4225',
		'title': '',
		'imageId': '69695958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006707&docid=69695960&x=4225',
		'title': '',
		'imageId': '69695960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006707&docid=69695954&x=4225',
		'title': '',
		'imageId': '69695954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006707&docid=69695956&x=4225',
		'title': '',
		'imageId': '69695956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006707&docid=69695957&x=4225',
		'title': '',
		'imageId': '69695957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006707&docid=69695953&x=4225',
		'title': '',
		'imageId': '69695953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006707';

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