var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187579&x=4033',
		'title': '',
		'imageId': '69187579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187586&x=4033',
		'title': '',
		'imageId': '69187586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187600&x=4033',
		'title': '',
		'imageId': '69187600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187601&x=4033',
		'title': '',
		'imageId': '69187601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187599&x=4033',
		'title': '',
		'imageId': '69187599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187585&x=4033',
		'title': '',
		'imageId': '69187585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187589&x=4033',
		'title': '',
		'imageId': '69187589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187588&x=4033',
		'title': '',
		'imageId': '69187588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187587&x=4033',
		'title': '',
		'imageId': '69187587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187591&x=4033',
		'title': '',
		'imageId': '69187591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187593&x=4033',
		'title': '',
		'imageId': '69187593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187590&x=4033',
		'title': '',
		'imageId': '69187590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187592&x=4033',
		'title': '',
		'imageId': '69187592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187594&x=4033',
		'title': '',
		'imageId': '69187594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187595&x=4033',
		'title': '',
		'imageId': '69187595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187596&x=4033',
		'title': '',
		'imageId': '69187596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187598&x=4033',
		'title': '',
		'imageId': '69187598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187597&x=4033',
		'title': '',
		'imageId': '69187597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187602&x=4033',
		'title': '',
		'imageId': '69187602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976830&docid=69187603&x=4033',
		'title': '',
		'imageId': '69187603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976830';

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