var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949906&docid=68582777&x=4953',
		'title': '',
		'imageId': '68582777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949906&docid=68582779&x=4953',
		'title': '',
		'imageId': '68582779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949906&docid=68582780&x=4953',
		'title': '',
		'imageId': '68582780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949906&docid=68582781&x=4953',
		'title': '',
		'imageId': '68582781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949906&docid=68582786&x=4953',
		'title': '',
		'imageId': '68582786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949906&docid=68582790&x=4953',
		'title': '',
		'imageId': '68582790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949906&docid=68582791&x=4953',
		'title': '',
		'imageId': '68582791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949906&docid=68582798&x=4953',
		'title': '',
		'imageId': '68582798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949906&docid=68582797&x=4953',
		'title': '',
		'imageId': '68582797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949906&docid=68582799&x=4953',
		'title': '',
		'imageId': '68582799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949906&docid=68582802&x=4953',
		'title': '',
		'imageId': '68582802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949906&docid=68582778&x=4953',
		'title': '',
		'imageId': '68582778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949906';

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