var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065580&x=4811',
		'title': '',
		'imageId': '68065580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065583&x=4811',
		'title': '',
		'imageId': '68065583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065579&x=4811',
		'title': '',
		'imageId': '68065579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065581&x=4811',
		'title': '',
		'imageId': '68065581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065582&x=4811',
		'title': '',
		'imageId': '68065582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065587&x=4811',
		'title': '',
		'imageId': '68065587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065578&x=4811',
		'title': '',
		'imageId': '68065578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065590&x=4811',
		'title': '',
		'imageId': '68065590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065591&x=4811',
		'title': '',
		'imageId': '68065591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065592&x=4811',
		'title': '',
		'imageId': '68065592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065593&x=4811',
		'title': '',
		'imageId': '68065593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065594&x=4811',
		'title': '',
		'imageId': '68065594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065595&x=4811',
		'title': '',
		'imageId': '68065595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065596&x=4811',
		'title': '',
		'imageId': '68065596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065597&x=4811',
		'title': '',
		'imageId': '68065597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065584&x=4811',
		'title': '',
		'imageId': '68065584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065589&x=4811',
		'title': '',
		'imageId': '68065589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065588&x=4811',
		'title': '',
		'imageId': '68065588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065586&x=4811',
		'title': '',
		'imageId': '68065586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927025&docid=68065585&x=4811',
		'title': '',
		'imageId': '68065585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3927025';

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