var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151696&x=1350',
		'title': '',
		'imageId': '68151696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151713&x=1350',
		'title': '',
		'imageId': '68151713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151706&x=1350',
		'title': '',
		'imageId': '68151706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151714&x=1350',
		'title': '',
		'imageId': '68151714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151623&x=1350',
		'title': '',
		'imageId': '68151623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151629&x=1350',
		'title': '',
		'imageId': '68151629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151679&x=1350',
		'title': '',
		'imageId': '68151679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151624&x=1350',
		'title': '',
		'imageId': '68151624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151627&x=1350',
		'title': '',
		'imageId': '68151627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151670&x=1350',
		'title': '',
		'imageId': '68151670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151628&x=1350',
		'title': '',
		'imageId': '68151628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151685&x=1350',
		'title': '',
		'imageId': '68151685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151664&x=1350',
		'title': '',
		'imageId': '68151664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151625&x=1350',
		'title': '',
		'imageId': '68151625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151665&x=1350',
		'title': '',
		'imageId': '68151665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151689&x=1350',
		'title': '',
		'imageId': '68151689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151726&x=1350',
		'title': '',
		'imageId': '68151726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151731&x=1350',
		'title': '',
		'imageId': '68151731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151733&x=1350',
		'title': '',
		'imageId': '68151733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151721&x=1350',
		'title': '',
		'imageId': '68151721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931330&docid=68151722&x=1350',
		'title': '',
		'imageId': '68151722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931330';

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