var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964325&docid=68914319&x=4438',
		'title': '',
		'imageId': '68914319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964325&docid=68914325&x=4438',
		'title': '',
		'imageId': '68914325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964325&docid=68914324&x=4438',
		'title': '',
		'imageId': '68914324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964325&docid=68914328&x=4438',
		'title': '',
		'imageId': '68914328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964325&docid=68914317&x=4438',
		'title': '',
		'imageId': '68914317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964325&docid=68914327&x=4438',
		'title': '',
		'imageId': '68914327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964325&docid=68914329&x=4438',
		'title': '',
		'imageId': '68914329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964325&docid=68914318&x=4438',
		'title': '',
		'imageId': '68914318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964325&docid=68914330&x=4438',
		'title': '',
		'imageId': '68914330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964325&docid=68914332&x=4438',
		'title': '',
		'imageId': '68914332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964325&docid=68914321&x=4438',
		'title': '',
		'imageId': '68914321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964325&docid=68914322&x=4438',
		'title': '',
		'imageId': '68914322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964325&docid=68914331&x=4438',
		'title': '',
		'imageId': '68914331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964325&docid=68914320&x=4438',
		'title': '',
		'imageId': '68914320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964325&docid=68914323&x=4438',
		'title': '',
		'imageId': '68914323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964325&docid=68914326&x=4438',
		'title': '',
		'imageId': '68914326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964325';

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