var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943107&docid=66064226&x=3214',
		'title': '',
		'imageId': '66064226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943107&docid=66064227&x=3214',
		'title': '',
		'imageId': '66064227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943107&docid=66064228&x=3214',
		'title': '',
		'imageId': '66064228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943107&docid=66064237&x=3214',
		'title': '',
		'imageId': '66064237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943107&docid=66064229&x=3214',
		'title': '',
		'imageId': '66064229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943107&docid=66064232&x=3214',
		'title': '',
		'imageId': '66064232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943107&docid=66064235&x=3214',
		'title': '',
		'imageId': '66064235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943107&docid=66064230&x=3214',
		'title': '',
		'imageId': '66064230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943107&docid=66064231&x=3214',
		'title': '',
		'imageId': '66064231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943107&docid=66064234&x=3214',
		'title': '',
		'imageId': '66064234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943107&docid=66064236&x=3214',
		'title': '',
		'imageId': '66064236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943107&docid=66064233&x=3214',
		'title': '',
		'imageId': '66064233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943107';

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