var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955344&docid=68706842&x=812',
		'title': '',
		'imageId': '68706842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955344&docid=68706843&x=812',
		'title': '',
		'imageId': '68706843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955344&docid=68706844&x=812',
		'title': '',
		'imageId': '68706844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955344&docid=68706845&x=812',
		'title': '',
		'imageId': '68706845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955344&docid=68706846&x=812',
		'title': '',
		'imageId': '68706846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955344&docid=68706849&x=812',
		'title': '',
		'imageId': '68706849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955344&docid=68706856&x=812',
		'title': '',
		'imageId': '68706856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955344&docid=68706857&x=812',
		'title': '',
		'imageId': '68706857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955344&docid=68706858&x=812',
		'title': '',
		'imageId': '68706858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955344&docid=68706841&x=812',
		'title': '',
		'imageId': '68706841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955344';

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