var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3965872&docid=68946376&x=4513',
		'title': '',
		'imageId': '68946376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965872&docid=68946377&x=4513',
		'title': '',
		'imageId': '68946377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965872&docid=68946379&x=4513',
		'title': '',
		'imageId': '68946379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965872&docid=68946385&x=4513',
		'title': '',
		'imageId': '68946385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965872&docid=68946381&x=4513',
		'title': '',
		'imageId': '68946381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965872&docid=68946378&x=4513',
		'title': '',
		'imageId': '68946378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965872&docid=68946382&x=4513',
		'title': '',
		'imageId': '68946382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965872&docid=68946383&x=4513',
		'title': '',
		'imageId': '68946383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965872&docid=68946384&x=4513',
		'title': '',
		'imageId': '68946384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965872&docid=68946388&x=4513',
		'title': '',
		'imageId': '68946388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965872&docid=68946389&x=4513',
		'title': '',
		'imageId': '68946389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965872&docid=68946390&x=4513',
		'title': '',
		'imageId': '68946390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965872&docid=68946391&x=4513',
		'title': '',
		'imageId': '68946391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965872&docid=68946392&x=4513',
		'title': '',
		'imageId': '68946392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965872&docid=68946393&x=4513',
		'title': '',
		'imageId': '68946393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965872&docid=68946380&x=4513',
		'title': '',
		'imageId': '68946380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3965872';

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