var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176771&x=4946',
		'title': '',
		'imageId': '69176771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176770&x=4946',
		'title': '',
		'imageId': '69176770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176795&x=4946',
		'title': '',
		'imageId': '69176795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176786&x=4946',
		'title': '',
		'imageId': '69176786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176774&x=4946',
		'title': '',
		'imageId': '69176774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176778&x=4946',
		'title': '',
		'imageId': '69176778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176773&x=4946',
		'title': '',
		'imageId': '69176773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176796&x=4946',
		'title': '',
		'imageId': '69176796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176810&x=4946',
		'title': '',
		'imageId': '69176810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176792&x=4946',
		'title': '',
		'imageId': '69176792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176788&x=4946',
		'title': '',
		'imageId': '69176788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176772&x=4946',
		'title': '',
		'imageId': '69176772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176775&x=4946',
		'title': '',
		'imageId': '69176775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176790&x=4946',
		'title': '',
		'imageId': '69176790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176811&x=4946',
		'title': '',
		'imageId': '69176811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176812&x=4946',
		'title': '',
		'imageId': '69176812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176803&x=4946',
		'title': '',
		'imageId': '69176803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176819&x=4946',
		'title': '',
		'imageId': '69176819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933476&docid=69176800&x=4946',
		'title': '',
		'imageId': '69176800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933476';

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