var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212133&x=5258',
		'title': '',
		'imageId': '69212133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212137&x=5258',
		'title': '',
		'imageId': '69212137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212138&x=5258',
		'title': '',
		'imageId': '69212138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212139&x=5258',
		'title': '',
		'imageId': '69212139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212144&x=5258',
		'title': '',
		'imageId': '69212144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212145&x=5258',
		'title': '',
		'imageId': '69212145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212146&x=5258',
		'title': '',
		'imageId': '69212146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212147&x=5258',
		'title': '',
		'imageId': '69212147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212148&x=5258',
		'title': '',
		'imageId': '69212148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212149&x=5258',
		'title': '',
		'imageId': '69212149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212150&x=5258',
		'title': '',
		'imageId': '69212150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212152&x=5258',
		'title': '',
		'imageId': '69212152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212154&x=5258',
		'title': '',
		'imageId': '69212154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212156&x=5258',
		'title': '',
		'imageId': '69212156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212157&x=5258',
		'title': '',
		'imageId': '69212157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212158&x=5258',
		'title': '',
		'imageId': '69212158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212159&x=5258',
		'title': '',
		'imageId': '69212159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212129&x=5258',
		'title': '',
		'imageId': '69212129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212131&x=5258',
		'title': '',
		'imageId': '69212131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212130&x=5258',
		'title': '',
		'imageId': '69212130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212135&x=5258',
		'title': '',
		'imageId': '69212135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212143&x=5258',
		'title': '',
		'imageId': '69212143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978200&docid=69212160&x=5258',
		'title': '',
		'imageId': '69212160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978200';

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