var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424146&x=3651',
		'title': '',
		'imageId': '69424146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424147&x=3651',
		'title': '',
		'imageId': '69424147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424161&x=3651',
		'title': '',
		'imageId': '69424161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424150&x=3651',
		'title': '',
		'imageId': '69424150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424148&x=3651',
		'title': '',
		'imageId': '69424148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424167&x=3651',
		'title': '',
		'imageId': '69424167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424165&x=3651',
		'title': '',
		'imageId': '69424165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424163&x=3651',
		'title': '',
		'imageId': '69424163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424162&x=3651',
		'title': '',
		'imageId': '69424162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424160&x=3651',
		'title': '',
		'imageId': '69424160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424155&x=3651',
		'title': '',
		'imageId': '69424155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424154&x=3651',
		'title': '',
		'imageId': '69424154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424153&x=3651',
		'title': '',
		'imageId': '69424153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424159&x=3651',
		'title': '',
		'imageId': '69424159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424156&x=3651',
		'title': '',
		'imageId': '69424156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424166&x=3651',
		'title': '',
		'imageId': '69424166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424152&x=3651',
		'title': '',
		'imageId': '69424152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424158&x=3651',
		'title': '',
		'imageId': '69424158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424149&x=3651',
		'title': '',
		'imageId': '69424149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424164&x=3651',
		'title': '',
		'imageId': '69424164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424151&x=3651',
		'title': '',
		'imageId': '69424151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986694&docid=69424157&x=3651',
		'title': '',
		'imageId': '69424157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986694';

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