var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442688&x=141',
		'title': '',
		'imageId': '68442688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442693&x=141',
		'title': '',
		'imageId': '68442693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442689&x=141',
		'title': '',
		'imageId': '68442689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442694&x=141',
		'title': '',
		'imageId': '68442694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442652&x=141',
		'title': '',
		'imageId': '68442652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442677&x=141',
		'title': '',
		'imageId': '68442677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442666&x=141',
		'title': '',
		'imageId': '68442666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442649&x=141',
		'title': '',
		'imageId': '68442649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442663&x=141',
		'title': '',
		'imageId': '68442663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442673&x=141',
		'title': '',
		'imageId': '68442673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442655&x=141',
		'title': '',
		'imageId': '68442655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442667&x=141',
		'title': '',
		'imageId': '68442667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442679&x=141',
		'title': '',
		'imageId': '68442679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442635&x=141',
		'title': '',
		'imageId': '68442635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442638&x=141',
		'title': '',
		'imageId': '68442638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442636&x=141',
		'title': '',
		'imageId': '68442636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442639&x=141',
		'title': '',
		'imageId': '68442639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442637&x=141',
		'title': '',
		'imageId': '68442637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442645&x=141',
		'title': '',
		'imageId': '68442645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442658&x=141',
		'title': '',
		'imageId': '68442658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442671&x=141',
		'title': '',
		'imageId': '68442671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442683&x=141',
		'title': '',
		'imageId': '68442683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442700&x=141',
		'title': '',
		'imageId': '68442700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954503&docid=68442697&x=141',
		'title': '',
		'imageId': '68442697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954503';

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