var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113316&x=5942',
		'title': '',
		'imageId': '70113316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113302&x=5942',
		'title': '',
		'imageId': '70113302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113328&x=5942',
		'title': '',
		'imageId': '70113328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113299&x=5942',
		'title': '',
		'imageId': '70113299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113307&x=5942',
		'title': '',
		'imageId': '70113307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113318&x=5942',
		'title': '',
		'imageId': '70113318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113309&x=5942',
		'title': '',
		'imageId': '70113309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113311&x=5942',
		'title': '',
		'imageId': '70113311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113315&x=5942',
		'title': '',
		'imageId': '70113315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113305&x=5942',
		'title': '',
		'imageId': '70113305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113326&x=5942',
		'title': '',
		'imageId': '70113326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113317&x=5942',
		'title': '',
		'imageId': '70113317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113300&x=5942',
		'title': '',
		'imageId': '70113300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113335&x=5942',
		'title': '',
		'imageId': '70113335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70205802&x=5942',
		'title': '',
		'imageId': '70205802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70205801&x=5942',
		'title': '',
		'imageId': '70205801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113304&x=5942',
		'title': '',
		'imageId': '70113304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113310&x=5942',
		'title': '',
		'imageId': '70113310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113330&x=5942',
		'title': '',
		'imageId': '70113330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113303&x=5942',
		'title': '',
		'imageId': '70113303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113322&x=5942',
		'title': '',
		'imageId': '70113322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113332&x=5942',
		'title': '',
		'imageId': '70113332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113308&x=5942',
		'title': '',
		'imageId': '70113308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113312&x=5942',
		'title': '',
		'imageId': '70113312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113333&x=5942',
		'title': '',
		'imageId': '70113333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113320&x=5942',
		'title': '',
		'imageId': '70113320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113325&x=5942',
		'title': '',
		'imageId': '70113325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113298&x=5942',
		'title': '',
		'imageId': '70113298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113329&x=5942',
		'title': '',
		'imageId': '70113329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113321&x=5942',
		'title': '',
		'imageId': '70113321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113331&x=5942',
		'title': '',
		'imageId': '70113331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113334&x=5942',
		'title': '',
		'imageId': '70113334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113319&x=5942',
		'title': '',
		'imageId': '70113319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113327&x=5942',
		'title': '',
		'imageId': '70113327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113301&x=5942',
		'title': '',
		'imageId': '70113301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015978&docid=70113324&x=5942',
		'title': '',
		'imageId': '70113324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015978';

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