var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954059&docid=68674328&x=3255',
		'title': '',
		'imageId': '68674328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954059&docid=68674327&x=3255',
		'title': '',
		'imageId': '68674327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954059&docid=68674329&x=3255',
		'title': '',
		'imageId': '68674329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954059&docid=68674330&x=3255',
		'title': '',
		'imageId': '68674330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954059&docid=68674325&x=3255',
		'title': '',
		'imageId': '68674325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954059&docid=68674331&x=3255',
		'title': '',
		'imageId': '68674331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954059&docid=68674326&x=3255',
		'title': '',
		'imageId': '68674326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954059&docid=69033786&x=3255',
		'title': '',
		'imageId': '69033786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954059&docid=69033785&x=3255',
		'title': '',
		'imageId': '69033785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954059&docid=69033787&x=3255',
		'title': '',
		'imageId': '69033787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954059';

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