var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976365&docid=69180077&x=910',
		'title': '',
		'imageId': '69180077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976365&docid=69180074&x=910',
		'title': '',
		'imageId': '69180074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976365&docid=69180068&x=910',
		'title': '',
		'imageId': '69180068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976365&docid=69180071&x=910',
		'title': '',
		'imageId': '69180071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976365&docid=69180076&x=910',
		'title': '',
		'imageId': '69180076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976365&docid=69180072&x=910',
		'title': '',
		'imageId': '69180072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976365&docid=69180070&x=910',
		'title': '',
		'imageId': '69180070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976365&docid=69180069&x=910',
		'title': '',
		'imageId': '69180069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976365&docid=69180073&x=910',
		'title': '',
		'imageId': '69180073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976365&docid=69180067&x=910',
		'title': '',
		'imageId': '69180067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976365&docid=69180075&x=910',
		'title': '',
		'imageId': '69180075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976365&docid=69180066&x=910',
		'title': '',
		'imageId': '69180066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976365';

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