var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257641&x=4836',
		'title': '',
		'imageId': '68257641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257642&x=4836',
		'title': '',
		'imageId': '68257642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257643&x=4836',
		'title': '',
		'imageId': '68257643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257644&x=4836',
		'title': '',
		'imageId': '68257644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257645&x=4836',
		'title': '',
		'imageId': '68257645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257648&x=4836',
		'title': '',
		'imageId': '68257648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257650&x=4836',
		'title': '',
		'imageId': '68257650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257652&x=4836',
		'title': '',
		'imageId': '68257652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257651&x=4836',
		'title': '',
		'imageId': '68257651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257657&x=4836',
		'title': '',
		'imageId': '68257657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257674&x=4836',
		'title': '',
		'imageId': '68257674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257653&x=4836',
		'title': '',
		'imageId': '68257653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257678&x=4836',
		'title': '',
		'imageId': '68257678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257654&x=4836',
		'title': '',
		'imageId': '68257654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257679&x=4836',
		'title': '',
		'imageId': '68257679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257682&x=4836',
		'title': '',
		'imageId': '68257682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257683&x=4836',
		'title': '',
		'imageId': '68257683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257677&x=4836',
		'title': '',
		'imageId': '68257677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257685&x=4836',
		'title': '',
		'imageId': '68257685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257686&x=4836',
		'title': '',
		'imageId': '68257686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257687&x=4836',
		'title': '',
		'imageId': '68257687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257695&x=4836',
		'title': '',
		'imageId': '68257695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257698&x=4836',
		'title': '',
		'imageId': '68257698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935516&docid=68257705&x=4836',
		'title': '',
		'imageId': '68257705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3935516';

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