var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438570&x=2459',
		'title': '',
		'imageId': '59438570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438571&x=2459',
		'title': '',
		'imageId': '59438571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438572&x=2459',
		'title': '',
		'imageId': '59438572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438573&x=2459',
		'title': '',
		'imageId': '59438573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438574&x=2459',
		'title': '',
		'imageId': '59438574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438575&x=2459',
		'title': '',
		'imageId': '59438575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438576&x=2459',
		'title': '',
		'imageId': '59438576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438577&x=2459',
		'title': '',
		'imageId': '59438577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438578&x=2459',
		'title': '',
		'imageId': '59438578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438579&x=2459',
		'title': '',
		'imageId': '59438579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438580&x=2459',
		'title': '',
		'imageId': '59438580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438581&x=2459',
		'title': '',
		'imageId': '59438581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438582&x=2459',
		'title': '',
		'imageId': '59438582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438583&x=2459',
		'title': '',
		'imageId': '59438583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438584&x=2459',
		'title': '',
		'imageId': '59438584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438585&x=2459',
		'title': '',
		'imageId': '59438585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438586&x=2459',
		'title': '',
		'imageId': '59438586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438587&x=2459',
		'title': '',
		'imageId': '59438587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438588&x=2459',
		'title': '',
		'imageId': '59438588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438589&x=2459',
		'title': '',
		'imageId': '59438589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438590&x=2459',
		'title': '',
		'imageId': '59438590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438591&x=2459',
		'title': '',
		'imageId': '59438591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438592&x=2459',
		'title': '',
		'imageId': '59438592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652670&docid=59438593&x=2459',
		'title': '',
		'imageId': '59438593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3652670';

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