var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489036&x=58',
		'title': '',
		'imageId': '68489036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489038&x=58',
		'title': '',
		'imageId': '68489038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489037&x=58',
		'title': '',
		'imageId': '68489037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489039&x=58',
		'title': '',
		'imageId': '68489039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489040&x=58',
		'title': '',
		'imageId': '68489040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489041&x=58',
		'title': '',
		'imageId': '68489041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489042&x=58',
		'title': '',
		'imageId': '68489042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489043&x=58',
		'title': '',
		'imageId': '68489043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489044&x=58',
		'title': '',
		'imageId': '68489044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489045&x=58',
		'title': '',
		'imageId': '68489045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489046&x=58',
		'title': '',
		'imageId': '68489046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489047&x=58',
		'title': '',
		'imageId': '68489047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489048&x=58',
		'title': '',
		'imageId': '68489048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489049&x=58',
		'title': '',
		'imageId': '68489049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489050&x=58',
		'title': '',
		'imageId': '68489050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489051&x=58',
		'title': '',
		'imageId': '68489051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489052&x=58',
		'title': '',
		'imageId': '68489052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489053&x=58',
		'title': '',
		'imageId': '68489053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489054&x=58',
		'title': '',
		'imageId': '68489054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489055&x=58',
		'title': '',
		'imageId': '68489055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489056&x=58',
		'title': '',
		'imageId': '68489056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489057&x=58',
		'title': '',
		'imageId': '68489057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489058&x=58',
		'title': '',
		'imageId': '68489058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946267&docid=68489059&x=58',
		'title': '',
		'imageId': '68489059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946267';

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