var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351436&x=758',
		'title': '',
		'imageId': '68351436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351439&x=758',
		'title': '',
		'imageId': '68351439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351442&x=758',
		'title': '',
		'imageId': '68351442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351441&x=758',
		'title': '',
		'imageId': '68351441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351440&x=758',
		'title': '',
		'imageId': '68351440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351443&x=758',
		'title': '',
		'imageId': '68351443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351444&x=758',
		'title': '',
		'imageId': '68351444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351445&x=758',
		'title': '',
		'imageId': '68351445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351461&x=758',
		'title': '',
		'imageId': '68351461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351460&x=758',
		'title': '',
		'imageId': '68351460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351462&x=758',
		'title': '',
		'imageId': '68351462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351466&x=758',
		'title': '',
		'imageId': '68351466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351464&x=758',
		'title': '',
		'imageId': '68351464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351463&x=758',
		'title': '',
		'imageId': '68351463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351465&x=758',
		'title': '',
		'imageId': '68351465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351467&x=758',
		'title': '',
		'imageId': '68351467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351468&x=758',
		'title': '',
		'imageId': '68351468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351491&x=758',
		'title': '',
		'imageId': '68351491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351487&x=758',
		'title': '',
		'imageId': '68351487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351490&x=758',
		'title': '',
		'imageId': '68351490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351488&x=758',
		'title': '',
		'imageId': '68351488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=68351489&x=758',
		'title': '',
		'imageId': '68351489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=59270415&x=758',
		'title': '',
		'imageId': '59270415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953476&docid=59270407&x=758',
		'title': '',
		'imageId': '59270407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953476';

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