var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964263&docid=68912834&x=2858',
		'title': '',
		'imageId': '68912834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964263&docid=68912814&x=2858',
		'title': '',
		'imageId': '68912814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964263&docid=68912815&x=2858',
		'title': '',
		'imageId': '68912815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964263&docid=68912817&x=2858',
		'title': '',
		'imageId': '68912817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964263&docid=68912818&x=2858',
		'title': '',
		'imageId': '68912818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964263&docid=68912816&x=2858',
		'title': '',
		'imageId': '68912816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964263&docid=68912823&x=2858',
		'title': '',
		'imageId': '68912823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964263&docid=68912835&x=2858',
		'title': '',
		'imageId': '68912835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964263&docid=68912819&x=2858',
		'title': '',
		'imageId': '68912819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964263&docid=68912836&x=2858',
		'title': '',
		'imageId': '68912836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964263&docid=68912838&x=2858',
		'title': '',
		'imageId': '68912838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964263&docid=68912837&x=2858',
		'title': '',
		'imageId': '68912837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964263';

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