var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266177&x=2134',
		'title': '',
		'imageId': '69266177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266173&x=2134',
		'title': '',
		'imageId': '69266173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266166&x=2134',
		'title': '',
		'imageId': '69266166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266163&x=2134',
		'title': '',
		'imageId': '69266163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266179&x=2134',
		'title': '',
		'imageId': '69266179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266158&x=2134',
		'title': '',
		'imageId': '69266158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266176&x=2134',
		'title': '',
		'imageId': '69266176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266178&x=2134',
		'title': '',
		'imageId': '69266178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266161&x=2134',
		'title': '',
		'imageId': '69266161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266160&x=2134',
		'title': '',
		'imageId': '69266160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266164&x=2134',
		'title': '',
		'imageId': '69266164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266175&x=2134',
		'title': '',
		'imageId': '69266175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266157&x=2134',
		'title': '',
		'imageId': '69266157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266168&x=2134',
		'title': '',
		'imageId': '69266168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266159&x=2134',
		'title': '',
		'imageId': '69266159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266167&x=2134',
		'title': '',
		'imageId': '69266167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266165&x=2134',
		'title': '',
		'imageId': '69266165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266171&x=2134',
		'title': '',
		'imageId': '69266171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266162&x=2134',
		'title': '',
		'imageId': '69266162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266170&x=2134',
		'title': '',
		'imageId': '69266170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266172&x=2134',
		'title': '',
		'imageId': '69266172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266174&x=2134',
		'title': '',
		'imageId': '69266174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980111&docid=69266169&x=2134',
		'title': '',
		'imageId': '69266169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980111';

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