var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121819&x=1947',
		'title': '',
		'imageId': '70121819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121823&x=1947',
		'title': '',
		'imageId': '70121823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121820&x=1947',
		'title': '',
		'imageId': '70121820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121818&x=1947',
		'title': '',
		'imageId': '70121818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121827&x=1947',
		'title': '',
		'imageId': '70121827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121808&x=1947',
		'title': '',
		'imageId': '70121808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121815&x=1947',
		'title': '',
		'imageId': '70121815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121803&x=1947',
		'title': '',
		'imageId': '70121803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121828&x=1947',
		'title': '',
		'imageId': '70121828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121812&x=1947',
		'title': '',
		'imageId': '70121812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121822&x=1947',
		'title': '',
		'imageId': '70121822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121830&x=1947',
		'title': '',
		'imageId': '70121830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121817&x=1947',
		'title': '',
		'imageId': '70121817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121829&x=1947',
		'title': '',
		'imageId': '70121829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121824&x=1947',
		'title': '',
		'imageId': '70121824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121805&x=1947',
		'title': '',
		'imageId': '70121805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121802&x=1947',
		'title': '',
		'imageId': '70121802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121800&x=1947',
		'title': '',
		'imageId': '70121800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121813&x=1947',
		'title': '',
		'imageId': '70121813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121814&x=1947',
		'title': '',
		'imageId': '70121814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121804&x=1947',
		'title': '',
		'imageId': '70121804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121826&x=1947',
		'title': '',
		'imageId': '70121826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121810&x=1947',
		'title': '',
		'imageId': '70121810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121811&x=1947',
		'title': '',
		'imageId': '70121811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121807&x=1947',
		'title': '',
		'imageId': '70121807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121801&x=1947',
		'title': '',
		'imageId': '70121801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121806&x=1947',
		'title': '',
		'imageId': '70121806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121825&x=1947',
		'title': '',
		'imageId': '70121825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121816&x=1947',
		'title': '',
		'imageId': '70121816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121809&x=1947',
		'title': '',
		'imageId': '70121809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=70121821&x=1947',
		'title': '',
		'imageId': '70121821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=59270894&x=1947',
		'title': '',
		'imageId': '59270894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013494&docid=59270893&x=1947',
		'title': '',
		'imageId': '59270893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013494';

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