var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516065&x=3943',
		'title': '',
		'imageId': '68516065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516069&x=3943',
		'title': '',
		'imageId': '68516069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516068&x=3943',
		'title': '',
		'imageId': '68516068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516070&x=3943',
		'title': '',
		'imageId': '68516070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516071&x=3943',
		'title': '',
		'imageId': '68516071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516072&x=3943',
		'title': '',
		'imageId': '68516072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516073&x=3943',
		'title': '',
		'imageId': '68516073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516076&x=3943',
		'title': '',
		'imageId': '68516076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516077&x=3943',
		'title': '',
		'imageId': '68516077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516078&x=3943',
		'title': '',
		'imageId': '68516078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516080&x=3943',
		'title': '',
		'imageId': '68516080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516081&x=3943',
		'title': '',
		'imageId': '68516081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516082&x=3943',
		'title': '',
		'imageId': '68516082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516083&x=3943',
		'title': '',
		'imageId': '68516083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516085&x=3943',
		'title': '',
		'imageId': '68516085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516086&x=3943',
		'title': '',
		'imageId': '68516086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516087&x=3943',
		'title': '',
		'imageId': '68516087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516088&x=3943',
		'title': '',
		'imageId': '68516088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516090&x=3943',
		'title': '',
		'imageId': '68516090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516091&x=3943',
		'title': '',
		'imageId': '68516091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947269&docid=68516092&x=3943',
		'title': '',
		'imageId': '68516092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947269';

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