var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955339&docid=68706613&x=141',
		'title': '',
		'imageId': '68706613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955339&docid=68706615&x=141',
		'title': '',
		'imageId': '68706615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955339&docid=68706616&x=141',
		'title': '',
		'imageId': '68706616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955339&docid=68706617&x=141',
		'title': '',
		'imageId': '68706617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955339&docid=68706618&x=141',
		'title': '',
		'imageId': '68706618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955339&docid=68706621&x=141',
		'title': '',
		'imageId': '68706621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955339&docid=68706624&x=141',
		'title': '',
		'imageId': '68706624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955339&docid=68706630&x=141',
		'title': '',
		'imageId': '68706630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955339&docid=68706629&x=141',
		'title': '',
		'imageId': '68706629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955339&docid=68706614&x=141',
		'title': '',
		'imageId': '68706614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955339';

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