var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696190&x=148',
		'title': '',
		'imageId': '68696190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696191&x=148',
		'title': '',
		'imageId': '68696191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696192&x=148',
		'title': '',
		'imageId': '68696192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696194&x=148',
		'title': '',
		'imageId': '68696194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696193&x=148',
		'title': '',
		'imageId': '68696193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696195&x=148',
		'title': '',
		'imageId': '68696195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696203&x=148',
		'title': '',
		'imageId': '68696203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696204&x=148',
		'title': '',
		'imageId': '68696204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696208&x=148',
		'title': '',
		'imageId': '68696208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696210&x=148',
		'title': '',
		'imageId': '68696210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696209&x=148',
		'title': '',
		'imageId': '68696209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696213&x=148',
		'title': '',
		'imageId': '68696213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696219&x=148',
		'title': '',
		'imageId': '68696219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696221&x=148',
		'title': '',
		'imageId': '68696221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696225&x=148',
		'title': '',
		'imageId': '68696225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696226&x=148',
		'title': '',
		'imageId': '68696226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696231&x=148',
		'title': '',
		'imageId': '68696231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696236&x=148',
		'title': '',
		'imageId': '68696236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696237&x=148',
		'title': '',
		'imageId': '68696237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954891&docid=68696242&x=148',
		'title': '',
		'imageId': '68696242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954891';

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