var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950531&docid=68599379&x=4341',
		'title': '',
		'imageId': '68599379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950531&docid=68599375&x=4341',
		'title': '',
		'imageId': '68599375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950531&docid=68599376&x=4341',
		'title': '',
		'imageId': '68599376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950531&docid=68599388&x=4341',
		'title': '',
		'imageId': '68599388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950531&docid=68599384&x=4341',
		'title': '',
		'imageId': '68599384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950531&docid=68599244&x=4341',
		'title': '',
		'imageId': '68599244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950531&docid=68599380&x=4341',
		'title': '',
		'imageId': '68599380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950531&docid=68599387&x=4341',
		'title': '',
		'imageId': '68599387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950531&docid=68599381&x=4341',
		'title': '',
		'imageId': '68599381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950531&docid=68599383&x=4341',
		'title': '',
		'imageId': '68599383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950531&docid=68599386&x=4341',
		'title': '',
		'imageId': '68599386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950531&docid=68599374&x=4341',
		'title': '',
		'imageId': '68599374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950531&docid=68599377&x=4341',
		'title': 'Crack in windshield',
		'imageId': '68599377',
		'alt' : 'Crack in windshield',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950531&docid=68599385&x=4341',
		'title': '',
		'imageId': '68599385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950531&docid=68599382&x=4341',
		'title': '',
		'imageId': '68599382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950531&docid=68599373&x=4341',
		'title': '',
		'imageId': '68599373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950531&docid=68599378&x=4341',
		'title': '',
		'imageId': '68599378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950531';

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