var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710317&x=4348',
		'title': '',
		'imageId': '68710317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710319&x=4348',
		'title': '',
		'imageId': '68710319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710320&x=4348',
		'title': '',
		'imageId': '68710320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710324&x=4348',
		'title': '',
		'imageId': '68710324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710325&x=4348',
		'title': '',
		'imageId': '68710325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710326&x=4348',
		'title': '',
		'imageId': '68710326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710327&x=4348',
		'title': '',
		'imageId': '68710327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710343&x=4348',
		'title': '',
		'imageId': '68710343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710328&x=4348',
		'title': '',
		'imageId': '68710328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710329&x=4348',
		'title': '',
		'imageId': '68710329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710330&x=4348',
		'title': '',
		'imageId': '68710330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710332&x=4348',
		'title': '',
		'imageId': '68710332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710333&x=4348',
		'title': '',
		'imageId': '68710333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710334&x=4348',
		'title': '',
		'imageId': '68710334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710338&x=4348',
		'title': '',
		'imageId': '68710338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710339&x=4348',
		'title': '',
		'imageId': '68710339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710340&x=4348',
		'title': '',
		'imageId': '68710340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710341&x=4348',
		'title': '',
		'imageId': '68710341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710342&x=4348',
		'title': '',
		'imageId': '68710342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710321&x=4348',
		'title': '',
		'imageId': '68710321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710322&x=4348',
		'title': '',
		'imageId': '68710322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955446&docid=68710323&x=4348',
		'title': '',
		'imageId': '68710323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955446';

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