var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335121&x=1815',
		'title': '',
		'imageId': '68335121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335134&x=1815',
		'title': '',
		'imageId': '68335134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335123&x=1815',
		'title': '',
		'imageId': '68335123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335119&x=1815',
		'title': '',
		'imageId': '68335119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335120&x=1815',
		'title': '',
		'imageId': '68335120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335125&x=1815',
		'title': '',
		'imageId': '68335125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335129&x=1815',
		'title': '',
		'imageId': '68335129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335127&x=1815',
		'title': '',
		'imageId': '68335127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335124&x=1815',
		'title': '',
		'imageId': '68335124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335126&x=1815',
		'title': '',
		'imageId': '68335126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335122&x=1815',
		'title': '',
		'imageId': '68335122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335118&x=1815',
		'title': '',
		'imageId': '68335118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335130&x=1815',
		'title': '',
		'imageId': '68335130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335132&x=1815',
		'title': '',
		'imageId': '68335132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335131&x=1815',
		'title': '',
		'imageId': '68335131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335128&x=1815',
		'title': '',
		'imageId': '68335128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335133&x=1815',
		'title': '',
		'imageId': '68335133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335135&x=1815',
		'title': '',
		'imageId': '68335135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335136&x=1815',
		'title': '',
		'imageId': '68335136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335137&x=1815',
		'title': '',
		'imageId': '68335137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335138&x=1815',
		'title': '',
		'imageId': '68335138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335140&x=1815',
		'title': '',
		'imageId': '68335140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938603&docid=68335139&x=1815',
		'title': '',
		'imageId': '68335139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3938603';

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