var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955273&docid=68704609&x=148',
		'title': '',
		'imageId': '68704609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955273&docid=68704610&x=148',
		'title': '',
		'imageId': '68704610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955273&docid=68704611&x=148',
		'title': '',
		'imageId': '68704611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955273&docid=68704616&x=148',
		'title': '',
		'imageId': '68704616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955273&docid=68704621&x=148',
		'title': '',
		'imageId': '68704621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955273&docid=68704622&x=148',
		'title': '',
		'imageId': '68704622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955273&docid=68704623&x=148',
		'title': '',
		'imageId': '68704623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955273&docid=68704628&x=148',
		'title': '',
		'imageId': '68704628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955273&docid=68704629&x=148',
		'title': '',
		'imageId': '68704629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955273&docid=68704608&x=148',
		'title': '',
		'imageId': '68704608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955273';

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