var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011878&docid=69770694&x=2832',
		'title': '',
		'imageId': '69770694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011878&docid=69770700&x=2832',
		'title': '',
		'imageId': '69770700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011878&docid=69770703&x=2832',
		'title': '',
		'imageId': '69770703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011878&docid=69770701&x=2832',
		'title': '',
		'imageId': '69770701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011878&docid=69770699&x=2832',
		'title': '',
		'imageId': '69770699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011878&docid=69770695&x=2832',
		'title': '',
		'imageId': '69770695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011878&docid=69770692&x=2832',
		'title': '',
		'imageId': '69770692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011878&docid=69770702&x=2832',
		'title': '',
		'imageId': '69770702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011878&docid=69770698&x=2832',
		'title': '',
		'imageId': '69770698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011878&docid=69770697&x=2832',
		'title': '',
		'imageId': '69770697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011878&docid=69770693&x=2832',
		'title': '',
		'imageId': '69770693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011878';

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