var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3981863&docid=69301425&x=4617',
		'title': '',
		'imageId': '69301425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981863&docid=69301426&x=4617',
		'title': '',
		'imageId': '69301426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981863&docid=69301427&x=4617',
		'title': '',
		'imageId': '69301427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981863&docid=69301428&x=4617',
		'title': '',
		'imageId': '69301428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981863&docid=69301429&x=4617',
		'title': '',
		'imageId': '69301429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981863&docid=69301432&x=4617',
		'title': '',
		'imageId': '69301432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981863&docid=69301435&x=4617',
		'title': '',
		'imageId': '69301435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981863&docid=69301439&x=4617',
		'title': '',
		'imageId': '69301439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981863&docid=69301441&x=4617',
		'title': '',
		'imageId': '69301441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981863&docid=69301446&x=4617',
		'title': '',
		'imageId': '69301446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981863&docid=69301447&x=4617',
		'title': '',
		'imageId': '69301447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981863&docid=69301450&x=4617',
		'title': '',
		'imageId': '69301450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981863&docid=69301453&x=4617',
		'title': '',
		'imageId': '69301453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981863&docid=69301456&x=4617',
		'title': '',
		'imageId': '69301456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981863&docid=69301461&x=4617',
		'title': '',
		'imageId': '69301461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981863&docid=69301424&x=4617',
		'title': '',
		'imageId': '69301424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3981863';

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