var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70090921&x=2621',
		'title': '',
		'imageId': '70090921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70090920&x=2621',
		'title': '',
		'imageId': '70090920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70090917&x=2621',
		'title': '',
		'imageId': '70090917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70090919&x=2621',
		'title': '',
		'imageId': '70090919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70090916&x=2621',
		'title': '',
		'imageId': '70090916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70090918&x=2621',
		'title': '',
		'imageId': '70090918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70098187&x=2621',
		'title': '',
		'imageId': '70098187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70098185&x=2621',
		'title': '',
		'imageId': '70098185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70098189&x=2621',
		'title': '',
		'imageId': '70098189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70098191&x=2621',
		'title': '',
		'imageId': '70098191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70098194&x=2621',
		'title': '',
		'imageId': '70098194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70098186&x=2621',
		'title': '',
		'imageId': '70098186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70098192&x=2621',
		'title': '',
		'imageId': '70098192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70098190&x=2621',
		'title': '',
		'imageId': '70098190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70098193&x=2621',
		'title': '',
		'imageId': '70098193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70098184&x=2621',
		'title': '',
		'imageId': '70098184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70098188&x=2621',
		'title': '',
		'imageId': '70098188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=64864238&x=2621',
		'title': '',
		'imageId': '64864238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=64864244&x=2621',
		'title': '',
		'imageId': '64864244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=70024816&x=2621',
		'title': '',
		'imageId': '70024816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=64864239&x=2621',
		'title': '',
		'imageId': '64864239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=64864250&x=2621',
		'title': '',
		'imageId': '64864250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=64864245&x=2621',
		'title': '',
		'imageId': '64864245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015286&docid=64864249&x=2621',
		'title': '',
		'imageId': '64864249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015286';

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