var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505658&x=4516',
		'title': '',
		'imageId': '68505658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505663&x=4516',
		'title': '',
		'imageId': '68505663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505660&x=4516',
		'title': '',
		'imageId': '68505660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505661&x=4516',
		'title': '',
		'imageId': '68505661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505662&x=4516',
		'title': '',
		'imageId': '68505662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505657&x=4516',
		'title': '',
		'imageId': '68505657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505654&x=4516',
		'title': '',
		'imageId': '68505654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505656&x=4516',
		'title': '',
		'imageId': '68505656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505665&x=4516',
		'title': '',
		'imageId': '68505665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505668&x=4516',
		'title': '',
		'imageId': '68505668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505655&x=4516',
		'title': '',
		'imageId': '68505655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505666&x=4516',
		'title': '',
		'imageId': '68505666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505667&x=4516',
		'title': '',
		'imageId': '68505667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505659&x=4516',
		'title': '',
		'imageId': '68505659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505664&x=4516',
		'title': '',
		'imageId': '68505664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505653&x=4516',
		'title': '',
		'imageId': '68505653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505669&x=4516',
		'title': '',
		'imageId': '68505669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505671&x=4516',
		'title': '',
		'imageId': '68505671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505670&x=4516',
		'title': '',
		'imageId': '68505670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505672&x=4516',
		'title': '',
		'imageId': '68505672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505673&x=4516',
		'title': '',
		'imageId': '68505673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505675&x=4516',
		'title': '',
		'imageId': '68505675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505674&x=4516',
		'title': '',
		'imageId': '68505674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505677&x=4516',
		'title': '',
		'imageId': '68505677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505676&x=4516',
		'title': '',
		'imageId': '68505676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505679&x=4516',
		'title': '',
		'imageId': '68505679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505680&x=4516',
		'title': '',
		'imageId': '68505680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505678&x=4516',
		'title': '',
		'imageId': '68505678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505682&x=4516',
		'title': '',
		'imageId': '68505682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505684&x=4516',
		'title': '',
		'imageId': '68505684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505683&x=4516',
		'title': '',
		'imageId': '68505683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505687&x=4516',
		'title': '',
		'imageId': '68505687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505686&x=4516',
		'title': '',
		'imageId': '68505686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505685&x=4516',
		'title': '',
		'imageId': '68505685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505689&x=4516',
		'title': '',
		'imageId': '68505689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505691&x=4516',
		'title': '',
		'imageId': '68505691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505690&x=4516',
		'title': '',
		'imageId': '68505690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505692&x=4516',
		'title': '',
		'imageId': '68505692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505694&x=4516',
		'title': '',
		'imageId': '68505694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505693&x=4516',
		'title': '',
		'imageId': '68505693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505695&x=4516',
		'title': '',
		'imageId': '68505695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505696&x=4516',
		'title': '',
		'imageId': '68505696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945678&docid=68505681&x=4516',
		'title': '',
		'imageId': '68505681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3945678';

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