var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194624&x=2951',
		'title': '',
		'imageId': '68194624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194632&x=2951',
		'title': '',
		'imageId': '68194632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194626&x=2951',
		'title': '',
		'imageId': '68194626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194627&x=2951',
		'title': '',
		'imageId': '68194627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194633&x=2951',
		'title': '',
		'imageId': '68194633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194628&x=2951',
		'title': '',
		'imageId': '68194628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194629&x=2951',
		'title': '',
		'imageId': '68194629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194630&x=2951',
		'title': '',
		'imageId': '68194630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194631&x=2951',
		'title': '',
		'imageId': '68194631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194634&x=2951',
		'title': '',
		'imageId': '68194634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194635&x=2951',
		'title': '',
		'imageId': '68194635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194636&x=2951',
		'title': '',
		'imageId': '68194636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194637&x=2951',
		'title': '',
		'imageId': '68194637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194638&x=2951',
		'title': '',
		'imageId': '68194638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194639&x=2951',
		'title': '',
		'imageId': '68194639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194640&x=2951',
		'title': '',
		'imageId': '68194640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194641&x=2951',
		'title': '',
		'imageId': '68194641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194642&x=2951',
		'title': '',
		'imageId': '68194642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194643&x=2951',
		'title': '',
		'imageId': '68194643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194644&x=2951',
		'title': '',
		'imageId': '68194644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194645&x=2951',
		'title': '',
		'imageId': '68194645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194646&x=2951',
		'title': '',
		'imageId': '68194646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194647&x=2951',
		'title': '',
		'imageId': '68194647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932691&docid=68194648&x=2951',
		'title': '',
		'imageId': '68194648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932691';

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