var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=69805269&x=5833',
		'title': '',
		'imageId': '69805269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=69805274&x=5833',
		'title': '',
		'imageId': '69805274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=69805266&x=5833',
		'title': '',
		'imageId': '69805266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=69805267&x=5833',
		'title': '',
		'imageId': '69805267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=69805262&x=5833',
		'title': '',
		'imageId': '69805262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=69805268&x=5833',
		'title': '',
		'imageId': '69805268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=69805264&x=5833',
		'title': '',
		'imageId': '69805264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=69805260&x=5833',
		'title': '',
		'imageId': '69805260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=69805265&x=5833',
		'title': '',
		'imageId': '69805265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=69805261&x=5833',
		'title': '',
		'imageId': '69805261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=69805263&x=5833',
		'title': '',
		'imageId': '69805263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=69805272&x=5833',
		'title': '',
		'imageId': '69805272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=69805259&x=5833',
		'title': '',
		'imageId': '69805259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=69805275&x=5833',
		'title': '',
		'imageId': '69805275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=69805273&x=5833',
		'title': '',
		'imageId': '69805273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=69805271&x=5833',
		'title': '',
		'imageId': '69805271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=69805270&x=5833',
		'title': '',
		'imageId': '69805270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=59270654&x=5833',
		'title': '',
		'imageId': '59270654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003783&docid=59270653&x=5833',
		'title': '',
		'imageId': '59270653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003783';

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