var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68680880&x=3036',
		'title': '',
		'imageId': '68680880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68644293&x=3036',
		'title': '2 Windows Are Missing.',
		'imageId': '68644293',
		'alt' : '2 Windows Are Missing.',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68644276&x=3036',
		'title': 'Left Rear Panel Missing.',
		'imageId': '68644276',
		'alt' : 'Left Rear Panel Missing.',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68644279&x=3036',
		'title': '',
		'imageId': '68644279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68644286&x=3036',
		'title': '2 Windows Are Missing.',
		'imageId': '68644286',
		'alt' : '2 Windows Are Missing.',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68680885&x=3036',
		'title': '',
		'imageId': '68680885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68681217&x=3036',
		'title': '',
		'imageId': '68681217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68681154&x=3036',
		'title': '',
		'imageId': '68681154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68681236&x=3036',
		'title': '',
		'imageId': '68681236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68681213&x=3036',
		'title': '',
		'imageId': '68681213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68681286&x=3036',
		'title': '',
		'imageId': '68681286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68681239&x=3036',
		'title': '',
		'imageId': '68681239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68681244&x=3036',
		'title': '',
		'imageId': '68681244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68681321&x=3036',
		'title': '',
		'imageId': '68681321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68681314&x=3036',
		'title': '',
		'imageId': '68681314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68706661&x=3036',
		'title': '',
		'imageId': '68706661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68644296&x=3036',
		'title': '',
		'imageId': '68644296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68644299&x=3036',
		'title': '',
		'imageId': '68644299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68706589&x=3036',
		'title': '',
		'imageId': '68706589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68706264&x=3036',
		'title': '',
		'imageId': '68706264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952780&docid=68706270&x=3036',
		'title': '',
		'imageId': '68706270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952780';

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