var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953297&docid=68656579&x=4022',
		'title': '',
		'imageId': '68656579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953297&docid=68656582&x=4022',
		'title': '',
		'imageId': '68656582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953297&docid=68656581&x=4022',
		'title': '',
		'imageId': '68656581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953297&docid=68656578&x=4022',
		'title': '',
		'imageId': '68656578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953297&docid=68656584&x=4022',
		'title': '',
		'imageId': '68656584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953297&docid=68656580&x=4022',
		'title': '',
		'imageId': '68656580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953297&docid=68656586&x=4022',
		'title': '',
		'imageId': '68656586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953297&docid=68656590&x=4022',
		'title': '',
		'imageId': '68656590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953297&docid=68656587&x=4022',
		'title': '',
		'imageId': '68656587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953297&docid=68656591&x=4022',
		'title': '',
		'imageId': '68656591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953297&docid=68656588&x=4022',
		'title': '',
		'imageId': '68656588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953297&docid=68656589&x=4022',
		'title': '',
		'imageId': '68656589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953297&docid=68656592&x=4022',
		'title': '',
		'imageId': '68656592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953297&docid=68656583&x=4022',
		'title': '',
		'imageId': '68656583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953297&docid=68656585&x=4022',
		'title': '',
		'imageId': '68656585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953297&docid=68656734&x=4022',
		'title': '',
		'imageId': '68656734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953297';

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