var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095518&x=2548',
		'title': '',
		'imageId': '68095518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095522&x=2548',
		'title': '',
		'imageId': '68095522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095523&x=2548',
		'title': '',
		'imageId': '68095523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095524&x=2548',
		'title': '',
		'imageId': '68095524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095525&x=2548',
		'title': '',
		'imageId': '68095525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095526&x=2548',
		'title': '',
		'imageId': '68095526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095527&x=2548',
		'title': '',
		'imageId': '68095527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095528&x=2548',
		'title': '',
		'imageId': '68095528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095529&x=2548',
		'title': '',
		'imageId': '68095529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095530&x=2548',
		'title': '',
		'imageId': '68095530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095531&x=2548',
		'title': '',
		'imageId': '68095531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095532&x=2548',
		'title': '',
		'imageId': '68095532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095533&x=2548',
		'title': '',
		'imageId': '68095533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095534&x=2548',
		'title': '',
		'imageId': '68095534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095535&x=2548',
		'title': '',
		'imageId': '68095535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095536&x=2548',
		'title': '',
		'imageId': '68095536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095537&x=2548',
		'title': '',
		'imageId': '68095537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095538&x=2548',
		'title': '',
		'imageId': '68095538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095539&x=2548',
		'title': '',
		'imageId': '68095539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095540&x=2548',
		'title': '',
		'imageId': '68095540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095541&x=2548',
		'title': '',
		'imageId': '68095541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928568&docid=68095542&x=2548',
		'title': '',
		'imageId': '68095542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3928568';

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