var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992698&docid=69548299&x=627',
		'title': '',
		'imageId': '69548299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992698&docid=69548292&x=627',
		'title': '',
		'imageId': '69548292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992698&docid=69548291&x=627',
		'title': '',
		'imageId': '69548291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992698&docid=69548293&x=627',
		'title': '',
		'imageId': '69548293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992698&docid=69548294&x=627',
		'title': '',
		'imageId': '69548294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992698&docid=69548295&x=627',
		'title': '',
		'imageId': '69548295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992698&docid=69548296&x=627',
		'title': '',
		'imageId': '69548296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992698&docid=69548298&x=627',
		'title': '',
		'imageId': '69548298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992698&docid=69548301&x=627',
		'title': '',
		'imageId': '69548301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992698&docid=69548302&x=627',
		'title': '',
		'imageId': '69548302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992698&docid=69548297&x=627',
		'title': '',
		'imageId': '69548297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992698&docid=69548300&x=627',
		'title': '',
		'imageId': '69548300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992698&docid=69638546&x=627',
		'title': '',
		'imageId': '69638546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992698&docid=69697238&x=627',
		'title': '',
		'imageId': '69697238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992698&docid=69697239&x=627',
		'title': '',
		'imageId': '69697239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992698&docid=69697240&x=627',
		'title': '',
		'imageId': '69697240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992698';

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