var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946925&docid=68506170&x=1134',
		'title': '',
		'imageId': '68506170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946925&docid=68506176&x=1134',
		'title': '',
		'imageId': '68506176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946925&docid=68506174&x=1134',
		'title': '',
		'imageId': '68506174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946925&docid=68506172&x=1134',
		'title': '',
		'imageId': '68506172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946925&docid=68506171&x=1134',
		'title': '',
		'imageId': '68506171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946925&docid=68506178&x=1134',
		'title': '',
		'imageId': '68506178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946925&docid=68506169&x=1134',
		'title': '',
		'imageId': '68506169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946925&docid=68506177&x=1134',
		'title': '',
		'imageId': '68506177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946925&docid=68506175&x=1134',
		'title': '',
		'imageId': '68506175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946925&docid=68506173&x=1134',
		'title': '',
		'imageId': '68506173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946925';

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