var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129090&x=3245',
		'title': '',
		'imageId': '70129090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129097&x=3245',
		'title': '',
		'imageId': '70129097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129103&x=3245',
		'title': '',
		'imageId': '70129103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129099&x=3245',
		'title': '',
		'imageId': '70129099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129129&x=3245',
		'title': '',
		'imageId': '70129129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129102&x=3245',
		'title': '',
		'imageId': '70129102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129121&x=3245',
		'title': '',
		'imageId': '70129121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129144&x=3245',
		'title': '',
		'imageId': '70129144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129105&x=3245',
		'title': '',
		'imageId': '70129105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129100&x=3245',
		'title': '',
		'imageId': '70129100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129091&x=3245',
		'title': '',
		'imageId': '70129091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129106&x=3245',
		'title': '',
		'imageId': '70129106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129108&x=3245',
		'title': '',
		'imageId': '70129108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129104&x=3245',
		'title': '',
		'imageId': '70129104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129101&x=3245',
		'title': '',
		'imageId': '70129101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129107&x=3245',
		'title': '',
		'imageId': '70129107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129093&x=3245',
		'title': '',
		'imageId': '70129093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129092&x=3245',
		'title': '',
		'imageId': '70129092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129098&x=3245',
		'title': '',
		'imageId': '70129098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129095&x=3245',
		'title': '',
		'imageId': '70129095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129096&x=3245',
		'title': '',
		'imageId': '70129096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=70129094&x=3245',
		'title': '',
		'imageId': '70129094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=59270515&x=3245',
		'title': '',
		'imageId': '59270515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014233&docid=59270516&x=3245',
		'title': '',
		'imageId': '59270516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014233';

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