var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992350&docid=69540838&x=3441',
		'title': '',
		'imageId': '69540838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992350&docid=69540843&x=3441',
		'title': '',
		'imageId': '69540843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992350&docid=69540841&x=3441',
		'title': '',
		'imageId': '69540841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992350&docid=69540842&x=3441',
		'title': '',
		'imageId': '69540842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992350&docid=69540847&x=3441',
		'title': '',
		'imageId': '69540847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992350&docid=69540840&x=3441',
		'title': '',
		'imageId': '69540840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992350&docid=69540844&x=3441',
		'title': '',
		'imageId': '69540844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992350&docid=69540845&x=3441',
		'title': '',
		'imageId': '69540845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992350&docid=69540839&x=3441',
		'title': '',
		'imageId': '69540839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992350&docid=69540850&x=3441',
		'title': '',
		'imageId': '69540850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992350&docid=69540849&x=3441',
		'title': '',
		'imageId': '69540849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992350&docid=69540846&x=3441',
		'title': '',
		'imageId': '69540846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992350';

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