var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998720&docid=69673660&x=276',
		'title': '',
		'imageId': '69673660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998720&docid=69673654&x=276',
		'title': '',
		'imageId': '69673654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998720&docid=69673657&x=276',
		'title': '',
		'imageId': '69673657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998720&docid=69673663&x=276',
		'title': '',
		'imageId': '69673663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998720&docid=69673666&x=276',
		'title': '',
		'imageId': '69673666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998720&docid=69673669&x=276',
		'title': '',
		'imageId': '69673669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998720&docid=69673672&x=276',
		'title': '',
		'imageId': '69673672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998720&docid=69673675&x=276',
		'title': '',
		'imageId': '69673675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998720&docid=69673678&x=276',
		'title': '',
		'imageId': '69673678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998720&docid=69673653&x=276',
		'title': '',
		'imageId': '69673653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998720';

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