var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4020205&docid=69681248&x=1811',
		'title': '',
		'imageId': '69681248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020205&docid=69681247&x=1811',
		'title': '',
		'imageId': '69681247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020205&docid=69681251&x=1811',
		'title': '',
		'imageId': '69681251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020205&docid=69681249&x=1811',
		'title': '',
		'imageId': '69681249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020205&docid=69681250&x=1811',
		'title': '',
		'imageId': '69681250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020205&docid=69681252&x=1811',
		'title': '',
		'imageId': '69681252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020205&docid=69681253&x=1811',
		'title': '',
		'imageId': '69681253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4020205';

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