var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012424&docid=70018250&x=60',
		'title': '',
		'imageId': '70018250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012424&docid=70018247&x=60',
		'title': '',
		'imageId': '70018247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012424&docid=70018248&x=60',
		'title': '',
		'imageId': '70018248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012424&docid=70018249&x=60',
		'title': '',
		'imageId': '70018249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012424&docid=70018251&x=60',
		'title': '',
		'imageId': '70018251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012424&docid=70018252&x=60',
		'title': '',
		'imageId': '70018252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012424&docid=70018255&x=60',
		'title': '',
		'imageId': '70018255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012424&docid=70018260&x=60',
		'title': '',
		'imageId': '70018260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012424&docid=70018261&x=60',
		'title': '',
		'imageId': '70018261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012424&docid=70018264&x=60',
		'title': '',
		'imageId': '70018264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012424&docid=70018271&x=60',
		'title': '',
		'imageId': '70018271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012424&docid=70018272&x=60',
		'title': '',
		'imageId': '70018272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012424';

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