var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3983303&docid=69335225&x=2343',
		'title': '',
		'imageId': '69335225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983303&docid=69335223&x=2343',
		'title': '',
		'imageId': '69335223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983303&docid=69335221&x=2343',
		'title': '',
		'imageId': '69335221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983303&docid=69335226&x=2343',
		'title': '',
		'imageId': '69335226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983303&docid=69335222&x=2343',
		'title': '',
		'imageId': '69335222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983303&docid=69335229&x=2343',
		'title': '',
		'imageId': '69335229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983303&docid=69335230&x=2343',
		'title': '',
		'imageId': '69335230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983303&docid=69335228&x=2343',
		'title': '',
		'imageId': '69335228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983303&docid=69335227&x=2343',
		'title': '',
		'imageId': '69335227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983303&docid=69335224&x=2343',
		'title': '',
		'imageId': '69335224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3983303';

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