var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008806&docid=69089724&x=4851',
		'title': '',
		'imageId': '69089724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008806&docid=69089727&x=4851',
		'title': '',
		'imageId': '69089727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008806&docid=69089730&x=4851',
		'title': '',
		'imageId': '69089730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008806&docid=69089733&x=4851',
		'title': '',
		'imageId': '69089733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008806&docid=69089736&x=4851',
		'title': '',
		'imageId': '69089736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008806&docid=69089739&x=4851',
		'title': '',
		'imageId': '69089739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008806&docid=69089742&x=4851',
		'title': '',
		'imageId': '69089742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008806&docid=69089745&x=4851',
		'title': '',
		'imageId': '69089745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008806&docid=69089748&x=4851',
		'title': '',
		'imageId': '69089748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008806&docid=69089751&x=4851',
		'title': '',
		'imageId': '69089751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008806&docid=69089754&x=4851',
		'title': '',
		'imageId': '69089754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008806&docid=69089757&x=4851',
		'title': '',
		'imageId': '69089757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008806';

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