var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765268&x=359',
		'title': '',
		'imageId': '69765268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765282&x=359',
		'title': '',
		'imageId': '69765282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765285&x=359',
		'title': '',
		'imageId': '69765285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765314&x=359',
		'title': '',
		'imageId': '69765314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765319&x=359',
		'title': '',
		'imageId': '69765319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765266&x=359',
		'title': '',
		'imageId': '69765266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765325&x=359',
		'title': '',
		'imageId': '69765325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765324&x=359',
		'title': '',
		'imageId': '69765324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765301&x=359',
		'title': '',
		'imageId': '69765301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765298&x=359',
		'title': '',
		'imageId': '69765298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765306&x=359',
		'title': '',
		'imageId': '69765306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765328&x=359',
		'title': '',
		'imageId': '69765328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765316&x=359',
		'title': '',
		'imageId': '69765316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765267&x=359',
		'title': '',
		'imageId': '69765267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765294&x=359',
		'title': '',
		'imageId': '69765294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765288&x=359',
		'title': '',
		'imageId': '69765288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765292&x=359',
		'title': '',
		'imageId': '69765292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765315&x=359',
		'title': '',
		'imageId': '69765315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765307&x=359',
		'title': '',
		'imageId': '69765307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765276&x=359',
		'title': '',
		'imageId': '69765276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765287&x=359',
		'title': '',
		'imageId': '69765287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765270&x=359',
		'title': '',
		'imageId': '69765270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765271&x=359',
		'title': '',
		'imageId': '69765271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002061&docid=69765269&x=359',
		'title': '',
		'imageId': '69765269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002061';

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