var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969445&docid=69009585&x=542',
		'title': '',
		'imageId': '69009585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969445&docid=69009594&x=542',
		'title': '',
		'imageId': '69009594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969445&docid=69009592&x=542',
		'title': '',
		'imageId': '69009592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969445&docid=69009584&x=542',
		'title': '',
		'imageId': '69009584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969445&docid=69009588&x=542',
		'title': '',
		'imageId': '69009588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969445&docid=69009587&x=542',
		'title': '',
		'imageId': '69009587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969445&docid=69009586&x=542',
		'title': '',
		'imageId': '69009586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969445&docid=69009589&x=542',
		'title': '',
		'imageId': '69009589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969445&docid=69009590&x=542',
		'title': '',
		'imageId': '69009590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969445&docid=69009591&x=542',
		'title': '',
		'imageId': '69009591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969445&docid=69009593&x=542',
		'title': '',
		'imageId': '69009593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969445';

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