var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69006010&x=4625',
		'title': '',
		'imageId': '69006010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005971&x=4625',
		'title': '',
		'imageId': '69005971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005968&x=4625',
		'title': '',
		'imageId': '69005968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005958&x=4625',
		'title': '',
		'imageId': '69005958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005959&x=4625',
		'title': '',
		'imageId': '69005959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005964&x=4625',
		'title': '',
		'imageId': '69005964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005965&x=4625',
		'title': '',
		'imageId': '69005965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005954&x=4625',
		'title': '',
		'imageId': '69005954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005955&x=4625',
		'title': '',
		'imageId': '69005955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005956&x=4625',
		'title': '',
		'imageId': '69005956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005957&x=4625',
		'title': '',
		'imageId': '69005957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005974&x=4625',
		'title': '',
		'imageId': '69005974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005977&x=4625',
		'title': '',
		'imageId': '69005977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005982&x=4625',
		'title': '',
		'imageId': '69005982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005983&x=4625',
		'title': '',
		'imageId': '69005983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005986&x=4625',
		'title': '',
		'imageId': '69005986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005991&x=4625',
		'title': '',
		'imageId': '69005991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005994&x=4625',
		'title': '',
		'imageId': '69005994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69005995&x=4625',
		'title': '',
		'imageId': '69005995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69006000&x=4625',
		'title': '',
		'imageId': '69006000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69006001&x=4625',
		'title': '',
		'imageId': '69006001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969272&docid=69006007&x=4625',
		'title': '',
		'imageId': '69006007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969272';

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