var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980835&docid=69283233&x=5825',
		'title': '',
		'imageId': '69283233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980835&docid=69283236&x=5825',
		'title': '',
		'imageId': '69283236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980835&docid=69283241&x=5825',
		'title': '',
		'imageId': '69283241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980835&docid=69283244&x=5825',
		'title': '',
		'imageId': '69283244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980835&docid=69283247&x=5825',
		'title': '',
		'imageId': '69283247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980835&docid=69283248&x=5825',
		'title': '',
		'imageId': '69283248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980835&docid=69283251&x=5825',
		'title': '',
		'imageId': '69283251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980835&docid=69283256&x=5825',
		'title': '',
		'imageId': '69283256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980835&docid=69283257&x=5825',
		'title': '',
		'imageId': '69283257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980835&docid=69283260&x=5825',
		'title': '',
		'imageId': '69283260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980835&docid=69283263&x=5825',
		'title': '',
		'imageId': '69283263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980835&docid=69283266&x=5825',
		'title': '',
		'imageId': '69283266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980835&docid=69283271&x=5825',
		'title': '',
		'imageId': '69283271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980835&docid=69283272&x=5825',
		'title': '',
		'imageId': '69283272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980835&docid=69283277&x=5825',
		'title': '',
		'imageId': '69283277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980835&docid=69283280&x=5825',
		'title': '',
		'imageId': '69283280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980835';

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