var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3843220&docid=65979770&x=1251',
		'title': '',
		'imageId': '65979770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3843220&docid=65979765&x=1251',
		'title': '',
		'imageId': '65979765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3843220&docid=65979763&x=1251',
		'title': '',
		'imageId': '65979763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3843220&docid=65979760&x=1251',
		'title': '',
		'imageId': '65979760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3843220&docid=65979764&x=1251',
		'title': '',
		'imageId': '65979764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3843220&docid=65979761&x=1251',
		'title': '',
		'imageId': '65979761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3843220&docid=65979759&x=1251',
		'title': '',
		'imageId': '65979759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3843220&docid=65979769&x=1251',
		'title': '',
		'imageId': '65979769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3843220&docid=65979767&x=1251',
		'title': '',
		'imageId': '65979767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3843220&docid=65979758&x=1251',
		'title': '',
		'imageId': '65979758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3843220&docid=65979768&x=1251',
		'title': '',
		'imageId': '65979768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3843220&docid=65979762&x=1251',
		'title': '',
		'imageId': '65979762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3843220';

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