var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3936489&docid=68272460&x=451',
		'title': '',
		'imageId': '68272460',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936489&docid=68272462&x=451',
		'title': '',
		'imageId': '68272462',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936489&docid=68272463&x=451',
		'title': '',
		'imageId': '68272463',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936489&docid=68272464&x=451',
		'title': '',
		'imageId': '68272464',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936489&docid=68272465&x=451',
		'title': '',
		'imageId': '68272465',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936489&docid=68272466&x=451',
		'title': '',
		'imageId': '68272466',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936489&docid=68272467&x=451',
		'title': '',
		'imageId': '68272467',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936489&docid=68272468&x=451',
		'title': '',
		'imageId': '68272468',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936489&docid=68272469&x=451',
		'title': '',
		'imageId': '68272469',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936489&docid=68272470&x=451',
		'title': '',
		'imageId': '68272470',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936489&docid=68272471&x=451',
		'title': '',
		'imageId': '68272471',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936489&docid=68272472&x=451',
		'title': '',
		'imageId': '68272472',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936489&docid=68272473&x=451',
		'title': '',
		'imageId': '68272473',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936489&docid=68272474&x=451',
		'title': '',
		'imageId': '68272474',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936489&docid=68272475&x=451',
		'title': '',
		'imageId': '68272475',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936489&docid=68272476&x=451',
		'title': '',
		'imageId': '68272476',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936489&docid=68272477&x=451',
		'title': '',
		'imageId': '68272477',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3936489';

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