var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126509&x=597',
		'title': '',
		'imageId': '70126509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126511&x=597',
		'title': '',
		'imageId': '70126511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126516&x=597',
		'title': '',
		'imageId': '70126516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126519&x=597',
		'title': '',
		'imageId': '70126519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126518&x=597',
		'title': '',
		'imageId': '70126518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126392&x=597',
		'title': '',
		'imageId': '70126392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126391&x=597',
		'title': '',
		'imageId': '70126391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126393&x=597',
		'title': '',
		'imageId': '70126393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126394&x=597',
		'title': '',
		'imageId': '70126394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126444&x=597',
		'title': '',
		'imageId': '70126444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126395&x=597',
		'title': '',
		'imageId': '70126395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126396&x=597',
		'title': '',
		'imageId': '70126396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126401&x=597',
		'title': '',
		'imageId': '70126401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126402&x=597',
		'title': '',
		'imageId': '70126402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126409&x=597',
		'title': '',
		'imageId': '70126409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126410&x=597',
		'title': '',
		'imageId': '70126410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126416&x=597',
		'title': '',
		'imageId': '70126416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126417&x=597',
		'title': '',
		'imageId': '70126417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126422&x=597',
		'title': '',
		'imageId': '70126422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126424&x=597',
		'title': '',
		'imageId': '70126424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126426&x=597',
		'title': '',
		'imageId': '70126426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126429&x=597',
		'title': '',
		'imageId': '70126429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126435&x=597',
		'title': '',
		'imageId': '70126435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126438&x=597',
		'title': '',
		'imageId': '70126438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126443&x=597',
		'title': '',
		'imageId': '70126443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126447&x=597',
		'title': '',
		'imageId': '70126447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126452&x=597',
		'title': '',
		'imageId': '70126452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126454&x=597',
		'title': '',
		'imageId': '70126454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126456&x=597',
		'title': '',
		'imageId': '70126456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126461&x=597',
		'title': '',
		'imageId': '70126461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126464&x=597',
		'title': '',
		'imageId': '70126464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126465&x=597',
		'title': '',
		'imageId': '70126465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126470&x=597',
		'title': '',
		'imageId': '70126470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126473&x=597',
		'title': '',
		'imageId': '70126473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126482&x=597',
		'title': '',
		'imageId': '70126482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126483&x=597',
		'title': '',
		'imageId': '70126483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126488&x=597',
		'title': '',
		'imageId': '70126488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126489&x=597',
		'title': '',
		'imageId': '70126489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126494&x=597',
		'title': '',
		'imageId': '70126494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126495&x=597',
		'title': '',
		'imageId': '70126495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126500&x=597',
		'title': '',
		'imageId': '70126500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126501&x=597',
		'title': '',
		'imageId': '70126501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70126507&x=597',
		'title': '',
		'imageId': '70126507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70130616&x=597',
		'title': '',
		'imageId': '70130616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70130614&x=597',
		'title': '',
		'imageId': '70130614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70130613&x=597',
		'title': '',
		'imageId': '70130613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015651&docid=70130615&x=597',
		'title': '',
		'imageId': '70130615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015651';

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