var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3961755&docid=68848501&x=454',
		'title': '',
		'imageId': '68848501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961755&docid=68848503&x=454',
		'title': '',
		'imageId': '68848503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961755&docid=68848500&x=454',
		'title': '',
		'imageId': '68848500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961755&docid=68848504&x=454',
		'title': '',
		'imageId': '68848504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961755&docid=68848497&x=454',
		'title': '',
		'imageId': '68848497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961755&docid=68848502&x=454',
		'title': '',
		'imageId': '68848502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961755&docid=68848506&x=454',
		'title': '',
		'imageId': '68848506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961755&docid=68848499&x=454',
		'title': '',
		'imageId': '68848499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961755&docid=68848498&x=454',
		'title': '',
		'imageId': '68848498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961755&docid=68848505&x=454',
		'title': '',
		'imageId': '68848505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3961755';

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