var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533077&x=2558',
		'title': '',
		'imageId': '69533077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533064&x=2558',
		'title': '',
		'imageId': '69533064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533079&x=2558',
		'title': '',
		'imageId': '69533079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533074&x=2558',
		'title': '',
		'imageId': '69533074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533075&x=2558',
		'title': '',
		'imageId': '69533075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533085&x=2558',
		'title': '',
		'imageId': '69533085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533076&x=2558',
		'title': '',
		'imageId': '69533076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533081&x=2558',
		'title': '',
		'imageId': '69533081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533080&x=2558',
		'title': '',
		'imageId': '69533080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533078&x=2558',
		'title': '',
		'imageId': '69533078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533084&x=2558',
		'title': '',
		'imageId': '69533084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533083&x=2558',
		'title': '',
		'imageId': '69533083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533072&x=2558',
		'title': '',
		'imageId': '69533072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533065&x=2558',
		'title': '',
		'imageId': '69533065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533066&x=2558',
		'title': '',
		'imageId': '69533066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533067&x=2558',
		'title': '',
		'imageId': '69533067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533069&x=2558',
		'title': '',
		'imageId': '69533069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533070&x=2558',
		'title': '',
		'imageId': '69533070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533082&x=2558',
		'title': '',
		'imageId': '69533082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533071&x=2558',
		'title': '',
		'imageId': '69533071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533068&x=2558',
		'title': '',
		'imageId': '69533068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69533073&x=2558',
		'title': '',
		'imageId': '69533073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992059&docid=69765656&x=2558',
		'title': '',
		'imageId': '69765656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992059';

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