var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3927256&docid=68070263&x=4245',
		'title': '',
		'imageId': '68070263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927256&docid=68070264&x=4245',
		'title': '',
		'imageId': '68070264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927256&docid=68070265&x=4245',
		'title': '',
		'imageId': '68070265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927256&docid=68070266&x=4245',
		'title': '',
		'imageId': '68070266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927256&docid=68070267&x=4245',
		'title': '',
		'imageId': '68070267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927256&docid=68070268&x=4245',
		'title': '',
		'imageId': '68070268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927256&docid=68070269&x=4245',
		'title': '',
		'imageId': '68070269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927256&docid=68070270&x=4245',
		'title': '',
		'imageId': '68070270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927256&docid=68070274&x=4245',
		'title': '',
		'imageId': '68070274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927256&docid=68070271&x=4245',
		'title': '',
		'imageId': '68070271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927256&docid=68070272&x=4245',
		'title': '',
		'imageId': '68070272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927256&docid=68070273&x=4245',
		'title': '',
		'imageId': '68070273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3927256';

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