var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009577&docid=69949594&x=2227',
		'title': '',
		'imageId': '69949594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009577&docid=69949586&x=2227',
		'title': '',
		'imageId': '69949586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009577&docid=69949588&x=2227',
		'title': '',
		'imageId': '69949588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009577&docid=69949587&x=2227',
		'title': '',
		'imageId': '69949587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009577&docid=69949589&x=2227',
		'title': '',
		'imageId': '69949589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009577&docid=69949595&x=2227',
		'title': '',
		'imageId': '69949595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009577&docid=69949590&x=2227',
		'title': '',
		'imageId': '69949590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009577&docid=69949592&x=2227',
		'title': '',
		'imageId': '69949592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009577&docid=69949591&x=2227',
		'title': '',
		'imageId': '69949591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009577&docid=69949593&x=2227',
		'title': '',
		'imageId': '69949593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009577';

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