var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69141173&x=3729',
		'title': '',
		'imageId': '69141173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288161&x=3729',
		'title': '',
		'imageId': '69288161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288179&x=3729',
		'title': '',
		'imageId': '69288179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288162&x=3729',
		'title': '',
		'imageId': '69288162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288163&x=3729',
		'title': '',
		'imageId': '69288163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288165&x=3729',
		'title': '',
		'imageId': '69288165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288168&x=3729',
		'title': '',
		'imageId': '69288168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288164&x=3729',
		'title': '',
		'imageId': '69288164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288170&x=3729',
		'title': '',
		'imageId': '69288170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288173&x=3729',
		'title': '',
		'imageId': '69288173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288166&x=3729',
		'title': '',
		'imageId': '69288166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288167&x=3729',
		'title': '',
		'imageId': '69288167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288172&x=3729',
		'title': '',
		'imageId': '69288172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288175&x=3729',
		'title': '',
		'imageId': '69288175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288171&x=3729',
		'title': '',
		'imageId': '69288171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288169&x=3729',
		'title': '',
		'imageId': '69288169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288176&x=3729',
		'title': '',
		'imageId': '69288176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288174&x=3729',
		'title': '',
		'imageId': '69288174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288181&x=3729',
		'title': '',
		'imageId': '69288181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288180&x=3729',
		'title': '',
		'imageId': '69288180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288178&x=3729',
		'title': '',
		'imageId': '69288178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974800&docid=69288177&x=3729',
		'title': '',
		'imageId': '69288177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974800';

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