var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017154&docid=70159596&x=725',
		'title': '',
		'imageId': '70159596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017154&docid=70159578&x=725',
		'title': '',
		'imageId': '70159578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017154&docid=70159575&x=725',
		'title': '',
		'imageId': '70159575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017154&docid=70159576&x=725',
		'title': '',
		'imageId': '70159576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017154&docid=70159577&x=725',
		'title': '',
		'imageId': '70159577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017154&docid=70159581&x=725',
		'title': '',
		'imageId': '70159581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017154&docid=70159590&x=725',
		'title': '',
		'imageId': '70159590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017154&docid=70159593&x=725',
		'title': '',
		'imageId': '70159593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017154&docid=70159594&x=725',
		'title': '',
		'imageId': '70159594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017154&docid=70159595&x=725',
		'title': '',
		'imageId': '70159595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017154&docid=70159573&x=725',
		'title': '',
		'imageId': '70159573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017154&docid=70159574&x=725',
		'title': '',
		'imageId': '70159574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017154';

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