var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300474&x=135',
		'title': '',
		'imageId': '69300474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300504&x=135',
		'title': '',
		'imageId': '69300504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300502&x=135',
		'title': '',
		'imageId': '69300502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300503&x=135',
		'title': '',
		'imageId': '69300503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300496&x=135',
		'title': '',
		'imageId': '69300496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300495&x=135',
		'title': '',
		'imageId': '69300495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300498&x=135',
		'title': '',
		'imageId': '69300498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300501&x=135',
		'title': '',
		'imageId': '69300501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300511&x=135',
		'title': '',
		'imageId': '69300511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300499&x=135',
		'title': '',
		'imageId': '69300499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300500&x=135',
		'title': '',
		'imageId': '69300500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300481&x=135',
		'title': '',
		'imageId': '69300481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300494&x=135',
		'title': '',
		'imageId': '69300494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300505&x=135',
		'title': '',
		'imageId': '69300505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300506&x=135',
		'title': '',
		'imageId': '69300506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300475&x=135',
		'title': '',
		'imageId': '69300475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300507&x=135',
		'title': '',
		'imageId': '69300507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300485&x=135',
		'title': '',
		'imageId': '69300485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300479&x=135',
		'title': '',
		'imageId': '69300479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300477&x=135',
		'title': '',
		'imageId': '69300477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300512&x=135',
		'title': '',
		'imageId': '69300512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300482&x=135',
		'title': '',
		'imageId': '69300482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300508&x=135',
		'title': '',
		'imageId': '69300508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300478&x=135',
		'title': '',
		'imageId': '69300478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300480&x=135',
		'title': '',
		'imageId': '69300480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300510&x=135',
		'title': '',
		'imageId': '69300510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300483&x=135',
		'title': '',
		'imageId': '69300483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300487&x=135',
		'title': '',
		'imageId': '69300487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300484&x=135',
		'title': '',
		'imageId': '69300484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300486&x=135',
		'title': '',
		'imageId': '69300486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300488&x=135',
		'title': '',
		'imageId': '69300488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300489&x=135',
		'title': '',
		'imageId': '69300489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300490&x=135',
		'title': '',
		'imageId': '69300490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300492&x=135',
		'title': '',
		'imageId': '69300492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300493&x=135',
		'title': '',
		'imageId': '69300493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981787&docid=69300497&x=135',
		'title': '',
		'imageId': '69300497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3981787';

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