var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962950&docid=68807244&x=344',
		'title': '',
		'imageId': '68807244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962950&docid=68807242&x=344',
		'title': '',
		'imageId': '68807242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962950&docid=68807236&x=344',
		'title': '',
		'imageId': '68807236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962950&docid=68807234&x=344',
		'title': '',
		'imageId': '68807234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962950&docid=68807243&x=344',
		'title': '',
		'imageId': '68807243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962950&docid=68807235&x=344',
		'title': '',
		'imageId': '68807235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962950&docid=68807239&x=344',
		'title': '',
		'imageId': '68807239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962950&docid=68807238&x=344',
		'title': '',
		'imageId': '68807238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962950&docid=68807241&x=344',
		'title': '',
		'imageId': '68807241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962950&docid=68807237&x=344',
		'title': '',
		'imageId': '68807237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962950&docid=68807240&x=344',
		'title': '',
		'imageId': '68807240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962950&docid=68807245&x=344',
		'title': '',
		'imageId': '68807245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962950';

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