var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3894049&docid=68357147&x=4640',
		'title': '',
		'imageId': '68357147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894049&docid=68357148&x=4640',
		'title': '',
		'imageId': '68357148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894049&docid=68357153&x=4640',
		'title': '',
		'imageId': '68357153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894049&docid=68357145&x=4640',
		'title': '',
		'imageId': '68357145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894049&docid=68357149&x=4640',
		'title': '',
		'imageId': '68357149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894049&docid=68357150&x=4640',
		'title': '',
		'imageId': '68357150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894049&docid=68357151&x=4640',
		'title': '',
		'imageId': '68357151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894049&docid=68357152&x=4640',
		'title': '',
		'imageId': '68357152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894049&docid=67250166&x=4640',
		'title': '',
		'imageId': '67250166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894049&docid=67250167&x=4640',
		'title': '',
		'imageId': '67250167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3894049';

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