var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3994402&docid=69660644&x=5323',
		'title': '',
		'imageId': '69660644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994402&docid=69660654&x=5323',
		'title': '',
		'imageId': '69660654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994402&docid=69660651&x=5323',
		'title': '',
		'imageId': '69660651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994402&docid=69660660&x=5323',
		'title': '',
		'imageId': '69660660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994402&docid=69660655&x=5323',
		'title': '',
		'imageId': '69660655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994402&docid=69660665&x=5323',
		'title': '',
		'imageId': '69660665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994402&docid=69660664&x=5323',
		'title': '',
		'imageId': '69660664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994402&docid=69660666&x=5323',
		'title': '',
		'imageId': '69660666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994402&docid=69660667&x=5323',
		'title': '',
		'imageId': '69660667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994402&docid=69660668&x=5323',
		'title': '',
		'imageId': '69660668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994402&docid=69660646&x=5323',
		'title': '',
		'imageId': '69660646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3994402';

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